:root {
  --bg: #f0f4fb;
  --bg-soft: #e8eef8;
  --bg-card: #ffffff;
  --bg-muted: #dce5f5;
  --border: #c8d6ee;
  --border-accent: rgba(59, 100, 180, 0.2);

  --blue: #2c5fc4;
  --blue-bright: #3d74e8;
  --blue-dim: #5f85cc;
  --blue-pale: rgba(44, 95, 196, 0.07);
  --blue-pale2: rgba(44, 95, 196, 0.13);

  --dark: #060c1a;
  --dark-mid: #0b1530;
  --dark-light: #111e3f;
  --dark-border: rgba(61, 116, 232, 0.18);
  --dark-glass: rgba(255, 255, 255, 0.05);

  --ink: #0d1829;
  --text: #1e2f52;
  --text-mid: #4a5c80;
  --text-dim: #8294b8;

  --dark-text: #c2ceea;
  --dark-text-dim: #7388b0;

  --shadow-sm: 0 2px 12px rgba(30, 60, 130, 0.07);
  --shadow-md: 0 8px 32px rgba(30, 60, 130, 0.1);
  --shadow-lg: 0 20px 60px rgba(30, 60, 130, 0.14);

  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  /* NOTE: overflow-x on html kills position:sticky — use clip-path on body instead */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  /* overflow-x: clip; */
  /* clip, NOT hidden — clip does not create a scroll container */
  /* width: 100%; */
  /* max-width: 100%; */
}

::selection {
  background: var(--blue-dim);
  color: #fff;
}

/* ── LOADER ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-globe {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--dark-border);
  border-top-color: var(--blue-bright);
  border-right-color: var(--blue);
  animation: spin 1s linear infinite;
  position: relative;
}

.loader-globe::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  border-bottom-color: var(--blue-dim);
  animation: spin 1.5s linear infinite reverse;
}

.loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--blue-bright);
  animation: pulse-text 1.4s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-text {

  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .loader-text {
    font-size: 1.2rem;
    letter-spacing: 0.4em;
  }
}

/* ══════════════════════════════
   DARK NAV
══════════════════════════════ */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  transition: box-shadow 0.4s ease;
  padding: 0 clamp(1rem, 4vw, 3rem);
  width: 100%;
}

#mainNav.scrolled {
  box-shadow: 0 1px 0 var(--dark-border), 0 4px 24px rgba(6, 12, 26, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--blue-bright);
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.nav-brand:hover {
  opacity: 0.82;
  color: var(--blue-bright);
}

.brand-icon {
  font-size: 1.2rem;
  animation: rotate-slow 12s linear infinite;
  display: inline-block;
}

@keyframes rotate-slow {
  to {
    transform: rotate(360deg);
  }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links .nav-link {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-text-dim);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-bright);
  transition: width 0.35s ease;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: var(--blue-bright);
}

.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blue-bright);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark-mid);
  border-top: 1px solid var(--dark-border);
  padding: 0.5rem 0 0.5rem;
  box-shadow: 0 12px 40px rgba(6, 12, 26, 0.5);
}

.mobile-menu .nav-link {
  padding: 0.9rem 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--dark-text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s, background 0.3s;
  display: block;
  cursor: pointer;
  border-bottom: 1px solid rgba(61, 116, 232, 0.06);
}

.mobile-menu .nav-link:last-child {
  border-bottom: none;
}

.mobile-menu .nav-link:hover {
  color: var(--blue-bright);
  background: rgba(61, 116, 232, 0.08);
}

.mobile-menu.open {
  display: flex;
}

/* ══════════════════════════════
   DARK HERO
══════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px clamp(1rem, 5vw, 5rem) 80px;
  background: var(--dark);
  width: 100%;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  flex-shrink: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(44, 95, 196, 0.3), transparent 70%);
  top: -150px;
  left: -150px;
  animation: drift1 20s ease-in-out infinite alternate;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(80, 150, 255, 0.18), transparent 70%);
  bottom: -80px;
  right: -60px;
  animation: drift2 16s ease-in-out infinite alternate;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(100, 60, 220, 0.15), transparent 70%);
  top: 38%;
  left: 38%;
  animation: drift1 26s ease-in-out infinite alternate-reverse;
}

@keyframes drift1 {
  to {
    transform: translate(40px, 30px);
  }
}

@keyframes drift2 {
  to {
    transform: translate(-30px, -40px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--blue-bright);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  color: #e8eef8;
  margin-bottom: 1.4rem;
}

.hero-title em {
  font-style: italic;
  color: var(--blue-bright);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  line-height: 1.78;
  color: var(--dark-text-dim);
  max-width: 520px;
}

.hero-scroll-cue {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 3rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dark-text-dim);
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: var(--dark-border);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--blue-bright);
  animation: slide-line 2.5s ease-in-out infinite;
}

@keyframes slide-line {
  to {
    left: 100%;
  }
}

/* ── 3D Globe ── */
.hero-globe-wrap {
  position: absolute;
  right: clamp(-60px, 2vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 40vw, 520px);
  height: clamp(260px, 40vw, 520px);
  pointer-events: none;
  z-index: 1;
}

.globe-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(61, 116, 232, 0.18);
  animation: globe-spin 20s linear infinite;
}

.ring-2 {
  width: 80%;
  height: 80%;
  border: 1px solid rgba(61, 116, 232, 0.28);
  animation: globe-spin 14s linear infinite reverse;
}

.ring-3 {
  width: 60%;
  height: 60%;
  border: 1px solid rgba(61, 116, 232, 0.22);
  animation: globe-spin 9s linear infinite;
}

@keyframes globe-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.globe-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(61, 116, 232, 0.35), rgba(6, 12, 26, 0.9) 70%);
  border: 1px solid rgba(61, 116, 232, 0.3);
  box-shadow: 0 0 60px rgba(44, 95, 196, 0.2), inset 0 0 30px rgba(61, 116, 232, 0.1);
}

.globe-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-bright);
}

.dot-a {
  top: 22%;
  left: 38%;
  animation: pulse-dot 3s ease-in-out infinite;
}

.dot-b {
  top: 55%;
  left: 62%;
  animation: pulse-dot 3s ease-in-out infinite 0.8s;
}

.dot-c {
  top: 70%;
  left: 28%;
  animation: pulse-dot 3s ease-in-out infinite 1.6s;
}

.dot-d {
  top: 35%;
  left: 72%;
  animation: pulse-dot 3s ease-in-out infinite 2.4s;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Purana .hero-globe-wrap replace karo isse */
.hero-globe-wrap {
  position: absolute;
  right: clamp(-60px, 2vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 40vw, 520px);
  height: clamp(260px, 40vw, 520px);
  pointer-events: auto;
  /* Globe ko click/hover enable karne ke liye */
  z-index: 1;
}

#visara-canvas-globe {
  width: 100%;
  height: 100%;
}

/* .globe-ring, .globe-core, .globe-dot wale saare CSS rules delete kar de */


/* ══════════════════════════════
   LIGHT SECTIONS (shared)
══════════════════════════════ */
.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--blue);
}

.section-sub {
  color: var(--text-mid);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Destinations section ── */
.destinations-section {
  padding: clamp(3rem, 8vw, 7rem) 0;
  background: var(--bg);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  width: 100%;
}

.country-card {
  position: relative;
  height: 230px;
  perspective: 1000px;
  cursor: pointer;
  width: 100%;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: var(--radius);
}

.country-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.card-front {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.country-card:hover .card-front {
  border-color: var(--blue-dim);
  box-shadow: var(--shadow-md);
}

.card-flag {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(30, 60, 130, 0.12));
}

.card-country-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  padding: 0 10px;
}

.card-region {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.card-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transition: width 0.5s ease;
}

.country-card:hover .card-hover-line {
  width: 100%;
}

.card-back {
  background: linear-gradient(135deg, var(--dark-mid) 0%, var(--dark-light) 100%);
  border: 1px solid var(--dark-border);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem;
  text-align: center;
}

.card-back-flag {
  font-size: 1.8rem;
}

.card-back-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--blue-bright);
}

.card-back-tagline {
  font-size: 0.7rem;
  color: var(--dark-text-dim);
  line-height: 1.45;
}

.card-back-cta {
  margin-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-bright);
  border: 1px solid var(--dark-border);
  padding: 5px 12px;
  border-radius: 50px;
  transition: all 0.3s;
  cursor: pointer;
}

.card-back-cta:hover {
  background: rgba(61, 116, 232, 0.15);
  border-color: var(--blue-bright);
}

/* ── Stats ── */
.stats-section {
  padding: 3rem 0;
  position: relative;
  background: var(--bg);
  width: 100%;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.5rem;
  width: 100%;
}

.stat-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 0.8rem 1rem;
}

.stat-item .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
}

.stat-item .stat-suffix {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--blue-dim);
}

.stat-item p {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ── Why section ── */
.why-section {
  padding: clamp(3rem, 8vw, 7rem) 0;
  background: var(--bg-soft);
}

.why-body {
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-top: 1.2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--blue-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.feature-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Country detail screen ── */
#screen-detail {
  display: none;
  min-height: 100vh;
  animation: fadeInUp 0.45s ease both;
  background: var(--bg);
  width: 100%;
  overflow-x: hidden;
}

#screen-detail.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 100px clamp(1rem, 5vw, 5rem) 3rem;
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark-mid) 60%, var(--dark-light) 100%);
  width: 100%;
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 4%, transparent 50%);
}

.detail-hero-bg-flag {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-size: clamp(6rem, 18vw, 16rem);
  opacity: 0.05;
  filter: blur(1px);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  max-width: 50%;
  overflow: hidden;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.detail-flag-big {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
}

.detail-title-block {
  flex: 1;
  min-width: 200px;
}

.detail-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 300;
  color: #e8eef8;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.detail-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.detail-tag {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(61, 116, 232, 0.12);
  border: 1px solid var(--dark-border);
  padding: 4px 10px;
  border-radius: 50px;
}

.detail-back-btn {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  margin: 88px 0 0 clamp(1rem, 5vw, 5rem);
  width: fit-content;
  max-width: calc(100% - 2rem);
}

.detail-back-btn:hover {
  color: var(--blue-bright);
  border-color: var(--dark-border);
  background: rgba(61, 116, 232, 0.1);
}

.detail-back-btn i {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.detail-body {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 8vw, 6rem);
  width: 100%;
}

.detail-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.detail-tabs::-webkit-scrollbar {
  display: none;
}

.dtab {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dtab:hover {
  color: var(--text);
}

.dtab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.detail-tab-pane {
  display: none;
}

.detail-tab-pane.active {
  display: block;
  animation: fadeInUp 0.3s ease both;
}

.detail-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.detail-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.detail-info-card h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.detail-info-card p,
.detail-info-card li {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.detail-info-card ul {
  padding-left: 1.1rem;
}

.detail-info-card li {
  margin-bottom: 4px;
}

.detail-overview-text {
  margin-bottom: 2rem;
}

.detail-overview-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.doc-list {
  list-style: none;
  padding: 0;
}

.doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
  counter-increment: doc-counter;
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list li i {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.p-num {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  width: 40px;
}

.p-step h5 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
}

.p-step p {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.detail-apply-bar {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--dark-mid), var(--dark-light));
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 2rem clamp(1.2rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.detail-apply-bar h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 300;
  color: #e8eef8;
  margin-bottom: 0.4rem;
}

.detail-apply-bar p {
  font-size: 0.83rem;
  color: var(--dark-text-dim);
  line-height: 1.6;
  max-width: 500px;
}

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--blue-bright);
  color: var(--blue-bright);
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn-gold span,
.btn-gold i {
  position: relative;
  z-index: 1;
}

.btn-gold:hover {
  color: #fff !important;
  background: transparent;
}

.btn-gold:hover::before {
  transform: scaleX(1);
}

/* ══════════════════════════════
   CONTACT HERO (fully dark — no gradient fade)
══════════════════════════════ */
.contact-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px clamp(1rem, 5vw, 4rem) 60px;
  background: var(--dark);
  width: 100%;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.contact-hero .hero-eyebrow {
  color: var(--blue-bright);
}

.contact-hero .hero-title {
  color: #e8eef8;
}

.contact-hero .hero-sub {
  color: var(--dark-text-dim);
}

/* ── Contact section ── */
.contact-section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 7rem);
  background: var(--bg);
}

.contact-info-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.office-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.office-card:hover {
  border-color: var(--blue-dim);
  box-shadow: var(--shadow-md);
}

.office-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--blue-pale2);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.office-card h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.office-card p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.office-card a {
  display: block;
  font-size: 0.78rem;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.3s;
  margin-top: 2px;
}

.office-card a:hover {
  color: var(--blue-bright);
}

.office-card a i {
  margin-right: 5px;
}

.hours-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
}

.hours-block h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.hours-block h5 i {
  margin-right: 6px;
}

.hours-block p {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-bottom: 3px;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.83rem;
  color: var(--text-mid);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group-custom label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group-custom input,
.form-group-custom select,
.form-group-custom textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 11px 14px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
}

.form-group-custom input:focus,
.form-group-custom select:focus,
.form-group-custom textarea:focus {
  border-color: var(--blue-dim);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(44, 95, 196, 0.09);
}

.form-group-custom input::placeholder,
.form-group-custom textarea::placeholder {
  color: var(--text-dim);
}

.form-group-custom select option {
  background: var(--bg-card);
  color: var(--ink);
}

.form-group-custom textarea {
  resize: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--blue);
}

.form-success p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.form-success.visible {
  display: block;
}

/* ============================= FORM TO MAIL ===================================== */

.form-error{
  display:none;
  margin-top:20px;
  color:#dc3545;
  font-weight:600;
}

.form-error.visible{
  display:block;
}

.form-success{
  display:none;
}

.form-success.visible{
  display:block;
}

.btn-gold:disabled{
  opacity:.7;
  cursor:not-allowed;
}

/* ══════════════════════════════
   DARK FOOTER
══════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--blue-bright);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--dark-text-dim);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.3s;
  flex-shrink: 0;
}

.social-links a:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}

.footer-links-col h6 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.1rem;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
}

.footer-links-col ul li {
  margin-bottom: 0.6rem;
}

.footer-links-col ul li a {
  font-size: 0.82rem;
  color: var(--dark-text-dim);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-links-col ul li a:hover {
  color: var(--blue-bright);
}

.footer-links-col address {
  font-size: 0.8rem;
  color: var(--dark-text-dim);
  line-height: 1.7;
  font-style: normal;
}

.footer-links-col address a {
  color: var(--dark-text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-col address a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.73rem;
  color: var(--dark-text-dim);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.73rem;
  color: var(--dark-text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--blue-bright);
}

/* ══════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-globe-wrap {
    opacity: 0.35;
    right: -60px;
  }
}

/* ══════════════════════════════
   RESPONSIVE — 767px (primary mobile breakpoint)
══════════════════════════════ */
@media (max-width: 767px) {

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide globe entirely */
  .hero-globe-wrap {
    display: none !important;
  }

  /* Hero */
  .hero-section {
    min-height: auto;
    height: auto;
    padding: 90px 1.25rem 55px;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-sub {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .hero-scroll-cue {
    margin-top: 2rem;
  }

  /* Contact hero */
  .contact-hero {
    min-height: auto;
    padding: 100px 1.25rem 50px;
  }

  .contact-hero .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .contact-hero .hero-sub {
    max-width: 100%;
  }

  /* Sections */
  .destinations-section {
    padding: 2.5rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-sub {
    font-size: 0.88rem;
  }

  /* Countries grid — 2 columns on mobile */
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .country-card {
    height: 190px;
  }

  .card-flag {
    font-size: 2.4rem;
  }

  .card-country-name {
    font-size: 1rem;
    padding: 0 8px;
  }

  .card-region {
    font-size: 0.58rem;
  }

  /* Stats */
  .stats-section {
    padding: 2rem 0;
  }

  .stats-bar {
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 0;
  }

  .stat-item {
    padding: 1rem 1rem;
    width: 100%;
    min-width: unset;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .stat-item .stat-num {
    font-size: 2.4rem;
  }

  /* Why section */
  .why-section {
    padding: 2.5rem 0;
  }

  .why-body {
    font-size: 0.88rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.3rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    gap: 1.2rem;
  }

  /* Detail screen */
  .detail-back-btn {
    margin: 80px 0 0 1.25rem;
    font-size: 0.65rem;
    padding: 9px 16px;
  }

  .detail-hero {
    min-height: auto;
    padding: 0 1.25rem 2.5rem;
  }

  .detail-hero-content {
    gap: 1rem;
  }

  .detail-flag-big {
    font-size: 2.8rem;
  }

  .detail-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .detail-body {
    padding: 2rem 1.25rem 3rem;
  }

  .detail-overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .detail-overview-grid .detail-info-card {
    padding: 1.2rem;
  }

  .detail-apply-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.2rem;
  }

  .detail-apply-bar .btn-gold {
    width: 100%;
    justify-content: center;
  }

  /* Contact section */
  .contact-section {
    padding: 2.5rem 0 3rem;
  }

  .contact-info-block {
    margin-bottom: 2rem;
  }

  .contact-info-block h3 {
    margin-bottom: 1.2rem;
  }

  .contact-form-wrap {
    padding: 1.4rem;
  }

  .contact-form-wrap h3 {
    font-size: 1.5rem;
  }

  .form-sub {
    font-size: 0.8rem;
    margin-bottom: 1.4rem;
  }

  /* Row override for stacked form fields */
  .contact-section .col-sm-6 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ══════════════════════════════
   RESPONSIVE — 480px (small phones)
══════════════════════════════ */
@media (max-width: 480px) {
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .country-card {
    height: 175px;
  }

  .card-flag {
    font-size: 2.1rem;
  }

  .card-country-name {
    font-size: 0.92rem;
  }

  .card-back-tagline {
    font-size: 0.62rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .contact-hero .hero-title {
    font-size: 2.1rem;
  }

  .dtab {
    padding: 10px 14px;
    font-size: 0.65rem;
  }

  .footer-legal {
    gap: 0.8rem;
  }

  .footer-legal a {
    font-size: 0.68rem;
  }

  .btn-gold {
    padding: 12px 22px;
    font-size: 0.68rem;
  }

  .detail-apply-bar h4 {
    font-size: 1.25rem;
  }
}


/* ── VISA TYPE TABS ── */
.visa-type-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.vt-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vt-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
  border-radius: 50px;
}

.vt-tab-icon,
.vt-tab-label,
.vt-tab-count {
  position: relative;
  z-index: 1;
}

.vt-tab-icon {
  font-size: 1rem;
  color: var(--blue-dim);
  transition: color 0.3s;
}

.vt-tab-label {
  color: var(--text-mid);
  transition: color 0.3s;
}

.vt-tab-count {
  background: var(--blue-pale2);
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 50px;
  border: 1px solid var(--border-accent);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.vt-tab:hover {
  border-color: var(--blue-dim);
}

.vt-tab.active {
  border-color: var(--blue);
  color: #fff;
}

.vt-tab.active::before {
  transform: scaleX(1);
}

.vt-tab.active .vt-tab-icon {
  color: rgba(255, 255, 255, 0.8);
}

.vt-tab.active .vt-tab-label {
  color: #fff;
}

.vt-tab.active .vt-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── E-VISA BADGE ON CARD ── */
/* .card-evisa-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale2);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 50px;
  z-index: 2;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} */

/* ── OPTGROUP STYLE ── */
.form-group-custom select optgroup {
  font-weight: 600;
  color: var(--blue);
  background: var(--bg-card);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .visa-type-tabs {
    gap: 0.7rem;
  }

  .vt-tab {
    padding: 10px 16px;
    font-size: 0.7rem;
    gap: 7px;
    flex: 1;
    justify-content: center;
  }

  .vt-tab-label {
    /* display: none; */
    Font-size: 0.55rem;
  }

  .vt-tab-count {
    font-size: 0.62rem;
  }
}

@media (max-width: 380px) {
  .vt-tab {
    padding: 9px 12px;
  }
}

/* ══════════════════════════════
   SCROLLBAR
══════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dim);
}

/* ══════════════════════════════════════════════
   STACKING CARDS — About / Expertise / Why
══════════════════════════════════════════════ */

/* The scene must NOT have overflow:hidden — sticky needs to see the scroll container */
.stack-scene {
  position: relative;
  width: 100%;
  /* height set by JS: N × 100vh + 50vh */
}

/* Cards are position:sticky, set by JS. CSS only handles visual appearance. */
.stack-card {
  position: relative;
  /* needed for z-index layering */
  width: 100%;
  min-height: 100vh;
  transform-origin: center top;
  will-change: transform, opacity;
  padding: 0;
  /* horizontal breathing room */
  margin-bottom: 2rem;
  /* fallback spacing before JS activates */
}

.stack-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0px;
  box-shadow: 0 8px 48px rgba(30, 60, 130, 0.12), 0 2px 8px rgba(30, 60, 130, 0.06);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Per-card backgrounds */
#scard-1 .stack-card-inner {
  background: #ffffff;
}

#scard-2 .stack-card-inner {
  background: var(--bg-soft);
}

#scard-3 .stack-card-inner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  border-color: var(--dark-border);
}

/* Card 3 dark text overrides */
#scard-3 .stack-eyebrow {
  color: var(--blue-bright);
}

#scard-3 .stack-title {
  color: #e8eef8;
}

#scard-3 .stack-title em {
  color: var(--blue-bright);
}

#scard-3 .stack-lead {
  color: var(--dark-text-dim);
}

#scard-3 .why-num {
  color: var(--blue-bright);
}

#scard-3 .why-item h5 {
  color: #e8eef8;
}

#scard-3 .why-item p {
  color: var(--dark-text-dim);
}

#scard-3 .why-item {
  border-bottom-color: var(--dark-border);
}

/* Watermark number */
.stack-card-number {
  position: absolute;
  bottom: 1.5rem;
  right: 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  color: var(--blue-pale2);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

#scard-3 .stack-card-number {
  color: rgba(61, 116, 232, 0.1);
}

/* Two-column layout inside each card */
.stack-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  width: 100%;
}

/* .stack-left { }   static — no sticky inside sticky */

.stack-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.stack-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.stack-title em {
  font-style: italic;
  color: var(--blue);
}

.stack-lead {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.stack-body {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.stack-body:last-of-type {
  margin-bottom: 0;
}

/* Founders pills */
.stack-founders {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.founder-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale2);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 6px 14px 6px 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}

.founder-initial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Tag pills */
.stack-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.stack-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--border-accent);
  padding: 4px 12px;
  border-radius: 50px;
}

/* Expertise grid */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.expertise-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.expertise-item:hover {
  border-color: var(--blue-dim);
  box-shadow: var(--shadow-sm);
}

.expertise-icon {
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.expertise-item h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.expertise-item p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Why list */
.why-list {
  display: flex;
  flex-direction: column;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.why-item:first-child {
  padding-top: 0;
}

.why-item:last-child {
  border-bottom: none;
}

.why-num {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  width: 36px;
}

.why-item h5 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.why-item p {
  font-size: 0.81rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Footer visa links */
.footer-visa-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--dark-text-dim);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-visa-link:hover {
  color: var(--blue-bright);
}

.footer-visa-dot {
  color: var(--blue-bright);
  font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .stack-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stack-card-inner {
    min-height: auto;
    padding: 2.5rem 2rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {

  .stack-card {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
  }



  .stack-card-inner {
    padding: 2rem 1.25rem;
    border-radius: 0;
    min-height: auto;
  }

  .stack-card-number {
    font-size: 4rem;
    bottom: 1rem;
    right: 1rem;
  }

  .stack-title {
    font-size: 2rem;
  }

  .founder-pill {
    font-size: 0.72rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .expertise-item {
    padding: 1rem;
  }

  .why-item {
    gap: 0.8rem;
  }

  .why-num {
    font-size: 1.3rem;
    width: 28px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FLAG-BACKGROUND COUNTRY CARDS — Premium Redesign
═══════════════════════════════════════════════════════════ */

/* Override card front: use flag image as full-bleed background */
.card-front {
  background: var(--bg-card);
  border: none !important;
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}

/* Flag image layer — fills the whole card face */
.card-front-flag-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.country-card:hover .card-front-flag-img {
  transform: scale(1.06);
}

/* Dark gradient overlay for readability */
.card-front-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(4, 8, 20, 0.88) 0%,
      rgba(4, 8, 20, 0.52) 45%,
      rgba(4, 8, 20, 0.18) 75%,
      rgba(4, 8, 20, 0.05) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.country-card:hover .card-front-overlay {
  background: linear-gradient(to top,
      rgba(4, 8, 20, 0.92) 0%,
      rgba(4, 8, 20, 0.6) 50%,
      rgba(4, 8, 20, 0.22) 80%,
      rgba(4, 8, 20, 0.06) 100%);
}

/* Fallback gradient when no flag image loads */
.card-front-flag-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark-mid) 0%, var(--dark-light) 100%);
  z-index: 0;
}

/* Text content sits above overlay */
.card-front-content {
  position: relative;
  z-index: 2;
  padding: 1rem 1.1rem 1.1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Override old text colors for dark-bg card */
.card-front .card-country-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 400;
  color: #f0f4fb;
  text-align: left;
  padding: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.01em;
}

.card-front .card-region {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(180, 200, 240, 0.75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Shimmer accent line on bottom of card-front */
.card-front .card-hover-line {
  z-index: 3;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), var(--blue-bright), rgba(255, 255, 255, 0.4));
}

/* Top-right corner badge on front */
.card-front-corner-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  opacity: 0.85;
  color: #fff;
}

/* E-visa badge stays visible */
/* .card-evisa-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(61, 116, 232, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 9px;
  border-radius: 50px;
} */

.card-evisa-badge {
  display: none;
}

/* Card back: premium dark with subtle flag-tone shimmer */
.card-back {
  background: linear-gradient(160deg, #0b1530 0%, #111e3f 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative country-tone glow on card back */
.card-back::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, var(--card-accent, rgba(61, 116, 232, 0.18)) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.card-back>* {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   COUNTRY DETAIL HERO — Split Premium Design
═══════════════════════════════════════════════════════════ */

.detail-hero {
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--detail-theme-color, var(--dark));
  width: 100%;
}

/* Left solid colour half */
.detail-hero-left {
  position: absolute;
  inset: 0;
  width: 55%;
  background: var(--detail-theme-color, var(--dark));
  z-index: 0;
}

/* Right flag image half */
.detail-hero-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 0;
  overflow: hidden;
}

.detail-hero-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

/* Soft diagonal fade from left solid → right flag */
.detail-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      var(--detail-theme-color, var(--dark)) 0%,
      var(--detail-theme-color, var(--dark)) 32%,
      color-mix(in srgb, var(--detail-theme-color, var(--dark)) 60%, transparent) 52%,
      transparent 72%);
  z-index: 1;
  pointer-events: none;
}

/* Bottom gradient so content flows into page */
.detail-hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Fallback when no flag image: full dark gradient */
.detail-hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--detail-theme-color, var(--dark)) 0%, var(--dark-light) 100%);
  z-index: 0;
}

/* Dark tint over entire hero for contrast */
.detail-hero-tint {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, 0.32);
  z-index: 2;
  pointer-events: none;
}

/* Content must sit above all layers */
.detail-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  gap: 1.8rem;
  flex-wrap: wrap;
  width: 100%;
  padding: 100px clamp(1.5rem, 5vw, 5rem) 3.5rem;
  max-width: 820px;
}

/* Remove old orbs from detail hero */
.detail-hero .hero-orbs {
  display: none;
}

/* Large flag display — circular + shadow */
.detail-flag-big {
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  width: clamp(72px, 12vw, 112px);
  height: clamp(72px, 12vw, 112px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Flag image inside detail badge */
.detail-flag-big img {
  width: 68%;
  height: 68%;
  object-fit: cover;
  border-radius: 4px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.detail-title-block {
  flex: 1;
  min-width: 200px;
}

.detail-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: rgba(200, 220, 255, 0.75);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.detail-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.detail-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--text);
  backdrop-filter: blur(8px);
  padding: 4px 11px;
  border-radius: 50px;
  font-weight: 500;
}

/* Back button style when on detail screen (appears over dark hero) */
.detail-back-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(200, 220, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  position: absolute;
  top: 88px;
  left: clamp(1.5rem, 5vw, 5rem);
  z-index: 20;
  margin: 0;
}

.detail-back-btn:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

/* Responsive: stack on mobile */
@media (max-width: 640px) {
  .detail-hero-right {
    width: 100%;
    opacity: 0.35;
  }

  .detail-hero-fade {
    background: linear-gradient(to right,
        var(--detail-theme-color, var(--dark)) 0%,
        var(--detail-theme-color, var(--dark)) 10%,
        color-mix(in srgb, var(--detail-theme-color, var(--dark)) 55%, transparent) 45%,
        transparent 100%);
  }

  .detail-hero-content {
    gap: 1.2rem;
    padding-bottom: 2.5rem;
  }

  .detail-flag-big {
    width: 64px;
    height: 64px;
  }
}


/* ═══════════════════════════════════════
   BUG FIXES — Square cards + clean hero
═══════════════════════════════════════ */

/* FIX 1: Square cards — aspect-ratio overrides fixed height */
.country-card {
  height: unset !important;
  aspect-ratio: 1 / 1;
}

/* Card-front and card-back must fill the parent fully */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* FIX 2: Detail hero — full-bleed flag, NO horizontal split gradient */
.detail-hero-left,
.detail-hero-fade {
  display: none !important;
}

/* Right panel fills full hero width */
.detail-hero-right {
  width: 100% !important;
  left: 0 !important;
}

.detail-hero-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Strong dark overlay so all text stays readable */
.detail-hero-tint {
  background: rgba(4, 8, 20, 0.58) !important;
}

/* Bottom fade to page background */
.detail-hero-bottom-fade {
  height: 45% !important;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%) !important;
}


/* ═══════════════════════════════════════════════════════════
   FINAL FIX — Full flag on cards + split hero with full flag
═══════════════════════════════════════════════════════════ */

/* ── CARDS: show full flag contained, country color as bg ── */
.card-front {
  background: var(--card-theme-bg, #0b1530) !important;
}

.card-front-flag-fallback {
  display: none !important;
  /* theme bg on .card-front replaces this */
}

.card-front-flag-img {
  object-fit: contain !important;
  /* no cropping — full flag visible */
  object-position: center !important;
  padding: 8% 6%;
  /* breathing room so flag doesn't touch edges */
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.country-card:hover .card-front-flag-img {
  transform: scale(1.08);
}

/* Overlay: lighter at top (flag visible), stronger only at very bottom (text) */
.card-front-overlay {
  background: linear-gradient(to top,
      rgba(4, 8, 20, 0.82) 0%,
      rgba(4, 8, 20, 0.38) 38%,
      rgba(4, 8, 20, 0.0) 65%) !important;
}

.country-card:hover .card-front-overlay {
  background: linear-gradient(to top,
      rgba(4, 8, 20, 0.88) 0%,
      rgba(4, 8, 20, 0.45) 42%,
      rgba(4, 8, 20, 0.0) 68%) !important;
}

/* ── DETAIL HERO: split layout — left solid, right full flag ── */

/* Reset previous full-width override */
.detail-hero-right {
  width: 55% !important;
  left: auto !important;
  right: 0 !important;
  top: 0;
  bottom: 0;
  position: absolute;
  overflow: visible !important;
  /* allow flag to show without crop */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent !important;
}

.detail-hero-right-img {
  /* show full flag — contained, not cropped */
  width: auto !important;
  height: 78% !important;
  /* fits within hero height with breathing room */
  max-width: 95% !important;
  object-fit: contain !important;
  object-position: right center !important;
  display: block;
  margin: 0 3% 0 auto;
  filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.45));
  border-radius: 4px;
}

/* Left solid color: full-width bg, then right half is transparent */
.detail-hero {
  background: var(--detail-theme-color, #0b1530) !important;
}

/* Remove the injected left panel div — hero bg colour already handles left side */
.detail-hero-left {
  display: none !important;
}

/* Vertical soft-edge fade: ONLY at the left boundary of the flag panel */
.detail-hero-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 120px;
  /* narrow vertical strip — the ONLY fade */
  background: linear-gradient(to right,
      var(--detail-theme-color, #0b1530) 0%,
      transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Tint: lighter since we no longer cover the whole hero */
.detail-hero-tint {
  background: rgba(4, 8, 20, 0.22) !important;
}

/* Bottom fade */
.detail-hero-bottom-fade {
  height: 38% !important;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%) !important;
}

/* Remove old horizontal fade */
.detail-hero-fade {
  display: none !important;
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
  .detail-hero {
    min-height: 52vh;
  }

  .detail-hero-right {
    width: 100% !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    opacity: 0.25;
  }

  .detail-hero-right-img {
    height: 60% !important;
    width: auto !important;
  }

  .detail-hero-right::before {
    display: none;
  }

  .detail-hero-tint {
    background: rgba(4, 8, 20, 0.55) !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════ */

.services-section {
  padding: 7rem 0 5rem;
  background: var(--bg);
  position: relative;
}

.services-head {
  text-align: center;
  margin-bottom: 4.5rem;
}

.services-head .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Cards stack */
.services-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Horizontal rule between cards */
.service-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(61, 116, 232, 0.25), transparent);
  margin: 0;
}

/* Individual service card */
.service-card {
  display: flex;
  gap: 2.5rem;
  padding: 3rem 0;
  align-items: flex-start;
  transition: background 0.3s;
}

.service-card:hover {
  background: rgba(61, 116, 232, 0.03);
}

/* Highlighted last card */
.service-card--highlight {
  background: linear-gradient(135deg, rgba(61, 116, 232, 0.06) 0%, rgba(11, 21, 48, 0.4) 100%);
  border: 1px solid rgba(61, 116, 232, 0.12);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  margin-top: 0.5rem;
}

.service-card--highlight:hover {
  background: linear-gradient(135deg, rgba(61, 116, 232, 0.10) 0%, rgba(11, 21, 48, 0.5) 100%);
}

/* Icon column */
.service-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(61, 116, 232, 0.1);
  border: 1px solid rgba(61, 116, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin-top: 0.2rem;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-card-icon {
  background: rgba(61, 116, 232, 0.18);
  border-color: rgba(61, 116, 232, 0.35);
}

/* Body */
.service-card-body {
  flex: 1;
  min-width: 0;
}

.service-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #f0f4fb;
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

.service-card-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(180, 200, 240, 0.72);
  max-width: 680px;
  margin-bottom: 1.4rem;
}

/* Tag pills */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-tags span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(180, 200, 240, 0.8);
  background: rgba(61, 116, 232, 0.1);
  border: 1px solid rgba(61, 116, 232, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
}

/* Brand block inside last card */
.service-card-brand {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(61, 116, 232, 0.18);
}

.service-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #f0f4fb;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.service-brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════
   TEAM SECTION (inside services)
═══════════════════════════════════════════════════════════ */

.services-team {
  margin-top: 6rem;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(61, 116, 232, 0.15);
}

.services-team-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-team-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: #f0f4fb;
  margin-top: 0.4rem;
}

.services-team-title em {
  font-style: italic;
  color: var(--blue-bright);
}

.services-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

/* Individual team card */
.team-card {
  background: linear-gradient(160deg, #0d1a3a 0%, #090f22 100%);
  border: 1px solid rgba(61, 116, 232, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.3s,
    box-shadow 0.35s;
  cursor: default;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 116, 232, 0.35);
  box-shadow: 0 16px 48px rgba(30, 60, 130, 0.25);
}

/* Photo */
.team-img-wrap {
  width: 100%;
  aspect-ratio: 7 / 8;
  overflow: hidden;
  background: #0b1530;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9) saturate(0.9);
}

.team-card:hover .team-img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

/* Name / role */
.team-info {
  padding: 1.1rem 1.2rem 1.3rem;
  border-top: 1px solid rgba(61, 116, 232, 0.12);
}

.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #eef2fc;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.team-role {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    gap: 1.2rem;
  }

  .services-team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 4rem 0 3rem;
  }
}


/* ═══════════════════════════════════════════════════════════
   DOCUMENT TAB TOGGLE — Tourist / Business
═══════════════════════════════════════════════════════════ */

.doc-visa-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.doc-vtab {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: transparent;
  border: 1px solid var(--blue-bright);
  border-radius: 50px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all 0.25s;
}

.doc-vtab:hover {
  color: rgba(180, 200, 240, 0.9);
  border-color: rgba(61, 116, 232, 0.45);
  background: rgba(61, 116, 232, 0.08);
}

.doc-vtab.active {
  color: var(--text-mid);
  background: rgba(61, 116, 232, 0.22);
  border-color: var(--text-mid);
}

.doc-vpanel {
  display: none;
}

.doc-vpanel.active {
  display: block;
  animation: fadeTabIn 0.25s ease;
}

@keyframes fadeTabIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ordered document list */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  counter-reset: doc-counter;
}

/* .doc-list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.55;

} */

.doc-list li::before {
  content: counter(doc-counter, decimal-leading-zero);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
  opacity: 0.7;
  flex-shrink: 0;
  min-width: 22px;
  padding-top: 1px;
}

/* Remove the old check icon if JS injects it */
.doc-list li .bi {
  display: none;
}


/* ═══════════════════════════════════════════════════════════
   SERVICES — 3-COLUMN CARD GRID (redesign)
═══════════════════════════════════════════════════════════ */

.services-section {
  padding: 7rem 0 6rem;
  background: var(--bg);
}

.services-head {
  text-align: center;
  margin-bottom: 1rem;
}

.services-sub {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-mid);
  margin: 0.75rem auto 3.5rem;
  max-width: 480px;
  line-height: 1.7;
}

/* ── 3-column grid ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* ── Individual card ── */
.svc-card {
  background: linear-gradient(155deg, #0d1b3e 0%, #090f24 100%);
  border: 1px solid rgba(61, 116, 232, 0.14);
  border-radius: 20px;
  padding: 2rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  /* subtle top-edge accent */
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(61, 116, 232, 0.45), transparent);
  border-radius: 0 0 50% 50%;
}

.svc-card:hover {
  border-color: rgba(61, 116, 232, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15, 30, 80, 0.35);
}

/* Featured (3rd) card */
.svc-card--featured {
  background: linear-gradient(155deg, #112048 0%, #0b1535 100%);
  border-color: rgba(61, 116, 232, 0.28);
}

.svc-card--featured::before {
  background: linear-gradient(to right, transparent, rgba(61, 116, 232, 0.7), transparent);
}

/* ── Card top row: icon + number ── */
.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.svc-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(61, 116, 232, 0.12);
  border: 1px solid rgba(61, 116, 232, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7aadff;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

.svc-card:hover .svc-icon-wrap {
  background: rgba(61, 116, 232, 0.22);
  border-color: rgba(61, 116, 232, 0.45);
}

.svc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #7aadff;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.svc-card:hover .svc-num {
  color: rgba(61, 116, 232, 0.32);
}

/* ── Title ── */
.svc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 400;
  color: #eef2fc;
  line-height: 1.25;
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}

/* ── Description ── */
.svc-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(185, 210, 255, 0.65);
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ── Tag pills ── */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.svc-tags span {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(160, 200, 255, 0.75);
  background: rgba(61, 116, 232, 0.09);
  border: 1px solid rgba(61, 116, 232, 0.18);
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ── Brand block (card 3) ── */
.svc-brand-block {
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(61, 116, 232, 0.15);
}

.svc-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #e4ecff;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.svc-brand-tag {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a90e8;
  opacity: 0.8;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-card:last-child {
    grid-column: auto;
  }

  .services-section {
    padding: 4.5rem 0 4rem;
  }
}