﻿/* NexGen Build Company — global styles (extracted from legacy monolith) */
:root {
    --navy: #0D2545;
    --navy-mid: #163360;
    --orange: #E8601A;
    --orange-light: #F07A3A;
    --peach: #F5C4A8;
    --cream: #FAF7F4;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F0F1F3;
    --gray-200: #E2E5E9;
    --gray-400: #9BA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --shadow-sm: 0 1px 3px rgba(13,37,69,0.06), 0 1px 2px rgba(13,37,69,0.04);
    --shadow-md: 0 4px 16px rgba(13,37,69,0.08), 0 2px 6px rgba(13,37,69,0.05);
    --shadow-lg: 0 12px 40px rgba(13,37,69,0.12), 0 4px 12px rgba(13,37,69,0.06);
    --shadow-xl: 0 24px 64px rgba(13,37,69,0.14);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --nav-bg: rgba(255,255,255,0.95);
    --nav-border: var(--gray-200);
  }

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

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

  html[toggle-theme="light"] { color-scheme: light; }
  html[toggle-theme="dark"] {
    color-scheme: dark;
    --cream: #0a0e14;
    --white: #121a26;
    --gray-50: #151d2a;
    --gray-100: #1c2636;
    --gray-200: #2a3548;
    --gray-400: #8b96a8;
    --gray-600: #aeb9c9;
    --gray-800: #e8edf4;
    --peach: #3d3028;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.22);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.25);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.5);
    --nav-bg: rgba(10, 14, 20, 0.9);
    --nav-border: var(--gray-200);
  }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--cream);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.28s ease, color 0.28s ease;
  }

  body.arabic {
    font-family: 'Noto Kufi Arabic', sans-serif;
    direction: rtl;
  }

  /* ─── SCROLLBAR ─── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--gray-100); }
  ::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

  /* ─── NAVBAR ─── */
  nav#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nav-border);
    transition: var(--transition), background-color 0.28s ease, border-color 0.28s ease;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  nav#navbar.scrolled { box-shadow: var(--shadow-md); }

  .nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
  }

  .logo {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    text-decoration: none;
  }
  .logo img {
    height: 40px;
    width: auto;
    display: block;
  }
  .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
  .logo-text span:first-child {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 18px; color: var(--navy);
    letter-spacing: 0.5px;
  }
  .logo-text span:last-child {
    font-size: 10px; font-weight: 500; color: var(--orange);
    letter-spacing: 2px; text-transform: uppercase;
  }

  .nav-links {
    display: flex; align-items: center; gap: 4px;
    list-style: none;
  }
  .nav-links a {
    padding: 8px 16px;
    font-size: 14px; font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
  }
  .nav-links a:hover, .nav-links a.active {
    color: var(--navy);
    background: var(--gray-100);
  }
  .nav-links a.active { color: white; background: var(--orange); }

  .nav-right { display: flex; align-items: center; gap: 12px; }

  .lang-toggle {
    display: flex; align-items: center; gap: 2px;
    background: var(--gray-100); border-radius: 8px; padding: 3px;
    border: none; cursor: pointer;
  }
  .lang-btn {
    padding: 5px 12px; border-radius: 6px; border: none;
    font-size: 12px; font-weight: 600; cursor: pointer;
    transition: var(--transition); background: transparent; color: var(--gray-400);
    letter-spacing: 0.5px;
  }
  .lang-btn.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

  .btn-quote,
  a.btn-quote {
    padding: 10px 20px; border-radius: 8px;
    background: var(--orange); color: white;
    border: none; cursor: pointer;
    font-size: 13px; font-weight: 600;
    transition: var(--transition); letter-spacing: 0.3px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .btn-quote:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,96,26,0.3); }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
  .hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

  /* Mobile nav */
  .mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 16px; z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: background-color 0.28s ease, border-color 0.28s ease;
    max-height: min(520px, calc(100vh - 72px - env(safe-area-inset-bottom, 0px)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block; padding: 12px 16px; font-size: 15px; font-weight: 500;
    color: var(--gray-600); text-decoration: none; border-radius: 8px; cursor: pointer;
    transition: var(--transition);
  }
  .mobile-menu a:hover, .mobile-menu a.active { background: var(--orange); color: white; }
  .mobile-menu .mobile-lang { display: flex; gap: 8px; padding: 12px 16px; }
  .mobile-menu .mobile-theme { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--gray-200); margin-top: 4px; }
  .mobile-menu .mobile-theme > span { flex: 1; font-size: 13px; font-weight: 600; color: var(--gray-600); }

  /* ─── THEME TOGGLE (Framer ThemeChanger-compatible: toggle-theme, localStorage, themeChange) ─── */
  .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition), transform 0.25s ease;
    flex-shrink: 0;
  }
  .theme-toggle:hover {
    background: var(--gray-200);
    color: var(--navy);
    transform: scale(1.06);
  }
  html[toggle-theme="dark"] .theme-toggle:hover {
    color: var(--orange);
  }
  .theme-toggle:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
  }
  .theme-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
  }
  .theme-toggle .icon-moon { display: none; }
  html[toggle-theme="dark"] .theme-toggle .icon-sun { display: none; }
  html[toggle-theme="dark"] .theme-toggle .icon-moon { display: block; }

  html[toggle-theme="dark"] .logo-text span:first-child { color: var(--gray-800); }
  html[toggle-theme="dark"] .nav-links a { color: var(--gray-400); }
  html[toggle-theme="dark"] .nav-links a:hover,
  html[toggle-theme="dark"] .nav-links a.active {
    color: var(--gray-800);
    background: var(--gray-100);
  }
  html[toggle-theme="dark"] .nav-links a.active {
    color: white;
    background: var(--orange);
  }
  html[toggle-theme="dark"] .hamburger span { background: var(--gray-800); }

  html[toggle-theme="dark"] .section-title { color: var(--gray-800); }
  html[toggle-theme="dark"] .cred-text strong { color: var(--gray-800); }
  html[toggle-theme="dark"] .cred-marquee-card {
    background: var(--gray-50);
    border-color: var(--gray-200);
  }
  html[toggle-theme="dark"] .cred-marquee-logo-wrap {
    background: rgba(255, 255, 255, 0.06);
  }
  html[toggle-theme="dark"] .cred-marquee-card:hover,
  html[toggle-theme="dark"] .cred-marquee-card:focus-within {
    border-color: rgba(232, 96, 26, 0.45);
  }
  html[toggle-theme="dark"] .gallery-hover-list {
    background: var(--gray-50);
    border-color: var(--gray-200);
  }
  html[toggle-theme="dark"] .gallery-hover-row {
    border-color: var(--gray-200);
  }
  html[toggle-theme="dark"] .gallery-hover-row:hover,
  html[toggle-theme="dark"] .gallery-hover-row.is-active {
    background: rgba(255, 255, 255, 0.06);
  }
  html[toggle-theme="dark"] .about-testimonials-scroll {
    background: var(--gray-50);
    border-color: var(--gray-200);
  }
  html[toggle-theme="dark"] .about-ts-card {
    background: var(--gray-50);
    border-color: var(--gray-200);
  }
  html[toggle-theme="dark"] .about-ts-name {
    color: var(--gray-800);
  }
  html[toggle-theme="dark"] .hero-bg {
    background: transparent;
  }
  html[toggle-theme="dark"] .workshop-hero-bg {
    background: linear-gradient(135deg, var(--navy) 0%, #0c1a30 100%);
  }
  html[toggle-theme="dark"] .form-group input,
  html[toggle-theme="dark"] .form-group select,
  html[toggle-theme="dark"] .form-group textarea {
    background: var(--gray-50);
    color: var(--gray-800);
    border-color: var(--gray-200);
  }

  .workshop-stat-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 4px;
  }

  html[toggle-theme="dark"] .service-card h3,
  html[toggle-theme="dark"] .hero-service-card h3,
  html[toggle-theme="dark"] .gallery-title,
  html[toggle-theme="dark"] .cred-card-header h3,
  html[toggle-theme="dark"] .cred-detail strong,
  html[toggle-theme="dark"] .value-card h3,
  html[toggle-theme="dark"] .service-item-text h4,
  html[toggle-theme="dark"] .visual-header h3,
  html[toggle-theme="dark"] .capability-card h3,
  html[toggle-theme="dark"] .form-title,
  html[toggle-theme="dark"] .form-group label,
  html[toggle-theme="dark"] .form-success h3,
  html[toggle-theme="dark"] .contact-info-title,
  html[toggle-theme="dark"] .info-content p,
  html[toggle-theme="dark"] .workshop-stat-subtitle {
    color: var(--gray-800);
  }

  html[toggle-theme="dark"] .tab-btn { color: var(--gray-400); }
  html[toggle-theme="dark"] .tab-btn:hover { color: var(--gray-800); }

  html[toggle-theme="dark"] .lang-btn.active {
    background: var(--gray-200);
    color: var(--gray-800);
    box-shadow: none;
  }

  html[toggle-theme="dark"] .visual-tag {
    background: var(--gray-100);
    color: var(--gray-800);
    border-color: var(--gray-200);
  }

  /* Dark mode — hex labels, timeline, process (navy does not invert; use white + orange accents) */
  html[toggle-theme="dark"] .offer-core h3 {
    color: var(--orange-light);
  }
  html[toggle-theme="dark"] .offer-detail p {
    color: var(--gray-800);
  }
  html[toggle-theme="dark"] .timeline-title {
    color: #ffffff;
  }
  html[toggle-theme="dark"] .timeline-desc {
    color: var(--gray-800);
  }
  html[toggle-theme="dark"] .step-title {
    color: var(--orange-light);
  }
  html[toggle-theme="dark"] .step-desc {
    color: var(--gray-800);
  }
  html[toggle-theme="dark"] .process-step:hover .step-num {
    color: #ffffff;
  }

  /* ─── SECTION WRAPPER ─── */
  .section { padding: 100px 0; }
  .section-sm { padding: 60px 0; }
  .home-cta-strip {
    background: var(--orange);
    padding: 60px 0;
  }
  .home-cta-strip .home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
  }
  .home-cta-strip .home-cta-btn,
  .home-cta-strip a.home-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 10px;
    background: var(--white);
    color: var(--orange);
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
    font-family: 'Barlow', sans-serif;
    text-decoration: none;
    box-sizing: border-box;
  }
  .home-cta-strip .home-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 37, 69, 0.15);
  }
  .container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
  .container-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; }

  /* ─── SECTION LABELS ─── */
  /* Eyebrow: ::after = visible highlight bar (Framer modules are React-only; Featured Gallery uses vanilla .gallery-hover-root below) */
  .section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 16px;
    position: relative;
    padding-bottom: 6px;
  }
  .section-label::before {
    content: ''; width: 24px; height: 2px; background: var(--orange); border-radius: 1px;
  }
  .section-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--orange) 100%);
    transform: scaleX(0.42);
    transform-origin: left center;
    opacity: 0.65;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    pointer-events: none;
  }
  .section-label:hover::after {
    transform: scaleX(1);
    opacity: 1;
  }
  body.arabic .section-label::after {
    transform-origin: right center;
    transform: scaleX(0.42);
  }
  body.arabic .section-label:hover::after {
    transform: scaleX(1);
  }
  .why-left .section-label::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, var(--orange-light) 100%);
  }
  .workshop-locations .section-label::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, var(--orange-light) 100%);
  }
  html[toggle-theme="dark"] .section-label::after {
    background: linear-gradient(90deg, var(--gray-800) 0%, var(--orange) 100%);
  }
  html[toggle-theme="dark"] .why-left .section-label::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, var(--orange-light) 100%);
  }

  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(32px, 4vw, 52px); font-weight: 700;
    color: var(--navy); line-height: 1.1; letter-spacing: -0.5px;
  }
  .section-title span { color: var(--orange); }
  .section-subtitle { font-size: 16px; color: var(--gray-600); max-width: 560px; margin-top: 12px; line-height: 1.7; }

  /* HoverTextHighlight-style underline (https://framer.com/m/HoverTextHighlight-Crd8.js@uXk5jvtkwGOHn9juwueJ — Framer uses framer-motion; here: gradient underline wipe via background-size) */
  @media (hover: hover) and (pointer: fine) {
    .section-title,
    .form-title,
    .contact-info-title,
    .gallery-title,
    .service-card h3,
    .capability-card h3,
    .location-card h3,
    .visual-header h3,
    .cred-card-header h3,
    .footer-col h4,
    .why-feature h4,
    .about-hero h1,
    .services-hero h1,
    .contact-hero h1,
    .workshop-hero h1,
    .page-header h1,
    .hero h1,
    .cta-strip-title {
      display: inline-block;
      max-width: 100%;
      padding-bottom: 0.1em;
      background-image: linear-gradient(var(--orange), var(--orange));
      background-repeat: no-repeat;
      background-size: 0% 3px;
      background-position: 0 100%;
      transition: background-size 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* inline-block titles sit on one line with inline-flex labels — force new row, keep underline width = text */
    .section-label + .section-title {
      display: block;
      width: fit-content;
      max-width: 100%;
    }
    body.arabic .section-title,
    body.arabic .form-title,
    body.arabic .contact-info-title,
    body.arabic .gallery-title,
    body.arabic .service-card h3,
    body.arabic .capability-card h3,
    body.arabic .location-card h3,
    body.arabic .visual-header h3,
    body.arabic .cred-card-header h3,
    body.arabic .footer-col h4,
    body.arabic .why-feature h4,
    body.arabic .about-hero h1,
    body.arabic .services-hero h1,
    body.arabic .contact-hero h1,
    body.arabic .workshop-hero h1,
    body.arabic .page-header h1,
    body.arabic .hero h1,
    body.arabic .cta-strip-title {
      background-position: 100% 100%;
    }
    .section-title:hover,
    .form-title:hover,
    .contact-info-title:hover,
    .gallery-title:hover,
    .service-card h3:hover,
    .capability-card h3:hover,
    .location-card h3:hover,
    .visual-header h3:hover,
    .cred-card-header h3:hover,
    .footer-col h4:hover,
    .why-feature h4:hover,
    .about-hero h1:hover,
    .services-hero h1:hover,
    .contact-hero h1:hover,
    .workshop-hero h1:hover,
    .page-header h1:hover,
    .hero h1:hover,
    .cta-strip-title:hover {
      background-size: 100% 3px;
    }
  }
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
    .section-title,
    .form-title,
    .contact-info-title,
    .gallery-title,
    .service-card h3,
    .capability-card h3,
    .location-card h3,
    .visual-header h3,
    .cred-card-header h3,
    .footer-col h4,
    .why-feature h4,
    .about-hero h1,
    .services-hero h1,
    .contact-hero h1,
    .workshop-hero h1,
    .page-header h1,
    .hero h1,
    .cta-strip-title {
      transition-duration: 0.06s;
    }
  }

  /* ─── HOME PAGE ─── */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    background: var(--navy);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding-top: 72px;
  }

  .hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
  }

  .hero-bg {
    position: absolute; inset: 0; z-index: 1;
    pointer-events: none;
    background: transparent;
  }

  .hero-content {
    position: relative; z-index: 2;
    max-width: 1280px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }

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

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,96,26,0.22); border: 1px solid rgba(232,96,26,0.45);
    border-radius: 100px; padding: 6px 16px;
    color: #ffffff; font-size: 12px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 24px;
  }
  .hero-badge-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

  .hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 800; line-height: 1.0;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  }
  .hero h1 .accent { color: #ff8a4c; }
  .hero h1 .light { color: rgba(255, 255, 255, 0.96); }

  .hero-typewriter-wrap {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
  }
  .hero-typewriter-cursor {
    display: inline-block;
    width: 3px;
    margin-inline-start: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    vertical-align: text-bottom;
    height: 0.72em;
    flex-shrink: 0;
    transition: opacity 0.1s ease;
  }

  .hero-desc {
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 500px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  }

  .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn-primary {
    padding: 14px 28px; border-radius: 10px;
    background: var(--orange); color: white; border: none; cursor: pointer;
    font-size: 15px; font-weight: 600; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
  }
  a.btn-primary,
  a.btn-outline {
    text-decoration: none;
  }
  .btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,96,26,0.4); }
  .btn-outline {
    padding: 14px 28px; border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.25); color: white;
    background: transparent; cursor: pointer;
    font-size: 15px; font-weight: 600; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

  .hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }
  .hero .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
  }

  .hero-stats {
    display: flex; gap: 32px; margin-top: 48px; padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
  .stat-item { display: flex; flex-direction: column; }
  .stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px; font-weight: 800; color: #ffffff; line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  }
  .stat-num span { color: #ff8a4c; }
  .stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
  }

  /* Hero right — CardStack3D-style service stack (Framer CardStack3D-FikJqT is React-only; vanilla: depth + rotate, click / auto advance) */
  .hero-cardstack-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
    padding-bottom: 40px;
  }
  .hero-cardstack {
    position: relative;
    width: 100%;
    height: min(400px, 42vw);
    min-height: 280px;
    max-height: 440px;
    perspective: 1100px;
    perspective-origin: 50% 42%;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .hero-cardstack:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 8px;
    border-radius: 12px;
  }
  .hero-cardstack-track {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-cardstack-card {
    --depth: 0;
    position: absolute;
    width: min(100%, 300px);
    aspect-ratio: 4 / 5;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.12);
    transition:
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.5s ease,
      filter 0.5s ease,
      box-shadow 0.5s ease;
    transform-origin: 50% 92%;
    transform:
      translateZ(calc(-1 * var(--depth) * 36px))
      translateY(calc(var(--depth) * 16px))
      translateX(calc(var(--depth) * 20px))
      rotateX(5deg)
      rotateY(-14deg)
      scale(calc(1 - var(--depth) * 0.048));
    z-index: calc(20 - var(--depth));
    opacity: calc(1 - var(--depth) * 0.14);
    filter: brightness(calc(1 - var(--depth) * 0.08));
  }
  /* Hero stack — service cards (solid; no glass / hover dimming — depth fade disabled below) */
  .hero-cardstack-card.hero-service-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 22px 20px;
    cursor: default;
    pointer-events: none;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(13, 37, 69, 0.06);
    opacity: 1;
    filter: none;
    transition:
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.5s ease;
  }
  .hero-cardstack-card.hero-service-card.is-front {
    pointer-events: auto;
  }
  .hero-cardstack-card.hero-service-card .service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 14px;
    background: var(--orange);
  }
  .hero-cardstack-card.hero-service-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.25;
    color: var(--navy);
  }
  .hero-cardstack-card.hero-service-card .hero-service-desc {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.55;
    flex: 1;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.arabic .hero-cardstack-card.hero-service-card {
    text-align: right;
  }
  .hero-cardstack-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.36);
    pointer-events: none;
  }

  /* ─── SCROLL INDICATOR ─── */
  .hero-scroll {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }
  .scroll-mouse {
    width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.2);
    border-radius: 11px; position: relative; display: flex; justify-content: center;
  }
  .scroll-mouse::after {
    content: ''; width: 3px; height: 8px; background: var(--orange);
    border-radius: 2px; position: absolute; top: 6px;
    animation: scrollAnim 2s infinite;
  }
  @keyframes scrollAnim { 0%{transform:translateY(0);opacity:1;} 100%{transform:translateY(14px);opacity:0;} }

  /* ─── TRUST / CREDENTIALS — infinite horizontal marquee (logos + compact cards) ─── */
  .credentials-strip {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 45%, var(--white) 100%);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 26px 0 30px;
    overflow: hidden;
  }
  .cred-marquee-track {
    display: flex;
    width: max-content;
    animation: credMarquee 55s linear infinite;
    will-change: transform;
  }
  .credentials-strip:hover .cred-marquee-track {
    animation-play-state: paused;
  }
  body.arabic .cred-marquee-track {
    animation-direction: reverse;
  }
  @keyframes credMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .cred-marquee-group {
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding-inline-end: 14px;
  }
  .cred-marquee-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: min(260px, 72vw);
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  }
  .cred-marquee-card:hover,
  .cred-marquee-card:focus-within {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 96, 26, 0.35);
  }
  .cred-marquee-logo-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 44px;
    border-radius: 10px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    overflow: hidden;
  }
  .cred-marquee-logo-wrap--wide {
    width: 72px;
  }
  .cred-marquee-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .cred-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .cred-text strong {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .cred-text span {
    font-size: 10px;
    color: var(--gray-400);
    line-height: 1.35;
  }

  /* ─── SERVICES OVERVIEW (homepage) ─── */
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px; border: 1px solid var(--gray-200);
    transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--orange); transform: scaleX(0); transition: var(--transition);
    transform-origin: left;
  }
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
  .service-card:hover::before { transform: scaleX(1); }
  .service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--gray-100); display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 20px; transition: var(--transition);
  }
  .service-card:hover .service-icon { background: var(--orange); }
  .service-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
  .service-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
  .service-more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--orange);
    cursor: pointer;
  }

  /* Hex pattern variant for What We Offer */
  .offer-honeycomb {
    --offer-hex-clip: polygon(25% 6.5%, 75% 6.5%, 96% 50%, 75% 93.5%, 25% 93.5%, 4% 50%);
    --offer-size: 214px;
    --offer-gap: 12px;
    --offer-row: calc(var(--offer-size) * 0.76);
    position: relative;
    height: calc(var(--offer-row) * 3 + var(--offer-size) * 0.24);
    max-width: 980px;
    margin: 8px auto 0;
  }
  .offer-hex-group {
    position: absolute;
    width: var(--offer-size);
    height: var(--offer-size);
    z-index: 3;
  }
  .offer-hex-group .offer-hex {
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    isolation: isolate;
  }
  .offer-hex.offer-hex--center {
    position: absolute;
    width: var(--offer-size);
    height: var(--offer-size);
    isolation: isolate;
    z-index: 3;
  }
  .offer-hex-inner {
    width: 100%;
    height: 100%;
    clip-path: var(--offer-hex-clip);
    /* clip-path hides normal borders — orange “stroke” is the outer fill minus inset ::before */
    background: var(--orange);
    border: none;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.2s ease;
    position: relative;
    overflow: visible;
  }
  .offer-hex-inner::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    transform: translate(-50%, -50%);
    background: var(--white);
    clip-path: var(--offer-hex-clip);
    z-index: 0;
    pointer-events: none;
  }
  .offer-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.22s ease;
    position: relative;
    z-index: 1;
  }
  .offer-icon {
    font-size: 30px;
    line-height: 1;
  }
  .offer-core h3 {
    margin: 0;
    font-size: 13px;
    color: var(--navy);
    line-height: 1.28;
    font-weight: 700;
    max-width: 132px;
    text-wrap: balance;
  }
  .offer-detail {
    position: absolute;
    width: 340px;
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 14px 15px;
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.2s ease;
    pointer-events: none;
    z-index: 6;
  }
  .offer-detail:hover {
    border-color: #000;
  }
  .offer-detail p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--gray-600);
    font-weight: 500;
  }
  .offer-detail::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--orange);
    opacity: 0.75;
    transform: translateY(-50%);
  }
  .offer-detail--right {
    left: calc(100% + 34px);
    top: 50%;
    transform: translate(-8px, -50%);
  }
  .offer-detail--right::before {
    left: -40px;
  }
  .offer-detail--left {
    right: calc(100% + 34px);
    top: 50%;
    transform: translate(8px, -50%);
  }
  .offer-detail--left::before {
    right: -40px;
  }
  .offer-hex-group:hover .offer-hex-inner,
  .offer-hex-group:focus-within .offer-hex-inner {
    background: #000;
    box-shadow: var(--shadow-md);
    transform: translateY(-6px) scale(1.02);
  }
  .offer-hex-group:hover,
  .offer-hex-group:focus-within {
    z-index: 10;
  }
  .offer-hex-group:hover .offer-detail,
  .offer-hex-group:focus-within .offer-detail {
    opacity: 1;
    transform: translate(0, -50%);
    pointer-events: auto;
  }
  .offer-hex-group .offer-hex:focus-visible {
    outline: none;
  }
  .offer-hex-group .offer-hex:focus-visible .offer-hex-inner {
    outline: 2px solid #000;
    outline-offset: 3px;
  }
  .offer-hex-group--top .offer-icon {
    font-size: 34px;
  }
  .offer-hex-group--top .offer-core h3 {
    font-size: 12px;
    max-width: 126px;
  }
  .offer-hex--center {
    pointer-events: none;
  }
  .offer-hex--center .offer-hex-inner {
    background: var(--orange);
  }
  .offer-hex--center .offer-hex-inner::before {
    background: var(--gray-100);
  }
  .offer-center-mark {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--orange);
    font-weight: 700;
    position: relative;
    z-index: 1;
  }
  .offer-hex-group--top { left: 50%; top: 0; transform: translateX(-50%); }
  .offer-hex-group--upper-right { left: calc(50% + var(--offer-size) * 0.53 + var(--offer-gap)); top: calc(var(--offer-row) * 0.5); transform: translateX(-50%); }
  .offer-hex-group--lower-right { left: calc(50% + var(--offer-size) * 0.53 + var(--offer-gap)); top: calc(var(--offer-row) * 1.5); transform: translateX(-50%); }
  .offer-hex--center { left: 50%; top: var(--offer-row); transform: translateX(-50%); }
  .offer-hex-group--bottom { left: 50%; top: calc(var(--offer-row) * 2); transform: translateX(-50%); }
  .offer-hex-group--lower-left { left: calc(50% - var(--offer-size) * 0.53 - var(--offer-gap)); top: calc(var(--offer-row) * 1.5); transform: translateX(-50%); }
  .offer-hex-group--upper-left { left: calc(50% - var(--offer-size) * 0.53 - var(--offer-gap)); top: calc(var(--offer-row) * 0.5); transform: translateX(-50%); }
  .offer-hex-group--top .offer-detail--right {
    left: calc(100% + 70px);
  }
  .offer-hex-group--top .offer-detail--right::before {
    width: 52px;
    left: -52px;
  }
  .offer-hex-group--bottom .offer-detail--left {
    right: calc(100% + 70px);
  }
  .offer-hex-group--bottom .offer-detail--left::before {
    width: 52px;
    right: -52px;
  }
  body.arabic .offer-core h3 {
    line-height: 1.4;
  }
  body.arabic .offer-detail {
    text-align: right;
  }

  /* ─── FEATURED GALLERY — Hover Image Gallery (Framer: framer.com/m/Hover-Image-Gallery-AvAM.js@zSDyFkHaeuAFtCTNxeP3 is React-only; vanilla: preview crossfade + list hover) ─── */
  .gallery-hover-root {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 32px 40px;
    margin-top: 44px;
    align-items: stretch;
  }
  .gallery-hover-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    min-height: 0;
  }
  .gallery-hover-slides {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    background: var(--gray-100);
  }
  .gallery-hover-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    filter: grayscale(0.35) contrast(1.04) brightness(0.98);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.25, 0.75, 0.25, 1), filter 0.5s ease;
    pointer-events: none;
    z-index: 0;
  }
  .gallery-hover-slide.is-active {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0) contrast(1.05) brightness(1.02);
    z-index: 1;
  }
  .gallery-hover-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 37, 69, 0) 40%, rgba(13, 37, 69, 0.38) 100%);
    opacity: 0.9;
  }
  .gallery-hover-list {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    min-height: 0;
  }
  .gallery-hover-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px 16px;
    align-items: center;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.28s ease;
    cursor: pointer;
    border-inline-start: 4px solid transparent;
  }
  .gallery-hover-row:last-child {
    border-bottom: 0;
  }
  .gallery-hover-row:hover,
  .gallery-hover-row.is-active {
    background: var(--gray-50);
  }
  .gallery-hover-row.is-active {
    border-inline-start-color: var(--orange);
  }
  .gallery-hover-idx {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -0.5px;
  }
  .gallery-hover-row .gallery-title {
    margin: 0;
  }
  .gallery-hover-row .gallery-desc {
    margin-top: 4px;
  }
  .gallery-hover-go {
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    white-space: nowrap;
    letter-spacing: 0.02em;
  }
  .gallery-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.2px;
    line-height: 1.25;
  }
  .gallery-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
  }

  /* ─── WHY CHOOSE NEXGEN ─── */
  .why-section { background: var(--navy); color: white; }
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .why-left .section-label { color: var(--orange-light); }
  .why-left .section-label::before { background: var(--orange-light); }
  .why-left .section-title { color: white; }
  .why-left .section-title span { color: var(--orange); }
  .why-left .section-subtitle { color: rgba(255,255,255,0.6); max-width: none; }
  .why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
  .why-feature {
    padding: 20px; border-radius: var(--radius);
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
  }
  .why-feature:hover { background: rgba(255,255,255,0.08); border-color: rgba(232,96,26,0.3); }
  .why-feature-icon { font-size: 24px; margin-bottom: 10px; }
  .why-feature h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 6px; }
  .why-feature p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.55; }

  .why-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
  }
  .why-stat-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
    transition: var(--transition);
    min-height: 0;
  }
  .why-stat-card:hover { background: rgba(255,255,255,0.08); }
  .why-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px; font-weight: 800; color: var(--orange);
    line-height: 1; letter-spacing: -2px;
  }
  .why-stat-split {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
  }
  .why-slash { font-size: 0.5em; opacity: 0.9; font-weight: 800; line-height: 1; }
  .loader-counter {
    font-variant-numeric: tabular-nums;
    display: inline-block;
  }
  .why-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; line-height: 1.4; }

  /* ─── ABOUT PAGE ─── */
  .about-hero {
    background: var(--navy); padding: 140px 0 80px;
    position: relative; overflow: hidden;
  }
  .about-hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(232,96,26,0.1) 0%, transparent 60%);
  }
  /* Page heroes — interactive grid glow (Framer Infinite-Grids-wupkXM is React-only) */
  .about-hero,
  .services-hero,
  .workshop-hero,
  .contact-hero {
    --hero-grid-x: 72%;
    --hero-grid-y: 38%;
  }
  .hero-infinite-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
      radial-gradient(
        ellipse 38% 42% at var(--hero-grid-x) var(--hero-grid-y),
        rgba(232, 96, 26, 0.28) 0%,
        rgba(232, 96, 26, 0.09) 38%,
        transparent 62%
      ),
      linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 100% 100%, 52px 52px, 52px 52px;
    background-repeat: no-repeat, repeat, repeat;
    background-position: 0 0, 0 0, 0 0;
    transition: opacity 0.35s ease;
  }
  .about-hero-content { position: relative; z-index: 1; }
  .about-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(40px, 5vw, 68px); font-weight: 800; color: white; line-height: 1.05;
  }
  .about-hero h1 span { color: var(--orange); }
  .about-hero p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 580px; margin-top: 20px; line-height: 1.7; }

  /* About — scrolling testimonials row (Framer Scrollingtestimonialspro-awSGMH is React-only; vanilla infinite marquee) */
  .about-testimonials-scroll {
    background: var(--cream);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 26px 0;
    overflow: hidden;
  }
  .about-ts-track {
    display: flex;
    width: max-content;
    animation: aboutTsMarquee 40s linear infinite;
    will-change: transform;
  }
  .about-testimonials-scroll:hover .about-ts-track {
    animation-play-state: paused;
  }
  body.arabic .about-ts-track {
    animation-direction: reverse;
  }
  @keyframes aboutTsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .about-ts-group {
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding-inline-end: 18px;
  }
  .about-ts-card {
    flex: 0 0 auto;
    width: min(340px, 78vw);
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
  }
  .about-ts-stars {
    color: var(--orange);
    font-size: 13px;
    letter-spacing: 3px;
    margin: 0 0 12px;
    line-height: 1;
  }
  .about-ts-quote {
    font-size: 15px;
    line-height: 1.65;
    color: var(--gray-600);
    margin: 0 0 16px;
  }
  .about-ts-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
  }
  .about-ts-role {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
    line-height: 1.4;
  }

  .about-mission {
    background: var(--white); padding: 80px 0;
    border-bottom: 1px solid var(--gray-200);
  }
  .about-mission-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .about-story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
  }
  .mission-text .section-title { font-size: clamp(28px, 3vw, 40px); }
  .mission-text p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-top: 20px; }
  .mission-text p + p { margin-top: 16px; }

  /* ─── About — Our Journey (timeline) ─── */
  .timeline-section {
    padding: 7rem 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
  }
  .timeline-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }
  .timeline-section-header .timeline-section-eyebrow {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .timeline-section-header .timeline-section-title {
    margin-top: 0;
  }
  .timeline-section::before {
    content: 'NEXGEN';
    position: absolute;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(8rem, 22vw, 20rem);
    font-weight: 800;
    color: rgba(13, 37, 69, 0.045);
    right: -4rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
  }
  html[toggle-theme="dark"] .timeline-section::before {
    color: rgba(232, 237, 244, 0.06);
  }
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 0 2rem;
    direction: ltr;
  }
  body.arabic .timeline .timeline-content {
    direction: rtl;
    text-align: right;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange), rgba(232, 96, 26, 0.2));
    transform: translateX(-50%);
  }
  .timeline-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
  }
  .timeline-item:last-child {
    margin-bottom: 0;
  }
  .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  .timeline-dot {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--orange);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--gray-50);
    box-shadow: 0 0 0 3px var(--orange);
    flex-shrink: 0;
  }
  .timeline-content {
    width: calc(50% - 2rem);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(26, 35, 50, 0.04);
  }
  .timeline-content:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
  }
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 2rem);
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 2rem);
  }
  .timeline-year {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
  }
  .timeline-title {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
  }
  .timeline-desc {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.6;
  }

  /* --- Scroll reveal (timeline & shared) --- */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }

  @media (max-width: 900px) {
    .timeline-section {
      padding: 4.5rem 0;
    }
    .timeline {
      margin-top: 2.5rem;
      padding: 0 1rem;
    }
    .timeline::before {
      left: 1rem;
    }
    .timeline-item,
    .timeline-item:nth-child(even) {
      flex-direction: column;
    }
    .timeline-dot {
      left: 1rem;
    }
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
      width: 100%;
      margin: 0;
      padding-left: 3rem;
      padding-right: 1rem;
    }
  }

  /* About — Credentials + Our Values: compact side-by-side row */
  .about-cred-values-split {
    background: var(--cream);
    padding: 40px 0 44px;
    border-top: 1px solid var(--gray-200);
  }
  .about-cred-values-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    gap: 28px 36px;
    align-items: stretch;
  }
  .about-credentials-col,
  .about-values-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .about-cred-values-split .credentials-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }
  .about-cred-values-split .cred-card {
    padding: 11px 13px;
    border-radius: var(--radius);
  }
  .about-cred-values-split .cred-card-header {
    margin-bottom: 7px;
    gap: 10px;
    align-items: center;
  }
  .about-cred-values-split .cred-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 14px;
  }
  .about-cred-values-split .cred-card-header h3 {
    font-size: 13px;
    line-height: 1.2;
    margin: 0;
  }
  .about-cred-values-split .cred-card-header span {
    font-size: 10px;
    line-height: 1.25;
  }
  .about-cred-values-split .cred-card > p {
    font-size: 11px;
    line-height: 1.42;
    margin: 0;
  }
  .about-cred-values-split .cred-detail.cred-detail--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
    align-items: start;
  }
  .about-cred-values-split .cred-detail-item {
    min-width: 0;
  }
  .about-cred-values-split .cred-detail-item span {
    font-size: 9px;
    color: var(--gray-400);
    display: block;
    line-height: 1.2;
  }
  .about-cred-values-split .cred-detail-item strong {
    font-size: 11px;
    color: var(--navy);
    font-weight: 700;
    display: block;
    margin-top: 2px;
    line-height: 1.25;
    word-break: break-word;
  }
  .about-cred-values-split .about-credentials-col > .section-title,
  .about-cred-values-split .about-values-col > .section-title {
    font-size: clamp(24px, 2.55vw, 34px);
  }
  .about-cred-values-split .about-credentials-col > .section-subtitle {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    max-width: none;
  }
  .about-cred-values-split .about-values-col .values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-top: 16px;
  }
  .about-cred-values-split .value-card {
    padding: 14px 12px;
    border-radius: var(--radius);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  }
  .about-cred-values-split .value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 28, 45, 0.11);
  }
  .about-cred-values-split .value-icon { font-size: 26px; margin-bottom: 8px; line-height: 1; }
  .about-cred-values-split .value-card h3 { font-size: 13px; margin-bottom: 6px; }
  .about-cred-values-split .value-card p { font-size: 11.5px; line-height: 1.45; }

  .credentials-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
  .cred-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 20px 22px; border: 1px solid var(--gray-200);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  }
  .cred-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(15, 28, 45, 0.11);
    border-color: rgba(232, 96, 26, 0.42);
  }
  .cred-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .cred-logo {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; color: white;
    transition: transform 0.28s ease;
  }
  .cred-card:hover .cred-logo { transform: scale(1.06); }
  .cred-logo.green { background: #009944; }
  .cred-logo.blue { background: #0066CC; }
  .cred-card-header h3 { font-size: 15px; font-weight: 700; color: var(--navy); }
  .cred-card-header span { font-size: 11px; color: var(--orange); font-weight: 600; }
  .cred-card p { font-size: 13px; color: var(--gray-600); line-height: 1.55; margin: 0; }
  .cred-detail { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-200); }
  .cred-detail span { font-size: 11px; color: var(--gray-400); display: block; }
  .cred-detail strong { font-size: 12px; color: var(--navy); }

  .value-card {
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--gray-50); border: 1px solid var(--gray-200);
    text-align: center; transition: var(--transition);
  }
  .value-card:hover { background: var(--navy); border-color: var(--navy); }
  .value-card:hover h3, .value-card:hover p { color: white; }
  .value-card:hover p { color: rgba(255,255,255,0.6); }
  .value-icon { font-size: 36px; margin-bottom: 16px; }
  .value-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; transition: var(--transition); }
  .value-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; transition: var(--transition); }

  @media (max-width: 991px) {
    .about-cred-values-inner {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  /* ─── SERVICES PAGE ─── */
  .services-hero {
    background: var(--navy); padding: 140px 0 80px;
    position: relative; overflow: hidden;
  }
  .services-hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(232,96,26,0.12) 0%, transparent 60%);
  }
  .services-hero-content { position: relative; z-index: 1; }
  .services-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(40px, 5vw, 68px); font-weight: 800; color: white; line-height: 1.05;
  }
  .services-hero h1 span { color: var(--orange); }
  .services-hero p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 540px; margin-top: 20px; line-height: 1.7; }

  .services-tabs {
    background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 0;
    position: sticky; top: 72px; z-index: 100;
    -webkit-overflow-scrolling: touch;
  }
  .tabs-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 32px;
    display: flex; gap: 0; overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  .tab-btn {
    padding: 18px 24px; font-size: 13px; font-weight: 600;
    color: var(--gray-400); background: none; border: none; cursor: pointer;
    border-bottom: 2px solid transparent; white-space: nowrap;
    transition: var(--transition);
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .tab-btn:hover { color: var(--navy); }
  .tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }

  .service-detail {
    display: none;
    padding: 80px 0;
    scroll-margin-top: 96px;
  }
  .service-detail.active { display: block; }
  .service-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
  .service-detail-content p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-top: 16px; }
  .service-items { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
  .service-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px; border-radius: var(--radius);
    background: var(--gray-50); border: 1px solid var(--gray-200);
    transition: var(--transition);
  }
  .service-item:hover { border-color: var(--orange); background: rgba(232,96,26,0.03); }
  .service-item-dot {
    width: 28px; height: 28px; min-width: 28px; border-radius: 8px;
    background: var(--orange); display: flex; align-items: center; justify-content: center;
    color: white; font-size: 13px; font-weight: 700;
  }
  .service-item-text h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
  .service-item-text p { font-size: 13px; color: var(--gray-600); line-height: 1.5; margin: 0; }

  .service-visual {
    background: var(--gray-50); border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); padding: 40px;
    display: flex; flex-direction: column; gap: 20px;
  }
  .service-photo {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  .service-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05);
    transform: scale(1.01);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, filter;
  }
  .service-visual:hover .service-photo img {
    filter: grayscale(0) contrast(1.05);
    transform: scale(1.06);
  }
  .visual-header { display: flex; align-items: center; gap: 12px; }
  .visual-icon { font-size: 32px; }
  .visual-header h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
  .visual-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .visual-tag {
    padding: 6px 14px; border-radius: 100px;
    background: var(--white); border: 1px solid var(--gray-200);
    font-size: 12px; font-weight: 600; color: var(--navy);
  }
  .visual-note {
    padding: 16px; border-radius: var(--radius);
    background: var(--navy); color: white;
    font-size: 13px; line-height: 1.6;
  }
  .visual-note strong { color: var(--orange); }

  /* ─── Services — How We Work (process steps) ─── */
  .process-section {
    padding: 6rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
  }
  .process-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1rem;
  }
  .process-section-header .process-section-eyebrow {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: 0;
  }
  .process-section-header .process-section-eyebrow::after {
    display: none;
  }
  .process-section-header .process-section-title {
    margin-top: 0;
  }
  .process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 4rem;
    direction: ltr;
  }
  body.arabic .process-step .step-title,
  body.arabic .process-step .step-desc {
    direction: rtl;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--orange), rgba(232, 96, 26, 0.3));
    z-index: 0;
  }
  .process-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
  }
  .step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin: 0 auto 1.25rem;
    transition: transform var(--transition), background-color var(--transition), color var(--transition);
    box-shadow: 0 2px 12px rgba(26, 35, 50, 0.06);
  }
  .process-step:hover .step-num {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.1);
  }
  .step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--navy);
    margin-bottom: 0.4rem;
  }
  .step-desc {
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
  }

  @media (max-width: 900px) {
    .process-section {
      padding: 4rem 0;
    }
    .process-steps {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 2.5rem;
    }
    .process-steps::before {
      display: none;
    }
  }

  @media (max-width: 640px) {
    .process-steps {
      grid-template-columns: 1fr;
    }
  }

  /* ─── WORKSHOP PAGE ─── */
  .workshop-hero {
    background: var(--navy);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
  }
  .workshop-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  }
  .workshop-hero-content { position: relative; z-index: 1; }
  .workshop-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(40px, 5vw, 68px); font-weight: 800; color: white; line-height: 1.05;
  }
  .workshop-hero h1 span { color: var(--orange); }
  .workshop-hero p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 560px; margin-top: 20px; line-height: 1.7; }
  .workshop-hero-badges { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
  .hero-pill {
    padding: 8px 16px; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
  }
  .hero-pill span { color: var(--orange); }

  .workshop-intro { background: var(--white); padding: 80px 0; }
  .workshop-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

  .workshop-capabilities { background: var(--cream); padding: 80px 0; }
  .capabilities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
  .capability-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px; border: 1px solid var(--gray-200);
    transition: var(--transition); position: relative; overflow: hidden;
  }
  .capability-media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
  }
  .capability-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05);
    transform: scale(1.01);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, filter;
  }
  .capability-card:hover .capability-media img {
    filter: grayscale(0) contrast(1.05);
    transform: scale(1.06);
  }
  .capability-card::after {
    content: attr(data-num);
    position: absolute; right: 24px; top: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 72px; font-weight: 800; color: var(--gray-100);
    line-height: 1; pointer-events: none;
  }
  .capability-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .capability-icon { font-size: 36px; margin-bottom: 16px; }
  .capability-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
  .capability-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
  .capability-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
  .capability-tag {
    padding: 4px 10px; border-radius: 6px;
    background: rgba(232,96,26,0.08); color: var(--orange);
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  }

  .workshop-locations { background: var(--navy); padding: 80px 0; }
  .locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
  .location-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 36px;
    transition: var(--transition);
  }
  .location-photo {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    margin-bottom: 18px;
  }
  .location-photo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05) brightness(0.98);
    transform: scale(1.01);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, filter;
  }
  .location-card:hover .location-photo img {
    filter: grayscale(0) contrast(1.05) brightness(1.03);
    transform: scale(1.06);
  }
  .location-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(232,96,26,0.3); }
  .location-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 16px;
  }
  .location-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; }
  .location-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }
  .location-address {
    margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,0.4);
  }
  .location-address strong { color: var(--orange-light); }

  /* About page media card */
  .about-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: var(--shadow-md);
  }
  .about-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05);
    transform: scale(1.01);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, filter;
  }
  .about-photo video {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    background: var(--navy);
  }
  .about-photo:hover img {
    filter: grayscale(0) contrast(1.05);
    transform: scale(1.06);
  }
  .about-photo:hover video {
    transform: scale(1.06);
  }
  .about-photo.fill { height: 100%; }
  .about-photo.fill img,
  .about-photo.fill video {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .about-story-row { grid-template-columns: 1fr; }
  }


  /* ─── CONTACT PAGE ─── */
  .contact-hero {
    background: var(--navy);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
  }
  .contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 55% 75% at 88% 28%, rgba(232, 96, 26, 0.14) 0%, transparent 58%);
  }
  .contact-hero > .container {
    position: relative;
    z-index: 1;
  }
  .contact-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(40px, 5vw, 68px); font-weight: 800; color: white; line-height: 1.05;
  }
  .contact-hero h1 span { color: var(--orange); }
  .contact-hero p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 500px; margin-top: 20px; line-height: 1.7; }

  .contact-section { padding: 80px 0; background: var(--white); }
  .contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }

  .contact-form-wrap {
    background: var(--gray-50); border-radius: var(--radius-lg);
    padding: 48px; border: 1px solid var(--gray-200);
  }
  .form-title { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 32px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .form-group label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.3px; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 13px 16px; border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    background: var(--white); font-size: 14px; color: var(--gray-800);
    font-family: 'Barlow', sans-serif;
    transition: var(--transition); outline: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,96,26,0.1);
  }
  .form-group textarea { min-height: 120px; resize: vertical; }
  .form-submit {
    width: 100%; padding: 16px; border-radius: 10px;
    background: var(--orange); color: white; border: none; cursor: pointer;
    font-size: 15px; font-weight: 700; transition: var(--transition);
    font-family: 'Barlow', sans-serif; letter-spacing: 0.3px;
  }
  .form-submit:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,96,26,0.3); }

  .form-success {
    display: none; text-align: center; padding: 48px 0;
  }
  .form-success.show { display: block; }
  .success-icon { font-size: 56px; margin-bottom: 16px; }
  .form-success h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .form-success p { font-size: 15px; color: var(--gray-600); }

  /* Contact info */
  .contact-info { display: flex; flex-direction: column; gap: 32px; }
  .contact-info-title { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .contact-info-desc { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

  .info-cards { display: flex; flex-direction: column; gap: 16px; }
  .info-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; border-radius: var(--radius);
    background: var(--gray-50); border: 1px solid var(--gray-200);
    transition: var(--transition);
  }
  .info-card:hover { border-color: var(--orange); }
  .info-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
    background: var(--navy); display: flex; align-items: center; justify-content: center;
    font-size: 20px;
  }
  .info-content h4 { font-size: 13px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
  .info-content p { font-size: 15px; font-weight: 600; color: var(--navy); }
  .info-content span { font-size: 13px; color: var(--gray-600); }

  .working-hours {
    padding: 24px; border-radius: var(--radius);
    background: var(--navy); color: white;
  }
  .working-hours h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--orange); }
  .hour-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hour-row:last-child { border-bottom: none; }
  .hour-row span:last-child { color: var(--orange-light); font-weight: 600; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 0;
  }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
  .footer-brand .logo img { height: 44px; }
  .footer-brand .logo-text span:first-child { color: white; }
  .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 20px; max-width: 280px; }
  .footer-contact-info { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
  .footer-contact-info a {
    font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none;
    display: flex; align-items: center; gap: 8px; transition: var(--transition);
  }
  .footer-contact-info a:hover { color: var(--orange); }

  .footer-col h4 { font-size: 12px; font-weight: 700; color: white; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
  .footer-links { display: flex; flex-direction: column; gap: 10px; }
  .footer-links a {
    font-size: 14px; color: rgba(255,255,255,0.45); text-decoration: none;
    cursor: pointer; transition: var(--transition);
  }
  .footer-links a:hover { color: var(--orange); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
  }
  .footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
  .footer-bottom span { color: var(--orange); }

  /* ─── BREADCRUMB / PAGE HEADER ─── */
  .page-header {
    background: var(--navy); padding: 140px 0 60px;
  }
  .page-breadcrumb { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 16px; letter-spacing: 0.5px; }
  .page-breadcrumb span { color: var(--orange); }

  /* ─── MISC COMPONENTS ─── */
  .divider { height: 1px; background: var(--gray-200); }

  /* ─── ARABIC OVERRIDES ─── */
  body.arabic .section-label::before { margin-right: 0; margin-left: 0; order: 1; }
  body.arabic .hero h1, body.arabic .section-title, body.arabic .form-title {
    font-family: 'Noto Kufi Arabic', sans-serif; letter-spacing: 0;
  }

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

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 48px; }
    .hero-cardstack {
      height: min(360px, 58vw);
      min-height: 260px;
      max-height: 400px;
    }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .offer-honeycomb {
      --offer-size: 178px;
      max-width: 900px;
    }
    .offer-detail {
      width: 250px;
    }
    .gallery-hover-root {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .about-mission-grid { grid-template-columns: 1fr; gap: 48px; }
    .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .workshop-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  }

  @media (max-width: 768px) {
    .container, .container-narrow { padding: 0 20px; }
    .nav-links, .btn-quote { display: none; }
    .hamburger { display: flex; }
    .logo img { height: 36px; }
    .nav-inner { padding: 0 20px; }
    .nav-right { gap: 8px; flex-shrink: 0; }
    .hero-content { padding: 0 20px; }
    .hero-left { max-width: none; }
    .hero-stats { gap: 24px; }
    .hero-stats { flex-wrap: wrap; }
    .stat-num { font-size: 28px; }
    .section { padding: 64px 0; }
    .section-sm { padding: 44px 0; }
    .about-hero,
    .services-hero,
    .workshop-hero,
    .contact-hero {
      padding: 104px 0 52px;
    }
    .page-header {
      padding: 104px 0 48px;
    }
    .service-detail { padding: 56px 0; }
    .about-mission { padding: 56px 0; }
    .workshop-intro,
    .workshop-capabilities { padding: 56px 0; }
    .workshop-locations { padding: 56px 0; }
    .contact-section { padding: 56px 0; }
    .tabs-inner { padding: 0 20px; }
    .about-story-row { gap: 20px; }
    .about-story-row > * { min-width: 0; }
    .about-hero h1,
    .services-hero h1,
    .workshop-hero h1,
    .contact-hero h1 {
      overflow-wrap: anywhere;
    }
    .cred-marquee-card {
      width: min(240px, 86vw);
    }
    .home-cta-strip { padding: 44px 0; }
    .home-cta-strip .home-cta-inner {
      flex-direction: column;
      align-items: stretch;
      text-align: center;
      gap: 24px;
    }
    .home-cta-strip .home-cta-btn {
      width: 100%;
      justify-content: center;
      white-space: normal;
    }
    .services-grid { grid-template-columns: 1fr; }
    .offer-honeycomb {
      position: static;
      height: auto;
      max-width: 100%;
      margin-top: 16px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }
    .offer-hex-group {
      position: static;
      width: 100%;
      height: auto;
      min-height: 148px;
      transform: none !important;
    }
    .offer-hex--center {
      display: none;
    }
    .offer-hex-inner {
      clip-path: none;
      border-radius: var(--radius);
      background: var(--white);
      border: 2px solid var(--orange);
    }
    .offer-hex-inner::before {
      display: none;
    }
    .offer-hex-group:hover .offer-hex-inner,
    .offer-hex-group:focus-within .offer-hex-inner {
      background: var(--white);
      border-color: #000;
    }
    .offer-hex--center .offer-hex-inner {
      background: var(--gray-100);
      border: 2px solid var(--orange);
    }
    .offer-detail {
      display: none;
    }
    .offer-core h3 {
      font-size: 14px;
    }
    .gallery-hover-slides {
      aspect-ratio: 16 / 10;
    }
    .gallery-hover-row {
      grid-template-columns: 40px 1fr auto;
      padding: 14px 14px;
    }
    .why-features { grid-template-columns: 1fr; }
    .why-right { grid-template-columns: 1fr 1fr; gap: 16px; }
    .credentials-cards { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .capabilities-grid { grid-template-columns: 1fr; }
    .locations-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
  }

  @media (max-width: 560px) {
    .offer-honeycomb {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 480px) {
    .nav-inner { padding: 0 16px; }
    .logo img { height: 34px; }
    .hero { padding-top: 72px; }
    .hero h1 { letter-spacing: -0.5px; }
    .hero-desc { font-size: 15px; margin-bottom: 28px; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
    .hero-btns { gap: 12px; }
    .hero-stats { margin-top: 32px; padding-top: 28px; gap: 16px; }
    .container,
    .container-narrow { padding: 0 16px; }
    .hero-content { padding: 0 16px; }
    .tabs-inner { padding: 0 16px; }
    .section { padding: 48px 0; }
    .section-sm { padding: 36px 0; }
    .about-hero,
    .services-hero,
    .workshop-hero,
    .contact-hero {
      padding: 88px 0 40px;
    }
    .page-header {
      padding: 92px 0 40px;
    }
    .service-detail { padding: 40px 0; }
    .about-mission,
    .workshop-intro,
    .workshop-capabilities,
    .workshop-locations,
    .contact-section { padding: 40px 0; }
    .tab-btn {
      padding: 14px 18px;
      font-size: 12px;
    }
    .why-right { grid-template-columns: 1fr; }
    .service-card { padding: 24px; }
    .gallery-hover-slides {
      aspect-ratio: 5 / 4;
    }
    .contact-form-wrap { padding: 24px 16px; }
    .info-card { padding: 16px; }
    .working-hours { padding: 18px; }
    .whatsapp-float { right: 14px; bottom: 14px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .gallery-hover-slide {
      transition-duration: 0.05s !important;
    }
    .section-label::after {
      transition: none;
    }
    .cred-marquee-track {
      animation: none !important;
    }
    .hero-cardstack-card {
      transition-duration: 0.12s !important;
    }
    .about-ts-track {
      animation: none !important;
    }
  }

  /* ─── FLOATING WHATSAPP ─── */
  .whatsapp-float {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 1001;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 8px 24px rgba(13, 37, 69, 0.15);
    transition: var(--transition);
    text-decoration: none;
  }
  .whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55), 0 10px 32px rgba(13, 37, 69, 0.18);
  }
  .whatsapp-float:active { transform: scale(0.96); }
  .whatsapp-float svg { width: 30px; height: 30px; display: block; }
  @media (max-width: 768px) {
    .whatsapp-float {
      right: max(16px, env(safe-area-inset-right));
      bottom: max(16px, env(safe-area-inset-bottom));
      width: 52px;
      height: 52px;
    }
    .whatsapp-float svg { width: 28px; height: 28px; }
  }

  @media (max-width: 400px) {
    .about-cred-values-split .cred-detail.cred-detail--split {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .about-ts-card {
      width: min(300px, 90vw);
    }
    .cred-marquee-card {
      width: min(220px, 88vw);
    }
  }

  @media (max-height: 520px) and (orientation: landscape) {
    .hero {
      min-height: unset;
      padding-top: 76px;
      padding-bottom: 32px;
    }
  }