/* ============================================
   RAPID TOURS & TRAVELS - RapidWheels Rebrand
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Palette — RapidWheels Style */
  --primary-gradient: linear-gradient(135deg, #F5B819 0%, #F97316 100%);
  --primary-solid: #F5B819;
  --primary-hover: #F97316;

  /* Secondary & Accents */
  --accent: #F59E0B;
  /* Amber-500 */
  --accent-light: #FEF3C7;
  /* Amber-100 */
  --accent-glow: rgba(249, 115, 22, 0.15);
  /* Orange glow */

  /* Neutrals */
  --white: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.8);
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  /* Body Text */
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  /* Headings */

  /* Status */
  --success: #10B981;
  --danger: #EF4444;

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

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

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  /* Card Radius */
  --radius-full: 9999px;
  /* Pill Buttons */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  --shadow-colored: 0 4px 14px 0 rgba(249, 115, 22, 0.39);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);

  /* Layout */
  --container-max: 1280px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(245, 184, 25, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-900);
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

.section--dark {
  background: var(--white);
  /* Changed from dark to white for clean look */
  color: var(--gray-900);
}

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

.section--accent-bg {
  background: var(--primary-gradient);
  color: var(--white);
}

.section--accent-bg h1,
.section--accent-bg h2,
.section--accent-bg h3 {
  color: var(--white);
}

/* ---------- Typography ---------- */
.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.text-md {
  font-size: 1rem;
  line-height: 1.6;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-accent {
  color: var(--primary-solid);
}

.text-gold {
  color: var(--accent);
}

.text-muted {
  color: var(--gray-500);
}

.text-white {
  color: var(--white);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-solid);
  margin-bottom: var(--space-md);
  background: rgba(249, 115, 22, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.section-label::before {
  display: none;
  /* Remove line style */
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--gray-900);
  background: linear-gradient(to right, var(--gray-900), var(--gray-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.75;
}

/* ---------- Grid System ---------- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* Responsive Split Layout (Replaces inline 1fr 1fr) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* Founder/Profile Layout */
.profile-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

/* Featured Team Layout */
.team-featured-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 768px) {

  .split-layout,
  .team-featured-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Reset order for split layouts if needed */
  .split-layout>.highlight-box {
    order: -1;
  }
}

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

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

@media (max-width: 640px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
}

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

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

.flex-col {
  flex-direction: column;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

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

.gap-xl {
  gap: var(--space-xl);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-colored);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--gray-900);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-solid);
  border: 2px solid var(--primary-solid);
}

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

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 184, 25, 0.3);
}

.card--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--white);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card--dark {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  color: var(--gray-100);
}

.card--dark:hover {
  border-color: var(--gray-700);
}

.card--accent-border {
  border-left: 4px solid var(--primary-solid);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  color: var(--primary-solid);
  border: 1px solid rgba(249, 115, 22, 0.1);
}

.card--dark .card-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.card--dark .card-title {
  color: var(--white);
}

.card-text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.card--dark .card-text {
  color: var(--gray-400);
}

/* ---------- Navigation (injected by components.js) ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  text-decoration: none;
}

.nav-logo-icon {
  height: 48px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-logo span {
  color: var(--primary-solid);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.5);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
}

.nav-link {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--gray-900);
  background: rgba(0, 0, 0, 0.03);
}

.nav-link.active {
  color: var(--gray-900);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-dropdown-link:hover {
  color: var(--primary-solid);
  background: var(--gray-50);
}

.nav-cta {
  margin-left: var(--space-md);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-xl) var(--space-xl);
    gap: var(--space-sm);
    transition: right var(--transition-base);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 0;
  }

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

  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    color: var(--gray-800);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: var(--space-lg);
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--white);
  color: var(--gray-500);
  padding-top: var(--space-4xl);
  border-top: 1px solid var(--gray-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--gray-100);
}

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

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

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}



.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-link {
  color: var(--gray-500);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--primary-solid);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-100);
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
}

/* Updated Background for Hero */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 10;
}

.hero .container {
  position: relative;
  height: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-200);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  max-width: 540px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Floating Card - Glassmorphism */
.hero-float-card {
  position: absolute;
  right: var(--space-xl);
  top: 55%;
  transform: translateY(-50%);
  width: 420px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  padding: var(--space-xl);
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: transform 0.3s ease;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
}

/* Specific background colors for hero stats based on child icon classes */
.hero-stat-card:has(.icon-yellow) {
  background-color: rgb(254, 252, 232);
}

.hero-stat-card:has(.icon-pink) {
  background-color: rgb(253, 242, 248);
}

.hero-stat-card:has(.icon-purple) {
  background-color: rgb(250, 245, 255);
}

.hero-stat-card:has(.icon-teal) {
  background-color: rgb(240, 253, 250);
}

/* Fallback for browsers not supporting :has or explicit classes */
.hero-stat-card:nth-child(1) {
  background-color: rgb(254, 252, 232);
}

.hero-stat-card:nth-child(2) {
  background-color: rgb(253, 242, 248);
}

.hero-stat-card:nth-child(3) {
  background-color: rgb(250, 245, 255);
}

.hero-stat-card:nth-child(4) {
  background-color: rgb(240, 253, 250);
}


@keyframes float {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 10px));
  }
}

@media (max-width: 1024px) {
  .hero-float-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: var(--space-2xl);
    animation: none;
  }

  .hero {
    padding-bottom: var(--space-2xl);
  }
}

.hero-go-live-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gray-900);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  /* Reduced gap */
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-fast);
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  /* Circular icons */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.25rem;
}

.icon-orange {
  background: rgba(249, 115, 22, 0.1);
  color: #F97316;
}

.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.icon-teal {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ---------- Feature Lists ---------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.feature-list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.feature-list-text {
  font-size: 1.05rem;
  color: var(--gray-700);
  font-weight: 500;
}

.highlight-box {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: flex;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  margin-top: -60px;
  /* Overlap hero */
  position: relative;
  z-index: 20;
}

@media (max-width: 900px) {
  .stats-bar {
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-top: 0;
    padding: var(--space-xl);
  }
}

.stat-item {
  text-align: center;
  flex: 1;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--gray-100);
}

@media (max-width: 900px) {
  .stat-item:not(:last-child)::after {
    display: none;
  }

  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

/* Stat Item Backgrounds (Matching reference pale colors) */
.stat-item:nth-child(1) {
  background-color: rgb(254, 252, 232);
}

.stat-item:nth-child(2) {
  background-color: rgb(253, 242, 248);
}

.stat-item:nth-child(3) {
  background-color: rgb(250, 245, 255);
}

.stat-item:nth-child(4) {
  background-color: rgb(240, 253, 250);
}

@media (max-width: 900px) {
  .stat-item {
    flex-basis: 40%;
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--space-xs);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--gray-100);
  /* default */
  color: var(--primary-solid);
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

/* Icon Gradients (apply these classes in HTML) */
.card-icon.icon-yellow {
  background: linear-gradient(to bottom right, #FCD34D, #F59E0B);
  color: white;
}

.card-icon.icon-blue {
  background: linear-gradient(to bottom right, #60A5FA, #3B82F6);
  color: white;
}

.card-icon.icon-teal {
  background: linear-gradient(to bottom right, #2DD4BF, #0D9488);
  color: white;
}

.card-icon.icon-purple {
  background: linear-gradient(to bottom right, #C084FC, #9333EA);
  color: white;
}

.card-icon.icon-pink {
  background: linear-gradient(to bottom right, #F472B6, #DB2777);
  color: white;
}

.card-icon.icon-green {
  background: linear-gradient(to bottom right, #4ADE80, #16A34A);
  color: white;
}


/* HERO STATS GRID (2x2) */
.hero-stats-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  padding: var(--space-lg);
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  z-index: 10;
}

.golive-badge {
  position: absolute;
  top: -20px;
  right: 30px;
  background: #111827;
  color: #FCD34D;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: 24px;
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: #111827;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .hero-stats-wrapper {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: var(--space-2xl);
    max-width: 100%;
  }
}

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

/* ---------- Clients Strip ---------- */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity var(--transition-base);
}

.clients-strip:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray-400);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--primary-gradient);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  font-size: 1.2rem;
}

.cta-section .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary-solid);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

.cta-section .btn-primary:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s var(--ease-out) forwards;
}

.stagger-children>* {
  opacity: 0;
}

.stagger-children>*:nth-child(1) {
  animation: fadeIn 0.8s var(--ease-out) 0.1s forwards;
}

.stagger-children>*:nth-child(2) {
  animation: fadeIn 0.8s var(--ease-out) 0.2s forwards;
}

.stagger-children>*:nth-child(3) {
  animation: fadeIn 0.8s var(--ease-out) 0.3s forwards;
}

.stagger-children>*:nth-child(4) {
  animation: fadeIn 0.8s var(--ease-out) 0.4s forwards;
}

.stagger-children>*:nth-child(5) {
  animation: fadeIn 0.8s var(--ease-out) 0.5s forwards;
}

.stagger-children>*:nth-child(6) {
  animation: fadeIn 0.8s var(--ease-out) 0.6s forwards;
}

.fade-in-left {
  opacity: 0;
  animation: fadeInLeft 0.8s var(--ease-out) 0.2s forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right {
  opacity: 0;
  animation: fadeInRight 0.8s var(--ease-out) 0.4s forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Page Hero (used for sub-pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--white);
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.page-hero .hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--gray-400);
}

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

.breadcrumb .separator {
  color: var(--gray-500);
  font-size: 0.75rem;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
}



.stats-bar .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--gray-200);
}

.stats-bar .stat-number {
  font-size: 2.5rem;
  color: var(--accent);
}

.stats-bar .stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-xl);
  }

  .stats-bar .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stats-bar .stat-item::after {
    display: none !important;
  }
}

/* ---------- Icon & Highlight Boxes ---------- */
.icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Gradient Variants */
.icon-box--yellow,
.stat-icon-wrapper.icon-yellow {
  background: linear-gradient(to bottom right, #FCD34D, #F59E0B);
}

.icon-box--blue {
  background: linear-gradient(to bottom right, #60A5FA, #3B82F6);
}

.icon-box--teal,
.stat-icon-wrapper.icon-teal {
  background: linear-gradient(to bottom right, #2DD4BF, #0D9488);
}

.icon-box--purple,
.stat-icon-wrapper.icon-purple {
  background: linear-gradient(to bottom right, #C084FC, #9333EA);
}

.icon-box--pink,
.stat-icon-wrapper.icon-pink {
  background: linear-gradient(to bottom right, #F472B6, #DB2777);
}

.icon-box--green {
  background: linear-gradient(to bottom right, #4ADE80, #16A34A);
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
}

/* ---------- Client Logos ---------- */
.clients-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3xl);
  padding: var(--space-xl) 0;
}

.client-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-300);
  opacity: 0.5;
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
}

.client-logo:hover {
  opacity: 1;
  color: var(--accent);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--gold));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding-right: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  margin-left: 50%;
  padding-right: 0;
  padding-left: var(--space-3xl);
}

.timeline-dot {
  position: absolute;
  right: -8px;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -8px;
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-width: 400px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }
}

/* ---------- Team Cards ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

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

.team-card-avatar {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(242, 183, 5, 0.15) 0%, transparent 60%);
}

.team-card-avatar .initials {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  opacity: 0.9;
  z-index: 1;
}

.team-card-body {
  padding: var(--space-xl);
}

.team-card-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-700);
  /* Dark gray for better readability */
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 2;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
  /* Pure black for maximum contrast */
  margin-bottom: var(--space-sm);
}

.team-card-exp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.team-card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

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

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

/* Dark form variant */
.form--dark .form-label {
  color: var(--gray-300);
}

.form--dark .form-input,
.form--dark .form-select,
.form--dark .form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.form--dark .form-input:focus,
.form--dark .form-select:focus,
.form--dark .form-textarea:focus {
  border-color: var(--accent);
}

.form--dark .form-select {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

.form--dark .form-select option {
  background: #1a1a1a;
  color: #ffffff;
  padding: 8px;
}

.form-select option {
  background: #ffffff;
  color: #333333;
  padding: 8px;
}

/* ---------- Stepper / Process Steps ---------- */
.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: var(--space-2xl) 0;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 160px;
}

.stepper-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px rgba(242, 183, 5, 0.3);
}

.stepper-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.stepper-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
  }

  .stepper::before {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .stepper-step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-lg);
    max-width: none;
  }

  .stepper-number {
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children .fade-in:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .fade-in:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger-children .fade-in:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger-children .fade-in:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger-children .fade-in:nth-child(6) {
  transition-delay: 0.3s;
}

/* ---------- Misc Utilities ---------- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  border-radius: 2px;
  margin: var(--space-md) 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge--accent {
  background: var(--accent-glow);
  color: var(--accent);
}

.badge--gold {
  background: rgba(242, 183, 5, 0.15);
  color: var(--gold);
}

.badge--success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-box--accent {
  background: var(--accent-glow);
  color: var(--accent);
}

.icon-box--gold {
  background: rgba(242, 183, 5, 0.12);
  color: var(--gold);
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(242, 183, 5, 0.08);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

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

/* ---------- Org Chart ---------- */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  position: relative;
}

.org-node {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  min-width: 200px;
  transition: all var(--transition-base);
  position: relative;
}

.org-node:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.org-node--primary {
  background-color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
  border-color: var(--accent);
  color: var(--white);
}

.org-node-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.org-node--primary .org-node-title {
  color: var(--white);
}

.org-node-name {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.org-node--primary .org-node-name {
  color: var(--gray-300);
}

.org-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), var(--gray-300));
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  background: var(--accent);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: var(--primary-dark);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Feature List ---------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.feature-list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  font-size: 0.7rem;
}

.feature-list-text {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.section--dark .feature-list-text {
  color: var(--gray-600);
}

/* ---------- Tabs (Services Page) ---------- */
.tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s var(--ease-out);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Partner Benefits Grid ---------- */
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

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

.benefit-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-glow);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}

/* ---------- Contact Cards ---------- */
.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: var(--space-xs);
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(242, 183, 5, 0.2);
  color: var(--primary-dark);
}