/* ══════════════════════════════════════════════════════════════════
   UOS WONDERFLOW PVT. LTD. — style.css
   Design System + Glassmorphism + Animations + Responsive
══════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --blue-950: #050d1a;
  --blue-900: #0a1628;
  --blue-800: #0f2847;
  --blue-700: #1a3a6b;
  --blue-600: #1e4d8c;
  --blue-400: #4a90d9;
  --blue-200: #a8c8f0;

  --orange-500: #f7931e;
  --orange-400: #ff6b35;
  --orange-300: #ffaa5e;

  /* Glass System */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(18px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --glass-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--blue-950);
  color: #e2eaf8;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ── BACKGROUND SYSTEM ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(26, 58, 107, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(15, 40, 71, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 30%, rgba(247, 147, 30, 0.08) 0%, transparent 50%);
  animation: bgShift 18s ease-in-out infinite alternate;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle 600px at var(--orb-x, 30%) var(--orb-y, 40%), rgba(30, 77, 140, 0.25) 0%, transparent 70%),
    radial-gradient(circle 400px at 75% 60%, rgba(247, 147, 30, 0.06) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: orbDrift 25s ease-in-out infinite alternate;
}

/* ── GLASSMORPHISM SYSTEM ───────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section { padding: var(--space-2xl) 0; }

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

.section-badge {
  display: inline-block;
  background: rgba(247, 147, 30, 0.15);
  border: 1px solid rgba(247, 147, 30, 0.35);
  color: var(--orange-300);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--blue-200);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.85;
}

.accent { color: var(--orange-500); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #fff;
  box-shadow: 0 4px 20px rgba(247, 147, 30, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(247, 147, 30, 0.55);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover::after { opacity: 1; }

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-hover);
  color: #fff;
}

.btn-glass:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ── SCROLL ANIMATION SYSTEM ────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.from-left { transform: translateX(-40px); }
.animate-on-scroll.from-right { transform: translateX(40px); }

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, var(--blue-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--blue-100);
  transition: all var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover { 
  color: #fff; 
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.nav-links a:hover::after { width: 100%; }

.nav-links .nav-cta {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all var(--transition);
}

.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(247, 147, 30, 0.5);
}

.nav-links .nav-cta::after { display: none; }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-200);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--orange-500); }

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ── HERO ───────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px var(--space-md) 80px;
  background: linear-gradient(160deg, #050d1a 0%, #0a1628 30%, #0d1f3c 60%, #091422 100%);
}

/* Aurora Mesh Background */
.hero-orb {
  position: absolute;
  filter: blur(100px);
  opacity: 0.5;
  animation: auroraFlow 20s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}

@keyframes auroraFlow {
  0%   { transform: scale(1) translate(0, 0); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  33%  { transform: scale(1.15) translate(60px, -40px); border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  66%  { transform: scale(0.95) translate(-40px, 60px); border-radius: 50% 60% 30% 70% / 60% 40% 50% 40%; }
  100% { transform: scale(1.1) translate(20px, -20px); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

.hero-orb-1 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(30, 77, 140, 0.8), transparent 70%);
  top: -300px; left: -250px;
  animation-delay: 0s;
  animation-duration: 20s;
}

.hero-orb-2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.6), transparent 70%);
  bottom: -250px; right: -200px;
  animation-delay: -7s;
  animation-duration: 25s;
}

.hero-orb-3 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.5), transparent 70%);
  top: 20%; right: 10%;
  animation-delay: -14s;
  animation-duration: 22s;
}

.hero-orb-4 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30, 180, 195, 0.4), transparent 70%);
  bottom: 10%; left: 20%;
  animation-delay: -5s;
  animation-duration: 18s;
}

/* Particle grid overlay */
#hero::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;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: heroBounceIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-badge {
  display: inline-block;
  background: rgba(247, 147, 30, 0.12);
  border: 1px solid rgba(247, 147, 30, 0.3);
  color: var(--orange-300);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s 0.3s both;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s 0.5s both;
}

.hero-headline .highlight {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--blue-200);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  animation: fadeInUp 0.8s 0.7s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.9s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  animation: fadeInUp 0.8s 1.1s both;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px 40px;
}

.hero-stat {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--blue-200);
  margin-top: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--blue-200);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: fadeInUp 1s 1.5s both;
}

.scroll-chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--orange-500);
  border-bottom: 2px solid var(--orange-500);
  transform: rotate(45deg);
  animation: chevronBounce 1.5s ease-in-out infinite;
}

/* ── SERVICES / WHAT WE DO ───────────────────────────────────────── */
#services { background: transparent; }

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

.service-card {
  padding: var(--space-lg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,147,30,0.05), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
  pointer-events: none;
}

.service-card:hover::before { opacity: 1; }

/* Shimmer effect */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.service-card:hover::after { left: 150%; }

.service-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(247,147,30,0.2), rgba(247,147,30,0.08));
  border: 1px solid rgba(247,147,30,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(247,147,30,0.35), rgba(247,147,30,0.15));
  border-color: rgba(247,147,30,0.5);
  transform: scale(1.1) rotate(-3deg);
}

.service-icon svg { width: 26px; height: 26px; color: var(--orange-500); }

.service-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.service-desc {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--blue-200);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.service-bullets {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-bullets.expanded { max-height: 400px; }

.service-bullets li {
  font-size: 0.82rem;
  color: var(--blue-200);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--orange-500);
  border-radius: 50%;
}

.service-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-400);
  margin-top: var(--space-sm);
  transition: color var(--transition);
}

.service-toggle:hover { color: var(--orange-300); }

.service-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-toggle.open svg { transform: rotate(180deg); }

/* ── ABOUT ──────────────────────────────────────────────────────── */
#about { position: relative; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 75%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
}

.about-img-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(247,147,30,0.4);
  z-index: 2;
}

.about-content { display: flex; flex-direction: column; gap: var(--space-md); }

.about-text {
  font-size: 0.95rem;
  color: var(--blue-200);
  line-height: 1.8;
}

.about-vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.vm-card {
  padding: var(--space-md);
}

.vm-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 8px;
}

.vm-card-text {
  font-size: 0.85rem;
  color: var(--blue-200);
  line-height: 1.6;
}

/* Counters (in hero-stats, reused) */
.stat-counter { font-variant-numeric: tabular-nums; }

/* ── TEAM ────────────────────────────────────────────────────────── */
#team { background: transparent; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 860px;
  margin: 0 auto;
}

.team-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 300px;
}

/* Animated gradient ring */
.team-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--orange-500), var(--blue-600), var(--orange-400), var(--blue-700));
  border-radius: calc(var(--radius) + 2px);
  z-index: -1;
  background-size: 300% 300%;
  animation: gradientRing 6s ease infinite;
  opacity: 0.6;
}

.team-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: linear-gradient(135deg, #0f2847, #0a1628);
  border-radius: calc(var(--radius) - 1px);
  z-index: -1;
}

.team-avatar-wrap {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px);
  flex-shrink: 0;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.9) brightness(0.95);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.03);
  filter: saturate(1.1) brightness(1);
}

.team-avatar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(10, 22, 40, 0.8) 100%);
  pointer-events: none;
}

.team-avatar-placeholder {
  width: 240px;
  height: 100%;
  min-height: 300px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--orange-300);
}

.team-content {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.team-title {
  color: var(--orange-400);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-credentials {
  color: var(--blue-200);
  font-size: 0.8rem;
  opacity: 0.85;
  font-style: italic;
}

.team-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-500), transparent);
  border-radius: 2px;
  margin: 4px 0;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--blue-100);
  line-height: 1.75;
  margin: 0;
}

.team-bio-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  font-size: 0.88rem;
  color: var(--blue-200);
  line-height: 1.75;
}

.team-bio-full.expanded { max-height: 300px; }

.team-footer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: 4px;
  flex-wrap: wrap;
}

.team-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-400);
  cursor: pointer;
  transition: color var(--transition);
  border: none;
  background: none;
  padding: 0;
}

.team-read-more:hover { color: var(--orange-300); }

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-200);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 5px 14px;
  transition: all var(--transition);
}

.team-linkedin svg { width: 14px; height: 14px; }

.team-linkedin:hover {
  background: rgba(10, 102, 194, 0.2);
  border-color: rgba(10, 102, 194, 0.5);
  color: #fff;
}

/* ── ADVANTAGES / WHY CHOOSE US ─────────────────────────────────── */
#advantages { background: transparent; }

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

.advantage-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.advantage-card:nth-child(even) {
  background: rgba(247, 147, 30, 0.04);
  border-color: rgba(247,147,30,0.15);
}

.advantage-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(30, 77, 140, 0.5), rgba(15, 40, 71, 0.5));
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition);
}

.advantage-card:hover .advantage-icon {
  background: linear-gradient(135deg, rgba(247,147,30,0.25), rgba(247,147,30,0.1));
  border-color: rgba(247,147,30,0.4);
}

.advantage-icon svg { width: 24px; height: 24px; color: var(--blue-400); transition: color var(--transition); }
.advantage-card:hover .advantage-icon svg { color: var(--orange-500); }

.advantage-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 0.88rem;
  color: var(--blue-200);
  line-height: 1.65;
}

/* ── CONTACT ────────────────────────────────────────────────────── */
#contact { background: transparent; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-md); }

.contact-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.contact-subheading {
  font-size: 0.95rem;
  color: var(--blue-200);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(247,147,30,0.12);
  border: 1px solid rgba(247,147,30,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 18px; height: 18px; color: var(--orange-500); }

.contact-detail-text { display: flex; flex-direction: column; gap: 2px; }
.contact-detail-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-400); }
.contact-detail-value { font-size: 0.9rem; color: #fff; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin-top: var(--space-md);
}

.map-container iframe { display: block; width: 100%; height: 220px; border: none; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-200);
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-input:focus, .form-textarea:focus {
  border-color: rgba(247,147,30,0.5);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(247,147,30,0.08);
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(247,147,30,0.35);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(247,147,30,0.55);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-submit svg { width: 18px; height: 18px; }

.form-success {
  display: none;
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  border-radius: var(--radius);
}

.form-success.show { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }

.form-success-icon { 
  width: 72px; height: 72px; 
  background: rgba(74, 222, 128, 0.1); 
  border: 2px solid rgba(74, 222, 128, 0.4);
  border-radius: 50%; 
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
}
.form-success-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: #4ade80; }
.form-success-text { font-size: 0.9rem; color: var(--blue-200); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
#footer {
  background: rgba(5, 13, 26, 0.9);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
}

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

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

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 36px; width: auto; border-radius: 6px; }
.footer-logo-text { font-family: var(--font-heading); font-weight: 700; color: #fff; }

.footer-tagline {
  font-size: 0.88rem;
  color: var(--blue-200);
  line-height: 1.7;
  max-width: 280px;
}

.footer-socials { display: flex; gap: 10px; margin-top: 4px; }

.social-link {
  width: 36px;
  height: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--blue-200);
}

.social-link:hover {
  background: rgba(247,147,30,0.15);
  border-color: rgba(247,147,30,0.4);
  color: var(--orange-400);
  transform: translateY(-2px);
}

.social-link svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--blue-200);
  transition: color var(--transition);
  position: relative;
  padding-left: 14px;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--orange-500);
}

.footer-links a:hover { color: var(--orange-400); }

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--blue-200);
}

.footer-contact-item svg { width: 14px; height: 14px; color: var(--orange-500); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--blue-200);
  opacity: 0.7;
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBounceIn {
  0% { opacity: 0; transform: scale(0.5); }
  70% { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}

@keyframes orbDrift {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes bgShift {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

@keyframes gradientRing {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmerSlide {
  0% { left: -100%; }
  100% { left: 150%; }
}

/* Pulse glow on primary btn */
.btn-primary {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(247,147,30,0.35); }
  50% { box-shadow: 0 4px 30px rgba(247,147,30,0.6), 0 0 60px rgba(247,147,30,0.15); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: var(--space-lg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: span 2; }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  :root { --space-2xl: 4rem; --space-xl: 2.5rem; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 500px; }
  .team-card { grid-template-columns: 1fr; min-height: unset; }
  .team-avatar-wrap { height: 260px; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
  .team-avatar-overlay { background: linear-gradient(to bottom, transparent 60%, rgba(10, 22, 40, 0.8) 100%); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .about-images { height: 320px; }
  .about-vision-mission { grid-template-columns: 1fr; }

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

  .hero-stats { gap: var(--space-lg); }
  .hero-stat:not(:last-child)::after { display: none; }
}

/* Mobile portrait */
@media (max-width: 480px) {
  :root { --space-2xl: 3rem; }

  .hero-headline { font-size: 1.9rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: var(--space-md); }

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

  .contact-detail { padding: var(--space-sm); }
}

/* Large screens */
@media (min-width: 1400px) {
  :root { --container: 1320px; }
}
