/* ============================================================
   HumbleWalking — Premium Warm Beige + Steel Blue Aesthetic
   Masters Counselling Platform Redesign
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* TEMPORARILY HIDE BLOGS FOR DEPLOYMENT */
/* Disable clicking the main dropdown trigger but keep it visible for hover */
.nav-dropdown>a[href="/blog.html"],
.nav-dropdown>a[href="blog.html"] {
  pointer-events: none;
}

/* Hide the actual Journal sub-links and the blog section on the homepage */
.nav-dropdown-menu>a[href="/blog.html"],
.nav-dropdown-menu>a[href="blog.html"],
#blogs,
.footer-links a[href="/blog.html"] {
  display: none !important;
}

:root {
  /* Core Colours - Updated to New Premium Theme */
  --primary-blue: #0c3272;
  --deep-navy: #04193a;
  --soft-indigo: #1a5196;
  --emerald-green: #059669;
  --amber-gold: #c9973a;
  --rose-red: #E11D48;
  --warm-cream: #f7f9fc;
  --soft-blue-tint: rgba(12, 50, 114, 0.08);
  --slate-dark: #0a1f44;
  --light-border: rgba(12, 50, 114, 0.1);
  --teal: #2DD4BF;

  /* Mapped Variables to maintain existing classes where applicable */
  --primary: var(--deep-navy);
  --secondary: var(--slate-dark);
  --accent: var(--amber-gold);
  --accent-light: var(--soft-blue-tint);
  --bg-main: #FFFFFF;
  --bg-alt: var(--warm-cream);
  --surface: #FFFFFF;
  --text-main: var(--slate-dark);
  --text-muted: #5a6a8a;
  --border-light: var(--light-border);
  --border-hover: #0c3272;

  /* Spacing Scale (consistent across all sections) */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 1rem;
  /* 16px */
  --space-md: 1.5rem;
  /* 24px */
  --space-lg: 2.5rem;
  /* 40px */
  --space-xl: 4rem;
  /* 64px */
  --space-2xl: 6rem;
  /* 96px */
  --space-section: 6rem;
  /* Consistent section padding */

  --font-display: "Twemoji Country Flags", 'Playfair Display', serif;
  --font-body: "Twemoji Country Flags", 'DM Sans', sans-serif;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 20px rgba(4, 25, 58, 0.04);
  --shadow-md: 0 10px 30px rgba(4, 25, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(4, 25, 58, 0.12);

  /* Shadows */
  --shadow-lift-sm: 3px 3px 0px var(--primary);
  --shadow-lift-md: 5px 5px 0px var(--primary);
  --shadow-lift-lg: 8px 8px 0px var(--primary);
  --shadow-lift-xl: 12px 12px 0px var(--primary);
  --shadow-lift-blue: 5px 5px 0px var(--accent);
  --shadow-lift-amber: 5px 5px 0px var(--amber-gold);
}

/* ============================================================
   THEME UTILITY CLASSES (Secondary Color Support)
   ============================================================ */
.theme-emerald {
  --accent: var(--emerald-green);
  --accent-light: #ecfdf5;
  --border-hover: rgba(5, 150, 105, 0.3);
  --primary-blue: var(--emerald-green);
  /* overrides gradients if they use primary-blue */
}

.theme-amber {
  --accent: var(--amber-gold);
  --accent-light: #fffbeb;
  --border-hover: rgba(217, 119, 6, 0.3);
  --primary-blue: var(--amber-gold);
}

.theme-rose {
  --accent: var(--rose-red);
  --accent-light: #fff1f2;
  --border-hover: rgba(225, 29, 72, 0.3);
  --primary-blue: var(--rose-red);
}

.theme-indigo {
  --accent: var(--soft-indigo);
  --accent-light: #eef2ff;
  --border-hover: rgba(79, 70, 229, 0.3);
  --primary-blue: var(--soft-indigo);
}

/* ============================================================
   AMBIENT & PREMIUM UTILITY CLASSES
   ============================================================ */

/* --- Warm Metallic Accents --- */
.text-metallic {
  color: #D4AF37 !important;
  /* Premium Champagne Gold */
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  letter-spacing: 0.1em;
}

.border-metallic {
  border-color: rgba(212, 175, 55, 0.5) !important;
}

/* --- Electric Success Colors --- */
.text-success-glow {
  color: #10B981 !important;
  /* Electric Mint Green */
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.6), 0 0 40px rgba(16, 185, 129, 0.3);
}

/* --- Ambient Glow Backgrounds --- */
.ambient-container {
  position: relative;
  overflow: hidden;
}

.ambient-glow-1,
.ambient-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
  animation: floatOrb 15s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: #0ea5e9;
  /* Cyan */
}

.ambient-glow-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: #8b5cf6;
  /* Violet */
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, 30px) scale(1.1);
  }

  100% {
    transform: translate(-30px, 50px) scale(0.9);
  }
}

/* --- Reset & Smooth Scroll --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Base Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--deep-navy), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--slate-dark);
}

p {
  font-size: 1.125rem;
  /* 18px */
  line-height: 1.75;
  color: #334155;
  /* Slate 700 — WCAG AA 7.4:1 on white */
}

/* --- Global Animation Utility Classes --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.hover-lift {
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container-narrow {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #2E8DD6);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .whatsapp-float {
    left: 16px;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  z-index: 9999;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: -0.03em;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand span {
  color: var(--accent);
}

.nav-logo {
  height: 48px;
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Dropdown styling */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 1.25rem;
  min-width: 320px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--surface);
}

.nav-dropdown-menu.resources-menu {
  min-width: 220px;
  grid-template-columns: 1fr;
}

.nav-dropdown-menu a {
  text-transform: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  transition: all var(--transition);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.nav-dropdown-menu .explore-all-link {
  grid-column: span 2;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-dropdown-menu.resources-menu .explore-all-link {
  grid-column: span 1;
}

/* Hover behaviors */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(5px);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta {
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(27, 108, 176, 0.3);
}

.nav-cta:hover {
  background: var(--primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(28, 25, 23, 0.1);
}

.nav-login-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-login-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hamburger mobile button */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1001;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--deep-navy);
}

.hero-bg-animated {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-animated .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
  width: 40vw;
  height: 40vw;
  background: var(--soft-indigo);
  top: -10vw;
  left: -10vw;
}

.orb-2 {
  width: 50vw;
  height: 50vw;
  background: var(--primary-blue);
  bottom: -20vw;
  right: -10vw;
  animation-delay: -5s;
}

.orb-3 {
  width: 30vw;
  height: 30vw;
  background: var(--emerald-green);
  top: 30%;
  left: 40%;
  opacity: 0.2;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(5%, 10%) scale(1.1);
  }

  100% {
    transform: translate(-5%, 5%) scale(0.9);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.1;
}

.hero h1 .gradient-text {
  color: #60A5FA !important;
  -webkit-text-fill-color: #60A5FA !important;
  display: inline-block;
}

.hero h1 .gradient-text .char,
.hero h1 .gradient-text .word {
  color: #60A5FA !important;
  -webkit-text-fill-color: #60A5FA !important;
}

/* Fix vertical stacking bug with SplitType */
.split-text-headline .char,
.split-text-headline .word {
  display: inline-block;
}

.pulse-cta {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.scroll-indicator {
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-7px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-sub p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.2);
  background: var(--accent);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  border: 2px solid var(--border-light);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-3px);
}

.stats-strip {
  display: flex;
  gap: 1rem;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  padding: 1.5rem 2rem;
  background: transparent;
  width: 100%;
  max-width: 900px;
  margin-top: 3rem;
}



.stat-item {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.stat-separator {
  display: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .stat-separator {
    display: none;
  }

  .stats-strip {
    gap: 2rem;
  }

  .stat-item {
    flex: 40%;
  }
}

/* --- Section Shared --- */
.section {
  padding: var(--space-section) 5%;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Page Hero for Interior Pages --- */
.page-hero {
  padding: 10rem 5% 5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Split Layouts --- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.split-left {
  position: relative;
}

.split-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-wrapper {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition);
}

.image-wrapper:hover img {
  transform: scale(1.02);
}

/* --- Globe Section --- */
.globe-section {
  position: relative;
  padding: 2rem 5% 4rem;
}

.globe-wrapper {
  width: 100%;
  height: 75vh;
  min-height: 600px;
  position: relative;
  z-index: 1;
  border-radius: 0;
  background: #E8E5DC;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

#globe-canvas-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.uni-marker {
  position: relative;
  cursor: pointer;
}

.uni-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(27, 108, 176, 0.5);
  transition: transform 0.2s;
  border: 1px solid #fff;
}

.uni-marker:hover .uni-dot {
  transform: scale(1.6);
}

.uni-label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow-md);
}

.uni-marker:hover .uni-label {
  opacity: 1;
  transform: translateY(-50%) translateX(5px);
}

/* --- Country Markers on Globe --- */
.country-marker {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.country-marker-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent);
  border-radius: 0;
  animation: markerPulse 2s infinite ease-out;
  pointer-events: none;
}

.country-marker-dot {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 6px 8px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  position: relative;
  z-index: 2;
}

.country-marker:hover .country-marker-dot {
  transform: scale(1.08) translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(27, 108, 176, 0.18);
  padding: 6px 14px;
  gap: 0.5rem;
}

.country-marker-flag {
  font-size: 1.4rem;
  line-height: 1;
}

.country-marker-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.4s ease, opacity 0.4s ease, margin-left 0.4s ease;
  margin-left: 0;
}

.country-marker:hover .country-marker-name {
  max-width: 150px;
  opacity: 1;
  margin-left: 0.25rem;
}

/* --- Floating Country Information Card --- */
.globe-info-card {
  position: absolute;
  top: 2rem;
  right: 2rem;
  bottom: 2rem;
  width: 380px;
  height: calc(100% - 4rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  transform: translateX(30px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.globe-info-card.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.close-card-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(28, 25, 23, 0.05);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: bold;
  transition: all var(--transition);
  z-index: 10;
}

.close-card-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

.globe-info-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.globe-info-card .country-flag {
  font-size: 2.2rem;
  line-height: 1;
}

.globe-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.info-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.info-tab-btn {
  padding: 0.65rem 0.25rem;
  border-radius: 0;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.info-tab-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--accent);
  color: var(--accent);
}

.info-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.info-content-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.info-content-wrapper::-webkit-scrollbar {
  width: 4px;
}

.info-content-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.info-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(28, 25, 23, 0.1);
  border-radius: 10px;
}

.info-tab-content {
  display: none;
  animation: tabFadeIn 0.35s ease;
}

.info-tab-content.active {
  display: block;
}

.info-tab-content ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-tab-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
  font-weight: 500;
}

.info-list-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: -1px;
}

.info-list-text {
  flex-grow: 1;
}

/* --- Animations --- */
@keyframes markerPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Globe Card --- */
@media (max-width: 768px) {
  .globe-info-card {
    top: auto;
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: auto;
    height: 330px;
    max-width: calc(100% - 2rem);
    padding: 1.5rem 1.25rem;
  }

  #globe-canvas-wrapper {
    height: 70vh;
    min-height: 500px;
  }
}

.globe-country-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem;
}

.country-pill {
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.country-pill:hover,
.country-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(27, 108, 176, 0.08);
}

@media (max-width: 1024px) {
  .globe-country-nav {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .globe-country-nav {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 0.5rem;
  }

  .country-pill {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* --- Journey / Steps --- */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.journey-step {
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0;
  text-align: left;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.journey-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.journey-icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.journey-step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.journey-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.journey-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 3.5rem 2.5rem;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #2E8DD6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

/* Animate background on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(27, 108, 176, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-lift-xl);
  border-color: var(--accent);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bg-alt);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.4s ease, transform 0.4s ease;
}

.service-card:hover .service-num {
  color: var(--accent-light);
  transform: translateX(10px);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Services Checklist and detailed layout --- */
.services-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.detailed-service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 3rem;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.detailed-service-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.detailed-service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
}

.detailed-service-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.detailed-service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-features-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Why Us / Differentiators --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.diff-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 3rem 2rem;
  border-radius: 0;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 108, 176, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.diff-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift-blue);
}

.diff-card:hover::before {
  opacity: 1;
}

.diff-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--accent-light);
  color: var(--accent);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, color 0.4s ease;
}

.diff-card:hover .diff-icon {
  transform: scale(1.15) rotate(10deg);
  background: var(--accent);
  color: white;
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.diff-card:hover h3 {
  color: var(--accent);
}

.diff-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* --- Testimonials Grid --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 3rem;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Blogs Section --- */
/* --- Blog Filter Bar --- */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.blog-filter-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(27, 108, 176, 0.3);
}

/* --- Featured Blog Card --- */
.featured-blog-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid var(--border-light);
}

.featured-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(27, 108, 176, 0.1);
}

.featured-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.featured-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  align-self: flex-start;
}

.featured-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.featured-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.featured-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-muted);
}

/* --- Blogs Section --- */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card.premium-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.blog-card.premium-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(27, 108, 176, 0.1);
}

.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.blog-image-wrapper .blog-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card.premium-card:hover .blog-image {
  transform: scale(1.08);
}

.floating-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-content {
  padding: 2rem;
  background: var(--surface);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.blog-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more-link {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .featured-blog-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 250px;
  }

  .featured-content {
    padding: 2rem;
  }
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 4rem 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at bottom right, rgba(27, 108, 176, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: var(--shadow-lift-xl);
  border-color: var(--accent);
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-card .btn-outline,
.pricing-card .btn-primary {
  margin-top: auto;
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift-md);
}

.pricing-card.popular:hover {
  transform: translateY(-15px) scale(1.02) !important;
  box-shadow: var(--shadow-lift-xl);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: white;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-commission-note {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform var(--transition);
  color: var(--accent);
  line-height: 1;
  padding-top: 2px;
  /* optical centering */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 2rem 2rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
}

/* --- Country Page Specific Styles --- */
.country-grid-unis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.uni-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.uni-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.uni-card-rank {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0;
  margin-bottom: 1rem;
}

.uni-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.uni-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto 5rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background: var(--border-light);
}

.process-timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.process-timeline-badge {
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-left: 15px;
  z-index: 2;
  box-shadow: 0 0 0 10px var(--bg-main);
}

.process-timeline-content {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}

.process-timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.process-timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.costs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.cost-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cost-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.cost-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cost-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cost-card-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cost-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Contact & Forms --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 4rem;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.form-light {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px var(--accent-light);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 0;
}

.info-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  padding: 8rem 5%;
  background: var(--bg-alt);
  /* Light background in light mode, dark in dark mode */
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-form {
  display: flex;
  gap: 1rem;
  max-width: 850px;
  margin: 3rem auto 0;
  position: relative;
  justify-content: center;
  align-items: center;
}

.cta-form input,
.cta-form select {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 0;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--transition);
}

.cta-form input:focus,
.cta-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.cta-form button {
  padding: 1rem 2.5rem;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.cta-form button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* --- Footer --- */
.footer {
  background: #141211;
  padding: 6rem 5% 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.95rem;
  color: #A8A29E;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  border-radius: 0;
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #A8A29E;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #A8A29E;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: #A8A29E;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a:hover {
  color: var(--accent);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .navbar {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    width: 95%;
  }

  .hamburger-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 6rem;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 95%;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 0;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .nav-dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none;
    padding: 1rem 0;
    border: none;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    display: none;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu .explore-all-link {
    grid-column: span 1;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-right {
    gap: 0.75rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .journey-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid,
  .diff-grid,
  .blogs-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .country-grid-unis {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.popular {
    transform: none;
  }

  .costs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .diff-grid,
  .blogs-grid,
  .pricing-grid,
  .testimonials-grid,
  .country-grid-unis,
  .costs-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 20px;
  }

  .process-timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }

  .process-timeline-badge {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    margin-left: 0;
  }

  .process-timeline-content {
    padding: 1.5rem;
  }

  .service-features-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  #globe-canvas-wrapper {
    height: 50vh;
    min-height: 400px;
  }

  .stats-strip {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-form {
    flex-direction: column;
  }
}

/* ---------- AI Chatbot Widget ---------- */
.chatbot-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  /* Hides any HTML emoji fallback */
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.chatbot-float::after {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  /* Lucide Bot icon */
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%208V4H8%22%2F%3E%3Crect%20width%3D%2216%22%20height%3D%2212%22%20x%3D%224%22%20y%3D%228%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2014h2%22%2F%3E%3Cpath%20d%3D%22M20%2014h2%22%2F%3E%3Cpath%20d%3D%22M15%2013v2%22%2F%3E%3Cpath%20d%3D%22M9%2013v2%22%2F%3E%3C%2Fsvg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.chatbot-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

.chatbot-float.active {
  transform: scale(0);
}

.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 60px);
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
}

.chat-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--accent);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-header-avatar {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-name {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.chat-header-status {
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.chat-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0.2rem;
}

.chat-close-btn:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f8fafc;
}

.chat-msg {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  font-size: 1.2rem;
  background: white;
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.chat-msg-bubble {
  background: white;
  padding: 0.85rem 1rem;
  border-radius: 0;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
  max-width: 85%;
}

.chat-msg.user .chat-msg-bubble {
  background: var(--accent);
  color: white;
  border-radius: 0;
  border-top-right-radius: 4px;
}

.chat-input-area {
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border-light);
  border-radius: 0;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--accent);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: #155a96;
}

.chat-api-notice {
  padding: 0.5rem;
  background: #fff3cd;
  color: #856404;
  font-size: 0.8rem;
  text-align: center;
  border-top: 1px solid #ffeeba;
}

.chat-api-notice code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1rem 0.3rem;
  border-radius: 0;
}

/* Typing Indicator */
.typing {
  display: flex;
  gap: 0.3rem;
  padding: 1.2rem 1rem !important;
  align-items: center;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .chat-widget {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    max-width: 100vw;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
}

/* ---------- Dark Mode & Theme Toggle Styles ---------- */
.theme-toggle-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  width: 42px;
  height: 42px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  transform: scale(1.08) rotate(15deg);
  border-color: var(--accent);
  background: var(--bg-main);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

/* Theme Toggle State Switch */
body.dark-mode .theme-toggle-btn .sun-icon {
  display: block;
}

body.dark-mode .theme-toggle-btn .moon-icon {
  display: none;
}

/* Dark Mode Variable Overrides */
body.dark-mode {
  --primary: #F5F5F4;
  --secondary: #A8A29E;
  --bg-main: #121212;
  --bg-alt: #1C1C1C;
  --surface: #1E1E1E;
  --text-main: #E7E5E4;
  --text-muted: #A8A29E;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(27, 108, 176, 0.4);
  --accent-light: rgba(27, 108, 176, 0.2);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* Component Overrides for Dark Mode */
body.dark-mode body {
  background-color: var(--bg-main);
  color: var(--text-main);
}

body.dark-mode .navbar {
  background: rgba(26, 26, 26, 0.85);
  border-color: var(--border-light);
}

body.dark-mode .navbar.scrolled {
  background: rgba(18, 18, 18, 0.95);
}

body.dark-mode .nav-dropdown-menu {
  background: var(--surface);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}

body.dark-mode .nav-dropdown-menu::before {
  border-bottom-color: var(--surface);
}

body.dark-mode .nav-dropdown-menu a {
  color: var(--text-muted);
}

body.dark-mode .nav-dropdown-menu a:hover {
  background: var(--accent-light);
  color: #fff;
}

body.dark-mode .nav-dropdown-menu .explore-all-link {
  border-top-color: var(--border-light);
  color: var(--accent);
}

body.dark-mode .hero {
  background: radial-gradient(circle at 50% 0%, #1A1A1A 0%, var(--bg-main) 70%);
}

body.dark-mode .page-hero {
  background: radial-gradient(circle at 50% 0%, #1E1E1E 0%, var(--bg-main) 100%);
  border-bottom-color: var(--border-light);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--border-light);
}

body.dark-mode input:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus {
  border-color: var(--accent);
}

body.dark-mode input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Globe & Interactive Card in Dark Mode */
body.dark-mode .globe-wrapper {
  background: #181818;
}

body.dark-mode .country-pill {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--border-light);
}

body.dark-mode .country-pill:hover,
body.dark-mode .country-pill.active {
  background: var(--accent-light);
  color: #fff;
  border-color: var(--accent);
}

body.dark-mode .globe-info-card {
  background: rgba(26, 26, 26, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

body.dark-mode .close-card-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

body.dark-mode .close-card-btn:hover {
  background: var(--primary);
  color: #121212;
}

body.dark-mode .info-tab-btn {
  background: rgba(40, 40, 40, 0.6);
  border-color: var(--border-light);
  color: var(--text-muted);
}

body.dark-mode .info-tab-btn:hover {
  background: rgba(50, 50, 50, 0.9);
  color: var(--accent);
  border-color: var(--accent);
}

body.dark-mode .info-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

body.dark-mode .country-marker-dot {
  background: var(--surface);
  border-color: var(--border-light);
}

body.dark-mode .country-marker-name {
  color: var(--text-main);
}

body.dark-mode .uni-label {
  background: var(--surface);
  border-color: var(--border-light);
  color: var(--text-main);
}

/* AI Chatbot Widget Dark Mode */
body.dark-mode .chat-widget {
  background: var(--surface);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}

body.dark-mode .chat-messages {
  background: #161616;
}

body.dark-mode .chat-msg-bubble {
  background: var(--surface);
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

body.dark-mode .chat-msg-avatar {
  background: var(--surface);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

body.dark-mode .chat-input-area {
  background: var(--surface);
  border-top-color: var(--border-light);
}

body.dark-mode .chat-input {
  background: #161616;
  color: var(--text-main);
  border-color: var(--border-light);
}

body.dark-mode .chat-input:focus {
  border-color: var(--accent);
}

body.dark-mode .chat-api-notice {
  background: #2b271d;
  color: #ffe082;
  border-top-color: #423b2b;
}

body.dark-mode .chat-api-notice code {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Dark Mode Contrast & Readability Fixes ---------- */
body.dark-mode .btn-primary {
  background: #FFFFFF;
  /* High-contrast white button in dark mode */
  color: #121212;
}

body.dark-mode .btn-primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

body.dark-mode .cta-form button:hover {
  background: #FFFFFF;
  color: #121212;
}

body.dark-mode input:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus {
  background: #252525;
  /* Dark background on focus in dark mode instead of white */
  color: var(--text-main);
  box-shadow: 0 0 0 4px rgba(27, 108, 176, 0.4);
}

body.dark-mode .service-num {
  color: rgba(255, 255, 255, 0.12);
  /* Visible subtle background numbers in dark mode */
}

body.dark-mode .detailed-service-num {
  color: var(--accent);
  opacity: 0.45;
  /* Brighter visibility in dark mode */
}


/* ============================================================
   NEW COMPONENTS — Antigravity Design System Extensions
   ============================================================ */

/* --- Floating Call Button --- */
.call-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem !important;
  /* Show phone emoji */
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.call-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6);
}

.call-float:active {
  transform: scale(0.95);
}

/* --- Credibility Belt (Homepage) --- */
.credibility-belt {
  background: var(--bg-alt);
  border-top: 2px solid var(--border-light);
  border-bottom: 2px solid var(--border-light);
  padding: 3rem 0;
  text-align: center;
  overflow: hidden;
}

.belt-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  padding: 0 2rem;
}

.belt-track {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.belt-scroll {
  display: flex;
  gap: 3rem;
  animation: beltScroll 60s linear infinite;
  width: max-content;
}

.belt-item {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.belt-item:hover {
  opacity: 1;
}

@keyframes beltScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.belt-partners-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.belt-partner {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.4;
}

.belt-uni-logo {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  margin: 0 2rem;
  opacity: 0.95;
  transition: all 0.3s ease;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
}

.belt-uni-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.finance-logo {
  mix-blend-mode: multiply;
  filter: brightness(1.05) contrast(1.1);
  opacity: 0.9;
}

/* --- Services Hub Grid --- */
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-hub-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-hub-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.service-hub-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) rotate(1deg) !important;
  box-shadow: var(--shadow-lift-md);
}

.service-hub-card:hover::before {
  transform: scaleX(1) !important;
  transform-origin: left;
}

.service-hub-card .hub-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
}

.service-hub-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-hub-card h3 .arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.service-hub-card:hover h3 .arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.service-hub-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-hub-price {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: auto;
  text-align: center;
}

@media (max-width: 1024px) {
  .services-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Service Detail Page --- */
.service-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.service-breadcrumb a:hover {
  text-decoration: underline;
}

.service-breadcrumb .sep {
  margin: 0 0.5rem;
}

.service-what-you-get {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 2rem;
}

.service-what-you-get h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-what-you-get li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.service-what-you-get li .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.service-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-tier-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-tier-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-tier-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.service-tier-card .tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.service-tier-card .tier-includes h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.service-tier-card .tier-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.service-tier-card .tier-includes li .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.service-tier-card .tier-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.service-mini-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-mini-step {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
}

.service-mini-step .step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.service-mini-step .step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-mini-step h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-mini-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .service-mini-journey {
    grid-template-columns: 1fr;
  }
}

/* --- Partners / Credibility Page --- */
.partner-stats-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.partner-stat {
  background: var(--surface);
  padding: 2rem 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
  min-width: 250px;
}

.partner-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-hub-price {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: auto;
  text-align: center;
}

@media (max-width: 1024px) {
  .services-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Service Detail Page --- */
.service-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.service-breadcrumb a:hover {
  text-decoration: underline;
}

.service-breadcrumb .sep {
  margin: 0 0.5rem;
}

.service-what-you-get {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 2rem;
}

.service-what-you-get h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-what-you-get li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.service-what-you-get li .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.service-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-tier-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-tier-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-tier-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.service-tier-card .tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.service-tier-card .tier-includes h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.service-tier-card .tier-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.service-tier-card .tier-includes li .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.service-tier-card .tier-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.service-mini-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-mini-step {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
}

.service-mini-step .step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.service-mini-step .step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-mini-step h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-mini-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .service-mini-journey {
    grid-template-columns: 1fr;
  }
}

/* --- Partners / Credibility Page --- */
.partner-stats-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.partner-stat {
  background: var(--surface);
  padding: 2rem 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
  min-width: 250px;
}

.partner-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.partner-stat .stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  background: linear-gradient(135deg, var(--primary-blue), var(--emerald-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.partner-stat .stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.partner-region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 0 2rem;
  margin-bottom: 3.5rem;
}

.partner-tab {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.partner-tab:hover,
.partner-tab.active {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--primary-blue), var(--emerald-green));
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.partner-region-section {
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.partner-region-section:hover {
  box-shadow: var(--shadow-md);
}

.partner-region-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.partner-region-section.open .partner-region-header {
  border-bottom-color: var(--border-light);
  border-left-color: var(--amber-gold);
  background: var(--bg-alt);
}

.partner-region-header:hover {
  background: var(--bg-alt);
  border-left-color: var(--primary-blue);
}

.partner-region-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.partner-region-count {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
}

.partner-region-toggle {
  font-size: 1.2rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
  background: rgba(37, 99, 235, 0.05);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.partner-region-section.open .partner-region-toggle {
  transform: rotate(180deg);
  background: var(--primary-blue);
  color: white;
}

.partner-region-body {
  display: none;
  padding: 2.5rem 2rem;
  background: var(--surface);
}

.partner-region-section.open .partner-region-body {
  display: block;
  animation: slideDownFade 0.4s ease forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partner-country-group {
  margin-bottom: 2.5rem;
}

.partner-country-group:last-child {
  margin-bottom: 0;
}

.partner-country-group h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.partner-uni-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
}

.partner-uni-item {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.85rem 1rem;
  background: var(--bg-alt);
  border-radius: 10px;
  line-height: 1.4;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
}

.partner-uni-item:hover {
  background: var(--surface);
  border-color: var(--border-light);
  color: var(--text-main);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1024px) {
  .partner-uni-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .partner-uni-list {
    grid-template-columns: 1fr;
  }
}

.lending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lending-category {
  padding: 2rem;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-blue);
  transition: transform 0.3s ease;
}

.lending-category:nth-child(1) {
  border-top-color: var(--emerald-green);
}

.lending-category:nth-child(2) {
  border-top-color: var(--primary-blue);
}

.lending-category:nth-child(3) {
  border-top-color: var(--rose-red);
}

.lending-category:nth-child(4) {
  border-top-color: var(--amber-gold);
}

.lending-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.lending-category h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.lending-category li {
  font-size: 0.88rem;
  color: var(--text-main);
  padding: 0.4rem 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .lending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .lending-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Careers Page --- */
.career-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.career-pill {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.career-pill:hover,
.career-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.career-listing-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.career-listing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.career-listing-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.career-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.career-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}

.career-badge.type-intern {
  color: var(--accent);
  background: var(--accent-light);
}

.career-badge.type-fulltime {
  color: #22543D;
  background: #F0FFF4;
}

.career-badge.type-remote {
  color: #744210;
  background: #FEFCBF;
}

.career-badge.type-mumbai {
  color: #553C9A;
  background: #FAF5FF;
}

.career-listing-card .career-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.career-listing-card .career-reqs {
  margin-bottom: 1.5rem;
}

.career-listing-card .career-reqs li {
  font-size: 0.88rem;
  color: var(--text-main);
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.career-listing-card .career-reqs li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.career-listing-card .career-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* --- Career Counsellor Wizard --- */
.career-wizard {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.wizard-dot {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--bg-main);
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.wizard-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.wizard-dot.completed {
  background: #22543D;
  border-color: #22543D;
  color: #fff;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: tabFadeIn 0.35s ease;
}

.wizard-step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.wizard-step .step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.checkbox-grid label:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.checkbox-grid input[type="checkbox"] {
  width: auto;
  box-shadow: none;
  accent-color: var(--accent);
}

@media (max-width: 640px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .career-wizard {
    padding: 1.5rem;
  }
}

/* Career Result Card */
.career-result-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-top: 3rem;
}

.career-result-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.career-result-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.career-result-section:last-child {
  border-bottom: none;
}

.career-result-section h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.career-result-section p,
.career-result-section li {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

.career-loading {
  text-align: center;
  padding: 4rem 2rem;
}

.career-loading .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-light);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.career-loading p {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
}

.career-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 1rem;
  border: 1px solid var(--border-light);
  margin-top: 1.5rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* Darkens the image */
  z-index: 5;
}

/* Make hero outline buttons stand out against dark background */
.hero .btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.hero .btn-outline:hover {
  background: var(--bg-main);
  border-color: var(--bg-main);
}

/* Adjust hero text colors for dark background overlay */
.hero h1 {
  color: #ffffff !important;
}

.hero h1 .highlight {
  color: #82c2ff !important;
  /* Lighter blue for dark background */
}

.hero-sub p {
  color: #f0f0f0 !important;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.hero .stat-number {
  color: #ffffff !important;
}

.hero .stat-label {
  color: #e0e0e0 !important;
}

/* --- Background Image Slider --- */
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFadeInOut 24s infinite;
  z-index: 1;
}

/* ==========================================
   PHASE 4: WHAT WE OFFER CARDS
   ========================================== */
.offer-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  border-left: 4px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.service-num-bg {
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--border-light);
  opacity: 0.3;
  line-height: 1;
  z-index: -1;
  transition: all 0.5s ease;
}

.offer-card[data-offer-color="var(--soft-indigo)"] {
  --hover-border: var(--soft-indigo);
}

.offer-card[data-offer-color="var(--emerald-green)"] {
  --hover-border: var(--emerald-green);
}

.offer-card[data-offer-color="var(--amber-gold)"] {
  --hover-border: var(--amber-gold);
}

.offer-card[data-offer-color="var(--rose-red)"] {
  --hover-border: var(--rose-red);
}

.offer-card[data-offer-color="var(--primary-blue)"] {
  --hover-border: var(--primary-blue);
}

.offer-card[data-offer-color="var(--teal)"] {
  --hover-border: #2DD4BF;
}

.offer-card:hover {
  transform: translateX(8px);
  border-left-color: var(--hover-border);
  box-shadow: var(--shadow-lg);
}

.offer-card:hover .service-num-bg {
  color: var(--hover-border);
  opacity: 0.1;
  transform: scale(1.1) translate(-10px, 10px);
}

/* GSAP Setup classes */
.slide-in-left,
.slide-in-right {
  opacity: 0;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

@keyframes heroFadeInOut {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  10% {
    opacity: 1;
    transform: scale(1.01);
  }

  25% {
    opacity: 1;
    transform: scale(1.04);
  }

  35% {
    opacity: 0;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.country-hero .hero-content,
.country-hero .container {
  position: relative;
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
}



/* Hide empty icon boxes for the time being */
.hub-icon,
.journey-icon,
.diff-icon {
  display: none !important;
}

/* --- Career Filters --- */
.career-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.career-filter-pill {
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.career-filter-pill:hover,
.career-filter-pill.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
  color: #D4AF37;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}


.belt-partner-img {
  height: 55px;
  width: auto;
  opacity: 0.9;
  transition: all 0.3s;
}

.belt-partner-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* --- Career Listings --- */
.career-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.career-listing-card {
  display: flex;
  flex-direction: column;
}

/* ==========================================
   PHASE 3: SERVICES
   ========================================== */

.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-hub-card {
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-alt) 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--accent-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.service-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-hub-card[data-accent="var(--primary-blue)"] {
  border-top-color: var(--primary-blue);
}

.service-hub-card[data-accent="var(--emerald-green)"] {
  border-top-color: var(--emerald-green);
}

.service-hub-card[data-accent="var(--amber-gold)"] {
  border-top-color: var(--amber-gold);
}

.service-hub-card[data-accent="var(--rose-red)"] {
  border-top-color: var(--rose-red);
}

.service-hub-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-hub-card:hover::before {
  opacity: 1;
}

.service-hub-card:hover[data-accent="var(--primary-blue)"] .hub-icon-container {
  background: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.service-hub-card:hover[data-accent="var(--emerald-green)"] .hub-icon-container {
  background: var(--emerald-green);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.service-hub-card:hover[data-accent="var(--amber-gold)"] .hub-icon-container {
  background: var(--amber-gold);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.service-hub-card:hover[data-accent="var(--rose-red)"] .hub-icon-container {
  background: var(--rose-red);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

.hub-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0.5rem;
}

.hub-icon {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.service-hub-card:hover .hub-icon {
  transform: scale(1.15);
}

.service-hub-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-hub-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.stagger-grid .fade-up {
  opacity: 0;
  transform: translateY(30px);
}

/* --- Process Horizontal Timeline --- */
.process-section {
  position: relative;
}

.process-horizontal-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4rem 2rem 6rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.process-horizontal-wrapper::-webkit-scrollbar {
  display: none;
}

.process-horizontal-container {
  display: flex;
  position: relative;
  width: max-content;
  padding-top: 2rem;
}

.process-line-bg {
  position: absolute;
  top: 3.5rem;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-light);
  z-index: 0;
}

.process-line-fill {
  position: absolute;
  top: 3.5rem;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--primary-blue);
  z-index: 1;
}

.process-step {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  text-align: center;
  z-index: 2;
  padding: 0 1.5rem;
}

.process-node {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 4px solid var(--border-light);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all 0.4s ease;
  position: relative;
}

.process-step.active .process-node {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
}

.pulse-node .process-node::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.process-step h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Trust Cards --- */
.trust-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--primary-blue);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  border-radius: 16px;
  padding: 2.5rem;
}

.trust-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  border-top-color: var(--teal);
}

.diff-icon-container {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--teal);
}

/* --- Quote Cards --- */
.quote-card {
  background: linear-gradient(to bottom right, #ffffff, #F0F7FF);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  padding: 3rem 2rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(37, 99, 235, 0.1);
  font-weight: 900;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--soft-indigo);
  padding: 2px;
  background: #fff;
}

/* --- CTA Enhanced Section --- */
.cta-section-enhanced {
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue), var(--soft-indigo));
  padding: 6rem 2rem;
  overflow: hidden;
  color: #fff;
  display: flex;
  justify-content: center;
}

.cta-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  top: -100px;
  right: -100px;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--amber-gold);
  bottom: -50px;
  left: -50px;
}

.cta-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.cta-text h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.cta-form-container {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-form-floating {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.floating-group {
  position: relative;
}

.floating-group input,
.floating-group select {
  width: 100%;
  padding: 1.25rem 1rem 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--surface);
  transition: all 0.3s ease;
  outline: none;
}

.floating-group input:focus,
.floating-group select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.floating-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-group input:focus~label,
.floating-group input:not(:placeholder-shown)~label {
  top: 0.3rem;
  font-size: 0.75rem;
  color: var(--primary-blue);
}

.shimmer-btn {
  position: relative;
  overflow: hidden;
  background: var(--primary-blue);
  color: #fff;
  font-weight: 700;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.shimmer-btn:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg) translate(-50%, -50%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(45deg) translate(-100%, -100%);
  }

  100% {
    transform: rotate(45deg) translate(100%, 100%);
  }
}

/* --- Blog Card Zoom --- */
.blog-card {
  overflow: hidden;
}

.blog-image {
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.1);
}

/* --- Enhanced Footer --- */
.footer {
  background: #050505;
  color: #fff;
  padding: 6rem 2rem 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  justify-content: space-between;
}

.footer-brand {
  flex: 1 1 300px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-col {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  width: max-content;
  transition: color 0.3s ease;
}

.footer-col a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center {
  text-align: center;
}

/* ============================================================
   LANDING PAGE REDESIGN — Photo Scroll Hero + Section Colors
   ============================================================ */

/* --- Hero Photo Scroll Slideshow --- */
.hero-photo {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10rem 5% 5rem;
  overflow: hidden;
  background: #0A1628;
}

.hero-photo-scroll {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  animation: kenBurnsCrossfade 24s infinite;
  will-change: opacity, transform;
}

.hero-photo-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-photo-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-photo-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-photo-slide:nth-child(4) {
  animation-delay: 18s;
}

@keyframes kenBurnsCrossfade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
  }

  25% {
    opacity: 1;
    transform: scale(1.08);
  }

  30% {
    opacity: 0;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 22, 40, 0.82) 0%,
      rgba(15, 23, 42, 0.65) 50%,
      rgba(10, 22, 40, 0.78) 100%);
  z-index: 1;
}

/* Left-aligned hero content */
.hero-content-left {
  text-align: left !important;
  max-width: 700px;
  z-index: 3 !important;
}

.hero-content-left .hero-sub {
  margin: 0 0 3rem 0;
}

.hero-content-left .hero-sub p {
  text-align: left;
}

.hero-photo .stats-strip {
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  align-self: center;
}

@media (max-width: 768px) {
  .hero-photo {
    padding: 8rem 1.5rem 3rem;
    align-items: center;
  }

  .hero-content-left {
    text-align: center !important;
  }

  .hero-content-left .hero-sub {
    margin: 0 auto 2rem;
  }

  .hero-content-left .hero-sub p {
    text-align: center;
  }

  .hero-content-left .hero-buttons {
    justify-content: center !important;
  }

  .hero-content-left .scroll-indicator {
    text-align: center !important;
  }
}


/* ============================================================
   SECTION COLOR VARIANTS
   ============================================================ */

/* --- Navy Blue Section --- */
.section-navy {
  background: linear-gradient(135deg, #0A1628 0%, #0F172A 100%) !important;
  color: #fff;
}

.section-navy .section-header h2 {
  background: linear-gradient(135deg, #FFFFFF, #93C5FD) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-navy .section-header p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.section-navy .service-hub-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.section-navy .service-hub-card h3 {
  color: #fff;
}

.section-navy .service-hub-card p {
  color: rgba(255, 255, 255, 0.82);
}

.section-navy .hub-icon-container {
  background: rgba(255, 255, 255, 0.1);
  color: #93C5FD;
}

.section-navy .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.section-navy .btn-outline:hover {
  border-color: #93C5FD;
  color: #93C5FD;
  background: rgba(147, 197, 253, 0.1);
}

/* Navy section — Testimonial cards */
.section-navy .testimonial-card,
.section-navy .quote-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.section-navy .testimonial-card:hover,
.section-navy .quote-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 197, 253, 0.3);
}

.section-navy .testimonial-quote {
  color: rgba(255, 255, 255, 0.9);
}

.section-navy .quote-mark {
  color: rgba(147, 197, 253, 0.15);
}

.section-navy .testimonial-info h4 {
  color: #fff;
}

.section-navy .testimonial-info p {
  color: #93C5FD !important;
}

.section-navy .testimonial-photo {
  border-color: rgba(147, 197, 253, 0.4);
}

/* Navy section — Trust / Why-Us cards */
.section-navy .trust-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  border-top-color: #3B82F6;
}

.section-navy .trust-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-top-color: #2DD4BF;
}

.section-navy .diff-icon-container {
  background: rgba(255, 255, 255, 0.08);
  color: #2DD4BF;
}

/* Navy Read All Testimonials btn */
.section-navy .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}

.section-navy .btn-outline:hover {
  border-color: #93C5FD;
  color: #93C5FD;
  background: rgba(147, 197, 253, 0.08);
}


/* --- White Section --- */
.section-white {
  background: #FFFFFF !important;
  color: var(--text-main);
}


/* --- Light Blue Section --- */
.section-lightblue {
  background: #E8F4FD !important;
  color: var(--text-main);
}

.section-lightblue .section-header h2 {
  background: linear-gradient(135deg, #0A1628, #1E40AF) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-lightblue .service-card,
.section-lightblue .offer-card {
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.1);
}

.section-lightblue .blog-card {
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.1);
}

.section-lightblue .blog-content {
  background: #FFFFFF;
}


/* --- Black Section --- */
.section-black {
  background: #000000 !important;
  color: #fff;
}

.section-black .section-header h2 {
  background: linear-gradient(135deg, #FFFFFF, #93C5FD) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-black .section-header p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.section-black .review-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.section-black .review-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(147, 197, 253, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.section-black .review-card p {
  color: rgba(255, 255, 255, 0.8);
}

.section-black .review-name {
  color: #fff !important;
}

.section-black .review-date {
  color: rgba(255, 255, 255, 0.5) !important;
}

.section-black .review-avatar {
  background: #3B82F6;
}

.section-black .review-user-info {
  color: #fff;
}

.section-black .review-user-info div span {
  color: #fff;
}

.section-black .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}

.section-black .btn-outline:hover {
  border-color: #93C5FD;
  color: #93C5FD;
  background: rgba(147, 197, 253, 0.08);
}

/* Google badge override for dark bg */
.section-black .section-header>div:first-child {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-black .section-header>div:first-child span {
  color: #fff !important;
}


/* ============================================================
   BLACK FOOTER OVERRIDE
   ============================================================ */
.footer-black {
  background: #000000 !important;
  color: #fff;
  padding: 6rem 2rem 2rem;
}

.footer-black .footer-brand h3 {
  color: #FFFFFF;
}

.footer-black .footer-brand p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-black .footer-col h4 {
  color: #FFFFFF;
}

.footer-black .footer-col a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-black .footer-col a:hover {
  color: #FFFFFF;
}

.footer-black .footer-col a::after {
  background-color: #3B82F6;
}

.footer-black .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
}

.footer-black .footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-black .footer-bottom a:hover {
  color: #fff;
}

.footer-black .social-link {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.footer-black .social-link:hover {
  background: #3B82F6;
  color: #fff;
}

.footer-black .footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-black .footer-legal-links a:hover {
  color: #fff;
}

/* Footer contact info text */
.footer-black span[style*="color: #A8A29E"] {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-black span[style*="color: #A8A29E"] a {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-black span[style*="color: #A8A29E"] a:hover {
  color: #fff !important;
}


/* ============================================================
   DISCUSSION CARDS ON WHITE BG
   ============================================================ */
.section-white .diff-card {
  background: #FFFFFF;
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.section-white .diff-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.section-white .btn-primary {
  background: var(--primary);
}


/* ============================================================
   UI/UX IMPROVEMENT — New Components
   ============================================================ */

/* --- Hero CTA Buttons (High Contrast WCAG AAA) --- */
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: #0A1628;
  padding: 1.15rem 2.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font-display);
  border: 2px solid #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  min-height: 52px;
  /* Contrast ratio: 16.7:1 (white bg / dark navy text) — WCAG AAA */
}

.hero-cta-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: #F0F7FF;
  color: #0A1628;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  padding: 1.15rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--font-display);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  min-height: 52px;
  backdrop-filter: blur(4px);
}

.hero-cta-secondary:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- Hero Value Proposition Strip --- */
.hero-value-strip {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.hero-value-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* --- Hero Mobile Phone Link --- */
.hero-phone-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-phone-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
  }

  .hero-phone-mobile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
  }
}

/* --- Nav Active Page Indicator --- */
.nav-links a.active {
  color: var(--accent);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Section Visual Rhythm Separators --- */
.section+.section {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.section-navy+.section,
.section-black+.section,
.section+.section-navy,
.section+.section-black {
  border-top: none;
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    padding: 0.75rem 1rem;
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    gap: 0.75rem;
  }

  .mobile-sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 0.875rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .mobile-sticky-cta .btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
  }

  .mobile-sticky-cta .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border-light);
  }

  /* Push floating buttons above the sticky bar */
  .chatbot-float,
  .call-float,
  .whatsapp-float {
    bottom: 90px !important;
  }

  /* Push body content above sticky bar */
  body {
    padding-bottom: 72px;
  }
}

/* --- WhatsApp Float Button (Upgraded) --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 997;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float::after {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.413z%22%2F%3E%3C%2Fsvg%3E');
  background-size: cover;
  background-repeat: no-repeat;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 90px !important;
    left: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float::after {
    width: 26px;
    height: 26px;
  }
}

/* --- Enhanced Mobile Responsiveness --- */
@media (max-width: 768px) {
  .section {
    padding: 4rem 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-value-strip {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .footer-col a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 5.5rem) !important;
  }
}

/* --- CTA Form Trust Signal --- */
.form-trust-signal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-trust-signal svg {
  width: 14px;
  height: 14px;
  color: var(--emerald-green);
}

/* ============================================================
   GLOBAL MOBILE RESPONSIVENESS OVERHAUL
   ============================================================ */

/* 1. Prevent Horizontal Scrolling */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* 2. Global Typography Scaling for Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
  }

  h2 {
    font-size: clamp(2rem, 6vw, 2.5rem) !important;
  }

  h3 {
    font-size: clamp(1.5rem, 5vw, 1.8rem) !important;
  }

  p {
    font-size: 1rem !important;
  }

  /* Adjust hero sections */
  .hero {
    padding: 8rem 1rem 4rem !important;
    text-align: center;
  }

  .hero-content {
    max-width: 100% !important;
  }

  /* Adjust global padding */
  .section {
    padding: 4rem 1rem !important;
  }

  .container {
    width: 95% !important;
  }
}

/* 3. Global Grid & Timeline Collapsing */
@media (max-width: 768px) {

  /* Force all grids that use 3 or more columns to stack on mobile */
  .grid,
  .services-grid,
  .blogs-grid,
  .stats-grid,
  .timeline-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Convert horizontal process timeline to vertical to prevent overlapping */
  .process-horizontal-wrapper {
    padding: 2rem 1rem !important;
  }

  .process-horizontal-container {
    flex-direction: column !important;
    width: 100% !important;
  }

  .process-step {
    width: 100% !important;
    text-align: left !important;
    padding: 0 0 2rem 4rem !important;
  }

  .process-line-bg {
    display: block !important;
    top: 3.875rem !important;
    bottom: 5rem !important;
    height: auto !important;
    left: 1.75rem !important;
    width: 4px !important;
    right: auto !important;
  }

  .process-line-fill {
    display: block !important;
    top: 3.875rem !important;
    bottom: 5rem !important;
    height: auto !important;
    left: 1.75rem !important;
    width: 4px !important;
    right: auto !important;
  }

  .process-node {
    margin: 0 !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
  }

  /* Make cards fit perfectly */
  .service-card,
  .blog-card,
  .timeline-step,
  .glass-card {
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Ensure flex containers stack */
  .flex-row {
    flex-direction: column !important;
  }
}

/* ============================================================
   Country Pages — Redesigned Layout
   ============================================================ */

/* --- Hero with Flag Watermark --- */
.country-hero {
  position: relative;
  padding: 10rem 5% 5rem;
  text-align: center;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.country-hero .flag-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  opacity: 0.06;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.country-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.country-hero .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- Costs & ROI Section --- */
.costs-roi-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.costs-roi-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.75rem;
}

.costs-roi-section .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.costs-roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cost-roi-card {
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid transparent;
}

.cost-roi-card.tuition {
  background: #f0f4ff;
  border-color: #dbe4ff;
}

.cost-roi-card.living {
  background: #ecfdf5;
  border-color: #d1fae5;
}

.cost-roi-card.salary {
  background: #fdf4ff;
  border-color: #f3e8ff;
}

.cost-roi-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cost-roi-card .card-icon {
  font-size: 1.25rem;
}

.cost-roi-card .card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.cost-roi-card .card-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: #374151;
}

.cost-roi-card .card-item .label {
  font-weight: 600;
  color: var(--primary);
}

.cost-roi-card .card-item .value {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .costs-roi-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Scholarships Section --- */
.scholarships-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.scholarships-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.75rem;
}

.scholarships-section .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.scholarship-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.scholarship-type-card {
  border-radius: 16px;
  padding: 2rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}

.scholarship-type-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.scholarship-type-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scholarship-type-card ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.scholarship-type-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.scholarships-table {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.scholarships-table h3 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1.5rem 2rem 0;
  margin-bottom: 1rem;
}

.scholarships-table table {
  width: 100%;
  border-collapse: collapse;
}

.scholarships-table table tr {
  border-top: 1px solid var(--border-light);
}

.scholarships-table table td {
  padding: 1rem 2rem;
  font-size: 0.95rem;
}

.scholarships-table table td:first-child {
  font-weight: 600;
  color: var(--primary);
}

.scholarships-table table td:last-child {
  text-align: right;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .scholarship-types {
    grid-template-columns: 1fr;
  }
}

/* --- Numbered University Grid --- */
.uni-grid-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.uni-grid-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.uni-grid-section .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.uni-numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.uni-num-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.uni-num-card:hover {
  border-color: #e11d48;
  box-shadow: 0 2px 12px rgba(225, 29, 72, 0.08);
}

.uni-num-card .rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e11d48;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.uni-num-card .uni-info {
  flex: 1;
  min-width: 0;
}

.uni-num-card .uni-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uni-num-card .uni-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uni-num-card .arrow {
  color: #e11d48;
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.uni-num-card:hover .arrow {
  opacity: 1;
}

.uni-hidden {
  display: none;
}

.uni-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  padding: 0.85rem 2rem;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.uni-expand-btn:hover {
  background: var(--soft-indigo);
}

@media (max-width: 992px) {
  .uni-numbered-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .uni-numbered-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .country-hero .flag-watermark {
    font-size: 10rem;
  }
}

/* ============================================================
   University Detail Pages
   ============================================================ */

/* --- Breadcrumb --- */
.uni-breadcrumb {
  padding: 7rem 5% 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.uni-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.uni-breadcrumb a:hover {
  color: var(--accent);
}

.uni-breadcrumb span {
  margin: 0 0.4rem;
}

/* --- Uni Detail Hero --- */
.uni-detail-hero {
  padding: 1rem 5% 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.uni-detail-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.uni-detail-badges .badge {
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.uni-detail-badges .badge-blue {
  background: #dbeafe;
  color: #1e40af;
}

.uni-detail-badges .badge-gold {
  background: #fef3c7;
  color: #92400e;
}

.uni-detail-badges .badge-green {
  background: #d1fae5;
  color: #065f46;
}

.uni-detail-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.uni-detail-hero .uni-loc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.uni-detail-hero .uni-desc {
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
}

/* --- Quick Stats Row --- */
.uni-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 5%;
}

.uni-stat-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.uni-stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.uni-stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .uni-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- At a Glance --- */
.uni-glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 5%;
}

.uni-glance-item {
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.uni-glance-item .glance-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.uni-glance-item .glance-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .uni-glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Content Sections --- */
.uni-content-section {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 5%;
}

.uni-content-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.uni-content-section h3 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.uni-content-section p {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Why University Cards */
.uni-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.uni-why-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
}

.uni-why-card h3 {
  margin-bottom: 0.5rem;
}

/* Programs List */
.uni-programs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.uni-programs-list .program-tag {
  padding: 0.5rem 1rem;
  background: #f0f4ff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid #dbe4ff;
}

/* Admission Requirements */
.uni-req-list {
  list-style: none;
  padding: 0;
}

.uni-req-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: #374151;
}

.uni-req-list li::before {
  content: '✓';
  color: var(--emerald-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Costs Table */
.uni-costs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.uni-costs-table thead {
  background: var(--bg-alt);
}

.uni-costs-table th,
.uni-costs-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}

.uni-costs-table th {
  font-weight: 700;
  color: var(--primary);
}

.uni-costs-table td {
  color: #374151;
}

/* Salary Ranges */
.uni-salary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.uni-salary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.uni-salary-item .role {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
}

.uni-salary-item .salary {
  color: var(--emerald-green);
  font-weight: 700;
  font-size: 0.9rem;
}

/* FAQ Accordion */
.uni-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.uni-faq-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.uni-faq-question {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: #FFFFFF;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.uni-faq-question:hover {
  background: var(--bg-alt);
}

.uni-faq-question .faq-arrow {
  transition: transform 0.3s;
}

.uni-faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.uni-faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.7;
}

.uni-faq-item.open .uni-faq-answer {
  display: block;
}

/* --- University Detail CTA --- */
.uni-detail-cta {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--soft-indigo) 100%);
  border-radius: 20px;
  text-align: center;
  margin-left: 5%;
  margin-right: 5%;
}

.uni-detail-cta h2 {
  font-family: var(--font-display);
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.uni-detail-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.uni-detail-cta .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.uni-detail-cta .btn-gold {
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.uni-detail-cta .btn-gold:hover {
  opacity: 0.9;
}

.uni-detail-cta .btn-white-outline {
  background: transparent;
  color: #FFFFFF;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: background 0.2s;
}

.uni-detail-cta .btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- Added Fixes --- */
.country-hero .hero-content,
.country-hero .container {
  position: relative;
  z-index: 1;
}
.flag-bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: brightness(0.7) contrast(1.1);
  z-index: 0;
}
.uni-detail-cta h2 {
  color: #FFFFFF !important;
}