/* ============================================
   UNITY FIRST GROUP — Premium Design System v2
   Colors: Deep Navy + Gold + Teal
   Fonts: Lexend + Playfair Display
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette */
  --navy-900: #0A1628;
  --navy-800: #0F1F3A;
  --navy-700: #152A4E;
  --navy-600: #1B3562;
  --navy-500: #234680;
  --navy-400: #2E5A9E;
  --navy-300: #4A7BC4;
  --navy-200: #7FA3DA;
  --navy-100: #B4CBE9;
  --navy-50: #E8EFF8;

  /* Accent — Gold */
  --gold-500: #D4A853;
  --gold-400: #E0BD72;
  --gold-300: #EAD19A;
  --gold-200: #F2E3C2;
  --gold-600: #B8903A;
  --gold-700: #9A7528;

  /* Accent — Teal */
  --teal-500: #2DD4BF;
  --teal-400: #5EEAD4;
  --teal-300: #99F6E4;
  --teal-600: #0D9488;
  --teal-700: #0F766E;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Semantic */
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-600);
  --text-light: rgba(255,255,255,0.92);
  --text-light-secondary: rgba(255,255,255,0.65);
  --bg-light: var(--gray-50);
  --bg-dark: var(--navy-900);
  --bg-dark-alt: var(--navy-800);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale (8px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.08);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.1);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.15);
  --shadow-xl: 0 20px 60px rgba(10,22,40,0.2);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: -0.01em;
}

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

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

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

ul {
  list-style: none;
}

/* ---------- Noise / Grain Texture Overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- Geometric Pattern Background ---------- */
.section-light::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image:
    radial-gradient(circle at 25% 25%, var(--navy-300) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--navy-300) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(212,168,83,0.2);
  border-top-color: var(--gold-500);
  border-radius: 50%;
  margin: 0 auto var(--sp-4);
  animation: spin 0.8s linear infinite;
}

.preloader-text {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--sp-5) 0;
  transition: background var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--sp-3) 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  gap: 0.2em;
}

.logo-unity {
  color: var(--white);
}

.logo-first {
  color: var(--gold-500);
}

.logo-group {
  color: var(--teal-500);
  font-weight: 400;
}

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

.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
  padding: var(--sp-2) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(212,168,83,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,168,83,0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
}

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

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 40%, #0E2545 100%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45,212,191,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212,168,83,0.08) 0%, transparent 60%);
  z-index: 0;
}

/* Three.js Globe Canvas */
.hero-globe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* Floating glassmorphism shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.04);
  z-index: 1;
  pointer-events: none;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: floatShape1 20s ease-in-out infinite;
}

.hero-shape-2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: -60px;
  animation: floatShape2 25s ease-in-out infinite;
}

.hero-shape-3 {
  width: 180px;
  height: 180px;
  top: 40%;
  right: 15%;
  animation: floatShape3 18s ease-in-out infinite;
}

@keyframes floatShape1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-30px, 40px) rotate(5deg); }
  66% { transform: translate(20px, -20px) rotate(-3deg); }
}

@keyframes floatShape2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
}

@keyframes floatShape3 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-20px, 30px); }
  75% { transform: translate(25px, -15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: var(--sp-32) var(--sp-6) var(--sp-16);
}

.hero-badge {
  display: inline-block;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  background: rgba(212,168,83,0.12);
  border: 1px solid rgba(212,168,83,0.25);
  color: var(--gold-400);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.01em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold-400), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-light-secondary);
  max-width: 700px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-light-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}













/* Special case: hero to light needs the hero bg */
.hero + 

/* ---------- Sections (shared) ---------- */
.section {
  padding: var(--sp-24) 0;
  position: relative;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
}

.section-accent {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative;
  overflow: hidden;
}

.section-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 10% 50%, rgba(45,212,191,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 50%, rgba(212,168,83,0.06) 0%, transparent 70%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.section-title-light {
  color: var(--white);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-desc-light {
  color: var(--text-light-secondary);
}

/* ---------- Features Grid (Who We Are) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212,168,83,0.1), rgba(45,212,191,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--navy-600);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
  color: var(--navy-900);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Business Grid ---------- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.business-card-inner {
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.business-card-inner:hover {
  transform: translateY(-4px);
}

.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.glass-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Animated gradient glow border */
.glow-border {
  position: relative;
  overflow: hidden;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    var(--gold-500),
    var(--teal-500),
    var(--gold-500),
    var(--teal-500),
    var(--gold-500)
  );
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
  z-index: -2;
  animation: glowRotate 4s linear infinite paused;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: var(--navy-900);
  z-index: -1;
}

.glow-border:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes glowRotate {
  to { transform: rotate(360deg); }
}

.business-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-4);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.business-card-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 1;
}

.business-card-inner p {
  color: var(--text-light-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
}

.business-tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.2);
  color: var(--teal-400);
  font-size: 0.8125rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ---------- Stats with SVG Progress Rings ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
}

.stat-ring-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--sp-4);
}

.stat-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.stat-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 4;
}

.stat-ring-fill {
  fill: none;
  stroke: url(#statGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 2s var(--ease-out);
}

/* Fallback gradient for rings - applied via JS */
.stat-ring-fill.animated {
  stroke: var(--gold-400);
}

.stat-ring-wrapper .stat-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-bottom: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

/* ---------- About Section ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  margin-bottom: var(--sp-24);
}

.about-content .section-label {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 5/6;
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.about-image-accent {
  position: absolute;
  inset: var(--sp-4);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xl);
  transform: translate(var(--sp-4), var(--sp-4));
  z-index: 0;
  opacity: 0.3;
}

/* Vision Mission Values */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-bottom: var(--sp-24);
}

.vmv-card {
  text-align: center;
  padding: var(--sp-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.vmv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-5);
  color: var(--gold-500);
}

.vmv-icon svg {
  width: 100%;
  height: 100%;
}

.vmv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: var(--sp-3);
}

.vmv-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Team */
.team-section {
  margin-bottom: var(--sp-24);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.team-card {
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  margin-bottom: var(--sp-4);
  position: relative;
  overflow: hidden;
}

.team-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.3) 0%, transparent 50%);
}

.team-info h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: var(--sp-1);
}

.team-info span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: var(--sp-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-500), var(--teal-500));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--sp-10);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--sp-10) + 8px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--bg-light);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.2);
}

.timeline-content {
  background: var(--white);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-content h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  margin: var(--sp-1) 0 var(--sp-2);
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.service-card {
  position: relative;
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,168,83,0.2);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(212,168,83,0.04), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-slow);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--sp-5);
  color: var(--teal-400);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.service-card p {
  color: var(--text-light-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.service-features {
  margin-bottom: var(--sp-5);
}

.service-features li {
  color: var(--text-light-secondary);
  font-size: 0.875rem;
  padding: var(--sp-1) 0;
  padding-left: var(--sp-5);
  position: relative;
}

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

.service-expand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--gold-400);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: gap var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.service-expand:hover {
  gap: var(--sp-3);
}

/* ---------- Regions ---------- */
.regions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.regions-map {
  position: sticky;
  top: 120px;
}

#regions-leaflet-map {
  width: 100%;
  height: 450px;
  background: #d4e6f1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 168, 83, 0.3);
}

/* Dark-themed Leaflet overrides */
#regions-leaflet-map 

/* Hide Leaflet attribution / zoom for visual-only map */
#regions-leaflet-map .leaflet-control-attribution,
#regions-leaflet-map .leaflet-control-zoom {
  display: none;
}

/* Gold pulse marker */
.leaflet-map-marker {
  width: 14px;
  height: 14px;
  background: var(--gold-500);
  border-radius: 50%;
  border: 2px solid rgba(212, 168, 83, 0.6);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.5);
  position: relative;
}

.leaflet-map-marker::before,
.leaflet-map-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  transform: translate(-50%, -50%);
  animation: leafletPulse 2.5s ease-out infinite;
}

.leaflet-map-marker::after {
  animation-delay: 1.2s;
}

.leaflet-map-marker.teal-marker {
  background: var(--teal-500);
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}

.leaflet-map-marker.teal-marker::before,
.leaflet-map-marker.teal-marker::after {
  border-color: var(--teal-500);
}

/* Marker label tooltip */
.leaflet-map-label {
  background: rgba(10, 22, 40, 0.9) !important;
  border: 1px solid rgba(212, 168, 83, 0.3) !important;
  border-radius: 6px !important;
  color: var(--gray-300) !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  white-space: nowrap !important;
}

.leaflet-map-label::before {
  border-top-color: rgba(10, 22, 40, 0.9) !important;
}

@keyframes leafletPulse {
  0% { width: 14px; height: 14px; opacity: 0.6; }
  100% { width: 50px; height: 50px; opacity: 0; }
}

.regions-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.region-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--sp-4);
  align-items: start;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal);
}

.region-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.region-flag {
  width: 60px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.region-flag svg {
  width: 100%;
  height: 100%;
}

.region-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: var(--sp-2);
  grid-column: 2;
}

.region-card > p {
  grid-column: 1 / -1;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.region-stats {
  grid-column: 1 / -1;
  display: flex;
  gap: var(--sp-6);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--gray-200);
  margin-top: var(--sp-3);
}

.region-stats span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.region-stats strong {
  color: var(--navy-800);
}

/* ---------- CTA Section ---------- */
.section-cta {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-5);
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.0625rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

.cta-buttons {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
}

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

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--sp-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-400);
  box-shadow: 0 0 0 4px rgba(35,70,128,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-8);
  color: var(--teal-600);
}

.form-success.show {
  display: block;
}

.form-success svg {
  margin: 0 auto var(--sp-3);
}

.form-success p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: var(--sp-4);
}

.office {
  margin-bottom: var(--sp-4);
}

.office:last-child {
  margin-bottom: 0;
}

.office h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--sp-1);
}

.office p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  color: var(--navy-600);
}

.contact-detail a {
  color: var(--navy-600);
  font-size: 0.9375rem;
  transition: color var(--duration-fast);
}

.contact-detail a:hover {
  color: var(--gold-600);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  display: inline-flex;
  gap: 0.2em;
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  color: var(--text-light-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links-group h4 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.footer-links-group a {
  color: var(--text-light-secondary);
  font-size: 0.875rem;
  display: block;
  padding: var(--sp-2) 0;
  transition: color var(--duration-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-light-secondary);
  font-size: 0.8125rem;
}

/* ---------- Reveal Animations ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children reveals */
.features-grid .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal-up:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal-up:nth-child(4) { transition-delay: 0.3s; }

.business-grid .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.business-grid .reveal-up:nth-child(3) { transition-delay: 0.2s; }
.business-grid .reveal-up:nth-child(4) { transition-delay: 0.3s; }

.stats-grid .reveal-up:nth-child(2) { transition-delay: 0.15s; }
.stats-grid .reveal-up:nth-child(3) { transition-delay: 0.3s; }
.stats-grid .reveal-up:nth-child(4) { transition-delay: 0.45s; }

.services-grid .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal-up:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal-up:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Magnetic Button Effect (applied via JS) ---------- */
.magnetic-btn {
  transition: transform 0.3s var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }

  .hero-shape {
    display: none;
  }

  .glow-border::before {
    display: none;
  }

  .stat-ring-fill {
    transition: none;
  }

  .hero-globe {
    display: none;
  }
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--sp-32) var(--sp-8) var(--sp-8);
    gap: var(--sp-4);
    transition: right var(--duration-slow) var(--ease-out);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.125rem;
  }

  .features-grid,
  .business-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .about-visual {
    order: -1;
  }

  .about-image {
    aspect-ratio: 16/10;
  }

  .vmv-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

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

  .regions-layout {
    grid-template-columns: 1fr;
  }

  .regions-map {
    position: relative;
    top: auto;
  }

  #regions-leaflet-map {
    height: 400px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  
}

/* Mobile */
@media (max-width: 640px) {
  .section {
    padding: var(--sp-16) 0;
  }

  .hero-content {
    padding: var(--sp-24) var(--sp-4) var(--sp-12);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

  .stat-card {
    padding: var(--sp-4);
  }

  .stat-ring-wrapper {
    width: 90px;
    height: 90px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }

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

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

  .region-card {
    grid-template-columns: 1fr;
  }

  .region-flag {
    width: 48px;
    height: 32px;
  }

  .region-card h3 {
    grid-column: 1;
  }

  .hero-shape {
    display: none;
  }

  
}

/* Small mobile */
@media (max-width: 375px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .stat-number {
    font-size: 1.5rem;
  }
}
