/*
 * ============================================================
 * ELECTRO TECHNOLOGIES LIMITED — Premium Enterprise Design System
 * Brand: Royal Blue #0A33B8 · Accent Orange #F26A21
 * Typography: Space Grotesk (headings) · Inter (body)
 * Style: Apple + Schneider Electric + Modern Engineering SaaS
 * ============================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --blue:          #0A33B8;
  --blue-dark:     #071F7A;
  --blue-mid:      #1A4DD4;
  --blue-light:    #EEF2FF;
  --orange:        #F26A21;
  --orange-light:  #FF8C42;
  --orange-pale:   #FFF3EC;

  /* Neutrals */
  --white:         #FFFFFF;
  --bg-light:      #F7F9FC;
  --bg-section:    #F2F5FB;
  --border:        #E5E7EB;
  --border-light:  #F0F2F6;

  /* Text */
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-muted:    #6B7280;
  --text-faint:    #9CA3AF;

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(10,51,184,0.06);
  --shadow-sm:     0 4px 16px rgba(10,51,184,0.08);
  --shadow-md:     0 8px 32px rgba(10,51,184,0.10);
  --shadow-lg:     0 20px 60px rgba(10,51,184,0.12);
  --shadow-xl:     0 30px 80px rgba(10,51,184,0.14);
  --shadow-orange: 0 8px 24px rgba(242,106,33,0.20);

  /* Transitions */
  --ease-premium:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:        0.2s var(--ease-premium);
  --t-mid:         0.4s var(--ease-premium);
  --t-slow:        0.6s var(--ease-premium);

  /* Border Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* Container */
  --max-w: 1280px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   3. CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.display-xl { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(2.2rem, 4vw, 3.75rem); font-weight: 700; letter-spacing: -0.025em; }
.display-md { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
.display-sm { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.body-lg { font-size: 1.125rem; line-height: 1.75; color: var(--text-mid); }
.body-md { font-size: 1rem; line-height: 1.7; color: var(--text-mid); }
.body-sm { font-size: 0.875rem; line-height: 1.65; color: var(--text-muted); }

/* ============================================================
   5. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-pad { padding-block: clamp(4rem, 8vw, 7rem); }
.section-pad-sm { padding-block: clamp(3rem, 5vw, 5rem); }

section[id] {
  scroll-margin-top: 90px;
}

/* ============================================================
   6. CUSTOM CURSOR — removed for performance
   ============================================================ */

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  transition: var(--t-mid);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10,51,184,0.25);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,51,184,0.35);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(242,106,33,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }

/* Magnetic button effect target */
.btn-magnetic { will-change: transform; }

/* ============================================================
   8. NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 4rem);
  max-width: 1200px;
  background: rgba(255,255,255,0.98); /* Less transparent to compensate for lack of blur */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(229,231,235,0.8);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(10,51,184,0.08), 0 1px 0 rgba(255,255,255,0.6) inset;
  padding: 0 28px;
  transition: var(--t-mid);
}

.navbar.scrolled {
  top: 12px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 40px rgba(10,51,184,0.12);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.navbar-logo img {
  height: 95px; /* Enlarged per client request */
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform-origin: left center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
  position: relative;
}
.nav-link:hover { color: var(--blue); background: var(--blue-light); }
.nav-link.active { color: var(--blue); background: var(--blue-light); font-weight: 600; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--t-fast);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--t-mid);
}
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 100vw);
  height: 100dvh;
  background: var(--white);
  z-index: 1100;
  transform: translateX(110%);
  transition: transform var(--t-slow);
  padding: 100px 40px 40px;
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(10,51,184,0.10);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--t-fast);
}
.mobile-drawer-close:hover { background: var(--bg-light); color: var(--blue); }

.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--t-fast);
}
.mobile-nav-link:hover { color: var(--orange); padding-left: 8px; }
.mobile-nav-link.active { color: var(--blue); padding-left: 8px; font-weight: 600; border-bottom-color: var(--blue-light); }
.mobile-nav-link.active i { transform: translateX(4px); color: var(--orange); }

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,51,184,0.85); /* Darker fallback */
  backdrop-filter: none;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.mobile-drawer-overlay.open { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .navbar { width: calc(100% - 2rem); padding: 0 20px; }
  .navbar-nav, .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-inner { height: 60px; }
}
@media (max-width: 480px) {
  .navbar { top: 12px; width: calc(100% - 1.5rem); border-radius: var(--r-lg); }
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-slide-img {
  width: 100%;
  height: 115%; /* Extra height allows JS parallax translateY without gaps */
  object-fit: cover;
  transform: scale(1) translateY(0);
  /* Removed slow scale transition — handled by JS parallax */
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,31,122,0.88) 0%,
    rgba(10,51,184,0.70) 40%,
    rgba(10,51,184,0.30) 70%,
    transparent 100%
  );
  z-index: 1;
}

/* Blueprint grid texture on hero */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  /* Navbar is fixed at top:20px, height ~68px → bottom at ~100px.
     Add generous breathing room so headline is never hidden. */
  padding-top: 140px;
  padding-bottom: 140px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s var(--ease-premium) 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s var(--ease-premium) 0.5s forwards;
}
.hero-headline .highlight {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.80);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s var(--ease-premium) 0.7s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s var(--ease-premium) 0.9s forwards;
}

/* Hero Stats Bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.hero-stat {
  padding: 24px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.10);
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-premium) forwards;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:nth-child(1) { animation-delay: 1.0s; }
.hero-stat:nth-child(2) { animation-delay: 1.1s; }
.hero-stat:nth-child(3) { animation-delay: 1.2s; }
.hero-stat:nth-child(4) { animation-delay: 1.3s; }

.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num span { color: var(--orange); }
.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Slider Controls */
.hero-nav {
  position: absolute;
  bottom: 120px;
  right: var(--gutter);
  z-index: 11;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--t-fast);
}
.hero-nav-dot.active { background: var(--orange); transform: scale(1.4); }

/* Light streak SVG animation */
.hero-streak {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.10); }
  .hero-nav { right: 1rem; bottom: 160px; }
  .hero-streak { display: none; }
}
@media (max-width: 480px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   10. ABOUT SECTION
   ============================================================ */

/* Section wrapper — subtle warm off-white background */
.about-section {
  background: linear-gradient(160deg, #f8faff 0%, #f3f6fb 100%);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,51,184,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-section-label {
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

/* ── Image Stack ── */
.about-image-stack {
  position: relative;
  min-height: 560px;
}
.about-img-main {
  width: 88%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  margin-left: auto;
}
.about-img-secondary {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 52%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 4px solid var(--white);
}
.about-img-badge {
  position: absolute;
  top: 28px;
  left: 44px;
  z-index: 4;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 175px;
}
.about-img-badge-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-img-badge-text strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.about-img-badge-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-decorator {
  position: absolute;
  bottom: 48px;
  right: 12px;
  width: 100px; height: 100px;
  border: 2px solid var(--orange);
  border-radius: var(--r-md);
  z-index: 1;
  opacity: 0.25;
}

/* Inline stats strip (below images) */
.about-inline-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 12%;
  z-index: 5;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0;
  border: 1px solid var(--border-light);
}
.about-inline-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.about-inline-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.about-inline-plus {
  color: var(--orange);
  font-size: 1rem;
}
.about-inline-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-inline-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── Content Side ── */
.about-content { padding-block: 10px; }

.about-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.about-intro {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 32px;
}

/* Pillar cards — 3-column horizontal on desktop */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.about-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 16px;
  transition: var(--t-mid);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-pillar:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.about-pillar-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--orange-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1rem;
  flex-shrink: 0;
}
.about-pillar-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.about-pillar-body p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Cert badge chips */
.about-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.about-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1.5px solid var(--blue-light);
  border-radius: var(--r-pill);
  background: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--t-fast);
}
.about-cert-badge i {
  font-size: 0.85rem;
  color: var(--orange);
}
.about-cert-badge:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

/* CTA row */
.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .about-pillars { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-stack { min-height: 420px; margin-bottom: 80px; }
  .about-img-main { width: 100%; height: 340px; margin-left: 0; }
  .about-img-secondary { bottom: 64px; }
  .about-inline-stats { right: 0; }
  .about-pillars { grid-template-columns: 1fr; gap: 10px; }
  .about-pillar { flex-direction: row; align-items: flex-start; padding: 14px; gap: 14px; }
  .about-pillar-body h4 { margin-bottom: 3px; }
}

@media (max-width: 480px) {
  .about-inline-stats { padding: 14px 16px; }
  .about-inline-num { font-size: 1.2rem; }
  .about-cert-row { gap: 8px; }
  .about-cert-badge { font-size: 0.72rem; padding: 7px 11px; }
}

/* ============================================================
   11. SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  cursor: pointer;
  transition: var(--t-mid);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 18px;
  transition: var(--t-mid);
}
.service-card:hover .service-card-icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.service-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 14px;
  transition: var(--t-fast);
}
.service-card:hover .service-card-arrow { color: var(--orange); gap: 10px; }

/* Service Modal */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,51,184,0.75);
  backdrop-filter: none;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.service-modal-overlay.open { opacity: 1; pointer-events: auto; }

.service-modal-card {
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--t-mid), opacity var(--t-mid);
}
.service-modal-overlay.open .service-modal-card {
  transform: scale(1) translateY(0);
}

.service-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--t-fast);
}
.service-modal-close:hover { background: var(--bg-light); color: var(--blue); }

.service-modal-eyebrow { margin-bottom: 16px; }
.service-modal-title { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 8px; }
.service-modal-sub { font-size: 0.9rem; color: var(--orange); font-weight: 600; margin-bottom: 20px; }
.service-modal-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; }

.service-modal-specs-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.service-modal-specs { display: flex; flex-direction: column; gap: 10px; }
.service-modal-spec {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-mid);
}
.service-modal-spec::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 7px;
  flex-shrink: 0;
}

.service-modal-standard {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--blue);
  font-size: 0.82rem;
  color: var(--text-mid);
}
.service-modal-standard strong { color: var(--blue); font-weight: 600; }

@media (max-width: 600px) {
  .service-modal-card { padding: 28px 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   12. PROJECTS SHOWCASE
   ============================================================ */
.projects-section { background: var(--bg-light); }

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text-muted);
  transition: var(--t-fast);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(10,51,184,0.20);
}

.projects-slider-wrapper { position: relative; }
.projects-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--t-mid);
  border: 1px solid var(--border);
  position: relative;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.project-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-premium);
}
.project-card:hover .project-card-img img { transform: scale(1.07); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,51,184,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-mid);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-overlay-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  padding: 8px 16px;
  border-radius: var(--r-pill);
}

.project-card-body { padding: 22px; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.project-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--blue-light);
  color: var(--blue);
  letter-spacing: 0.04em;
}
.project-tag.orange { background: var(--orange-pale); color: var(--orange); }

.project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.project-card-client { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.project-card-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

.projects-cta-row {
  text-align: center;
  margin-top: 52px;
}

@media (max-width: 1024px) { .projects-slider { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-slider { grid-template-columns: 1fr; } }

/* ============================================================
   13. CLIENTELE MARQUEE
   ============================================================ */
.clients-section { background: var(--white); overflow: hidden; }

.marquee-track-wrapper { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  border-right: 1px solid var(--border-light);
  transition: var(--t-mid);
  flex-shrink: 0;
}
.client-logo-item:last-child { border-right: none; }

.client-logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: var(--t-mid);
}
.client-logo-item:hover .client-logo-name { color: var(--blue); }

/* ============================================================
   14. ACCREDITATIONS
   ============================================================ */
.accreds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.accred-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--t-mid);
  position: relative;
  overflow: hidden;
}
.accred-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.accred-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--border);
}

.accred-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--blue);
  transition: var(--t-mid);
}
.accred-card:hover .accred-badge { background: var(--orange); color: var(--white); }

.accred-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.accred-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.accred-card .accred-level {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   15. FAQ
   ============================================================ */
.faq-section { background: var(--bg-light); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 52px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--t-mid);
}
.faq-item.open { border-color: var(--orange); box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--blue); }
.faq-item.open .faq-q { color: var(--blue); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--t-mid);
}
.faq-item.open .faq-icon { background: var(--orange); color: var(--white); transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-premium), padding 0.3s ease;
  padding: 0 24px;
}
.faq-a-inner { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; padding-bottom: 20px; }
.faq-item.open .faq-a { max-height: 300px; }

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

/* ============================================================
   16. CONTACT
   ============================================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.contact-info-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}
.contact-info-value a { transition: color var(--t-fast); }
.contact-info-value a:hover { color: var(--orange); }

.contact-info-items { display: flex; flex-direction: column; gap: 24px; margin: 36px 0; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}
.contact-social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--t-fast);
}
.contact-social-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--t-fast);
  margin-top: 20px;
}
.whatsapp-btn:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.30); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}
.form-field {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--t-fast);
}
.form-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,51,184,0.08); }
.form-field::placeholder { color: var(--text-faint); }

.form-map {
  margin-top: 24px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.form-map iframe { display: block; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   17. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: var(--t-mid);
}
.whatsapp-float:hover { transform: scale(1.1) rotate(8deg); box-shadow: 0 12px 32px rgba(37,211,102,0.45); }

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture on footer */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-logo { margin-bottom: 4px; }
.footer-brand-logo img {
  height: 160px; /* Enlarged per client request */
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease, transform 0.3s ease;
}
.footer-brand-logo img:hover {
  filter: none;
  transform: scale(1.05);
}

.footer-brand-desc { font-size: 0.875rem; line-height: 1.75; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--t-fast);
}
.footer-social:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-link:hover { color: var(--orange); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.footer-contact-item i { margin-top: 2px; color: var(--orange); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color var(--t-fast); }
.footer-contact-item a:hover { color: var(--orange); }

.footer-cert-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-cert-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text { font-size: 0.8rem; color: rgba(255,255,255,0.40); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-link { font-size: 0.8rem; color: rgba(255,255,255,0.40); transition: color var(--t-fast); }
.footer-bottom-link:hover { color: var(--orange); }

/* Powered by Digirev (Inline) */
.footer-powered-by::before {
  content: '|';
  margin: 0 6px;
  opacity: 0.5;
}
.footer-powered-by {
  opacity: 0.8;
  white-space: nowrap;
}


@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   19. SHARED SECTION HEADER
   ============================================================ */
.section-header { max-width: 680px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.section-header p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   20. UTILITY CLASSES
   ============================================================ */
.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.bg-blue { background: var(--blue); }
.bg-orange { background: var(--orange); }
.bg-light { background: var(--bg-light); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

/* ============================================================
   21. ANIMATIONS (GSAP helpers + pure CSS)
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes sweep-lr {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.float-anim { animation: float 4s ease-in-out infinite; }
.float-anim-slow { animation: float 6s ease-in-out infinite 1s; }

/* ============================================================
   27. MOBILE RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    width: calc(100% - 2rem);
    padding: 0 16px;
  }
  
  /* Hero fixes */
  .hero-content {
    padding-top: 120px;
    padding-bottom: 260px !important; /* Clears stacked stats bar */
    text-align: center; /* Center everything on mobile */
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-headline {
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  .hero-sub {
    display: none; /* Hide long paragraph on mobile to prevent scrolling fatigue */
  }
  .hero-cta {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  
  /* Stats bar stacking */
  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0;
  }
  .hero-stat {
    padding: 20px 0;
  }
  .hero-stat-num {
    font-size: 2rem;
  }
  .hero-stat-label {
    font-size: 0.65rem;
  }
  .hero-stat:nth-child(2) {
    border-right: none;
  }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  
  /* Services Grid Mobile */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .service-card {
    padding: 16px 12px;
    text-align: center;
    border-radius: var(--r-md);
  }
  .service-icon-wrap {
    margin: 0 auto 12px auto;
    width: 44px;
    height: 44px;
  }
  .service-card h3 {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0;
  }
  .service-card p {
    display: none; /* Hide heavy text on mobile to prevent massive scroll wall */
  }
  .service-card-arrow {
    justify-content: center;
    margin-top: 10px;
    font-size: 0.75rem;
  }
  
  /* Utilities */
  .mobile-hide {
    display: none !important;
  }
  
  /* Projects Grid */
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* GSAP initial states */
.reveal-y { opacity: 0; transform: translateY(50px); }
.reveal-x-left { opacity: 0; transform: translateX(-60px); }
.reveal-x-right { opacity: 0; transform: translateX(60px); }
.reveal-scale { opacity: 0; transform: scale(0.92); }

/* ============================================================
   22. SUCCESS ALERT
   ============================================================ */
.form-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,51,184,0.85);
  backdrop-filter: none;
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.form-success-overlay.open { opacity: 1; pointer-events: auto; }
.form-success-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 48px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}
.form-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: #16A34A;
  margin: 0 auto 24px;
}
.form-success-card h3 { font-size: 1.35rem; color: var(--text-dark); margin-bottom: 10px; }
.form-success-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   23. RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 768px) {
  .section-pad { padding-block: clamp(3rem, 7vw, 4.5rem); }
  .section-pad-sm { padding-block: 2.5rem; }
  .section-header h2 { font-size: 1.75rem; }
  .project-filters { gap: 8px; }
  .filter-btn { font-size: 0.75rem; padding: 7px 14px; }
  .accreds-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   24. PROJECTS PAGE SPECIFIC
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 500px; margin-inline: auto; }

.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.page-hero-stat { text-align: center; }
.page-hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.page-hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .projects-full-grid { grid-template-columns: 1fr; }
  .page-hero-stats { flex-direction: column; gap: 1.5rem; }
}

/* Project detail modal */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: none;
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.project-modal-overlay.open { opacity: 1; pointer-events: auto; }

.project-modal-card {
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 760px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--t-mid);
}
.project-modal-overlay.open .project-modal-card { transform: translateY(0); }

.project-modal-img { height: 280px; overflow: hidden; }
.project-modal-img img { width: 100%; height: 100%; object-fit: cover; }

.project-modal-body { padding: 36px 40px; }
.project-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--t-fast);
  position: sticky;
  float: right;
  margin: 16px 16px 0 0;
}
.project-modal-close:hover { background: var(--orange); color: var(--white); }

.project-modal-section { margin-bottom: 24px; }
.project-modal-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.project-modal-section p, .project-modal-section ul li { font-size: 0.875rem; color: var(--text-mid); line-height: 1.75; }
.project-modal-section ul { display: flex; flex-direction: column; gap: 6px; }
.project-modal-section ul li::before {
  content: '→ ';
  color: var(--orange);
  font-weight: 700;
}

.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tech-chip {
  padding: 6px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ============================================================
   25. LEGAL PAGES (Privacy / Terms)
   ============================================================ */
.legal-hero {
  background: var(--bg-light);
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}
.legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.legal-content h2 {
  font-size: 1.25rem;
  color: var(--blue);
  margin: 36px 0 12px;
}
.legal-content p, .legal-content li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--blue); text-decoration: underline; }

/* ============================================================
   26. 404 PAGE
   ============================================================ */
.page-404 {
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.page-404::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-404-content { position: relative; z-index: 1; }
.page-404-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.2);
  letter-spacing: -0.04em;
  margin-bottom: 0;
}
.page-404-num .o-char { color: var(--orange); -webkit-text-stroke: none; }
.page-404-title { font-size: 1.75rem; color: var(--white); margin-bottom: 14px; margin-top: -20px; }
.page-404-sub { font-size: 1rem; color: rgba(255,255,255,0.65); margin-bottom: 36px; }

/* ============================================================
   EOF
   ============================================================ */
/* Team Preview Section */
.team-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .team-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid-3 { grid-template-columns: 1fr; } }

.team-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(229,231,235,0.6);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(10,51,184,0.12);
}
.team-card-photo {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2f5a 100%);
}
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #0d1b3e 0%, #152e5e 100%);
}
.team-photo-placeholder i      { font-size: 6rem; color: rgba(255,255,255,0.1); }
.team-photo-placeholder span   { font-size: 0.7rem; color: rgba(255,255,255,0.28); letter-spacing: 0.1em; text-transform: uppercase; }
.team-card-body { padding: 22px 24px 24px; }
.team-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark, #111827);
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}
.team-card-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: #F26A21;
  margin-bottom: 0;
}

.footer-brand-desc { margin-top: -10px !important; }
.footer-brand-logo { margin-bottom: 0px !important; }

/* Digirev Footer Link Styles */
.digirev-link {
  text-decoration: none;
  font-weight: 600;
  color: inherit;
  transition: all 0.3s ease;
}
.digirev-link .digi {
  transition: color 0.3s ease;
}
.digirev-link .rev {
  transition: color 0.3s ease;
}
.digirev-link:hover .digi {
  color: #F26A21;
}
.digirev-link:hover .rev {
  color: #0A33B8;
}
