/* ============================================================
   GOOD LIFE INTERNATIONAL — MAIN STYLESHEET
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand */
  --indigo:    #6366f1;
  --violet:    #8b5cf6;
  --violet-lt: #a78bfa;
  --indigo-dk: #4f46e5;
  --gold:      #f59e0b;
  --gold-lt:   #fbbf24;
  --emerald:   #10b981;
  --rose:      #f43f5e;

  /* Light theme */
  --bg:           #f8fafc;
  --bg-2:         #f1f5f9;
  --bg-card:      #ffffff;
  --bg-glass:     rgba(255,255,255,0.8);
  --surface:      #e2e8f0;
  --border:       #e2e8f0;
  --text:         #0f172a;
  --text-2:       #334155;
  --text-3:       #64748b;
  --text-inv:     #ffffff;
  --nav-bg:       rgba(248,250,252,0.85);
  --footer-bg:    #0f172a;
  --footer-text:  #94a3b8;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:       0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.15);
  --shadow-glow:  0 0 40px rgba(99,102,241,.25);

  /* Radius */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-full: 9999px;

  /* Transitions */
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --t-fast:     150ms;
  --t-base:     300ms;
  --t-slow:     600ms;

  /* Spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  /* Typography */
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg:           #070b14;
  --bg-2:         #0d1320;
  --bg-card:      #111827;
  --bg-glass:     rgba(17,24,39,0.85);
  --surface:      #1e293b;
  --border:       #1e293b;
  --text:         #f1f5f9;
  --text-2:       #cbd5e1;
  --text-3:       #94a3b8;
  --text-inv:     #0f172a;
  --nav-bg:       rgba(7,11,20,0.9);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow:       0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.7);
  --shadow-glow:  0 0 60px rgba(99,102,241,.35);
}

/* ── RESETS & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  transition: background var(--t-slow) var(--ease), color var(--t-slow) var(--ease);
  cursor: none; /* Hide default cursor */
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; cursor: none; }
.card, .feature-card, .country-card, .testimonial-card, label, [role="button"] { cursor: none; }
::selection { background: var(--indigo); color: white; }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: var(--r-full); }

/* ── SCROLL PROGRESS BAR ─────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--gold));
  width: 0%; transition: width .1s linear;
}

/* ── CUSTOM CURSOR (Redesigned Hand Pointer) ──────────── */
.custom-cursor, .custom-cursor-follower {
  position: fixed; pointer-events: none; z-index: 99999;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
}

.custom-cursor {
  width: 24px; height: 24px;
  color: var(--indigo);
  will-change: transform;
  z-index: 100000;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.custom-cursor svg {
  width: 100%; height: 100%;
  transform-origin: 2px 2px; /* Pivot about the tip */
  transform: rotate(20deg);
  transition: transform var(--t-base) var(--ease-spring);
}

.custom-cursor-follower {
  width: 30px; height: 30px;
  background: radial-gradient(circle, color-mix(in srgb, var(--indigo) 12%, transparent) 0%, transparent 75%);
  border: 1px solid color-mix(in srgb, var(--indigo) 20%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .22s var(--ease), width .4s var(--ease-spring), height .4s var(--ease-spring), background .4s var(--ease);
}

/* Hover States */
.custom-cursor.is-hovering svg {
  transform: scale(1.2) rotate(15deg); /* Base 20deg - 5deg wiggle */
  color: var(--violet);
}

.custom-cursor-follower.is-hovering {
  width: 64px; height: 64px;
  background: radial-gradient(circle, color-mix(in srgb, var(--violet) 25%, transparent) 0%, transparent 80%);
  border-color: color-mix(in srgb, var(--violet) 40%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--violet) 20%, transparent);
}

/* Clicking State */
.custom-cursor.is-clicking svg {
  transform: scale(0.9) rotate(30deg); /* Press down effect */
}

@media (hover: none) { .custom-cursor, .custom-cursor-follower { display: none; } }

/* ── PAGE LOADER ─────────────────────────────────────── */
/* ── PAGE LOADER (Redesigned) ────────────────────────── */
.page-loader {
  position: fixed; inset: 0; 
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; 
  transition: opacity 0.8s var(--ease), visibility 0.8s, transform 0.8s var(--ease);
}
.page-loader.hidden { 
  opacity: 0; 
  visibility: hidden; 
  transform: scale(1.05); /* Soft zoom-out on exit */
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s8);
  perspective: 1000px;
}

.loader-logo-container {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-square {
  z-index: 2;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(99,102,241,0.2));
}

.loader-logo-square svg {
  width: 80px;
  height: 80px;
  border-radius: 18px; /* Matching the logo's rx */
}

/* Rotating accent ring */
.loader-ring {
  position: absolute;
  inset: -10px;
  border: 2px solid transparent;
  border-top-color: var(--indigo);
  border-radius: 35%; /* Squircle-ish shape */
  animation: ringRotate 2s linear infinite;
  opacity: 0.4;
  z-index: 1;
}

.loader-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid transparent;
  border-bottom-color: var(--violet);
  border-radius: 40%;
  animation: ringRotate 3s linear infinite reverse;
}

.loader-status {
  width: 200px;
  text-align: center;
}

.loader-progress-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-bottom: var(--s3);
  animation: textPulse 1.5s ease-in-out infinite;
}

.loader-progress-track {
  width: 100%;
  height: 3px;
  background: var(--surface);
  border-radius: var(--r-full);
  overflow: hidden;
  position: relative;
}

.loader-progress-bar {
  position: absolute;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--indigo));
  background-size: 200% 100%;
  border-radius: var(--r-full);
  animation: progressMove 2s var(--ease) forwards, shimmer 1.5s linear infinite;
}

/* Animations */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes progressMove {
  0% { width: 0%; }
  25% { width: 30%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) var(--s6);
}
.nav-logo {
  display: flex; align-items: center; gap: var(--s3);
  text-decoration: none;
}
.logo-text { line-height: 1.1; }
.logo-name {
  display: block; font-family: var(--font-display);
  font-weight: 800; font-size: 1.05rem; color: var(--text);
}
.logo-sub {
  display: block; font-size: .65rem; color: var(--indigo);
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: var(--s2);
}
.nav-links a {
  padding: var(--s2) var(--s3); border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500; color: var(--text-2);
  transition: all var(--t-base) var(--ease); position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--indigo); background: rgba(99,102,241,.08);
}
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 50%;
  transform: translateX(-50%); width: 20px; height: 2px;
  background: var(--indigo); border-radius: var(--r-full);
}
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: var(--s2); }
.nav-dropdown > a i { font-size: .7rem; transition: transform var(--t-base) var(--ease); }
.nav-dropdown:hover > a i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s2);
  min-width: 220px; opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--t-base) var(--ease);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4); border-radius: var(--r-sm);
  font-size: .875rem; color: var(--text-2);
}
.dropdown-menu a i { width: 16px; color: var(--indigo); }
.dropdown-menu a:hover { background: rgba(99,102,241,.08); color: var(--indigo); }

.nav-actions { display: flex; align-items: center; gap: var(--s3); }

/* Theme Toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base) var(--ease); position: relative; overflow: hidden;
}
.theme-toggle:hover { background: rgba(99,102,241,.15); border-color: var(--indigo); }
.theme-icon { position: absolute; transition: all var(--t-base) var(--ease); font-size: .9rem; }
.theme-icon.sun { color: var(--gold); }
.theme-icon.moon { color: var(--violet-lt); }
.theme-icon.system { color: var(--indigo); }
[data-theme-setting="dark"] .theme-icon.sun { transform: translateY(-30px); opacity: 0; }
[data-theme-setting="dark"] .theme-icon.moon { transform: translateY(0); opacity: 1; }
[data-theme-setting="dark"] .theme-icon.system { transform: translateY(30px); opacity: 0; }
[data-theme-setting="light"] .theme-icon.sun { transform: translateY(0); opacity: 1; }
[data-theme-setting="light"] .theme-icon.moon { transform: translateY(30px); opacity: 0; }
[data-theme-setting="light"] .theme-icon.system { transform: translateY(30px); opacity: 0; }
[data-theme-setting="system"] .theme-icon.sun { transform: translateY(-30px); opacity: 0; }
[data-theme-setting="system"] .theme-icon.moon { transform: translateY(30px); opacity: 0; }
[data-theme-setting="system"] .theme-icon.system { transform: translateY(0); opacity: 1; }

.btn-nav-cta {
  padding: var(--s2) var(--s5); border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white; font-weight: 600; font-size: .875rem;
  transition: all var(--t-base) var(--ease-spring);
  box-shadow: 0 4px 15px rgba(99,102,241,.4);
}
.btn-nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 25px rgba(99,102,241,.55);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: var(--s2); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 999; backdrop-filter: blur(4px);
}
.mobile-overlay.active { display: block; }

/* ── BUTTONS (global) ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s8); border-radius: var(--r-full);
  font-weight: 600; font-size: .95rem;
  transition: all var(--t-base) var(--ease-spring);
  cursor: pointer; border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white; box-shadow: 0 4px 20px rgba(99,102,241,.4);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(99,102,241,.55);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--indigo); color: var(--indigo);
  background: rgba(99,102,241,.06); transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #1a1a1a; box-shadow: 0 4px 20px rgba(245,158,11,.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(245,158,11,.5); }
.btn-ghost {
  background: var(--bg-glass); backdrop-filter: blur(10px);
  border: 1px solid var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--indigo); transform: translateY(-2px); }
.btn-lg { padding: var(--s4) var(--s10); font-size: 1.05rem; }
.btn-sm { padding: var(--s2) var(--s5); font-size: .82rem; }

/* ── SECTION COMMONS ─────────────────────────────────── */
.section {
  padding: var(--s24) var(--s6);
  position: relative;
}
.section-sm { padding: var(--s16) var(--s6); }
.container {
  max-width: 1220px; margin: 0 auto;
}
.section-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s4); border-radius: var(--r-full);
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  color: var(--indigo); font-size: .8rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: var(--s4);
}
.section-heading {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15;
  color: var(--text); margin-bottom: var(--s4);
}
.section-subheading {
  font-size: 1.05rem; color: var(--text-3); max-width: 620px;
  line-height: 1.7; margin-bottom: var(--s10);
}
.text-center { text-align: center; }
.text-center .section-subheading { margin-left: auto; margin-right: auto; }
.grad-text {
  background: linear-gradient(135deg, var(--indigo), var(--violet), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(99,102,241,.3);
}
.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.12);
}

/* ── GRID UTILS ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s6); }
.grid-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--s6); }

/* ── TWEMOJI ─────────────────────────────────────────── */
img.emoji { width: 1.2em; height: 1.2em; vertical-align: -0.15em; display: inline; border-radius: 0; box-shadow: none; }

/* ── ANIMATIONS (entry) ──────────────────────────────── */
.fade-up    { opacity: 0; transform: translateY(40px); }
.fade-in    { opacity: 0; }
.fade-left  { opacity: 0; transform: translateX(-40px); }
@media (max-width: 768px) {
  .fade-left, .fade-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.fade-right { opacity: 0; transform: translateX(40px); }
.scale-in   { opacity: 0; transform: scale(.9); }
.animated   { opacity: 1 !important; transform: none !important; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ── STAT COUNTER ────────────────────────────────────── */
.stat-card {
  text-align: center; padding: var(--s8) var(--s6);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); position: relative; overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--indigo), var(--violet));
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stat-label { color: var(--text-3); font-size: .9rem; margin-top: var(--s2); font-weight: 500; }
.stat-icon { font-size: 2rem; margin-bottom: var(--s3); color: var(--indigo); opacity: .35; }

/* ── ICON BOXES ──────────────────────────────────────── */
.icon-box {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(139,92,246,.15));
  color: var(--indigo);
  transition: all var(--t-base) var(--ease);
}
.card:hover .icon-box {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white; transform: rotate(-5deg) scale(1.1);
}
.icon-box-lg { width: 72px; height: 72px; font-size: 1.8rem; border-radius: var(--r-lg); }
.icon-box-sm { width: 40px; height: 40px; font-size: 1rem; border-radius: var(--r-sm); }

/* ── BADGE PILL ──────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 600;
}
.badge-indigo { background: rgba(99,102,241,.15); color: var(--indigo); }
.badge-gold   { background: rgba(245,158,11,.15);  color: var(--gold); }
.badge-green  { background: rgba(16,185,129,.15);  color: var(--emerald); }
.badge-rose   { background: rgba(244,63,94,.15);   color: var(--rose); }

/* ── DIVIDER ─────────────────────────────────────────── */
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: var(--s10) 0;
}

/* ── TAG CLOUD ───────────────────────────────────────── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: var(--s2); }
.tag {
  padding: var(--s2) var(--s4); border-radius: var(--r-full);
  background: var(--bg-2); border: 1px solid var(--border);
  font-size: .82rem; color: var(--text-2);
  transition: all var(--t-base) var(--ease);
}
.tag:hover {
  background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.4);
  color: var(--indigo); transform: translateY(-2px);
}

/* ── PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  min-height: 42vh; display: flex; align-items: center;
  padding: 120px var(--s6) var(--s16);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}
.page-hero-bg::before {
  content: ''; position: absolute;
  top: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
  border-radius: 50%; animation: floatBg 8s ease-in-out infinite;
}
.page-hero-bg::after {
  content: ''; position: absolute;
  bottom: -100px; left: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,.08) 0%, transparent 70%);
  border-radius: 50%; animation: floatBg 10s ease-in-out infinite reverse;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1;
  margin-bottom: var(--s4);
}
.page-hero-sub { font-size: 1.1rem; color: var(--text-3); max-width: 540px; }
.breadcrumb {
  display: flex; align-items: center; gap: var(--s2);
  font-size: .85rem; color: var(--text-3); margin-bottom: var(--s5);
}
.breadcrumb a { color: var(--indigo); }
.breadcrumb i { font-size: .65rem; }

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

/* ── BACK TO TOP ─────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(99,102,241,.45);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--t-base) var(--ease-spring);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.08); }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  position: relative;
}
.footer-wave {
  color: var(--bg); position: relative; overflow: hidden;
  height: 60px; margin-bottom: -2px;
}
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-main { padding: var(--s16) var(--s6) var(--s10); }
.footer-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--s10);
}
.footer-logo { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.footer-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #f1f5f9; }
.footer-brand-sub   { font-size: .72rem; color: #64748b; }
.footer-desc { font-size: .9rem; line-height: 1.7; margin-bottom: var(--s4); }
.footer-license {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s4); background: rgba(99,102,241,.15);
  border-radius: var(--r-full); font-size: .78rem; color: var(--indigo);
  margin-bottom: var(--s5);
}
.footer-social { display: flex; gap: var(--s3); }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: #94a3b8;
  transition: all var(--t-base) var(--ease);
}
.footer-social a:hover {
  background: var(--indigo); border-color: var(--indigo); color: white;
  transform: translateY(-3px);
}
.footer-heading { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #f1f5f9; margin-bottom: var(--s5); }
.footer-links li + li { margin-top: var(--s3); }
.footer-links a {
  font-size: .875rem; color: var(--footer-text);
  display: flex; align-items: center; gap: var(--s2);
  transition: all var(--t-base) var(--ease);
}
.footer-links a i { font-size: .65rem; color: var(--indigo); transition: transform var(--t-base) var(--ease); }
.footer-links a:hover { color: white; padding-left: var(--s2); }
.footer-links a:hover i { transform: translateX(3px); }
.footer-contact-list li {
  display: flex; gap: var(--s3); margin-bottom: var(--s4);  font-size: .875rem;
}
.footer-contact-list i { color: var(--indigo); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: var(--footer-text); transition: color var(--t-fast); }
.footer-contact-list a:hover { color: white; }

.footer-newsletter {
  max-width: 1220px; margin: var(--s12) auto 0;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--r-lg); padding: var(--s8) var(--s10);
}
.newsletter-content { display: flex; align-items: center; justify-content: space-between; gap: var(--s8); flex-wrap: wrap; }
.newsletter-text h4 { font-family: var(--font-display); font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.newsletter-text p  { font-size: .875rem; color: var(--footer-text); }
.newsletter-form { display: flex; gap: var(--s3); flex-shrink: 0; }
.newsletter-form input {
  padding: var(--s3) var(--s5); border-radius: var(--r-full);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #f1f5f9; font-size: .9rem; min-width: 260px; outline: none;
  transition: border-color var(--t-base);
}
.newsletter-form input:focus { border-color: var(--indigo); }
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form button {
  padding: var(--s3) var(--s6); border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white; font-weight: 600; font-size: .875rem;
  display: flex; align-items: center; gap: var(--s2);
  transition: all var(--t-base) var(--ease-spring);
}
.newsletter-form button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99,102,241,.4); }

.footer-downloads {
  max-width: 1220px; margin: var(--s6) auto 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3);
}
.footer-dl-label { font-size: .82rem; color: var(--footer-text); display: flex; align-items: center; gap: var(--s2); }
.footer-dl-label i { color: var(--indigo); }
.footer-dl-btn {
  padding: var(--s2) var(--s4); border-radius: var(--r-full);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #94a3b8; font-size: .78rem; display: flex; align-items: center; gap: 6px;
  transition: all var(--t-base) var(--ease);
}
.footer-dl-btn:hover { background: rgba(99,102,241,.2); border-color: var(--indigo); color: white; transform: translateY(-2px); }
.footer-dl-btn i { color: var(--rose); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: var(--s5) var(--s6);
}
.footer-bottom-inner {
  max-width: 1220px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
}
.footer-bottom p { font-size: .82rem; color: #475569; }
.footer-bottom-links { display: flex; gap: var(--s5); }
.footer-bottom-links a { font-size: .82rem; color: #475569; transition: color var(--t-fast); }
.footer-bottom-links a:hover { color: var(--indigo); }

/* ── FLOATING ELEMENTS & DECOR ───────────────────────── */
.floating-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.shape {
  position: absolute; border-radius: 50%; opacity: .2;
  animation: shapeFloat 12s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; background: radial-gradient(circle, var(--indigo), transparent); }
.shape-2 { width: 300px; height: 300px; bottom: -50px; left: -50px; background: radial-gradient(circle, var(--violet), transparent); animation-delay: -4s; }
.shape-3 { width: 200px; height: 200px; top: 40%; left: 20%; background: radial-gradient(circle, var(--gold), transparent); animation-delay: -8s; opacity: .12; }
@keyframes shapeFloat {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  33%      { transform: translate(20px,-20px) rotate(60deg) scale(1.05); }
  66%      { transform: translate(-15px,15px) rotate(-30deg) scale(.96); }
}

/* ── GLOW RING ───────────────────────────────────────── */
.glow-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(99,102,241,.2);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* ── FORM ELEMENTS ───────────────────────────────────── */
.form-group { margin-bottom: var(--s5); }
.form-label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--text-2); margin-bottom: var(--s2);
}
.form-control {
  width: 100%; padding: var(--s3) var(--s5);
  background: var(--bg-2); border: 1.5px solid var(--border);
  border-radius: var(--r-md); color: var(--text); font-size: .95rem;
  transition: all var(--t-base) var(--ease); outline: none;
}
.form-control:focus {
  border-color: var(--indigo); background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── TABS ────────────────────────────────────────────── */
.tabs { display: flex; gap: var(--s2); margin-bottom: var(--s8); border-bottom: 1px solid var(--border); }
.tab-btn {
  padding: var(--s3) var(--s5); font-size: .9rem; font-weight: 600;
  color: var(--text-3); border-radius: var(--r-sm) var(--r-sm) 0 0;
  border-bottom: 2px solid transparent; transition: all var(--t-base) var(--ease); background: none;
}
.tab-btn.active { color: var(--indigo); border-bottom-color: var(--indigo); background: rgba(99,102,241,.06); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeInTab .3s var(--ease); }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── ACCORDION ───────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; margin-bottom: var(--s3);
  transition: border-color var(--t-base);
}
.accordion-item.open { border-color: rgba(99,102,241,.35); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--s5) var(--s6); background: var(--bg-card);
  font-size: .95rem; font-weight: 600; color: var(--text); text-align: left;
  transition: background var(--t-base);
}
.accordion-trigger:hover { background: rgba(99,102,241,.04); }
.accordion-icon {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: rgba(99,102,241,.1); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; transition: transform var(--t-base) var(--ease), background var(--t-base);
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--indigo); color: white; }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .3s;
  background: var(--bg-2);
}
.accordion-body-inner { padding: var(--s5) var(--s6); font-size: .9rem; color: var(--text-2); line-height: 1.8; }
.accordion-item.open .accordion-body { max-height: 600px; }

/* ── TIMELINE ────────────────────────────────────────── */
.timeline { position: relative; padding-left: var(--s10); }
.timeline::before {
  content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--indigo), var(--violet), transparent);
}
.timeline-item { position: relative; margin-bottom: var(--s10); }
.timeline-dot {
  position: absolute; left: calc(-1 * var(--s10) + 10px);
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--indigo);
  top: 6px; transition: all var(--t-base) var(--ease);
}
.timeline-item:hover .timeline-dot { transform: scale(1.4); }
.timeline-step { font-size: .75rem; font-weight: 700; color: var(--indigo); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.timeline-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: var(--s2); }
.timeline-desc { font-size: .9rem; color: var(--text-3); line-height: 1.7; }

/* ── COUNTRY CARD ────────────────────────────────────── */
.country-card {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/3; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.country-card:hover {
  transform: scale(1.045);
  box-shadow: 0 20px 56px rgba(0,0,0,.55);
  z-index: 2;
}
.country-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.country-card:hover img { transform: scale(1.08); }
.country-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
  transition: background .35s var(--ease);
}
.country-card:hover .country-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.93) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2) 100%);
}
.country-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--s6); transform: translateY(8px);
  transition: transform .35s var(--ease);
}
.country-card:hover .country-info { transform: translateY(0); }
.country-flag { margin-bottom: var(--s2); line-height: 1; display: inline-flex; align-items: center; }
.country-flag-img {
  display: inline-block;
  vertical-align: middle;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  aspect-ratio: 4 / 3;
  height: 1.25em;
  width: auto;
}
.hero-country-tag .country-flag-img,
.country-flag-img.hero-flag-img {
  height: 1.1em;
  border-radius: 3px;
  margin-right: 5px;
}
.country-flag-img.flag-sm {
  height: 18px;
  border-radius: 3px;
}
.country-flag-img.flag-md {
  height: 28px;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.country-flag-img.flag-lg {
  height: 42px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.country-flag-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.25em;
  vertical-align: middle;
}
.hero-country-tag .country-flag-emoji,
.country-flag-emoji.hero-flag-img {
  font-size: 1.1em;
  margin-right: 4px;
}
.country-flag-emoji.flag-sm {
  font-size: 1.1em;
}
.country-flag-emoji.flag-md {
  font-size: 1.8em;
}
.country-flag-emoji.flag-lg {
  font-size: 2.5em;
}
.country-flag .country-flag-img,
.country-flag .country-flag-emoji,
.country-flag img.emoji { width: 36px !important; height: 27px !important; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.4); display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; object-fit: cover; }
.country-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: white; }
.country-sub  { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 4px; }


/* ── TESTIMONIAL ─────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s8);
  position: relative; transition: all var(--t-base) var(--ease);
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: var(--s4); left: var(--s6);
  font-size: 5rem; line-height: 1; color: var(--indigo); opacity: .15;
  font-family: Georgia, serif;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--gold); font-size: .85rem; margin-bottom: var(--s3); }
.testimonial-text { font-size: .95rem; color: var(--text-2); line-height: 1.8; margin-bottom: var(--s5); }
.testimonial-author { display: flex; align-items: center; gap: var(--s3); }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .78rem; color: var(--text-3); }

/* ── NOTIFICATION TOAST ──────────────────────────────── */
.toast-container { position: fixed; bottom: 80px; right: 28px; z-index: 10000; display: flex; flex-direction: column; gap: var(--s3); }
.toast {
  padding: var(--s4) var(--s5); border-radius: var(--r-md);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: var(--s3);
  font-size: .875rem; font-weight: 500; min-width: 280px;
  animation: toastIn .3s var(--ease-spring);
}
.toast.success { border-left: 3px solid var(--emerald); }
.toast.error   { border-left: 3px solid var(--rose); }
.toast-icon { font-size: 1rem; }
.toast.success .toast-icon { color: var(--emerald); }
.toast.error   .toast-icon { color: var(--rose); }
@keyframes toastIn { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:none; } }

/* ── WHATSAPP FLOAT ──────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 800;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: white; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: all var(--t-base) var(--ease-spring);
  animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); }
@keyframes whatsappPulse {
  0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 8px 40px rgba(37,211,102,.7); }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 100%; min-height: 100vh; background: var(--bg-card);
    flex-direction: column; align-items: stretch;
    padding: 80px var(--s5) var(--s6); gap: 0; z-index: 1000;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,.3); transition: right .35s var(--ease);
  }
  .nav-links.open { right: 0; }
  .nav-links > li { border-bottom: 1px solid var(--border); }
  .nav-links a { width: 100%; padding: var(--s4) var(--s5); font-size: 1.1rem; display: flex; align-items: center; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg-2); margin-top: var(--s1); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .card { padding: var(--s4); }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-content { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .section { padding: var(--s16) var(--s5); }
}
@media (max-width: 480px) {
  .btn-lg { padding: var(--s4) var(--s8); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ── HERO GRADIENT BG OVERLAY ────────────────────────────── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(99,102,241,.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(139,92,246,.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

/* ── GLASS MORPHISM NAVBAR (enhanced) ───────────────────── */
[data-theme="dark"] .navbar {
  background: rgba(7,11,20,0.88);
  border-bottom-color: rgba(255,255,255,.06);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(7,11,20,0.96);
}

/* ── MOBILE NAV CLOSE BUTTON ────────────────────────────── */
.nav-close-item { display: none; }
.nav-close-btn {
  display: flex; align-items: center; gap: var(--s2);
  background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--text-2);
  padding: var(--s3) var(--s5); width: 100%;
  transition: color var(--t-base) var(--ease);
}
.nav-close-btn:hover { color: var(--indigo); }
.nav-close-btn i { font-size: .9rem; }

/* ── MOBILE NAV (enhanced) ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    padding-top: 16px;
  }
  .nav-close-item { display: block; border-bottom: 2px solid var(--border); margin-bottom: var(--s2); }
  .nav-links > li { width: 100%; }
  .nav-links a.active::after { display: none; }
  .btn-nav-cta { display: none; }
  .nav-actions { gap: var(--s2); }
  .dropdown-menu { padding-left: var(--s4); }
  .dropdown-menu a { font-size: 1rem; padding: var(--s3) var(--s5); }
}

/* ── HERO RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero-content { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-eyebrow { justify-content: center; }
}

/* ── SECTION HEADING RESPONSIVE ─────────────────────────── */
@media (max-width: 640px) {
  .section-heading { font-size: 1.8rem; }
  .page-hero-title { font-size: 2rem; }
  .cta-title { font-size: 1.8rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
  .footer-downloads { flex-direction: column; align-items: flex-start; }
}

/* ── TIMELINE RESPONSIVE ─────────────────────────────────── */
@media (max-width: 640px) {
  .timeline { padding-left: var(--s8); }
  .timeline-dot { left: calc(-1 * var(--s8) + 8px); }
}

/* ── IMPROVE CARD HOVER ON TOUCH ─────────────────────────── */
@media (hover: none) {
  .card:hover,
  .feature-card:hover,
  .stat-card:hover,
  .testimonial-card:hover { transform: none; }
}

/* ── PRINT STYLES ────────────────────────────────────────── */
@media print {
  .navbar, .whatsapp-float, .back-to-top, .page-loader,
  .custom-cursor, .custom-cursor-follower, .scroll-progress { display: none !important; }
  body { background: white; color: black; }
  .section, .section-sm { padding: 20px 0; }
  .btn { border: 1px solid #ccc; }
  * { box-shadow: none !important; }
}

/* ── DARK MODE MAP FILTER ─────────────────────────────────── */
[data-theme="dark"] iframe {
  filter: invert(0.88) hue-rotate(180deg) brightness(0.85) contrast(1.1);
}

/* ── FOCUS VISIBLE (accessibility) ───────────────────────── */
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 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; }
}

/* ── SMOOTH IMAGE LOADING ────────────────────────────────── */
img { transition: opacity .3s var(--ease); }
img[loading="lazy"] { opacity: 0; }
img[loading="lazy"].loaded { opacity: 1; }

/* ── NUMBER DIVIDERS IN HERO STAT ────────────────────────── */
.hero-stats .hero-stat-divider {
  align-self: stretch;
}

/* ── SCROLL SNAP HINTS ───────────────────────────────────── */
.marquee-section {
  user-select: none;
  -webkit-user-select: none;
}

/* ── ACCORDION SMOOTH SCROLL FIX ────────────────────────── */
.accordion-body {
  will-change: max-height;
}

/* ── FOOTER WAVE COLOR PATCH ──────────────────────────────── */
[data-theme="dark"] .footer-wave { color: var(--bg); }
[data-theme="light"] .footer-wave { color: var(--bg); }

/* ── BUTTON RIPPLE EFFECT ─────────────────────────────────── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-base);
  border-radius: inherit;
}
.btn:active::after { background: rgba(255,255,255,0.15); }

/* ── GRADIENT BORDER CARDS ───────────────────────────────── */
.card-gradient-border {
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, var(--indigo), var(--violet)) border-box;
  border: 1.5px solid transparent;
}

/* ── GLOW BUTTON VARIANT ─────────────────────────────────── */
.btn-glow {
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(99,102,241,.4); }
  50%      { box-shadow: 0 4px 40px rgba(99,102,241,.75), 0 0 60px rgba(139,92,246,.3); }
}

/* ── TAG CLOUD STAGGER ANIMATIONS ────────────────────────── */
.tag-cloud .tag {
  animation: tagFadeIn .4s var(--ease) both;
}
.tag-cloud .tag:nth-child(1)  { animation-delay: .05s; }
.tag-cloud .tag:nth-child(2)  { animation-delay: .10s; }
.tag-cloud .tag:nth-child(3)  { animation-delay: .15s; }
.tag-cloud .tag:nth-child(4)  { animation-delay: .20s; }
.tag-cloud .tag:nth-child(5)  { animation-delay: .25s; }
.tag-cloud .tag:nth-child(6)  { animation-delay: .30s; }
.tag-cloud .tag:nth-child(n+7){ animation-delay: .35s; }
@keyframes tagFadeIn { from { opacity:0; transform: translateY(8px) scale(.95); } to { opacity:1; transform:none; } }

/* ── WHY ITEM HOVER POLISH ────────────────────────────────── */
.why-item:hover .why-item-icon {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white;
}
.why-item:hover .why-item-title { color: var(--indigo); }

/* ── TESTIMONIAL STARS HOVER ──────────────────────────────── */
.testimonial-card:hover .testimonial-stars { color: var(--gold-lt); }

/* ── LOADING SKELETON ─────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--border) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── ACTIVE NAV HIGHLIGHT (mobile) ───────────────────────── */
@media (max-width: 768px) {
  .nav-links a.active {
    background: rgba(99,102,241,.1);
    color: var(--indigo);
    border-left: 4px solid var(--indigo);
    padding-left: calc(var(--s5) - 4px);
  }
}

/* ── UTILITY CLASSES ──────────────────────────────────────── */
.mt-auto { margin-top: auto; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: var(--s2); }
.gap-4 { gap: var(--s4); }
.w-full { width: 100%; }
.opacity-0 { opacity: 0; }
.pointer-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }

/* ── CTA BANNER (Global) ─────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 60%, #7c3aed 100%);
  padding: var(--s20) var(--s6); position: relative; overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.2rem); color: white;
  margin-bottom: var(--s5); position: relative; z-index: 1;
  line-height: 1.1;
}
.cta-desc { 
  font-size: 1.15rem; color: rgba(255,255,255,.85); 
  margin-bottom: var(--s10); position: relative; z-index: 1; 
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.cta-actions { 
  display: flex; align-items: center; justify-content: center; 
  gap: var(--s5); flex-wrap: wrap; position: relative; z-index: 1; 
}
.btn-white { background: white; color: var(--indigo); font-weight: 700; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,.4); color: white; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: white; transform: translateY(-2px); }

@media (max-width: 640px) {
  .cta-banner { padding: var(--s16) var(--s5); }
  .cta-title { font-size: 1.8rem; }
  .cta-desc { font-size: 1rem; }
}

/* Image with badge */
.img-badge-wrap { position: relative; }
.img-badge-wrap img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.img-badge {
  position: absolute; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s4) var(--s5); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: var(--s3);
}
.img-badge-right { right: -24px; bottom: 40px; animation: cardFloat 5s 1s ease-in-out infinite; }
.img-badge-left  { left: -24px; top: 40px; animation: cardFloat 5s 2s ease-in-out infinite; }

/* ── BEAUTIFUL JOB CARD & MEDIA DISPLAY ──────────────── */
.card-job {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 420px;
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl, 16px);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base) var(--ease);
}
.card-job:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 16px 36px rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.35);
}

.job-card-media {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  cursor: pointer;
}
.job-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-job:hover .job-card-media img {
  transform: scale(1.08);
}
.job-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0) 45%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.card-job:hover .job-card-overlay {
  opacity: 0.85;
}

.job-card-badge-tl {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.job-card-badge-tr {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.job-glass-pill {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.job-glass-pill-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(217, 119, 6, 0.95));
  border-color: rgba(255, 255, 255, 0.3);
}

.job-card-content {
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.job-fallback-banner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.75rem;
}

/* Modal styling for job details */
.job-modal-header-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* ── BIG IMAGE POPUP LIGHTBOX ────────────────────────── */
.job-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.job-img-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.job-img-lightbox-card {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.job-img-lightbox.active .job-img-lightbox-card {
  transform: scale(1);
}

.job-img-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.job-img-lightbox-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin: 0;
}

.job-img-lightbox-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.job-img-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.job-img-lightbox-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d16;
  max-height: 75vh;
  overflow: hidden;
  padding: 8px;
}

.job-img-lightbox-body img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.job-media-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}
.job-card-media:hover .job-media-zoom-overlay {
  opacity: 1;
}
.job-zoom-pill {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(8px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.job-card-media:hover .job-zoom-pill {
  transform: translateY(0);
}


