/* ====================================================
   YASH ASSOCIATE — Premium Law Firm Website
   Color Palette: Warm Dark Charcoal + Gold + Cream
   ==================================================== */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
    --navy: #12100e;
    --navy-light: #1a1714;
    --navy-mid: #231f1a;
    --section-alt: #1e1b16;
    --gold: #c9a84c;
    --gold-light: #e2c97e;
    --gold-dark: #a68a3a;
    --gold-glow: rgba(201, 168, 76, 0.3);
    --cream: #f5f0e8;
    --cream-dim: #d4cfc6;
    --white: #ffffff;
    --text-primary: #f5f0e8;
    --text-secondary: rgba(245, 240, 232, 0.75);
    --text-muted: rgba(245, 240, 232, 0.5);
    --glass-bg: rgba(18, 16, 14, 0.55);
    --glass-border: rgba(201, 168, 76, 0.18);
    --card-bg: rgba(26, 23, 20, 0.7);
    --card-hover: rgba(35, 31, 26, 0.9);
    --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.15);
    --shadow-deep: 0 24px 64px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
    --perspective: 1200px;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ====================================================
   PRELOADER
   ==================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy);
    background-image: radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.scales-icon {
    font-size: 4rem;
    animation: pulse-gold 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--gold-glow));
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-top: 1rem;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(201, 168, 76, 0.2);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    animation: preloader-sweep 0.8s ease forwards;
}

@keyframes preloader-sweep {
    to {
        width: 100%;
    }
}

@keyframes pulse-gold {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Preloader Quote */
.preloader-quote {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInQuote 0.5s 0.15s ease both;
}

.preloader-quote p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--cream-dim);
    letter-spacing: 0.05em;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.preloader-quote span {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
}

@keyframes fadeInQuote {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================
   NAVBAR
   ==================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
    background: rgba(18, 16, 14, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 var(--glass-border);
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3.5vw, 2.6rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--cream);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-firm {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.logo-since {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: auto;
}

.nav-link {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.cta-link {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy) !important;
    font-weight: 600;
    border-radius: 100px;
    padding: 0.5rem 1.35rem;
    margin-left: 0;
}

.nav-links li:last-child {
    margin-left: 0.6rem;
}

.cta-link::after {
    display: none;
}

.cta-link:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

/* Khaitan-style right vertical desktop nav */
@media (min-width: 1025px) {
    .nav-links {
        position: fixed !important;
        right: clamp(1.4rem, 2.8vw, 2.6rem);
        top: 50vh !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 0.95rem;
        margin-left: 0;
        z-index: 1002;
    }

    .nav-link {
        padding: 0.35rem 0;
        border-radius: 0;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .nav-link::after {
        left: auto;
        right: 0;
        bottom: -2px;
        transform: none;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .cta-link {
        margin-top: 0;
        margin-left: 0;
        padding: 0.78rem 1.7rem;
        font-size: 1.15rem;
        border-radius: 999px;
        box-shadow: 0 8px 28px rgba(201, 168, 76, 0.25);
    }

    .nav-links li:last-child {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ====================================================
   HERO SECTION
   ==================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: var(--perspective);
    isolation: isolate;
}

.parallax-bg {
    position: absolute;
    inset: -2%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    transform: scale(1.06);
    animation: hero-zoom 26s ease-in-out infinite alternate;
    filter: saturate(0.92) contrast(1.02);
}

@keyframes hero-zoom {
    0% {
        transform: scale(1.06) translateY(0);
    }

    100% {
        transform: scale(1.05) translateY(-6px);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 100% at 96% 50%, rgba(18, 16, 14, 0.06) 0%, rgba(18, 16, 14, 0.26) 100%),
        linear-gradient(90deg,
            rgba(10, 9, 8, 0.76) 0%,
            rgba(10, 9, 8, 0.62) 18%,
            rgba(10, 9, 8, 0.38) 35%,
            rgba(10, 9, 8, 0.17) 52%,
            rgba(10, 9, 8, 0.06) 68%,
            rgba(10, 9, 8, 0.18) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(130% 88% at 50% 98%, rgba(0, 0, 0, 0.44) 0%, transparent 60%),
        radial-gradient(120% 120% at 50% 0%, transparent 62%, rgba(0, 0, 0, 0.32) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    width: min(42vw, 610px);
    max-width: 100%;
    padding: 2.2rem 1.6rem 2rem 0;
    transform-style: preserve-3d;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-content::after {
    display: none;
}

/* Hero split layout */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1320px;
    padding: 4.8rem 2.2rem 0;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-inner {
        padding: 5.1rem 1.5rem 0;
    }

    .hero-content {
        text-align: left;
        width: min(100%, 640px);
        padding: 1.8rem 0.8rem 1.6rem 0;
    }

    .hero-cta-group {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        background:
            linear-gradient(180deg,
                rgba(11, 9, 8, 0.82) 0%,
                rgba(11, 9, 8, 0.64) 28%,
                rgba(11, 9, 8, 0.48) 56%,
                rgba(11, 9, 8, 0.62) 100%);
    }

    .hero-content {
        width: 100%;
        padding-right: 0.4rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(18, 16, 14, 0.42);
    margin-bottom: 1.65rem;
    animation: fadeInDown 1s 0.5s both;
}

.hero-title {
    margin-bottom: 1.2rem;
}

.hero-line {
    display: block;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s both;
}

.line-1 {
    color: var(--cream);
    animation-delay: 0.7s;
}

.line-2 {
    color: var(--gold);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.9s;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.35em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    animation: fadeInUp 1s 1.1s both;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 0 2.15rem;
    animation: fadeInUp 1s 1.3s both;
}

.hero-cta-group {
    display: flex;
    gap: 0.85rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s 1.5s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.82rem 1.7rem;
    border-radius: 100px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy);
    box-shadow: 0 4px 24px var(--gold-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transform: translateY(-2px);
    box-shadow:
        0 10px 38px rgba(201, 168, 76, 0.34),
        0 0 24px rgba(201, 168, 76, 0.28);
    color: var(--navy);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(201, 168, 76, 0.4);
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(201, 168, 76, 0.17);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: fadeInUp 1s 2s both;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gold);
    border-radius: 14px;
    position: relative;
    opacity: 0.6;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ====================================================
   SHARED SECTION STYLES
   ==================================================== */
section {
    position: relative;
}

/* Section Background Image (shared) */
.section-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.section-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(18, 16, 14, 0.75) 0%,
            rgba(18, 16, 14, 0.55) 40%,
            rgba(18, 16, 14, 0.55) 60%,
            rgba(18, 16, 14, 0.8) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
    padding: 0 2rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.2rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.section-tag::before {
    left: 0;
}

.section-tag::after {
    right: 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.title-accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 1.5rem auto 0;
}

.section-header-light .section-title {
    color: var(--white);
}

.section-header-light .section-tag {
    color: var(--gold-light);
}

/* ====================================================
   ABOUT SECTION
   ==================================================== */
.about-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    perspective: var(--perspective);
}

.image-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.image-frame:hover .about-image {
    transform: scale(1.03);
}

.image-border-accent {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--gold);
    border-radius: calc(var(--radius) + 4px);
    opacity: 0.3;
    pointer-events: none;
}

.credentials-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-gold);
}

.credential-icon {
    font-size: 1.5rem;
}

.credentials-badge strong {
    display: block;
    color: var(--gold);
    font-size: 0.95rem;
}

.credentials-badge span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.about-lead {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
}

.stat-number-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number {
    display: inline;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* ====================================================
   INTERNSHIP SECTION
   ==================================================== */
.internship-section {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(180deg, #15120f 0%, #120f0d 100%);
    overflow: hidden;
}

.internship-section .container {
    position: relative;
    z-index: 1;
}

.internship-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}

.internship-content {
    display: grid;
    gap: 1.2rem;
}

.internship-panel {
    background: rgba(20, 17, 14, 0.72);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 16px;
    padding: 1.4rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.internship-panel h3 {
    color: var(--cream);
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.internship-panel h4 {
    color: var(--gold-light);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.internship-list {
    display: grid;
    gap: 0.45rem;
}

.internship-list li {
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.internship-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

.internship-panel.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.internship-note {
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
}

.limited-note {
    display: inline-block;
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.26);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.internship-form-wrap {
    background: linear-gradient(165deg, rgba(26, 23, 20, 0.96), rgba(18, 16, 14, 0.98));
    border: 1px solid rgba(201, 168, 76, 0.26);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.internship-form {
    display: grid;
    gap: 0.95rem;
}

.internship-form h3 {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

/* ====================================================
   PRACTICE AREAS
   ==================================================== */
.practice-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--navy);
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
    contain: layout paint style;
}

.practice-section .section-bg-img {
    transform: translateZ(0);
}

.practice-section .container {
    position: relative;
    z-index: 1;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.practice-card {
    perspective: var(--perspective);
    cursor: pointer;
}

.card-inner {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    transition: all var(--transition);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.card-inner:hover {
    background: var(--card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold), var(--shadow-deep);
    border-color: rgba(201, 168, 76, 0.3);
}

.card-inner:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    color: var(--gold);
    transition: all var(--transition);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card-inner:hover .card-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-color: transparent;
    box-shadow: 0 4px 16px var(--gold-glow);
    transform: scale(1.08);
}

.card-front h3 {
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.card-front p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ====================================================
   COURTS SECTION
   ==================================================== */
.courts-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.courts-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.courts-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.courts-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            var(--navy) 0%,
            rgba(18, 16, 14, 0.5) 20%,
            rgba(18, 16, 14, 0.45) 80%,
            var(--navy) 100%);
}

.courts-section .container {
    position: relative;
    z-index: 1;
}

.courts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.court-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.court-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.court-card:hover {
    transform: translateY(-6px);
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--shadow-gold);
}

.court-card:hover::after {
    opacity: 1;
}

.court-rank {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.3;
}

.court-card h3 {
    font-size: 1.05rem;
    color: var(--cream);
    margin-bottom: 0.3rem;
}

.court-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ---- Expandable Court Card ---- */
.court-expandable {
    cursor: pointer;
}

.court-more {
    display: inline-block;
    font-size: 0.6rem;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: 100px;
    margin-left: 0.3rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.court-expandable:hover .court-more {
    background: rgba(201, 168, 76, 0.25);
}

.court-expandable.expanded .court-more {
    display: none;
}

.court-sub-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.court-expandable.expanded .court-sub-list {
    max-height: 350px;
    opacity: 1;
    margin-top: 1rem;
}

.court-sub-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding-top: 0.75rem;
}

.court-sub-list li {
    font-size: 0.72rem;
    color: var(--cream-dim);
    padding: 0.4rem 0;
    padding-left: 1rem;
    position: relative;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.court-sub-list li::before {
    content: '⚖';
    position: absolute;
    left: 0;
    font-size: 0.55rem;
    color: var(--gold);
    opacity: 0.7;
    top: 0.45rem;
}

.court-sub-list li + li {
    border-top: 1px solid rgba(201, 168, 76, 0.06);
}

/* ====================================================
   CLIENTS SECTION
   ==================================================== */
.clients-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.clients-section .container {
    position: relative;
    z-index: 1;
}

.clients-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee-scroll 25s linear infinite;
    width: max-content;
}

.client-item {
    flex-shrink: 0;
    padding: 1rem 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: all var(--transition);
}

.client-item:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--shadow-gold);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ====================================================
   CASES SECTION
   ==================================================== */
.cases-section {
    padding: 5rem 0;
    position: relative;
    background: var(--section-alt);
}

.cases-cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.cases-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.cases-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.cases-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--shadow-gold), var(--shadow-deep);
    transform: translateY(-4px);
}

.cases-card:hover::before {
    opacity: 1;
}

.cases-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 14px;
    color: var(--gold);
}

.cases-card-icon svg {
    width: 32px;
    height: 32px;
}

.cases-card-content {
    flex: 1;
}

.cases-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.cases-card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cases-btn {
    flex-shrink: 0;
    width: auto;
    max-width: none;
    white-space: nowrap;
}

.cases-btn svg {
    stroke: var(--navy);
}

@media (max-width: 768px) {
    .cases-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }

    .cases-card-content h3 {
        font-size: 1.1rem;
    }

    .cases-card-content p {
        font-size: 0.82rem;
    }

    .cases-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cases-section {
        padding: 3.5rem 0;
    }

    .cases-card {
        padding: 1.5rem 1.2rem;
    }

    .cases-card-icon {
        width: 52px;
        height: 52px;
    }

    .cases-card-icon svg {
        width: 26px;
        height: 26px;
    }

    .cases-card-content h3 {
        font-size: 1rem;
    }

    .cases-card-content p {
        font-size: 0.8rem;
    }
}

/* ====================================================
   TEAM SECTION
   ==================================================== */
.team-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.team-section > .container {
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.team-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-image-wrapper:hover .team-image {
    transform: scale(1.03);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(18, 16, 14, 0.85));
    text-align: center;
}

.team-count {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.team-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin-top: 0.25rem;
}

.team-content .section-tag {
    padding-left: 0;
}

.team-content .section-tag::before {
    display: none;
}

.team-content .section-title {
    text-align: left;
}

.team-content .title-accent {
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.team-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.team-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight-icon {
    color: var(--gold);
    font-size: 0.7rem;
}

/* ====================================================
   PARALLAX DIVIDER
   ==================================================== */
.parallax-divider {
    position: relative;
    height: 50vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.divider-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    transform: translateY(-10%);
}

.divider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 14, 0.55);
}

.divider-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.divider-content blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-style: italic;
    font-weight: 500;
    color: var(--cream);
    max-width: 700px;
    line-height: 1.4;
}

.divider-content cite {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--gold);
    font-style: normal;
    letter-spacing: 0.1em;
}

/* ====================================================
   CONTACT SECTION
   ==================================================== */
.contact-section {
    padding: 8rem 0;
    background: var(--section-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: all var(--transition);
}

.contact-card:hover {
    background: var(--card-hover);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateX(4px);
}

.contact-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 10px;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-card a {
    color: var(--text-secondary);
}

.contact-card a:hover {
    color: var(--gold);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px var(--gold-glow);
}

/* Map */
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-deep);
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--navy-light);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.bar-council {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bar-council strong {
    color: var(--gold);
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-links-group li {
    margin-bottom: 0.6rem;
}

.footer-links-group a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-links-group a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ====================================================
   SCROLL ANIMATIONS — Enhanced
   ==================================================== */
[data-scroll="reveal"] {
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scroll="reveal"].revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

[data-scroll="reveal-left"] {
    opacity: 0;
    transform: translateX(-80px) rotate(-1deg);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scroll="reveal-left"].revealed {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

[data-scroll="reveal-right"] {
    opacity: 0;
    transform: translateX(80px) rotate(1deg);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scroll="reveal-right"].revealed {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

[data-scroll="reveal-scale"] {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(4px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 1s ease;
}

[data-scroll="reveal-scale"].revealed {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

[data-scroll="reveal-flip"] {
    opacity: 0;
    transform: perspective(800px) rotateX(15deg) translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-scroll="reveal-flip"].revealed {
    opacity: 1;
    transform: perspective(800px) rotateX(0) translateY(0);
}

/* Stagger delays for grid children */
.stagger-1 {
    transition-delay: 0.05s !important;
}

.stagger-2 {
    transition-delay: 0.1s !important;
}

.stagger-3 {
    transition-delay: 0.15s !important;
}

.stagger-4 {
    transition-delay: 0.2s !important;
}

.stagger-5 {
    transition-delay: 0.25s !important;
}

.stagger-6 {
    transition-delay: 0.3s !important;
}

.stagger-7 {
    transition-delay: 0.35s !important;
}

.stagger-8 {
    transition-delay: 0.4s !important;
}

.stagger-9 {
    transition-delay: 0.45s !important;
}

/* Entry Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* ====================================================
   CONSULTATION MODAL
   ==================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    padding: 1rem;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

/* Custom scrollbar for modal */
.modal-container::-webkit-scrollbar {
    width: 4px;
}
.modal-container::-webkit-scrollbar-track {
    background: transparent;
}
.modal-container::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

.modal-card {
    background: linear-gradient(165deg, rgba(26, 23, 20, 0.97), rgba(18, 16, 14, 0.99));
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow:
        0 0 60px rgba(201, 168, 76, 0.08),
        0 32px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* Decorative gold line at top */
.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--cream-dim);
    transition: color 0.3s ease;
}

.modal-close:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.modal-close:hover svg {
    color: var(--gold);
}

/* ---- Modal Header ---- */
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 12px var(--gold-glow));
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---- Form ---- */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cream-dim);
    letter-spacing: 0.04em;
}

.required {
    color: #e85d5d;
    font-weight: 700;
}

.optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.72rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--cream);
    background: rgba(18, 16, 14, 0.8);
    border: 1.5px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
    background: rgba(26, 23, 20, 0.9);
}

.form-input:hover:not(:focus) {
    border-color: rgba(201, 168, 76, 0.35);
}

/* Select dropdown */
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--navy);
    color: var(--cream);
    padding: 0.5rem;
}

/* Textarea */
.form-textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
    line-height: 1.5;
}

/* Validation error */
.form-error {
    font-size: 0.72rem;
    color: #e85d5d;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.form-group.has-error .form-error {
    opacity: 1;
    max-height: 2rem;
}

.form-group.has-error .form-input {
    border-color: #e85d5d;
    box-shadow: 0 0 0 3px rgba(232, 93, 93, 0.1);
}

/* Submit button */
.form-submit-btn {
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    position: relative;
    justify-content: center;
    font-size: 0.92rem;
    padding: 1rem 2rem;
    min-height: 52px;
}

.form-submit-btn.loading .submit-text {
    opacity: 0;
}

.submit-loader {
    display: none;
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(18, 16, 14, 0.3);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.form-submit-btn.loading .submit-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Disclaimer */
.form-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    margin-top: 0.25rem;
}

/* ---- Success State ---- */
.modal-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.modal-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    border-radius: 50%;
    box-shadow: 0 0 30px var(--gold-glow);
    animation: success-pop 0.5s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.modal-success h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.modal-success p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-success .btn {
    width: auto;
    min-width: 140px;
}

/* ---- Modal Responsive ---- */
@media (max-width: 600px) {
    .modal-container {
        padding: 0.75rem;
        max-height: 95vh;
        max-height: 95dvh;
    }

    .modal-card {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.35rem;
    }

    .modal-subtitle {
        font-size: 0.8rem;
    }

    .modal-icon {
        font-size: 2rem;
    }

    .form-input {
        padding: 0.8rem 0.85rem;
        font-size: 0.88rem;
    }

    .form-submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 375px) {
    .modal-card {
        padding: 1.5rem 1rem;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-header {
        margin-bottom: 1.5rem;
    }

    .modal-form {
        gap: 1rem;
    }

    .form-label {
        font-size: 0.75rem;
    }

    .form-input {
        padding: 0.75rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* ====================================================
   RESPONSIVE — Comprehensive Mobile-First Overrides
   Breakpoints: 1024px, 768px, 480px, 375px, 320px
   ==================================================== */

/* Prevent horizontal overflow on all devices */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ---- Mobile menu overlay backdrop ---- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nav-overlay.visible {
    display: block;
    opacity: 1;
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ====== TABLET — 1024px ====== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .internship-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 380px;
        margin: 0 auto;
    }

    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-content .section-title,
    .team-content .section-tag {
        text-align: center;
    }

    .team-content .title-accent {
        margin: 0 auto 1.5rem;
    }

    .team-content .section-tag {
        padding-left: 2rem;
    }

    .team-content .section-tag::before {
        display: inline-block;
    }

    .team-text {
        text-align: center;
    }

    .highlight-item {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====== MOBILE — 768px ====== */
@media (max-width: 768px) {

    /* ----- NAVIGATION ----- */
    .menu-toggle {
        display: block;
        width: 36px;
        height: 28px;
        padding: 4px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        height: 100dvh;
        background: rgba(18, 16, 14, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        padding: 2rem 1.5rem;
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.85rem 1.25rem;
        width: 100%;
        text-align: center;
        /* Minimum touch target 48px */
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cta-link {
        width: auto;
        min-width: 180px;
        margin-top: 0;
    }

    .nav-links li:last-child {
        margin-left: 0;
        margin-top: 1rem;
    }

    /* ----- HERO ----- */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-inner {
        padding: 5.3rem 1rem 0;
        gap: 1.5rem;
    }

    .hero-content {
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .hero-line {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }

    .hero-tagline {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
    }

    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.85rem 1.8rem;
        font-size: 0.82rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        /* Ensure 48px tap target */
        min-height: 48px;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-indicator span {
        font-size: 0.6rem;
    }

    .scroll-mouse {
        width: 20px;
        height: 32px;
    }

    /* ----- SECTIONS SHARED ----- */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 0.65rem;
    }

    /* ----- ABOUT ----- */
    .about-section {
        padding: 4rem 0;
    }

    .about-image-wrapper {
        max-width: 280px;
    }

    .about-lead {
        font-size: 1.05rem;
        text-align: center;
    }

    .about-text {
        font-size: 0.9rem;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-plus {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .credentials-badge {
        padding: 0.75rem 1rem;
        justify-content: center;
    }

    /* ----- PRACTICE ----- */
    .practice-section {
        padding: 4rem 0;
    }

    .practice-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-inner {
        padding: 1.5rem 1.2rem;
    }

    .card-front h3 {
        font-size: 1.05rem;
    }

    .card-front p {
        font-size: 0.83rem;
    }

    /* Disable tilt on touch devices */
    .card-inner:hover {
        transform: translateY(-4px);
    }

    /* ----- COURTS ----- */
    .courts-section {
        padding: 4rem 0;
    }

    .courts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .court-card {
        padding: 1.25rem 1rem;
    }

    .court-rank {
        font-size: 1.5rem;
    }

    .court-card h3 {
        font-size: 0.92rem;
    }

    .court-card p {
        font-size: 0.7rem;
    }

    /* ----- CLIENTS ----- */
    .clients-section {
        padding: 3rem 0;
    }

    .client-item {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    /* ----- TEAM ----- */
    .team-section {
        padding: 4rem 0;
    }

    .team-grid {
        gap: 2rem;
    }

    .team-content .section-title {
        text-align: center;
    }

    .team-content .title-accent {
        margin: 0 auto 1.5rem;
    }

    .team-content .section-tag {
        padding-left: 2rem;
        text-align: center;
        display: block;
    }

    .team-content .section-tag::before {
        display: inline-block;
    }

    .team-text {
        text-align: center;
        font-size: 0.9rem;
    }

    .team-count {
        font-size: 2.5rem;
    }

    .highlight-item {
        justify-content: center;
        font-size: 0.85rem;
    }

    .team-image {
        aspect-ratio: 16/10;
    }

    /* ----- DIVIDER ----- */
    .parallax-divider {
        height: 35vh;
        min-height: 260px;
    }

    .divider-content blockquote {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .divider-content cite {
        font-size: 0.75rem;
    }

    .divider-content {
        padding: 1.5rem;
    }

    /* ----- CONTACT ----- */
    .contact-section {
        padding: 4rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .contact-card h4 {
        font-size: 0.95rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }

    .contact-map {
        min-height: 280px;
        border-radius: var(--radius-sm);
    }

    /* ----- FOOTER ----- */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links-group {
        text-align: center;
    }

    .footer-links-group h4 {
        margin-bottom: 0.75rem;
    }

    .footer-links-group a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Ensure min 48px touch targets for social links */
    .social-link {
        width: 48px;
        height: 48px;
    }
}

/* ====== SMALL PHONE — 480px ====== */
@media (max-width: 480px) {
    .container {
        padding: 0 clamp(0.75rem, 4vw, 1.5rem);
    }

    .nav-container {
        padding: 0 clamp(0.75rem, 4vw, 1.5rem);
    }

    /* Hero */
    .hero-inner {
        padding: 0 0.5rem;
    }

    .hero-line {
        font-size: clamp(2rem, 13vw, 3.2rem);
    }

    .hero-tagline {
        font-size: 0.72rem;
        letter-spacing: 0.15em;
    }

    .hero-badge {
        font-size: 0.6rem;
        letter-spacing: 0.15em;
        padding: 0.35rem 0.8rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    /* Courts */
    .courts-grid {
        grid-template-columns: 1fr;
    }

    .court-card {
        padding: 1.15rem 1rem;
    }

    /* About */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .about-image-wrapper {
        max-width: 220px;
    }

    .about-lead {
        font-size: 1rem;
    }

    .about-text {
        font-size: 0.85rem;
    }

    /* Team */
    .team-count {
        font-size: 2rem;
    }

    .team-overlay {
        padding: 1rem;
    }

    .team-label {
        font-size: 0.65rem;
    }

    /* Contact */
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .contact-card h4 {
        font-size: 0.9rem;
    }

    .contact-card p {
        font-size: 0.82rem;
    }

    .contact-map {
        min-height: 240px;
    }

    /* Practice cards */
    .card-icon {
        width: 46px;
        height: 46px;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Divider */
    .parallax-divider {
        height: 30vh;
        min-height: 220px;
    }

    .divider-content blockquote {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
    }

    /* Footer */
    .footer-desc {
        font-size: 0.82rem;
    }

    .footer-links-group a {
        font-size: 0.82rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }
}

/* ====== EXTRA SMALL — 375px ====== */
@media (max-width: 375px) {
    .hero-line {
        font-size: clamp(1.9rem, 13vw, 2.8rem);
    }

    .hero-badge {
        font-size: 0.55rem;
        padding: 0.3rem 0.7rem;
        letter-spacing: 0.12em;
    }

    .hero-tagline {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }

    .hero-description {
        font-size: 0.82rem;
    }

    .btn {
        padding: 0.75rem 1.3rem;
        font-size: 0.78rem;
        max-width: 260px;
    }

    .section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .section-tag {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .about-image-wrapper {
        max-width: 200px;
    }

    .court-card h3 {
        font-size: 0.85rem;
    }

    .court-rank {
        font-size: 1.3rem;
    }

    .card-front h3 {
        font-size: 1rem;
    }

    .card-front p {
        font-size: 0.8rem;
    }

    .team-text {
        font-size: 0.85rem;
    }

    .highlight-item {
        font-size: 0.8rem;
    }

    .client-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .nav-links {
        width: 85vw;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }
}

/* ====== ULTRA SMALL — 320px ====== */
@media (max-width: 320px) {
    .container {
        padding: 0 0.6rem;
    }

    .nav-container {
        padding: 0 0.6rem;
    }

    .hero-line {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.5rem;
        padding: 0.25rem 0.6rem;
    }

    .hero-tagline {
        font-size: 0.6rem;
    }

    .hero-description {
        font-size: 0.78rem;
    }

    .btn {
        padding: 0.7rem 1.1rem;
        font-size: 0.72rem;
        max-width: 230px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.78rem;
    }

    .about-lead {
        font-size: 0.92rem;
    }

    .about-text {
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }

    .about-image-wrapper {
        max-width: 180px;
    }

    .card-inner {
        padding: 1.2rem 1rem;
    }

    .card-front h3 {
        font-size: 0.92rem;
    }

    .card-front p {
        font-size: 0.75rem;
    }

    .court-card {
        padding: 1rem 0.75rem;
    }

    .court-card h3 {
        font-size: 0.8rem;
    }

    .court-rank {
        font-size: 1.2rem;
    }

    .court-card p {
        font-size: 0.6rem;
    }

    .team-count {
        font-size: 1.8rem;
    }

    .team-text {
        font-size: 0.8rem;
    }

    .highlight-item {
        font-size: 0.75rem;
    }

    .contact-card {
        padding: 1rem 0.8rem;
        gap: 0.75rem;
    }

    .contact-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .contact-card h4 {
        font-size: 0.82rem;
    }

    .contact-card p {
        font-size: 0.75rem;
    }

    .contact-map {
        min-height: 200px;
    }

    .divider-content blockquote {
        font-size: 0.95rem;
    }

    .divider-content cite {
        font-size: 0.65rem;
    }

    .parallax-divider {
        min-height: 200px;
    }

    .footer-bottom p {
        font-size: 0.65rem;
    }

    .client-item {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* ====== PERFORMANCE: Reduced Motion ====== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-track {
        animation: none;
    }

    .hero-bg-img {
        animation: none;
        transform: scale(1.1);
    }
}

/* ====== TOUCH DEVICE OPTIMISATION ====== */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover-dependent transforms on touch */
    .card-inner:hover {
        transform: none;
        box-shadow: none;
    }

    .court-card:hover {
        transform: none;
    }

    .contact-card:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }

    /* Add active state for tap feedback */
    .card-inner:active {
        background: var(--card-hover);
        border-color: rgba(201, 168, 76, 0.3);
    }

    .court-card:active {
        background: rgba(17, 24, 39, 0.8);
        border-color: rgba(201, 168, 76, 0.3);
    }

    .btn-primary:active {
        transform: scale(0.97);
    }

    .btn-outline:active {
        transform: scale(0.97);
        background: rgba(201, 168, 76, 0.1);
    }

    .social-link:active {
        background: var(--gold);
        color: var(--navy);
    }

    /* Disable parallax on mobile for performance */
    .hero-bg-img {
        transform: none !important;
    }

    .divider-bg {
        transform: none !important;
    }
}

/* ====== LANDSCAPE PHONE ====== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 5rem 0 3rem;
    }

    .hero-inner {
        flex-direction: row;
        gap: 2rem;
    }

    .hero-content {
        text-align: left;
    }

    .hero-cta-group {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn {
        width: auto;
    }

    .scroll-indicator {
        display: none;
    }

    .parallax-divider {
        height: auto;
        min-height: 200px;
        padding: 2rem 0;
    }
}

/* ====================================================
   UX QUICK WINS (Phase 1)
   ==================================================== */
.hero-trust-strip {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.8rem;
}

.trust-item {
    background: rgba(18, 16, 14, 0.65);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    text-align: center;
}

.trust-item strong {
    display: block;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.trust-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-quick-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.contact-response-note {
    margin-bottom: 1.2rem;
    color: var(--gold-light);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 998;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.55rem;
}

.floating-menu {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-actions.open .floating-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-action {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.combined-action {
    background: linear-gradient(135deg, #2b5876, #27ae60);
    border: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: quick-float 3.2s ease-in-out infinite;
}

.combined-action::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -120%;
    width: 70%;
    height: 160%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.45) 45%, transparent 100%);
    transform: rotate(18deg);
    animation: quick-shine 2.8s ease-in-out infinite;
}

.floating-action svg {
    width: 24px;
    height: 24px;
}

.call-action {
    background: linear-gradient(135deg, #2b5876, #4e4376);
}

.whatsapp-action {
    background: linear-gradient(135deg, #1f8d4f, #27ae60);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes quick-float {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }
    50% {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    }
}

@keyframes quick-shine {
    0%, 55% {
        left: -120%;
        opacity: 0;
    }
    62% {
        opacity: 1;
    }
    100% {
        left: 140%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero-trust-strip {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 320px;
        margin: 1.15rem auto 0;
    }

    .internship-panel.two-col {
        grid-template-columns: 1fr;
    }

    .internship-form-wrap {
        padding: 1.2rem 1rem;
    }

    .contact-quick-actions {
        justify-content: center;
    }

    .contact-response-note {
        text-align: center;
    }

    .floating-actions {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .floating-action {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }
}
