:root {
    /* Dark Theme (Default) */
    --color-navy: #09101E;
    --color-navy-light: #121E38;

    /* Light Theme */
    --color-light-bg: #F8F9FA;
    --color-light-text: #09101E;
    --color-light-muted: #4A5568;
    --color-light-card: #FFFFFF;

    /* Shared */
    --color-gold: #D4AF37;
    --color-gold-hover: #E8CA72;
    --color-text-main: #FFFFFF;
    --color-text-muted: #A0ABC0;

    --font-heading: 'Jost', sans-serif;
    --font-body: 'Jost', sans-serif;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-navy);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1600px;
    padding: 1.5rem 0;
    z-index: 100;
    background: transparent;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar.scrolled {
    background: rgba(9, 16, 30, 1);
    backdrop-filter: blur(20px);
    padding: .85rem 0;
    top: 20px;
    width: 90%;
    max-width: 1400px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar.nav-hidden {
    transform: translate(-50%, -150%);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 47px;
    transition: height 0.4s ease;
}

.navbar.scrolled .brand-logo img {
    height: 45px;
}

.invert-logo {
    filter: brightness(0) invert(1);
}

a.brand-logo {
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a:not(.nav-contact) {
    color: var(--color-text-main);
    font-weight: 500;
    margin-top: 5px !important;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.nav-contact)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-gold);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(-50%);
}

.nav-links a:not(.nav-contact):hover::after {
    width: 100%;
}

.nav-links a:not(.nav-contact):hover {
    color: var(--color-gold);
}

.nav-contact {
    border: 1px solid var(--color-gold);
    padding: 0.6rem 2rem;
    border-radius: 30px;
    color: var(--color-gold) !important;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.nav-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-gold);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-contact:hover::before {
    width: 100%;
}

.nav-contact:hover {
    color: var(--color-navy) !important;
}

.menu-btn {
    display: none;
}

/* Highly Creative Hero Section */
.hero-creative {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-navy);
}

/* Ambient glow creates massive depth behind the text and image */
.ambient-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(9, 16, 30, 0) 60%);
    top: -20%;
    left: -10%;
    z-index: 0;
    pointer-events: none;
}

.ambient-glow.right {
    top: 20%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(9, 16, 30, 0) 60%);
}

.hero-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 8rem 5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    width: 50%;
    padding-right: 4rem;
}

.creative-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 40px;
    backdrop-filter: blur(5px);
}

.creative-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-gold);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px var(--color-gold), 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 10px var(--color-gold), 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 10px var(--color-gold), 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 5.5vw, 7rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.italic-serif {
    font-style: italic;
    color: var(--color-gold);
}

.hero-desc {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-gold-solid {
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-gold-solid:hover {
    background: transparent;
    color: var(--color-gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-text-main);
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-gold:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Creative Visual Section */
.hero-visual {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* THE ELEGANT ARCH SHAPE */
.visual-arch {
    width: 100%;
    max-width: 520px;
    height: 75vh;
    min-height: 600px;
    border-radius: 300px 300px 0 0;
    /* Creates the beautiful dome/arch */
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.arch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: var(--color-navy-light);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.arch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 16, 30, 0) 0%, rgba(9, 16, 30, 0.4) 100%);
    z-index: 2;
}

/* Floating Glassmorphism Stat */
.floating-stat {
    position: absolute;
    bottom: 180px;
    /* Moved much higher up the arch */
    left: -70px;
    /* Overlaps the arch for a 3D effect */
    background: rgba(18, 30, 56, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    padding: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    z-index: 10;
}

.floating-stat h3 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: #FFFFFF;
    line-height: 0.8;
}

.floating-stat .plus {
    color: var(--color-gold);
    font-size: 3rem;
}

.stat-text p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.6;
}

/* Scroll Line Indicator */
.scroll-line {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.scroll-line span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

.line-moving {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.line-moving::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 1px;
    height: 40px;
    background: var(--color-gold);
    animation: scrollDrop 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

/* Animations */
@keyframes slowZoom {
    0% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1.4);
    }
}

@keyframes scrollDrop {
    0% {
        top: -40px;
    }

    100% {
        top: 100px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInAnim 1s ease forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.8s;
}

.fade-in-slow {
    opacity: 0;
    animation: fadeInOnly 1.5s ease 0.6s forwards;
}

@keyframes fadeInAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOnly {
    to {
        opacity: 1;
    }
}

/* Responsive Overrides */
@media (max-width: 1400px) {
    .nav-container {
        padding: 0 3rem;
    }

    .hero-container {
        padding: 8rem 3rem 2rem;
    }

    .scroll-line {
        left: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-text-content {
        width: 55%;
        padding-right: 2rem;
    }

    .hero-visual {
        width: 45%;
    }

    .visual-arch {
        height: 60vh;
        min-height: 500px;
    }

    .floating-stat {
        left: -30px;
        padding: 1.5rem;
    }

    .floating-stat h3 {
        font-size: 3.5rem;
    }
}

/* Fullscreen Menu Overlay Background */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Fullscreen Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(4, 8, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 7rem 2.5rem 4rem;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateX(0);
    pointer-events: auto;
}

.mobile-close-btn {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-close-btn:hover {
    color: var(--color-gold);
}

.mobile-links {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.mobile-links li {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    transition-delay: calc(var(--i) * 0.1s);
}

.mobile-menu.active .mobile-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-socials {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    transition-delay: calc(var(--i) * 0.1s);
    margin-top: auto;
    width: 100%;
}

.mobile-menu.active .mobile-socials {
    opacity: 1;
    transform: translateY(0);
}

.mobile-socials p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-3px);
}

.mobile-links a {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-links a:hover,
.mobile-links a.active {
    color: var(--color-gold);
}

.mobile-btn {
    font-family: var(--font-body);
    font-size: 0.85rem !important;
    padding: 0.4rem 1.2rem !important;
    margin-top: 1rem;
    display: inline-block;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1002;
    }

    .menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-gold);
        position: absolute;
        transition: all 0.3s ease;
    }

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

    .menu-btn span:nth-child(2) {
        top: 9px;
    }

    .menu-btn span:nth-child(3) {
        top: 18px;
    }

    .menu-btn.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

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

    .menu-btn.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    .hero-container {
        flex-direction: column;
        text-align: left;
        padding-top: 10rem;
    }

    .hero-text-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 4rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-visual {
        width: 100%;
        justify-content: flex-start;
    }

    .visual-arch {
        width: 100%;
        max-width: 100%;
        height: 60vh;
        border-radius: 20px;
        /* Modern flat rounded instead of arch on mobile */
    }

    .floating-stat {
        bottom: -30px;
        left: 20px;
        transform: none;
    }

    .scroll-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-gold-solid,
    .btn-outline-gold {
        width: 100%;
        text-align: center;
    }

    .floating-stat {
        width: calc(100% - 40px);
        justify-content: flex-start;
        padding: 1.5rem;
    }

    .brand-logo img {
        height: 41px;
    }

    .navbar.scrolled .brand-logo img {
        height: 38px;
    }

}

/* =========================================
   ABOUT SECTION (Interactive Layout)
   ========================================= */
.about-section {
    padding: 12rem 0;
    background-color: var(--color-navy-light);
    position: relative;
    z-index: 5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
}

.about-container {
    display: flex;
    justify-content: space-between;
    gap: 8rem;
}

/* Left Side Sticky Header */
.about-left {
    width: 40%;
    position: sticky;
    top: 200px;
    /* Sticks to the top while scrolling */
    height: max-content;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.year-badge {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
}

.year-badge:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--color-gold);
    transform: scale(1.05) rotate(5deg);
}

.year-badge span {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.year-badge h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-gold);
    line-height: 1;
}

/* Right Side Interactive Cards */
.about-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.about-card {
    background: rgba(9, 16, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4.5rem 4rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: var(--color-gold);
    transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: rgba(9, 16, 30, 0.8);
    border-color: rgba(212, 175, 55, 0.15);
}

.about-card:hover::before {
    height: 100%;
}

.card-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 30px;
    right: 40px;
    line-height: 1;
    transition: color 0.5s ease;
    user-select: none;
}

.about-card:hover .card-number {
    color: rgba(212, 175, 55, 0.1);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 400;
    transition: color 0.3s;
}

.about-card:hover h3 {
    color: var(--color-gold);
}

.about-card p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Scroll Reveal Classes (Intersection Observer) */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive for About Section */
@media (max-width: 1200px) {
    .about-container {
        gap: 4rem;
    }

    .about-card {
        padding: 3.5rem 3rem;
    }
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-left {
        width: 100%;
        position: static;
        margin-bottom: 2rem;
    }

    .about-right {
        width: 100%;
        gap: 3rem;
    }

    .year-badge {
        display: none;
    }

    .about-section {
        padding: 8rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }

    .about-card {
        padding: 3rem 2rem;
    }

    .card-number {
        font-size: 3.5rem;
        top: 20px;
        right: 20px;
    }

    .about-card h3 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0px 1.2rem;
    }

    .hero-container {
        padding-top: 8rem;
    }

    .navbar {
        top: 10px;
    }

    .hero-container {
        padding: 8rem 2rem 4rem;
    }

    .creative-badge {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    #display-title {
        font-size: 2.5rem !important;
    }

    .practice-creative-layout {
        gap: 1rem !important;
    }

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

    .practice-section {
        padding: 4rem 0 !important;
    }

    .section-header {
        margin-bottom: 3em !important;
    }

    .team-section {
        padding: 4rem 0 !important;
    }

    .why-us-section {
        padding: 4rem 0 !important;
    }
}


/* =========================================
   AREAS OF PRACTICE SECTION
   ========================================= */
.practice-section {
    padding: 10rem 0;
    background-color: var(--color-navy);
    /* Alternates with the lighter navy above */
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.practice-creative-layout {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}

.practice-display-column {
    width: 45%;
    position: sticky;
    top: 150px;
}

.practice-list-column {
    width: 55%;
}

.practice-display-card {
    background: rgba(18, 30, 56, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.display-bg-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 14rem;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    user-select: none;
}

.display-icon-container {
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

#display-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-text-main);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.display-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.interactive-practice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.practice-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.practice-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--color-gold);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.practice-item:hover,
.practice-item.active {
    padding-left: 2rem;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, rgba(9, 16, 30, 0) 100%);
    border-bottom-color: rgba(212, 175, 55, 0.2);
}

.practice-item:hover::before,
.practice-item.active::before {
    transform: scaleY(1);
}

.p-num {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.4rem;
    margin-right: 1.5rem;
    opacity: 0.4;
    transition: all 0.3s;
}

.practice-item:hover .p-num,
.practice-item.active .p-num {
    opacity: 1;
    transform: scale(1.1);
}

.p-list-icon {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-right: 1.5rem;
    opacity: 0.5;
    transition: all 0.4s ease;
    width: 25px;
    /* Fixed width to align text perfectly */
    text-align: center;
}

.practice-item:hover .p-list-icon,
.practice-item.active .p-list-icon {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

.p-name {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    transition: color 0.3s;
    flex-grow: 1;
}

.practice-item:hover .p-name,
.practice-item.active .p-name {
    color: var(--color-text-main);
}

.p-arrow {
    color: var(--color-gold);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

.practice-item:hover .p-arrow,
.practice-item.active .p-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .practice-creative-layout {
        flex-direction: column;
    }

    .practice-display-column {
        width: 100%;
        position: static;
        margin-bottom: 3rem;
    }

    .practice-list-column {
        width: 100%;
    }

    .practice-display-card {
        min-height: 350px;
        padding: 4rem 3rem;
    }
}

@media (max-width: 992px) {
    .section-header {
        text-align: left;
        align-items: flex-start;
    }
}

/* =========================================
   CLIENTS SECTION
   ========================================= */
.clients-section {
    padding: 10rem 0;
    background-color: var(--color-navy-light);
    /* Alternates with the darker navy */
    position: relative;
    z-index: 5;
}

/* Infinite Scrolling Marquee */
.marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full window width 
    margin-bottom: 6rem;*/
    overflow: hidden;
    padding: 2rem 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-navy-light), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-navy-light), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 6rem;
    padding-right: 6rem;
    animation: marquee 40s linear infinite;
}

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

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

.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 2px;
    transition: all 0.4s ease;
    white-space: nowrap;
    cursor: default;
    user-select: none;
}

.marquee-item:hover {
    color: var(--color-gold);
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.marquee-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    cursor: default;
    user-select: none;
}

.marquee-logo:hover {
    transform: scale(1.1);
}

/* Apple-Style Sticky Horizontal Scroll */
.clients-scroll-wrapper {
    position: relative;
    /* Height will be dynamically set by JS to match track width */
    min-height: 100vh;
}

.clients-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Sector Filters */
.client-filters-container {
    margin-bottom: 3rem;
    /* padding-left: max(5rem, calc((100vw - 1400px) / 2 + 5rem)); */
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.client-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.filter-btn:hover {
    color: var(--color-text-main);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.25);
}

.clients-horizontal-track {
    display: flex;
    gap: 3rem;
    padding-right: 5vw;
    width: max-content;
    will-change: transform;
}

/* Filmstrip Cards */
.client-card {
    width: 320px;
    /* More compact */
    flex-shrink: 0;
    opacity: 1;
    display: block;
    perspective: 1000px;
    /* Enable 3D space */
    transition: opacity 0.4s ease;
}

.client-card.hidden {
    display: none !important;
    opacity: 0;
}

.client-card-inner {
    background: rgba(255, 255, 255, 0.03);
    /* Frosted glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* 3D tilt controlled by JS via CSS variables */
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    will-change: transform;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Glare Effect */
.client-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

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

.client-card-inner:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.client-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
    /* 3D pop out */
}

.client-monogram {
    height: 40px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.client-card-inner:hover .client-monogram {
    transform: scale(1.1);
}

.client-tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* Compact */
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
    transform: translateZ(20px);
    /* 3D pop out */
}

.client-card-inner:hover .client-name {
    color: var(--color-gold);
}

.client-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    /* Compact */
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transform: translateZ(10px);
    /* Subtle 3D pop out */
}

/* --- TEAM SECTION --- */
.team-section {
    padding: 6rem 0;
    position: relative;
    background: var(--color-bg-alt);
    /* For texture overlap */
}

/* Base Team Grid & Flex behavior */
.team-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    height: 600px;
    margin-top: 4rem;
    width: 100%;
}

.team-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-navy-light);
    flex: 1;
    min-width: 0;
    /* Fix flexbox min-width issue */
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-card:hover {
    flex: 6;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.6s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0%) contrast(1.1);
}

.team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Take full height for vertical text */
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(9, 16, 30, 0.95) 0%, rgba(9, 16, 30, 0.2) 40%, transparent 60%);
    transition: background 0.6s ease;
    pointer-events: none;
    /* Prevent interference with hover */
}

.team-card:hover .team-card-info {
    background: linear-gradient(to top, rgba(9, 16, 30, 0.9) 0%, rgba(9, 16, 30, 0.1) 25%, transparent 45%);
}

.team-card-info h3 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--color-gold);
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: margin 0.4s ease, color 0.4s ease;
    /* Browser can't animate writing-mode, so it snaps */
}

.team-card:hover .team-card-info h3 {
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 0.5rem;
}

.team-card-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, height 0.4s ease;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.team-card:hover .team-card-info p {
    opacity: 0.9;
    height: auto;
}

/* Text Only Card (No Photo) */
.additional-team {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.text-only-card {
    background: linear-gradient(135deg, rgba(18, 30, 56, 0.4), rgba(18, 30, 56, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 700px;
    cursor: pointer;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, flex 0.4s ease !important;
    height: auto;
    flex: none !important;
    overflow: visible;
}

.text-only-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 185, 116, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex: none !important;
}

.text-only-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.text-only-info h3 {
    color: var(--color-gold) !important;
    margin: 0 0 0.4rem 0 !important;
    font-size: 1.4rem !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
}

.text-only-info p {
    color: var(--color-text-main) !important;
    margin: 0 !important;
    opacity: 0.8 !important;
    height: auto !important;
    font-size: 0.95rem !important;
}

.text-only-action {
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    transition: opacity 0.3s ease, gap 0.3s ease;
}

.text-only-card:hover .text-only-action {
    opacity: 1;
    gap: 1.2rem;
}

/* Modal Enhancements */

/* Team Modal */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 15, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: 90vh;
    display: flex;
}

.team-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

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

.modal-grid {
    display: flex;
    width: 100%;
}

.modal-image-col {
    flex: 0 0 40%;
    position: relative;
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text-col {
    flex: 0 0 60%;
    padding: 4rem;
    overflow-y: auto;
    max-height: 90vh;
}

.team-modal.no-image .modal-image-col {
    display: none;
}

.team-modal.no-image .modal-text-col {
    flex: 0 0 100%;
    padding: 5rem;
}

.modal-text-col h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-text-col h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-bio p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* =========================================
   WHY KOLACHI & CO. SECTION
   ========================================= */
.why-us-section {
    padding: 10rem 0;
    background-color: var(--color-navy-light);
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: flex-start;
}

.why-us-left {
    position: sticky;
    top: 150px;
}

.why-us-intro {
    margin-top: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.why-list-item {
    display: flex;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.why-list-item:first-child {
    padding-top: 0;
}

.why-num {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    opacity: 0.8;
}

.why-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.why-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background-color: #04080F;
    padding: 8rem 0 0;
    /* Padding top only, bottom handled by watermark */
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.footer-mega-text {
    margin-bottom: 6rem;
}

.footer-mega-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 1;
    color: var(--color-text-main);
    letter-spacing: -2px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.footer-brand-col {
    max-width: 400px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 2rem;
}

.footer-philosophy {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.footer-links-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-heading {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.magnetic-links {
    list-style: none;
}

.magnetic-links li {
    margin-bottom: 1.2rem;
}

.magnetic-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.magnetic-links .arrow {
    color: var(--color-gold);
    margin-right: 15px;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 1.2rem;
}

.magnetic-links a:hover {
    transform: translateX(10px);
    color: var(--color-gold);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-list i {
    margin-top: 5px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
}

.footer-watermark {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10.5vw, 12rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.04);
    line-height: 0.8;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */
@media (max-width: 1024px) {
    .client-card {
        width: 350px;
    }

    /* Tablet Teams Fallback */
    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 2rem;
    }

    .team-card {
        height: 350px;
        flex: none;
        /* Disable flex accordion */
    }

    .team-card:hover {
        flex: none;
        /* Disable flex accordion expansion */
    }

    .team-card-info {
        background: linear-gradient(to top, rgba(9, 16, 30, 0.95) 0%, rgba(9, 16, 30, 0.8) 60%, transparent 100%);
    }

    .team-card-info h3 {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        margin-bottom: 0.3rem;
    }

    .team-card-info p {
        opacity: 0.9;
        transform: translateY(0);
        height: auto;
        white-space: normal;
    }

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

@media (max-width: 992px) {

    /* Disable sticky hijack CSS for mobile/tablet */
    .clients-scroll-wrapper {
        min-height: auto !important;
        height: auto !important;
    }

    .clients-sticky-container {
        position: relative;
        height: auto;
        overflow: visible;
        padding-top: 2rem;
    }

    .clients-horizontal-track {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0 1.5rem 2rem 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        gap: 1.5rem;
    }

    .clients-horizontal-track::-webkit-scrollbar {
        display: none;
    }

    .client-card {
        scroll-snap-align: center;
        height: auto;
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 4rem 0;
    }

    .clients-sticky-container {
        justify-content: flex-start;
    }

    .client-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar for cleaner look */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .client-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .marquee-wrapper {
        margin-bottom: 4rem;
        padding: 1.5rem 0;
    }

    .marquee-item {
        font-size: 1.85rem;
    }

    .marquee-content {
        gap: 3.5rem;
        padding-right: 3.5rem;
    }

    .clients-horizontal-track {
        gap: 1.5rem;
    }

    .client-card {
        width: 77vw;
        /* Almost full width on mobile */
    }

    .client-card-inner {
        padding: 2rem 2.2rem;
    }

    .client-name {
        font-size: 1.6rem;
    }

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

    .footer-links-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 1rem;
        margin-top: -1rem;
    }

    .modal-grid {
        flex-direction: column;
    }

    .modal-image-col {
        height: 250px;
    }

    .modal-text-col {
        padding: 2rem;
    }

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

    .team-card {
        height: 450px;
    }

    .team-img {
        filter: none;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .why-us-left {
        position: static;
    }

    .why-list-item {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 0;
    }

    .team-card-info {
        background: none;
    }

    .site-footer {
        padding: 4rem 0 0;
        ;
    }

    .footer-mega-text {
        margin-bottom: 3rem;
    }

}

/* =========================================
   PREMIUM IMAGERY ADDITIONS
   ========================================= */

/* Hero adjustments */
.hero-creative {
    /* Reverting to default dark background for contrast */
}

.hero-creative::before {
    display: none;
}

/* About Office Image */
.about-image-wrapper {
    margin-top: 3rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-office-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image-wrapper:hover .about-office-img {
    transform: scale(1.05);
}

/* Practice Texture */
.practice-display-card {
    background-image: linear-gradient(rgba(18, 30, 56, 0.8), rgba(18, 30, 56, 0.9)), url('assets/Office images/legal-books-library-close-up.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Parallax Divider */
.parallax-divider {
    height: 50vh;
    min-height: 400px;
    width: 100%;
    background-image: url('assets/images/parallax-bg.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}

.parallax-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 8, 15, 0.65);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.parallax-content h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1;
    color: var(--color-text-main);
}

/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    color: var(--color-navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #fff;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Update Contact Hero */
.contact-hero {
    padding: 12rem 0 6rem;
    background: url('./assets/Office images/legal-books-library-close-up.webp') center/cover no-repeat;
    position: relative;
}

.contact-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 35, 0.7);
}

.contact-hero .hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-breadcrumb {
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-breadcrumb a {
    color: white;
    text-decoration: none;
}

/* Update Layout */
.contact-page-content.bg-white {
    background: #ffffff;
    padding: 6rem 0;
}

.contact-page-grid {
    display: grid;
    gap: 4rem;
}

.contact-page-grid.layout-regalis {
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
}

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

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-tag {
    background: #f1f1f1;
    color: #111;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.contact-heading {
    font-size: 3rem;
    color: #111;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.contact-subheading {
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* 2x2 grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #2b3a4a;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    color: #111;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.info-text p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Form Box */
.contact-form-box {
    background: #0f172a;
    padding: 3.5rem;
    border-radius: 15px;
}

.regalis-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.regalis-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.regalis-form label {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.regalis-form input,
.regalis-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 0.5rem 0;
    font-family: inherit;
    font-size: 1rem;
    color: #ffffff;
    transition: border-bottom-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.regalis-form textarea {
    resize: none;
}

.regalis-form input:focus,
.regalis-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
}

.btn-send {
    background: var(--color-gold);
    color: #000000;
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    margin-top: 1rem;
}

.btn-send:hover {
    background: #e6be48;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-page-grid.layout-regalis {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .regalis-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-box {
        padding: 1.5rem;
        padding-top: 2rem;
    }
    
    .contact-heading {
        font-size: 2.2rem;
    }

    .btn-send {
        width: 100%;
    }
    
    .contact-page-grid.layout-regalis {
        gap: 2.5rem;
    }
}

/* =========================================
   OFFICE SECTION
   ========================================= */
.office-section {
    padding: 10rem 0;
    background-color: var(--color-navy);
    position: relative;
    z-index: 5;
}

.office-gallery {
    column-count: 4;
    column-gap: 1.5rem;
}

.gallery-item {
    margin-bottom: 1.5rem;
    break-inside: avoid;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '\f00e';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    color: var(--color-gold);
    font-size: 3rem;
    opacity: 0;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 16, 30, 0.6);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 16, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 40px;
    background: rgba(9, 16, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(9, 16, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    border-radius: 50%;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-prev, .lightbox-next {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 1200px) {
    .office-gallery {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .office-gallery {
        column-count: 2;
    }

    .office-section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .office-header {
        text-align: left !important;
    }

    .office-badge {
        margin: 0 0 1.5rem 0 !important;
    }
}

@media (max-width: 480px) {
    .office-gallery {
        column-count: 1;
    }
}

/* =========================================
   DESKTOP SIDE PANEL & NAVBAR BTN
   ========================================= */

.desktop-panel-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.desktop-panel-btn:hover {
    transform: scale(1.05);
}

.desktop-panel-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.desktop-panel-btn:hover span {
    background-color: var(--color-gold);
}

.desktop-panel-btn span:nth-child(2) {
    width: 20px;
    align-self: flex-end;
}

.desktop-panel-btn:hover span:nth-child(2) {
    width: 25px;
}

.desktop-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 16, 30, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.desktop-side-panel {
    position: fixed;
    top: 0;
    right: -600px;
    width: 550px;
    height: 100vh;
    background-color: #12161b;
    z-index: 1001;
    padding: 4rem 3rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.desktop-side-panel.active {
    right: 0;
}

.desktop-panel-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.desktop-panel-close:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.side-panel-header {
    margin-bottom: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.invert-logo {
    filter: brightness(0) invert(1);
}

.panel-section-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.panel-practice-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem 1rem;
}

.panel-practice-list li {
    color: #FFFFFF;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.panel-contact-list li {
    color: #FFFFFF;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.panel-contact-list i {
    margin-top: 5px;
    font-size: 1rem;
}

.text-gold {
    color: var(--color-gold);
}

.side-panel-section:not(:last-child) {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {

    .desktop-panel-btn,
    .desktop-panel-overlay,
    .desktop-side-panel {
        display: none !important;
    }

    /* Native touch horizontal scroll for clients section on mobile/tablet */
    .clients-scroll-wrapper {
        min-height: auto !important;
        height: auto !important;
    }

    .clients-sticky-container {
        position: static !important;
        height: auto !important;
    }

    .clients-horizontal-track {
        transform: none !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2rem !important;
    }

    .client-card {
        scroll-snap-align: center;
    }
}

/* =========================================
   LIGHT THEME OVERRIDES
   ========================================= */

/* Base Light Theme Context applied to sections */
.theme-light.theme-light {
    background-color: var(--color-light-bg);
    color: var(--color-light-text);
}

.theme-light .section-title {
    color: var(--color-light-text);
}

.theme-light .section-desc,
.theme-light .why-content p {
    color: var(--color-text-main);
}

/* =========================================
   PAGE NAVIGATOR (SCROLLSPY)
   ========================================= */
.page-nav {
    position: fixed;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-nav.visible {
    opacity: 1;
    visibility: visible;
}

/* Ensure a large invisible hover area so it doesn't close easily */
.page-nav::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: -250px;
    right: -20px;
}

.nav-dots-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-end;
}

.page-nav a.nav-dot {
    display: block;
    text-decoration: none;
    width: 20px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background-color 0.3s ease, width 0.3s ease;
    position: relative;
}

.page-nav.theme-light a.nav-dot {
    background-color: rgba(0, 0, 0, 0.2);
}

.page-nav a.nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.page-nav.theme-light a.nav-dot:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.page-nav a.nav-dot.active {
    background-color: var(--color-gold);
    width: 30px;
}

.nav-label {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 15px;
    color: var(--color-text-main);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.page-nav.theme-light .nav-label {
    color: var(--color-navy);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.page-nav:hover .nav-label {
    opacity: 1;
    visibility: visible;
}

.page-nav a.nav-dot:hover .nav-label,
.page-nav a.nav-dot.active .nav-label {
    color: var(--color-gold);
}

@media (max-width: 992px) {
    .hidden-mobile {
        display: none !important;
    }
}

.theme-light p {
    color: var(--color-light-muted);
}

.theme-light .creative-badge {
    border-color: rgba(9, 16, 30, 0.2);
    color: var(--color-light-text);
}

.theme-light .creative-badge .dot {
    background-color: var(--color-gold);
    box-shadow: none;
}

.theme-light .year-badge {
    border-color: rgba(9, 16, 30, 0.1);
}

.theme-light .year-badge span {
    color: var(--color-light-muted);
}

.theme-light .year-badge h3 {
    color: var(--color-light-text);
}

.theme-light .about-card {
    background: var(--color-light-card);
    border-color: rgba(9, 16, 30, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.theme-light .about-card::before {
    background-color: var(--color-gold);
}

.theme-light .about-card h3 {
    color: var(--color-light-text);
}

.theme-light .about-card:hover h3 {
    color: var(--color-navy);
}

.theme-light .marquee-item {
    color: rgba(9, 16, 30, 0.12);
}

.theme-light .marquee-item:hover {
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.theme-light .client-card-inner {
    background: var(--color-light-card);
    border-color: rgba(9, 16, 30, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.theme-light .client-card-inner::before {
    background-color: var(--color-light-bg);
}

.theme-light .client-name {
    color: var(--color-light-text);
}

.theme-light .client-desc {
    color: var(--color-light-muted);
}

.theme-light .client-card-inner:hover .client-name {
    color: var(--color-navy);
}

.theme-light .client-tag {
    color: var(--color-light-muted);
    border-color: rgba(9, 16, 30, 0.1);
}

.theme-light .client-monogram {
    color: var(--color-light-text);
}

.theme-light .client-card-inner:hover .client-monogram {
    color: var(--color-navy);
}

.theme-light .filter-btn {
    color: var(--color-light-muted);
    border-color: rgba(9, 16, 30, 0.1);
}

.theme-light .filter-btn:hover {
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.theme-light .filter-btn.active {
    background: var(--color-navy);
    color: var(--color-light-card);
    border-color: var(--color-navy);
}

.theme-light .why-list-item {
    border-top-color: rgba(9, 16, 30, 0.1);
}

.theme-light .why-num {
    color: var(--color-gold);
}

.theme-light .why-content h3 {
    color: var(--color-light-text);
}

.theme-light .why-content p {
    color: var(--color-light-muted);
}

.theme-light .marquee-wrapper::before {
    background: linear-gradient(to right, var(--color-light-bg), transparent);
}

.theme-light .marquee-wrapper::after {
    background: linear-gradient(to left, var(--color-light-bg), transparent);
}