@font-face {
            font-family: 'Esmeralda Grotesk';
            src: url('assets/esmeraldagroterk-Regular.otf') format('opentype');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'Cruinn';
            src: url('assets/Cruinn Thin.ttf') format('truetype');
            font-weight: 100;
        }
        @font-face {
            font-family: 'Cruinn';
            src: url('assets/Cruinn Light.ttf') format('truetype');
            font-weight: 300;
        }
        @font-face {
            font-family: 'Cruinn';
            src: url('assets/Cruinn Regular.ttf') format('truetype');
            font-weight: 400;
        }
        @font-face {
            font-family: 'Cruinn';
            src: url('assets/Cruinn Medium.ttf') format('truetype');
            font-weight: 500;
        }
        @font-face {
            font-family: 'Cruinn';
            src: url('assets/Cruinn Bold.ttf') format('truetype');
            font-weight: 700;
        }
        @font-face {
            font-family: 'Cruinn';
            src: url('assets/Cruinn Black.ttf') format('truetype');
            font-weight: 900;
        }

        :root {
            /* Primary Background */
            --bg-canvas: #232524;
            --bg-surface: #2C2F2D;
            --bg-card: #343735;
            
            /* Text */
            --text-heading: #F5F5F2;
            --text-body: #B9BDB8;
            --text-muted: #7C807D;
            --text-nav: #D5D6D3;
            
            /* Brand */
            --brand-primary: #B9F3A6;
            --brand-hover: #9DE784;
            --brand-text: #202221;
            
            /* Accent & Highlight */
            --accent: #B9F3A6;
            --highlight: #FAF285;
            
            /* Supporting */
            --border-main: rgba(255,255,255,0.08);
            --border-card: rgba(255,255,255,0.06);
            --border-divider: rgba(255,255,255,0.08);
            
            /* Dark */
            --dark: #1B1C1B;
            
            /* Status */
            --status-success: #2E8B57;
            --status-warning: #D97706;
            --status-error: #DC2626;
            
            /* Typography & Layout */
            --font-heading: 'Cruinn', sans-serif;
            --font-body: 'Satoshi', sans-serif;
            --padding-x: 4vw;
            --section-gap: 160px;
        }

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

        html { scroll-behavior: smooth; }
        body {
            position: relative;
            font-family: var(--font-body);
            font-size: 18px;
            font-weight: 400;
            letter-spacing: 0.02em;
            background-color: var(--brand-text);
            color: var(--text-body);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            line-height: 1.5;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: normal;
            color: var(--text-heading);
            letter-spacing: -0.02em;
        }

        /* =========================================
           NAVIGATION
           ========================================= */
        .navbar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 var(--padding-x);
            z-index: 100;
        }

        .logo {
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            gap: 3rem;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .nav-links a {
            color: var(--text-nav);
            font-size: 15px;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        .nav-links a:hover {
            color: var(--brand-primary);
        }

        .btn-connect {
            background-color: var(--brand-primary);
            color: var(--brand-text);
            padding: 0.8rem 1.8rem;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 500;
            letter-spacing: 0.02em;
            transition: background-color 0.3s ease;
        }

        .btn-connect:hover { background-color: var(--brand-hover); }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
        }

        .hamburger span {
            width: 24px;
            height: 2px;
            background-color: var(--brand-primary);
            display: block;
        }

        /* =========================================
           HERO SECTION
           ========================================= */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 120px var(--padding-x) 60px;
        }

        .hero-background {
            position: absolute;
            top: 100px;
            left: 8px;
            right: 8px;
            height: calc(100% - 108px);
            width: auto;
            border-radius: 20px;
            background-color: var(--bg-canvas);
            z-index: -1;
            background-image: url('background.png');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: top center;
            opacity: 0.3;
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
            -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
            border: 1px solid var(--border-main);
        }

        .hero h1 {
            color: var(--highlight);
            font-size: clamp(70px, 12vw, 150px);
            font-weight: normal;
            line-height: 0.95;
            letter-spacing: -0.05em;
            margin-bottom: 3rem;
            max-width: 1400px;
        }

        .hero p {
            color: #FFFFFF;
            font-size: clamp(18px, 2vw, 22px);
            font-weight: 300;
            max-width: 700px;
            line-height: 1.6;
            margin-bottom: 3.5rem;
            letter-spacing: -0.01em;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            justify-content: center;
        }

        .btn-primary, .btn-secondary {
            padding: 14px 28px;
            font-size: 16px;
            font-weight: 500;
            border-radius: 6px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-primary {
            background-color: var(--highlight);
            color: var(--dark);
            border: 1px solid var(--highlight);
        }
        .btn-primary:hover {
            opacity: 0.9;
        }

        .btn-secondary {
            background-color: transparent;
            color: #FFFFFF;
            border: 1px solid #FFFFFF;
        }
        .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        /* Global Side Pagination */
        .side-nav {
            position: fixed;
            right: 1.5vw;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
            z-index: 1000;
        }

        .side-nav span { font-size: 13px; font-weight: 500; }
        .side-nav .divider { width: 1px; height: 50px; background-color: var(--border-divider); }
        .side-nav .dots { display: flex; flex-direction: column; gap: 8px; margin-top: 5px;}
        .side-nav .dot { width: 5px; height: 5px; background-color: var(--border-main); border-radius: 50%; cursor: pointer; transition: background-color 0.3s; }
        .side-nav .dot.active { background-color: var(--brand-primary); }

        /* =========================================
           CLIENTS BANNER
           ========================================= */
        .clients-section {
            padding: 0.8rem 0;
            background: var(--bg-surface);
            overflow: hidden;
            white-space: nowrap;
        }
        .clients-track {
            display: inline-flex;
            gap: 5rem;
            animation: scroll 40s linear infinite;
            align-items: center;
            padding: 0 2.5rem;
        }
        .clients-track a {
            display: inline-flex;
            align-items: center;
        }
        .clients-track img {
            height: 25px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s ease;
        }
        .clients-track a:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }
        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* =========================================
           ABOUT SECTION
           ========================================= */
        .about-section {
            padding: var(--section-gap) var(--padding-x);
            display: grid;
            grid-template-columns: 450px 1fr;
            gap: 8rem;
            align-items: start;
        }
        
        .about-label {
            font-size: 18px;
            font-weight: 500;
            color: var(--accent-gold);
            margin-top: 0.8rem;
        }
        
        .about-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            max-width: 850px;
        }

        .about-content p {
            font-size: clamp(36px, 5vw, 72px);
            line-height: 1.1;
            font-weight: 400;
            letter-spacing: -0.03em;
            color: var(--text-heading);
            margin: 0;
            max-width: 100%;
        }

        /* =========================================
           SOLUTIONS SECTION
           ========================================= */
        .solutions-section {
            display: flex;
            flex-direction: column;
            gap: 4rem;
            padding: var(--section-gap) var(--padding-x);
            background-color: transparent;
        }

        .solutions-header-new {
            text-align: center;
        }

        .solutions-header-new h2 {
            font-size: clamp(50px, 7vw, 90px);
            margin-bottom: 2rem;
            font-family: var(--font-body);
            font-weight: normal;
            letter-spacing: -0.04em;
        }
        
        .solutions-header-new p {
            font-size: 18px;
            color: var(--brand-primary);
            max-width: 600px;
            margin: 0 auto;
        }

        
        .services-list {
            display: flex;
            flex-direction: column;
            gap: 8rem;
        }

        /* Specialized reveal for service cards */
        .service-card.reveal {
            opacity: 0;
            transform: scale(0.9) translateY(100px);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .service-card.reveal.active {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
        
        .btn-explore-more {
            align-self: center;
            margin-top: -4rem; /* Offset some gap */
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 18px 40px;
            background-color: var(--brand-primary);
            color: var(--brand-text);
            border-radius: 40px;
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            font-family: var(--font-body);
            border: none;
            cursor: pointer;
        }
        .btn-explore-more:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }


        .service-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            max-width: 80%;
            margin: 0 auto;
            background-color: var(--bg-surface);
            border: 1px solid var(--border-card);
            border-radius: 24px;
            overflow: hidden;
            min-height: 450px;
        }

        .service-card-content {
            padding: 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .service-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            background-color: rgba(0,0,0,0.04);
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 2rem;
            font-family: var(--font-body);
        }
        .service-tag .dot {
            width: 6px;
            height: 6px;
            background-color: var(--accent-gold);
            border-radius: 50%;
        }

        .service-card h3 {
            color: #F4F4F1;
            font-size: clamp(28px, 4vw, 36px);
            font-family: var(--font-body);
            font-weight: normal;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .service-card p {
            color: var(--brand-primary);
            font-size: 16px;
            margin-bottom: 2.5rem;
            line-height: 1.6;
        }

        .btn-learn-more {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 12px 24px;
            background-color: var(--brand-text);
            border: 1px solid var(--border-divider);
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-heading);
            transition: all 0.3s ease;
            font-family: var(--font-body);
        }
        .btn-learn-more:hover {
            background-color: var(--border-divider);
        }
        
        .service-card-image {
            padding: 3rem;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .service-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }

        @media (max-width: 900px) {
            .service-card {
                grid-template-columns: 1fr;
            }
            .service-card-content {
                padding: 2.5rem;
            }
            .service-card-image {
                min-height: 350px;
            }
        }
        /* =========================================
           FACILITY SERVICES SECTION
           ========================================= */
        .facility-section {
            margin-top: var(--section-gap);
            margin-bottom: var(--section-gap);
            margin-left: calc(var(--padding-x) * (1 - var(--facility-progress, 0)));
            margin-right: calc(var(--padding-x) * (1 - var(--facility-progress, 0)));
            background-color: var(--brand-primary);
            color: var(--brand-text);
            border-radius: calc(40px * (1 - var(--facility-progress, 0)));
            padding: 5rem 4rem;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 5rem;
            align-items: center;
            transition: margin 0.1s ease-out, border-radius 0.1s ease-out;
        }
        
        .facility-section h2 {
            font-size: clamp(30px, 3.5vw, 36px);
            line-height: 1.05;
            letter-spacing: 0.02em;
            margin-bottom: 2rem;
            font-weight: normal;
            color: var(--brand-text);
        }
        
        .facility-section p {
            font-size: 1.1rem;
            line-height: 1.6;
            color: var(--bg-section-alt);
            margin-bottom: 1.5rem;
            max-width: 500px;
        }

        .facility-image {
            width: 100%;
            height: 550px;
            border-radius: 20px;
            overflow: hidden;
            background-color: #333;
        }

        /* =========================================
           STATS SECTION
           ========================================= */
        .stats-section {
            margin: 0 var(--padding-x) var(--section-gap);
            background-color: var(--bg-section-alt);
            border-radius: 20px;
            display: flex;
            justify-content: space-between;
            padding: 3.5rem 0;
        }

        .stat-block {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            border-right: 1px solid var(--border-divider);
            gap: 0.5rem;
        }

        .stat-block:last-child { border-right: none; }
        .stat-block .number { font-size: 2.8rem; font-weight: 500; letter-spacing: -1px; }
        .stat-block .text { font-size: 15px; color: var(--brand-primary); }

        /* =========================================
           SPACES SECTION
           ========================================= */
        .spaces-section {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 7rem;
            padding: 0 var(--padding-x) var(--section-gap);
            align-items: center;
        }

        .spaces-image {
            width: 100%;
            height: 600px;
            border-radius: 0 250px 250px 0;
            overflow: hidden;
            background-color: var(--bg-section-alt);
        }

        .spaces-info h2 {
            font-size: clamp(30px, 3.5vw, 36px);
            font-weight: normal;
            line-height: 1;
            margin-bottom: 2rem;
            letter-spacing: 0.02em;
        }

        .spaces-info-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 2rem;
            margin-bottom: 3.5rem;
        }

        .spaces-info-row p { 
            font-size: 18px; 
            color: var(--brand-primary); 
            max-width: 350px; 
            line-height: 1.6; 
        }
        
        .arrow-btn-large {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            border: 1px solid var(--brand-primary);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .arrow-btn-large:hover {
            background-color: var(--brand-primary);
            color: #F5F5F2;
        }

        .features-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            padding-top: 3rem;
            border-top: 1px solid var(--border-divider);
        }

        .feature-icon-box { 
            display: flex; 
            flex-direction: column; 
            gap: 1rem; 
            align-items: flex-start; 
        }
        
        .feature-icon-box svg { 
            width: 28px; 
            height: 28px; 
            stroke-width: 1.2px; 
            color: var(--brand-primary); 
        }
        
        .feature-icon-box span { 
            font-size: 15px; 
            color: var(--brand-primary); 
            font-weight: 500;
        }

        /* =========================================
           FOOTER
           ========================================= */
        .footer {
            padding: 2rem var(--padding-x) 3.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border-divider);
        }

        
        .footer {
            padding: var(--padding-x);
            position: relative;
        }
        .footer-card {
            background-color: #1B1C1B;
            color: #EAE6DF;
            border-radius: 40px;
            padding: 5rem 4rem 3rem 4rem;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 4rem;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }
        .footer-title {
            font-size: clamp(60px, 8vw, 100px);
            font-weight: normal;
            font-family: 'Esmeralda Grotesk', serif;
            letter-spacing: -0.02em;
            color: #F5F5F2;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 4rem;
        }
        .footer-col {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .footer-label {
            font-size: 14px;
            color: #90938F;
            margin-bottom: 0.5rem;
        }
        .footer-link-underline {
            font-size: 24px;
            text-decoration: underline;
            text-underline-offset: 6px;
            transition: opacity 0.3s;
        }
        .footer-link-underline:hover { opacity: 1; color: var(--brand-primary); }
        
        .footer-col p {
            font-size: 20px;
            line-height: 1.8;
            margin: 0;
        }
        .social-links {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .social-links a {
            font-size: 20px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: opacity 0.3s;
        }
        .social-links a:hover { opacity: 1; color: var(--brand-primary); }
        .social-links svg { margin-top: 2px; }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #90938F;
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #EAE6DF;
            font-size: 18px;
        }
        .brand-pill {
            width: 40px;
            height: 20px;
            background-color: #EAE6DF;
            border-radius: 20px;
        }

        /* =========================================
           MOBILE & TABLET RESPONSIVE
           ========================================= */
        @media (max-width: 1200px) {
            .solutions-section { grid-template-columns: 280px 1fr; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .spaces-section { gap: 4rem; grid-template-columns: 1fr 1fr; }
            .facility-section { gap: 3rem; }
        }

        @media (max-width: 800px) {
            :root {
                --section-gap: 80px;
                --padding-x: 5vw;
            }

            .nav-links, .btn-connect { display: none; }
            .hamburger { display: flex; }

            .hero { padding-top: 150px; }
            .hero h1 {
            color: var(--highlight);
            font-size: clamp(70px, 12vw, 150px);
            font-weight: normal;
            line-height: 0.95;
            letter-spacing: -0.05em;
            margin-bottom: 3rem;
            max-width: 1400px;
        }
            .hero p { text-align: left; margin-bottom: 2rem; }
            .explore-btn { align-self: flex-start; }
            .side-nav { display: none; }

            .about-section { grid-template-columns: 1fr; gap: 2rem; }
            .about-label { margin-top: 0; }
            .about-content p {
            font-size: clamp(36px, 5vw, 72px);
            line-height: 1.1;
            font-weight: 400;
            letter-spacing: -0.03em;
            color: var(--text-heading);
            margin: 0;
            max-width: 100%;
        }

            .solutions-section { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem var(--padding-x); border-radius: 20px; }
            .solutions-header { position: relative; top: 0; }
            
            .services-grid { grid-template-columns: 1fr; gap: 2rem; }
            .service-item .image-box { aspect-ratio: 16/9; }

            .facility-section { grid-template-columns: 1fr; padding: 3rem 2rem; gap: 3rem; border-radius: 20px; }
            .facility-image { height: 350px; }

            .stats-section {
                flex-direction: column;
                background-color: transparent;
                padding: 0;
                gap: 0;
            }
            .stat-block {
                flex-direction: row;
                justify-content: flex-start;
                text-align: left;
                border-right: none;
                border-bottom: 1px solid var(--border-divider);
                padding: 1.5rem 0;
                gap: 2rem;
            }
            .stat-block:last-child { border-bottom: none; }
            .stat-block .number { width: 90px; font-size: 2.2rem; }

            .spaces-section { grid-template-columns: 1fr; gap: 3rem; }
            .spaces-image { height: 350px; border-radius: 0 100px 100px 0; }
            
            .spaces-info-row { flex-direction: column; gap: 1.5rem; }
            .arrow-btn-large { align-self: flex-start; }

            .footer { flex-direction: column; gap: 2rem; align-items: flex-start; }
            .footer-nav { flex-wrap: wrap; gap: 1.5rem; }
        }

        /* Reveal Animation */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }


        /* Section Background Pattern */
        .pattern-bg {
            position: relative;
        }
        .pattern-bg::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: url('pattern.png');
            background-size: cover;
            background-position: center;
            opacity: 0.6;
            z-index: 0;
            pointer-events: none;
            border-radius: inherit;
        }
        .pattern-bg > * {
            position: relative;
            z-index: 1;
        }

        /* =========================================
           LOOP SECTION (Replaces Stats)
           ========================================= */
        .loop-section {
            padding: var(--section-gap) 0;
            overflow: hidden;
            background-color: transparent;
        }
        .loop-header {
            text-align: center;
            margin-bottom: 4rem;
            padding: 0 var(--padding-x);
        }
        .loop-header h2 {
            font-size: clamp(36px, 4vw, 44px);
            font-family: var(--font-body);
            font-weight: normal;
            margin-bottom: 1rem;
        }
        .loop-header p {
            color: var(--brand-primary);
            font-size: 18px;
            max-width: 600px;
            margin: 0 auto;
        }
        .loop-container {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
        }
        .loop-track {
            display: inline-flex;
            gap: 1.5rem;
                        padding: 0 1.5rem;
        }
                .loop-card {
            width: clamp(280px, 25vw, 400px);
            aspect-ratio: 1 / 1;
            border-radius: 16px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            border: 1px solid var(--border-card);
        }


        .loop-card-info {
            padding: 2.5rem 2rem;
            color: #F5F5F2;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            white-space: normal;
        }
        .loop-card-info h4 {
            font-size: clamp(24px, 3vw, 36px);
            font-family: var(--font-body);
            color: #F5F5F2;
            margin: 0;
        }
        .loop-card-info p {
            font-size: 15px;
            color: rgba(255,255,255,0.8);
            margin: 0;
        }
        @keyframes scroll-loop {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-50% - 0.75rem)); }
        }

        /* Scrub text styles */
        #scrub-text {
            font-family: var(--font-body);
        }
        #scrub-text span {
            transition: color 0.1s ease, opacity 0.1s ease;
        }

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */

/* Hero Section */
.svc-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: calc(var(--section-gap) + 80px) var(--padding-x) var(--section-gap);
    align-items: center;
    background-color: var(--bg-canvas);
}
.svc-hero-content h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}
.svc-hero-content p {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.6;
}
.svc-hero-images {
    position: relative;
    height: 600px;
}
.svc-hero-images .img-back {
    position: absolute;
    top: 0; right: 0;
    width: 80%; height: 80%;
    border-radius: 20px;
    object-fit: cover;
}
.svc-hero-images .img-front {
    position: absolute;
    bottom: 0; left: 0;
    width: 70%; height: 70%;
    border-radius: 20px;
    border: 10px solid var(--bg-canvas);
    object-fit: cover;
}

/* Outro */
.svc-outro {
    padding: 6rem var(--padding-x);
    text-align: center;
    background-color: var(--bg-canvas);
}
.outro-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.outro-content p {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .svc-hero {
        grid-template-columns: 1fr;
    }
    .svc-hero-images {
        height: 400px;
        order: -1;
    }
}

/* =========================================
   FLAT 2D REDESIGN STYLES
   ========================================= */

/* Brutalist Caps */
.svc-caps {
    background-color: #161211; /* Deep warm dark background for exact reference match */
}
.svc-caps-header h2 {
    font-size: clamp(40px, 5vw, 64px);
    font-family: var(--font-body);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 600px;
}
.svc-caps-grid.brutal {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 4rem;
}
@media (min-width: 768px) {
    .svc-caps-grid.brutal {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .svc-caps-grid.brutal {
        grid-template-columns: repeat(3, 1fr);
    }
    .cap-card-flat:nth-child(3n+2) {
        margin-top: 4rem; /* Stagger middle column */
    }
}
.cap-card-flat {
    background-color: #2A2421; /* Warm brownish-grey from reference */
    border-radius: 12px;
    padding: 3rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.cap-num-circle {
    position: static;
    width: 36px;
    height: 36px;
    background-color: var(--highlight); /* #FAF285 */
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-heading);
    box-shadow: 0 0 20px rgba(250, 242, 133, 0.4);
}
.cap-card-flat h3 {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0;
    line-height: 1.2;
}
.cap-card-flat p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
}

/* Flat Overlapping Banner */
.svc-banner-section {
    padding: var(--section-gap) var(--padding-x);
    background-color: var(--bg-surface);
}
.svc-banner-flat {
    background-color: var(--brand-primary); /* #B9F3A6 */
    border-radius: 16px;
    padding: 6rem 4rem 10rem 4rem;
    text-align: center;
}
.svc-banner-flat h2 {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--brand-text);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.svc-banner-flat p {
    font-size: 18px;
    color: var(--brand-text);
    max-width: 800px;
    margin: 0 auto;
}
.values-grid-flat {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: -6rem;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
.val-card-flat {
    background-color: var(--bg-card); /* #343735 */
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-divider);
}
.val-card-flat h4 {
    font-size: 20px;
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}
.val-card-flat p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Asymmetrical Detail */
.svc-detail-asym {
    padding: var(--section-gap) var(--padding-x);
    background-color: var(--bg-canvas); /* dark theme canvas */
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.svc-asym-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-massive-text {
    font-size: clamp(80px, 15vw, 200px);
    font-family: 'Esmeralda Grotesk', serif;
    color: var(--text-heading);
    line-height: 0.9;
    font-weight: normal;
    position: absolute;
    left: 5%;
    z-index: 2;
}
.svc-asym-image {
    width: 60%;
    margin-left: auto;
    position: relative;
    z-index: 1;
}
.svc-asym-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
}
.svc-asym-content {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    gap: 3rem;
}
.svc-subheading {
    font-size: 24px;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}
.svc-asym-desc p:not(.svc-subheading) {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}
.svc-flat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.svc-flat-tags span {
    padding: 8px 16px;
    border: 1px solid var(--border-divider);
    border-radius: 40px;
    font-size: 14px;
    color: var(--text-heading);
    background: transparent;
}
@media (max-width: 1024px) {
    .svc-massive-text { position: relative; left: 0; margin-bottom: 2rem; }
    .svc-asym-header { flex-direction: column; align-items: flex-start; }
    .svc-asym-image { width: 100%; }
}

/* =========================================
   ACCORDION STYLES
   ========================================= */
.svc-accordion {
    width: 100%;
    margin-bottom: 2rem;
}
.accordion-item {
    border-bottom: 1px solid var(--border-divider);
}
.accordion-item:first-child {
    border-top: 1px solid var(--border-divider);
}
.accordion-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-heading);
    padding: 1.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}
.accordion-btn:hover {
    color: var(--brand-primary);
}
.acc-title {
    font-size: 22px;
    font-family: var(--font-body);
    font-weight: 400;
}
.acc-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-content p {
    padding-top: 1rem;
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}
.accordion-item.active .acc-icon {
    transform: rotate(45deg);
}


/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

/* S1: ABOUT HERO */
.abt-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: calc(var(--section-gap) + 120px) var(--padding-x) var(--section-gap);
    align-items: center;
    background-color: var(--bg-canvas);
}
.abt-hero-content h1 {
    font-size: clamp(60px, 8vw, 110px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text-heading);
    margin-bottom: 2rem;
}
.abt-hero-content h1 span {
    color: var(--brand-primary);
}
.abt-hero-content p {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
}
.abt-hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.abt-hero-visual {
    position: relative;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diamond-grid {
    position: relative;
    width: 500px;
    height: 500px;
    transform: rotate(45deg);
}
.d-cell {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 40px;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px rgba(185, 243, 166, 0.15);
}
.d-cell img {
    width: 150%;
    height: 150%;
    object-fit: cover;
    transform: rotate(-45deg) scale(1.2);
    transform-origin: center;
}
.d-cell.top { top: 0; left: 50%; transform: translateX(-50%); }
.d-cell.bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.d-cell.left { left: 0; top: 50%; transform: translateY(-50%); }
.d-cell.right { right: 0; top: 50%; transform: translateY(-50%); }

/* S2: STATS BAR */
.abt-stats {
    padding: 0 var(--padding-x) var(--section-gap);
}
.stats-pill {
    background-color: var(--bg-surface);
    border-radius: 40px;
    padding: 6rem 4rem;
    text-align: center;
    border: 1px solid var(--border-divider);
}
.stats-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.stat-item h3 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -1px;
}
.stat-item p {
    font-size: 18px;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    height: 80px;
    background-color: var(--border-divider);
}
.stats-logos p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.logo-row img {
    height: 30px;
    width: auto;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.7;
}

/* S3: CORE VISION */
.abt-vision {
    padding: 0 var(--padding-x) var(--section-gap);
    text-align: center;
}
.vision-header {
    margin-bottom: 5rem;
}
.vision-header h2 {
    font-size: clamp(50px, 7vw, 90px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    line-height: 1.05;
}
.vision-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.vision-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.v-card {
    position: relative;
    height: 500px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border-divider);
}
.v-card img {
    transition: transform 0.5s ease;
}
.v-card:hover img {
    transform: scale(1.05);
}
.v-card-label {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 20px;
    color: #FFF;
}

/* S4: PROCESS TABS */
.abt-process {
    padding: 0 var(--padding-x) var(--section-gap);
}
.process-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}
.process-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 150px;
}
.p-tab {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-left: 2px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}
.p-tab h4 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 1rem;
    color: inherit;
}
.p-tab p {
    display: none;
    font-size: 15px;
    margin-top: 1rem;
    line-height: 1.6;
}
.p-tab.active-focus {
    border-left-color: var(--brand-primary);
    color: var(--brand-primary);
}
.p-tab.active-focus p {
    display: block;
    color: var(--text-body);
}

.process-visual {
    background-color: var(--bg-surface);
    border-radius: 24px;
    padding: 4rem;
    min-height: 700px;
    border: 1px solid var(--border-divider);
    display: flex;
    justify-content: center;
    align-items: center;
}
.p-ui-card {
    background: var(--dark);
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-divider);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.ui-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-divider);
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(255,255,255,0.02);
}
.ui-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
    margin-right: 6px;
}
.ui-tabs {
    display: flex;
    gap: 2rem;
}
.ui-tabs span {
    font-size: 14px;
    color: var(--text-muted);
}
.ui-body {
    display: flex;
    flex: 1;
}
.ui-sidebar {
    width: 300px;
    border-right: 1px solid var(--border-divider);
    padding: 2rem;
    background: rgba(255,255,255,0.01);
}
.ui-sidebar h5 {
    font-size: 16px;
    margin-bottom: 2rem;
}
.ui-sidebar p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.ui-main {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ui-tag {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.ui-main h2 {
    font-size: 40px;
    margin-bottom: 1rem;
}
.ui-main > p {
    color: var(--brand-primary);
    margin-bottom: 4rem;
}
.ui-stats-row {
    display: flex;
    gap: 4rem;
}
.ui-stat h1 {
    font-size: 64px;
    color: var(--bg-canvas);
    margin-bottom: 0.5rem;
    -webkit-text-stroke: 2px var(--brand-primary);
    color: transparent;
}

@media (max-width: 1024px) {
    .abt-hero, .process-container, .vision-cards { grid-template-columns: 1fr; }
    .abt-hero-visual { display: none; }
    .stats-numbers { flex-direction: column; gap: 2rem; }
    .stat-divider { width: 80%; height: 1px; }
}


/* =========================================
   EDITORIAL SERVICES PAGE STYLES
   ========================================= */

/* S1: HERO CAROUSEL */
.svc-ed-hero {
    background-color: var(--dark);
    border-top-left-radius: 80px;
    margin-top: 0;
    padding: 150px var(--padding-x) 80px;
    position: relative;
    overflow: hidden;
}
.ed-hero-content {
    max-width: 800px;
    margin-bottom: 5rem;
}
.ed-hero-content h1 {
    font-size: clamp(60px, 8vw, 100px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-family: var(--font-body); /* Serif/Elegant feel */
}
.ed-hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 650px;
}
.ed-hero-carousel {
    width: 100%;
}
.ed-carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scrollbar-width: none;
}
.ed-carousel-track::-webkit-scrollbar {
    display: none;
}
.ed-car-card {
    min-width: 280px;
    height: 380px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}
.ed-car-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ed-car-card:hover img {
    transform: scale(1.05);
}
.ed-car-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: #FFF;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ed-car-label .dot {
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
}

/* S2: CORE GRID (TALL CARDS) */
.svc-ed-core {
    padding: var(--section-gap) var(--padding-x);
    background-color: var(--bg-canvas);
}
.ed-core-header {
    margin-bottom: 5rem;
}
.ed-core-header h2 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.ed-core-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
}
.ed-core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.ed-core-card {
    position: relative;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-divider);
}
.ed-core-card > img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.ed-card-content {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
}
.ed-card-content h3 {
    font-size: 32px;
    font-weight: 500;
    color: #FFF;
    margin-bottom: 1rem;
}
.ed-card-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}
.ed-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ed-card-footer span {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
}
.arrow-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; justify-content: center; align-items: center;
    color: #FFF;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}
.arrow-btn:hover { background: var(--brand-primary); color: var(--dark); }

/* S3: STICKY STACKING CARDS */
.svc-ed-stacking {
    padding: var(--section-gap) var(--padding-x);
    background-color: var(--brand-text);
}
.ed-stacking-header {
    text-align: center;
    margin-bottom: 6rem;
}
.ed-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-divider);
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.ed-stacking-header h2 {
    font-size: clamp(50px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}
.ed-stacking-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.ed-stack-container {
    position: relative;
    padding-bottom: 2rem;
}
.ed-stack-card {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-divider);
    border-radius: 32px;
    padding: 3rem;
    gap: 4rem;
    margin: 0 auto 2rem auto; width: 80%;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    min-height: 420px;
    align-items: center;
    transition: transform 0.3s;
}
.ed-stack-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--dark);
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 2rem;
}
.ed-stack-text h3 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}
.ed-stack-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.learn-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.ed-stack-img {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}
.ed-stack-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* S4: FAQ ACCORDION */
.svc-ed-faq {
    padding: var(--section-gap) var(--padding-x);
    background-color: var(--bg-canvas);
}
.ed-faq-header {
    margin-bottom: 4rem;
}
.ed-faq-header h2 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    margin-bottom: 1rem;
}
.ed-faq-header p {
    font-size: 18px;
    color: var(--text-muted);
}
.ed-faq-list {
    max-width: 900px;
}
.ed-faq-item {
    background: var(--brand-text);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-divider);
    cursor: pointer;
    transition: background 0.3s;
}
.ed-faq-item:hover {
    background: var(--bg-surface);
}
.ed-faq-item h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-heading);
}
.ed-faq-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--brand-text);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid var(--border-divider);
}
.ed-faq-cta h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.ed-faq-cta p {
    font-size: 14px;
    color: var(--text-muted);
}
.ed-cta-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--brand-primary);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .ed-core-grid { grid-template-columns: 1fr; }
    .ed-stack-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    .ed-stack-img { height: 300px; }
    .ed-faq-cta { flex-direction: column; gap: 2rem; text-align: center; }
}


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

/* Contact Hero */
.contact-hero {
    padding: 180px var(--padding-x) 100px;
    background-color: var(--bg-canvas);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}
.contact-left {
    display: flex;
    flex-direction: column;
    padding-right: 2rem;
}
.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.contact-left h1 {
    font-size: clamp(50px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}
.contact-sub {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 4rem;
    max-width: 500px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.detail-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.detail-title {
    font-size: 14px;
    color: var(--text-muted);
}
.detail-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-heading);
    text-decoration: none;
    transition: color 0.3s;
}
.detail-text:hover {
    color: var(--brand-primary);
}
.social-circles {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.social-circles a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: var(--brand-text);
    color: var(--bg-canvas);
    display: flex; justify-content: center; align-items: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}
.social-circles a:hover {
    background-color: var(--brand-primary);
}

/* Contact Right (Form & Image) */
.contact-right {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}
.contact-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}
.contact-form-card {
    position: relative;
    z-index: 2;
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-divider);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}
.form-group input, .form-group textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-divider);
    border-radius: 8px;
    padding: 12px 16px;
    color: #FFF;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
}

/* Office Card Section */
.office-section {
    padding: 0 var(--padding-x) var(--section-gap);
    background-color: var(--bg-canvas);
}
.office-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-surface);
    border-radius: 24px;
    border: 1px solid var(--border-divider);
    overflow: hidden;
}
.office-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.office-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.office-info {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.office-info h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.office-info p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}
.office-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.address-text {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--text-heading) !important;
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .contact-grid, .office-card {
        grid-template-columns: 1fr;
    }
    .contact-right {
        padding: 2rem 1rem;
    }
}


/* =========================================
   TEAM PAGE STYLES
   ========================================= */

/* Team Hero */
.team-hero {
    padding: 180px var(--padding-x) 100px;
    background-color: var(--dark);
    text-align: center;
}
.team-hero h1 {
    font-size: clamp(50px, 7vw, 90px);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #FFF;
    margin-bottom: 1.5rem;
}
.team-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Team Detailed Blocks (Screenshot 2) */
.team-members {
    background-color: var(--bg-canvas);
    padding: var(--section-gap) var(--padding-x);
    display: flex;
    flex-direction: column;
    gap: 6rem;
}
.team-member-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-surface);
    border-radius: 24px;
    border: 1px solid var(--border-divider);
    overflow: hidden;
}
.team-member-block.reverse {
    direction: rtl;
}
.team-member-block.reverse > * {
    direction: ltr;
}
.tm-info {
    padding: 4rem;
}
.tm-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}
.tm-info h2 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-heading);
}
.tm-bio {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.tm-details {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-divider);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.tm-row {
    display: grid;
    grid-template-columns: 150px 1fr;
}
.tm-label {
    font-size: 14px;
    color: var(--text-muted);
}
.tm-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-heading);
}
.tm-link {
    color: var(--brand-primary);
    text-decoration: none;
}
.tm-image {
    height: 100%;
    min-height: 600px;
}
.tm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Grid (Screenshot 1) */
.team-grid-section {
    padding: 0 var(--padding-x) var(--section-gap);
    background-color: var(--bg-canvas);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    justify-content: center;
}
.tg-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-divider);
    border-radius: 20px;
    overflow: hidden;
    padding: 1.5rem;
}
.tg-img {
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.tg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.tg-header h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-heading);
}
.tg-socials a {
    color: var(--text-heading);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}
.tg-role {
    font-size: 14px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}
.tg-bio {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .team-member-block {
        grid-template-columns: 1fr;
    }
    .team-member-block.reverse {
        direction: ltr;
    }
    .tm-image {
        min-height: 400px;
        order: -1;
    }
}


/* =========================================
   TEAM MODAL STYLES
   ========================================= */
.tm-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}
.tm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.tm-modal-content {
    background: var(--bg-surface);
    border-radius: 24px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-divider);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.tm-modal-overlay.active .tm-modal-content {
    transform: scale(1) translateY(0);
}
.tm-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--dark);
    color: #FFF;
    border: 1px solid var(--border-divider);
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}
.tm-modal-close:hover {
    background: var(--brand-primary);
    color: var(--dark);
    border-color: var(--brand-primary);
}

.tg-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.tg-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
}

/* Fix inner modal spacing */
.tm-modal-content .team-member-block {
    background: transparent;
}

/* =========================================
   WORK PAGE STYLES
   ========================================= */

/* Work Hero */
.work-hero {
    padding: 120px var(--padding-x) 100px;
    background-color: var(--bg-canvas);
    text-align: center;
}
.work-hero-content {
    max-width: 800px;
    margin: 0 auto 5rem auto;
}
.work-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
}
.work-hero h1 {
    font-size: clamp(60px, 8vw, 120px);
    font-weight: normal;
    font-family: var(--font-body);
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin-bottom: 2rem;
}
.work-hero p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding-top: 4rem;
    border-top: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.client-logos span {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-body);
    letter-spacing: -0.5px;
}

/* Featured Case Studies */
.featured-cases {
    padding: 0 var(--padding-x) var(--section-gap);
    background-color: var(--bg-canvas);
}
.fc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.fc-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    display: block;
    min-height: 600px;
    text-decoration: none;
    transform: translateY(0);
    transition: transform 0.4s ease;
}
.fc-card:hover {
    transform: translateY(-10px);
}
.fc-card img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.fc-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 4rem 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.fc-text {
    max-width: 80%;
}
.fc-text h3 {
    font-size: 32px;
    font-weight: 500;
    color: #FFF;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.fc-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}
.fc-arrow {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    transition: background 0.3s;
}
.fc-card:hover .fc-arrow {
    background: var(--brand-primary);
    color: var(--dark);
}

/* Standard Case Studies */
.standard-cases {
    padding: 0 var(--padding-x) var(--section-gap);
    background-color: var(--bg-canvas);
}
.sc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.sc-card {
    display: flex;
    flex-direction: column;
}
.sc-img {
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.sc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sc-card:hover .sc-img img {
    transform: scale(1.05);
}
.sc-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border-divider);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}
.sc-info h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.sc-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.sc-card:hover .sc-link {
    color: var(--brand-primary);
}

@media (max-width: 900px) {
    .fc-grid, .sc-grid { grid-template-columns: 1fr; }
    .fc-card { min-height: 400px; }
    .fc-overlay { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .fc-text { max-width: 100%; }
}

/* =========================================
   FAQ SECTION (SERVICES PAGE)
   ========================================= */
.faq-grid {
    column-count: 2;
    column-gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.faq-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #F8F9FA;
    border-radius: 16px;
    border: 1px solid #E9ECEF;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.faq-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-title {
    display: flex;
    gap: 1rem;
    font-size: 18px;
    font-weight: 500;
    color: #1B1C1B;
}
.faq-num {
    color: #ADB5BD;
}
.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: #1B1C1B;
    transition: transform 0.3s;
}
.faq-card.active .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-primary);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-content p {
    margin-top: 1.5rem;
    font-size: 16px;
    color: #6C757D;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .faq-grid {
    column-count: 2;
    column-gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
}

/* =========================================
   GLOBAL RECTANGULAR EDGES OVERRIDES
   ========================================= */
.btn-primary, .btn-secondary, .btn-outline, .btn-connect, .ed-cta-btn {
    border-radius: 8px !important;
}
.footer-card {
    border-radius: 16px !important;
}
.ed-stack-card, .fc-card, .sc-img, .faq-card, .office-card, img {
    border-radius: 12px !important;
}
.social-circles a, .arrow-btn, .fc-arrow, .icon-circle {
    border-radius: 8px !important;
}
.footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
