/* ============================================
           CSS CUSTOM PROPERTIES — DESIGN TOKENS
           ============================================ */
        :root {
            --color-bg-dark: #1a0a05;
            --color-bg-darker: #0f0603;
            --color-bg-cta: #2d1010;
            /* Darkened from #E8453C: at that shade this red passed
               neither as small text on the cream background (3.5:1)
               nor as a button/badge fill under white text (3.9:1).
               #d32319 clears 4.5:1 in both roles. */
            --color-accent: #d32319;
            --color-accent-hover: #ff5a4f;
            --color-accent-dark: #c93a32;
            --color-bg-light: #F5F0EB;
            --color-bg-cream: #EDE5DC;
            --color-white: #FFFFFF;
            --color-text-dark: #1a1a1a;
            --color-text-light: #F5F0EB;
            --color-text-muted: #796f68;
            --color-text-muted-light: #b0a89e;
            --color-border: rgba(255,255,255,0.08);
            --color-border-light: rgba(0,0,0,0.08);
            --color-card-light: #FFFFFF;
            --color-glass: rgba(255,255,255,0.05);
            --color-glass-light: rgba(255,255,255,0.08);

            --font-heading: 'Inter', sans-serif;
            --font-body: 'Inter', sans-serif;

            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 1.5rem;
            --space-xl: 2rem;
            --space-2xl: 3rem;
            --space-3xl: 4rem;
            --space-4xl: 6rem;
            --space-5xl: 8rem;

            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            --radius-2xl: 24px;

            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
            --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);

            --transition-fast: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
            --transition-base: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
            --transition-slow: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

            --container-max: 1280px;
            --container-wide: 1440px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-fast: 160ms;
  --dur-base: 220ms;
  --transition-smooth:
    transform var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
        }

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

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            font-size: 16px;
        }

        body {
            font-family: var(--font-body);
            color: var(--color-text-dark);
            background: var(--color-bg-light);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

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

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

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
        }

        ul, ol { list-style: none; }

        /* ============================================
           UTILITY CLASSES
           ============================================ */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--space-xl);
        }

        .container-wide {
            max-width: var(--container-wide);
            margin: 0 auto;
            padding: 0 var(--space-xl);
        }

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

        /* ============================================
           SCROLL ANIMATIONS
           ============================================ */
        .reveal {
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-left {
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
        }

        .reveal-left.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-right {
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
        }

        .reveal-right.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-scale {
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
        }

        .reveal-scale.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-1 { transition-delay: 60ms; }
        .stagger-2 { transition-delay: 120ms; }
        .stagger-3 { transition-delay: 180ms; }
        .stagger-4 { transition-delay: 180ms; }
        .stagger-5 { transition-delay: 180ms; }
        .stagger-6 { transition-delay: 180ms; }

        /* ============================================
           PAGE TRANSITION OVERLAY
           ============================================ */


        /* ===== HEADER ===== */
.header {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000;
  background: var(--color-white); 
  padding: 0 40px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition-smooth);
}
.header.scrolled { 
    box-shadow: 0 2px 20px rgba(0,0,0,0.1); 
    height: 56px; }
.header-logo { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: var(--transition-smooth); }
.header-logo:hover { 
    transform: scale(1.05); }
.header-logo img { 
    height: 60px; 
    width: auto; }
.header-nav { 
    display: flex; 
    align-items: center; 
    gap: 28px; }
.header-nav a { 
    font-size: 13px; 
    font-weight: 500; 
    color: #333; 
    position: relative; 
    padding: 4px 0; 
}
.header-nav a::after { 
    content: ''; 
    position: absolute; 
    bottom: -2px; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: var(--color-accent); transition: width 0.3s ease; }
.header-nav a:hover::after { width: 100%; }
.header-nav a:hover { color: var(--color-accent); }

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--color-white); min-width: 220px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-top: 3px solid var(--color-accent);
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  z-index: 1001;
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 12px 20px;
  font-size: 13px; color: #333;
  border-bottom: 1px solid #f0f0f0;
}
.dropdown-menu a:hover {
  background: var(--light-bg);
  color: var(--color-accent);
  padding-left: 24px;
}
.dropdown-menu a:last-child { border-bottom: none; }

.header-right { 
  display: flex; 
  align-items: center; 
  gap: 20px;
  height: 100%;
}
.header-phone { 
  font-size: 13px; 
  color: #555; 
  font-weight: 500; 
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  height: fit-content;
  margin: auto 0;
}
.header-phone:hover { color: var(--color-accent); }
.btn-header {
  background: var(--color-accent); color: var(--color-white); padding: 10px 22px;
  font-size: 13px; font-weight: 600; border: none; cursor: pointer;
  transition: var(--transition-smooth); display: inline-block; border-radius: 2px;
  align-self: center;
  margin: auto 0;
}
.btn-header:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(198,40,40,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; z-index: 1001; }
.hamburger span { width: 24px; height: 2px; background: #333; transition: var(--transition-smooth); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: var(--color-white); padding: 0 40px; border-bottom: 1px solid #e0e0e0;
  z-index: 999; flex-direction: column; max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.mobile-nav.open { max-height: 500px; padding: 20px 40px; }
.mobile-nav a { font-size: 15px; font-weight: 500; color: #333; padding: 12px 0; border-bottom: 1px solid #eee; }
.mobile-nav a:hover { color: var(--color-accent); padding-left: 8px; }
.mobile-nav .btn-header { margin-top: 12px; text-align: center; }
.mobile-dropdown { display: none; flex-direction: column; padding-left: 16px; margin-top: 8px; }
.mobile-dropdown.open { display: flex; }
.mobile-dropdown a { font-size: 14px; padding: 8px 0; border: none; }
        /* ============================================
           HERO SECTION
           ============================================ */
        .hero {
            position: relative;
            min-height: 100vh;
            background: var(--color-bg-dark);
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('../images/projects.jpg') center/cover no-repeat;
            filter: brightness(0.3);
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(26, 10, 5, 0.92) 0%,
                rgba(26, 10, 5, 0.75) 40%,
                rgba(26, 10, 5, 0.5) 70%,
                rgba(26, 10, 5, 0.3) 100%
            );
        }


        .hero-content {
            position: relative;
            z-index: 10;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-4xl);
            align-items: center;
            max-width: var(--container-wide);
            margin: 0 auto;
            padding: 0 var(--space-xl);
            padding-top: 100px;
            padding-bottom: var(--space-4xl);
        }

        .hero-text {
            max-width: 560px;
        }

        .hero-breadcrumb {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            margin-bottom: var(--space-lg);
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.5);
        }

        .hero-breadcrumb a {
            color: rgba(255,255,255,0.5);
        }

        .hero-breadcrumb a:hover {
            color: var(--color-accent);
        }

        .hero-breadcrumb .separator {
            color: rgba(255,255,255,0.3);
        }

        .hero-breadcrumb .current {
            color: var(--color-accent);
        }

        .hero-label {
            display: inline-block;
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--color-accent);
            font-weight: 600;
            margin-bottom: var(--space-md);
        }

        .hero-title {
            font-family: var(--font-heading);
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            color: var(--color-white);
            line-height: 1.1;
            margin-bottom: var(--space-lg);
            letter-spacing: -0.02em;
        }

        .hero-title .accent {
            color: var(--color-accent);
        }

        .hero-description {
            font-size: 1.05rem;
            color: rgba(255,255,255,0.65);
            line-height: 1.7;
            margin-bottom: var(--space-xl);
            max-width: 480px;
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            background: var(--color-accent);
            color: var(--color-white);
            padding: 0.85rem 1.8rem;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            transition: var(--transition-base);
            position: relative;
            overflow: hidden;
            margin-bottom: var(--space-2xl);
        }

        .hero-cta:hover {
            background: var(--color-accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(232, 69, 60, 0.4);
        }

        .hero-cta .arrow {
            transition: var(--transition-base);
        }

        .hero-cta:hover .arrow {
            transform: translateX(4px);
        }

        .hero-stats {
            display: flex;
            gap: var(--space-2xl);
            margin-bottom: var(--space-lg);
        }

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

        .hero-stat-number {
            font-family: var(--font-heading);
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--color-white);
            line-height: 1;
        }

        .hero-stat-label {
            font-size: 0.7rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.4);
            margin-top: var(--space-xs);
        }

        .hero-note {
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.35);
        }

        

        /* ============================================
           SECTION: PROJECTS OVERVIEW
           ============================================ */
        .section-projects-overview {
            padding: var(--space-5xl) 0;
            background: var(--color-bg-light);
        }

        .section-header {
            margin-bottom: var(--space-3xl);
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--color-accent);
            font-weight: 600;
            margin-bottom: var(--space-md);
        }

        .section-label::before {
            content: '';
            width: 20px;
            height: 2px;
            background: var(--color-accent);
        }

        .section-title {
            font-family: var(--font-heading);
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            color: var(--color-text-dark);
            line-height: 1.15;
            margin-bottom: var(--space-md);
            letter-spacing: -0.02em;
        }

        .section-subtitle {
            font-size: 1.05rem;
            /* --color-text-muted is tuned for the white cards (4.9:1);
               on the cream page background it only reached 4.33:1. */
            color: #706760;
            line-height: 1.7;
            max-width: 640px;
        }

        /* Filter Tabs */
        .filter-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-sm);
            margin-bottom: var(--space-3xl);
        }

        .filter-tab {
            padding: 0.6rem 1.2rem;
            border: 1px solid var(--color-border-light);
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--color-text-muted);
            background: var(--color-white);
            cursor: pointer;
            transition: var(--transition-base);
            letter-spacing: 0.02em;
        }

        .filter-tab:hover {
            border-color: var(--color-text-dark);
            color: var(--color-text-dark);
        }

        .filter-tab.active {
            background: var(--color-text-dark);
            color: var(--color-white);
            border-color: var(--color-text-dark);
        }

        .filter-tab .count {
            opacity: 0.6;
            margin-left: 4px;
        }

        /* ============================================
           FLAGSHIP PROJECTS
           ============================================ */
        .flagship-section {
            margin-bottom: var(--space-4xl);
        }

        .flagship-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-xl);
            padding-bottom: var(--space-md);
            border-bottom: 1px solid var(--color-border-light);
        }

        .flagship-title {
            font-family: var(--font-heading);
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--color-text-dark);
        }




        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--space-lg);
        }

        .project-card {
            background: var(--color-white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition-base);
            border: 1px solid var(--color-border-light);
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-xl);
            border-color: transparent;
        }

        .project-card-image {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .project-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .project-card:hover .project-card-image img {
            transform: scale(1.08);
        }

        .project-card-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                rgba(0,0,0,0.1) 0%,
                rgba(0,0,0,0.5) 100%
            );
            transition: var(--transition-base);
        }

        .project-card:hover .project-card-image-overlay {
            background: linear-gradient(
                to bottom,
                rgba(0,0,0,0.05) 0%,
                rgba(0,0,0,0.6) 100%
            );
        }

        .project-card-badges {
            position: absolute;
            top: var(--space-md);
            left: var(--space-md);
            display: flex;
            flex-direction: column;
            gap: var(--space-xs);
        }

        .project-badge {
            display: inline-block;
            padding: 0.3rem 0.7rem;
            border-radius: var(--radius-sm);
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .project-badge.sector {
            /* darkened: white text on rgba(232,69,60,.9) was 3.5:1 */
            background: rgba(219, 36, 26, 0.95);
            color: white;
        }

        .project-badge.featured {
            background: rgba(255,255,255,0.95);
            color: var(--color-text-dark);
        }

        .project-card-status {
            position: absolute;
            top: var(--space-md);
            right: var(--space-md);
            width: 28px;
            height: 28px;
            background: rgba(255,255,255,0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            color: var(--color-text-dark);
            backdrop-filter: blur(10px);
        }

        .project-card-content {
            padding: var(--space-lg);
        }

        .project-card-title {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--color-text-dark);
            margin-bottom: var(--space-xs);
            line-height: 1.3;
        }

        .project-card-location {
            font-size: 0.78rem;
            color: var(--color-text-muted);
            margin-bottom: var(--space-sm);
        }

        .project-card-meta {
            display: flex;
            gap: var(--space-lg);
            margin-bottom: var(--space-md);
            font-size: 0.72rem;
            color: var(--color-text-muted);
        }

        .project-card-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .project-card-description {
            font-size: 0.85rem;
            color: var(--color-text-muted);
            line-height: 1.6;
            margin-bottom: var(--space-md);
        }

        .project-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: var(--space-md);
            border-top: 1px solid var(--color-border-light);
        }

        .project-card-client {
            font-size: 0.7rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--color-text-muted);
            font-weight: 600;
        }

        .project-card-link {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--color-text-dark);
            display: flex;
            align-items: center;
            gap: var(--space-xs);
            transition: var(--transition-base);
        }

        .project-card-link:hover {
            color: var(--color-accent);
            gap: var(--space-sm);
        }

        /* ============================================
           ACTIVE PROJECTS
           ============================================ */
        .active-projects-section {
            margin-bottom: var(--space-4xl);
        }

        .active-projects-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-xl);
        }

        .active-projects-title {
            font-family: var(--font-heading);
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--color-text-dark);
        }

        .active-projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--space-lg);
        }

        .active-project-card {
            background: var(--color-white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition-base);
            border: 1px solid var(--color-border-light);
        }

        .active-project-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .active-project-image {
            height: 160px;
            overflow: hidden;
            position: relative;
        }

        .active-project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .active-project-card:hover .active-project-image img {
            transform: scale(1.05);
        }

        .active-project-status {
            position: absolute;
            top: var(--space-sm);
            left: var(--space-sm);
            padding: 0.25rem 0.6rem;
            border-radius: var(--radius-sm);
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .active-project-status.active {
            /* darkened: white text on rgba(232,69,60,.9) was 3.5:1 */
            background: rgba(219, 36, 26, 0.95);
            color: white;
        }

        .active-project-status.completed {
            /* Darkened from rgba(40,167,69,.9): white text on that green
               was 2.79:1, then 4.21:1 at rgba(32,135,56,.95). This
               shade clears 4.5:1 with margin. */
            background: rgba(31, 130, 54, 1);
            color: white;
        }

        .active-project-content {
            padding: var(--space-md);
        }

        .active-project-title {
            font-family: var(--font-heading);
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--color-text-dark);
            margin-bottom: var(--space-xs);
        }

        .active-project-location {
            font-size: 0.75rem;
            color: var(--color-text-muted);
            margin-bottom: var(--space-sm);
        }

        .active-project-specs {
            display: flex;
            flex-direction: column;
            gap: 2px;
            font-size: 0.72rem;
            color: var(--color-text-muted);
        }

        .active-project-specs span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .active-project-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--space-md);
            border-top: 1px solid var(--color-border-light);
        }

        .active-project-client {
            font-size: 0.65rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--color-text-muted);
            font-weight: 600;
        }

        .active-project-arrow {
            color: var(--color-text-muted);
            transition: var(--transition-base);
        }

        .active-project-card:hover .active-project-arrow {
            color: var(--color-accent);
            transform: translateX(4px);
        }

        .btn-discuss {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            margin-top: var(--space-xl);
            padding: 0.8rem 1.6rem;
            background: var(--color-text-dark);
            color: var(--color-white);
            border-radius: var(--radius-sm);
            font-size: 0.85rem;
            font-weight: 600;
            transition: var(--transition-base);
        }

        .btn-discuss:hover {
            background: var(--color-accent);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(232, 69, 60, 0.3);
        }

        /* ============================================
           SECTION: SITE EXPERIENCE (DARK)
           ============================================ */
        .section-experience {
            padding: var(--space-5xl) 0;
            background: var(--color-bg-dark);
            position: relative;
            overflow: hidden;
        }

        .section-experience::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at 30% 50%, rgba(232, 69, 60, 0.05) 0%, transparent 60%);
            pointer-events: none;
        }

        .experience-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-4xl);
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .experience-label {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.62);
            margin-bottom: var(--space-md);
        }

        .experience-title {
            font-family: var(--font-heading);
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            color: var(--color-white);
            line-height: 1.15;
            margin-bottom: var(--space-lg);
        }

        .experience-text {
            font-size: 1.05rem;
            color: rgba(255,255,255,0.6);
            line-height: 1.8;
        }

        .experience-text p {
            margin-bottom: var(--space-md);
        }

        .experience-text p:last-child {
            margin-bottom: 0;
        }






        @keyframes ring-rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }


        /* ============================================
           SECTION: FAQ
           ============================================ */
        .section-faq {
            padding: var(--space-5xl) 0;
            background: var(--color-bg-light);
        }

        .faq-header {
            text-align: center;
            margin-bottom: var(--space-3xl);
        }

        .faq-label {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--color-accent);
            font-weight: 600;
            margin-bottom: var(--space-md);
        }

        .faq-title {
            font-family: var(--font-heading);
            font-size: clamp(2rem, 4vw, 2.8rem);
            font-weight: 800;
            color: var(--color-text-dark);
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--color-white);
            border-radius: var(--radius-lg);
            margin-bottom: var(--space-md);
            overflow: hidden;
            border: 1px solid var(--color-border-light);
            transition: var(--transition-base);
        }

        .faq-item:hover {
            box-shadow: var(--shadow-md);
        }

        .faq-item.active {
            border-color: var(--color-accent);
            box-shadow: 0 4px 20px rgba(232, 69, 60, 0.1);
        }

        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--space-lg) var(--space-xl);
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-text-dark);
            transition: var(--transition-base);
            gap: var(--space-md);
        }

        .faq-question:hover {
            color: var(--color-accent);
        }

        .faq-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--color-bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--color-accent);
            flex-shrink: 0;
            transition: var(--transition-base);
        }

        .faq-item.active .faq-icon {
            background: var(--color-accent);
            color: white;
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), padding 0.4s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
        }

        .faq-answer-inner {
            padding: 0 var(--space-xl) var(--space-lg);
            font-size: 0.95rem;
            color: var(--color-text-muted);
            line-height: 1.7;
        }

        /* ============================================
           SECTION: CTA
           ============================================ */
        .section-cta {
            padding: var(--space-5xl) 0;
            background: var(--color-bg-cta);
            position: relative;
            overflow: hidden;
        }

        .section-cta::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(232, 69, 60, 0.1) 0%, transparent 60%);
            border-radius: 50%;
            pointer-events: none;
        }

        .cta-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-4xl);
            align-items: start;
            position: relative;
            z-index: 1;
        }

        .cta-label {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.4);
            margin-bottom: var(--space-md);
        }

        .cta-title {
            font-family: var(--font-heading);
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            color: var(--color-white);
            line-height: 1.15;
            margin-bottom: var(--space-lg);
        }

        .cta-description {
            font-size: 1.05rem;
            color: rgba(255,255,255,0.6);
            line-height: 1.7;
            margin-bottom: var(--space-xl);
        }

        .cta-actions {
            display: flex;
            align-items: center;
            gap: var(--space-lg);
            flex-wrap: wrap;
        }

        .cta-btn {
            align-items: center;
            gap: var(--space-sm);
            background: var(--color-accent);
            color: var(--color-white);
            padding: 0.85rem 1.8rem;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 600;
            transition: var(--transition-base);
            position: relative;
            overflow: hidden;
        }

        .cta-btn:hover {
            background: var(--color-accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(232, 69, 60, 0.4);
        }

        .cta-phone {
            font-size: 0.9rem;
            color: rgba(255,255,255,0.6);
        }

        .cta-phone strong {
            color: var(--color-white);
            font-weight: 600;
        }

        .cta-steps {
            display: flex;
            flex-direction: column;
            gap: var(--space-xl);
        }

        .cta-step-label {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.62);
            margin-bottom: var(--space-lg);
        }

        .cta-step {
            display: flex;
            gap: var(--space-lg);
            align-items: flex-start;
        }

        .cta-step-number {
            font-family: var(--font-heading);
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--color-accent);
            line-height: 1;
            flex-shrink: 0;
            width: 35px;
        }

        .cta-step-content h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--color-white);
            margin-bottom: var(--space-xs);
        }

        .cta-step-content p {
            font-size: 0.88rem;
            color: rgba(255,255,255,0.5);
            line-height: 1.6;
        }

        /* ============================================
           FOOTER
           ============================================ */
        .footer {
            padding: var(--space-4xl) 0 var(--space-xl);
            background: var(--color-bg-darker);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: var(--space-4xl);
            margin-bottom: var(--space-3xl);
        }

        .footer-brand {
            max-width: 360px;
        }
        .footer-logo img {
  height: 80px;
  margin-bottom: 20px;
}

        .footer-description {
            font-size: 0.88rem;
            color: rgba(255,255,255,0.5);
            line-height: 1.7;
            margin-bottom: var(--space-md);
        }

        .footer-cr {
            font-size: 0.75rem;
            color: rgba(255,255,255,0.3);
        }

        .footer-heading {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.62);
            font-weight: 600;
            margin-bottom: var(--space-lg);
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: var(--space-sm);
        }

        .footer-links a {
            font-size: 0.88rem;
            color: rgba(255,255,255,0.6);
            transition: var(--transition-base);
        }

        .footer-links a:hover {
            color: var(--color-accent);
            transform: translateX(4px);
        }

        .footer-contact-item {
            font-size: 0.88rem;
            color: rgba(255,255,255,0.6);
            margin-bottom: var(--space-sm);
            line-height: 1.5;
        }

        .footer-contact-item a {
            color: rgba(255,255,255,0.6);
        }

        .footer-contact-item a:hover {
            color: var(--color-accent);
        }

        .footer-bottom {
            padding-top: var(--space-xl);
            border-top: 1px solid rgba(255,255,255,0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: var(--space-md);
        }

        .footer-bottom-text {
            font-size: 0.78rem;
            color: rgba(255,255,255,0.3);
        }

        .footer-bottom-links {
            display: flex;
            gap: var(--space-lg);
        }

        .footer-bottom-links a {
            font-size: 0.78rem;
            color: var(--color-white);
        }

        .footer-bottom-links a:hover {
            color: var(--color-accent);
        }

        /* ============================================
           SCROLL TO TOP
           ============================================ */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            background: var(--color-accent);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: var(--transition-base);
            z-index: 100;
            box-shadow: 0 4px 20px rgba(232, 69, 60, 0.4);
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .scroll-top:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(232, 69, 60, 0.5);
        }

        /* ============================================
           RESPONSIVE — TABLET
           ============================================ */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: var(--space-2xl);
                padding-top: 120px;
            }

            .hero-map-container {
                height: 350px;
            }

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

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

            .experience-grid {
                grid-template-columns: 1fr;
                gap: var(--space-2xl);
            }


            .cta-grid {
                grid-template-columns: 1fr;
                gap: var(--space-2xl);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: var(--space-2xl);
            }
        }

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



            .hero-content {
                padding-top: 100px;
                padding-bottom: var(--space-2xl);
            }

            .hero-title {
                font-size: 2.2rem;
            }

            .hero-stats {
                gap: var(--space-lg);
            }

            .hero-stat-number {
                font-size: 1.4rem;
            }

            .hero-map-container {
                height: 280px;
            }

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

            .active-projects-grid {
                grid-template-columns: 1fr;
            }

            .filter-tabs {
                overflow-x: auto;
                flex-wrap: nowrap;
                padding-bottom: var(--space-sm);
                -webkit-overflow-scrolling: touch;
            }

            .filter-tab {
                white-space: nowrap;
                flex-shrink: 0;
            }


            .footer-grid {
                grid-template-columns: 1fr;
                gap: var(--space-xl);
            }

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

            .cta-actions {
                flex-direction: column;
                align-items: flex-start;
            }

            .section-projects-overview,
            .section-experience,
            .section-faq,
            .section-cta {
                padding: var(--space-3xl) 0;
            }
        }

        @media (max-width: 480px) {
            .container, .container-wide {
                padding: 0 var(--space-md);
            }

            .hero-title {
                font-size: 1.8rem;
            }

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

            .hero-stats {
                flex-direction: column;
                gap: var(--space-md);
            }
        }

        /* ============================================
           ULTRA-WIDE
           ============================================ */
        @media (min-width: 1920px) {
            .container-wide {
                max-width: 1600px;
            }

            .hero-content {
                max-width: 1600px;
            }

            .hero-title {
                font-size: 4.5rem;
            }
        }

        /* ============================================
           REDUCED MOTION
           ============================================ */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }

            html {
                scroll-behavior: auto;
            }

            .reveal, .reveal-left, .reveal-right, .reveal-scale {
                opacity: 1;
                transform: none;
            }
        }

        /* ============================================
           FOCUS STYLES (Accessibility)
           ============================================ */
        *:focus-visible {
            outline: 2px solid var(--color-accent);
            outline-offset: 2px;
        }

        /* ============================================
           GLASSMORPHISM CARD
           ============================================ */
        /* ===== MOBILE RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {

    .header {
        padding: 0 20px;
    }

    .header-nav,
    .header-phone,
    .btn-header {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .header-logo img {
        height: 55px;
    }
}
/* ===================================
   RESPONSIVE NAVBAR
=================================== */

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1){
    transform: rotate(45deg) translate(5px,5px);
}

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

.hamburger.active span:nth-child(3){
    transform: rotate(-45deg) translate(6px,-6px);
}

.mobile-nav{
    display:none;
}

@media (max-width:768px){

    .header{
        padding:0 15px;
        height:70px;
    }

    .header-nav{
        display:none;
    }

    .header-phone{
        display:none;
    }

    .header-right .btn-header{
        display:none;
    }

    .hamburger{
        display:flex;
    }

    .header-logo img{
        height:55px;
    }

    .mobile-nav{
        display:flex;
        flex-direction:column;

        position:fixed;
        top:60px;
        left:0;
        width:100%;

        background:#fff;

        max-height:0;
        overflow:hidden;

        transition:0.4s ease;

        z-index:999;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);
    }

    .mobile-nav.open{
        max-height:600px;
    }

    .mobile-nav a{
        padding:15px 20px;
        border-bottom:1px solid #eee;
        font-size:15px;
    }

    .mobile-dropdown{
        display:none;
        background:#f7f7f7;
    }

    .mobile-dropdown.open{
        display:flex;
        flex-direction:column;
    }

    .mobile-dropdown a{
        padding-left:40px;
    }

    .mobile-nav .btn-header{
        display:block;
        margin:15px;
        text-align:center;
    }
}
/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  animation-play-state: paused;
}

.whatsapp-float:hover::before {
  animation-play-state: paused;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes whatsappRipple {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
/* ===== PREMIUM MAP CARD ===== */

.hero-map-container{
    display:flex;
    justify-content:center;
    align-items:center;
}

.map-card{
    position:relative;
    width:100%;
    max-width:650px;

    padding:12px;

    border-radius:28px;

    background:
        rgba(255,255,255,.05);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,0,0,.25);

    box-shadow:
        0 0 40px rgba(255,0,0,.12),
        0 20px 60px rgba(0,0,0,.45);

    overflow:hidden;
}

.map-card::before{
    content:"";
    position:absolute;
    inset:-2px;

    border-radius:28px;

    background:
        linear-gradient(
            135deg,
            rgba(255,0,0,.5),
            transparent,
            rgba(255,0,0,.3)
        );

    z-index:-1;
}

#saudiMap{
    width:100%;
    height:650px;
    border-radius:22px;
    overflow:hidden;
}

@media (max-width:1200px){
    #saudiMap{
        height:550px;
    }
}

@media (max-width:992px){
    #saudiMap{
        height:450px;
    }
}

@media (max-width:768px){
    #saudiMap{
        height:380px;
    }

    .hero-content{
        grid-template-columns:1fr !important;
    }

    .hero-map-container{
        order:2;
    }
}

@media (max-width:480px){
    #saudiMap{
        height:320px;
    }
}

.map-badge{
    position:absolute;
    top:20px;
    left:20px;

    display:flex;
    align-items:center;
    gap:10px;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(0,0,0,.65);

    color:#fff;

    font-size:14px;
    font-weight:600;

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,0,0,.35);

    z-index:999;
}

.pulse-dot{
    width:10px;
    height:10px;

    border-radius:50%;

    background:#ff0000;

    box-shadow:0 0 15px #ff0000;

    animation:pulseMap 1.8s infinite;
}

@keyframes pulseMap{
    0%{
        transform:scale(1);
        opacity:1;
    }

    70%{
        transform:scale(2);
        opacity:.2;
    }

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

/* popup */

.leaflet-popup-content-wrapper{
    background:#101010;
    color:#fff;
    border:1px solid rgba(255,0,0,.3);
    border-radius:14px;
}

.leaflet-popup-tip{
    background:#101010;
}

.leaflet-popup-content a{
    color:#ff4444;
    text-decoration:none;
}

/* zoom buttons */

.leaflet-control-zoom a{
    background:#111 !important;
    color:#fff !important;
    border:none !important;
}

.leaflet-control-zoom a:hover{
    background:#ff0000 !important;
}

@media(max-width:992px){

    #saudiMap{
        height:420px;
    }
}
.leaflet-popup-content-wrapper{
    background:#121212;
    color:#fff;
    border:1px solid rgba(255,0,0,.4);
}

.leaflet-popup-tip{
    background:#121212;
}

.leaflet-popup-content a{
    color:#ff4d4d;
}
.leaflet-control-zoom a{
    background:#1a1a1a !important;
    color:#fff !important;
    border:none !important;
}

.leaflet-control-zoom a:hover{
    background:#ff0000 !important;
}

.map-card{position:relative;width:100%;
    padding:5px;
    border-radius:28px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,0,0,.45);
    box-shadow:0 0 40px rgba(255,0,0,.25),inset 0 0 20px rgba(255,0,0,.08)}
#saudiMap{height:650px;border-radius:22px}
.map-badge{position:absolute;top:15px;left:50px;z-index:9999;background:rgba(0,0,0,.7);color:#fff;padding:8px 14px;border-radius:30px}
@media(max-width:768px){#saudiMap{height:300px}}

#map{width:100%;height:600px;border-radius:12px;}
@media(max-width:992px){.hero-content{flex-direction:column}#map{height:450px}}

@keyframes marker-float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }
/* ===== HERO ENTRANCE (premium reveal) =====
   Scoped to .hero-content only: fade + rise + a soft focus-pull, on
   top of the site's existing .reveal/.stagger-N system and its JS
   trigger (adds .visible on intersection). Everything outside the
   hero is untouched. */
.hero-content .reveal,
.hero-content .reveal-left,
.hero-content .reveal-right,
.hero-content .reveal-scale {
  transform: translateY(30px) scale(0.98);
  filter: blur(5px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out),
    filter 760ms var(--ease-out);
}
.hero-content .reveal.visible,
.hero-content .reveal-left.visible,
.hero-content .reveal-right.visible,
.hero-content .reveal-scale.visible {
  filter: blur(0);
}
.hero-content .stagger-1 { transition-delay: 80ms; }
.hero-content .stagger-2 { transition-delay: 220ms; }
.hero-content .stagger-3 { transition-delay: 360ms; }
.hero-content .stagger-4 { transition-delay: 500ms; }
.hero-content .stagger-5 { transition-delay: 640ms; }
.hero-content .stagger-6 { transition-delay: 780ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-content .reveal,
  .hero-content .reveal-left,
  .hero-content .reveal-right,
  .hero-content .reveal-scale {
    filter: none;
  }
}
