/* ==========================================================================
   DAWOOD BHAI EDUCATIONAL CONSULTANCY — CORE STYLES
   Table of contents:
   1. Reset & base        5. Buttons               9.  Country / stamp cards
   2. Layout helpers       6. Navigation            10. Pricing / tickets
   3. Typography           7. Hero & boarding pass   11. Testimonials & FAQ
   4. Section shells        8. Stats & process        12. Forms & footer
   ========================================================================== */

/* ---------------------------- 1. Reset & base --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 2px; }

/* ---------------------------- 2. Layout helpers -------------------------- */
.container-xl { max-width: 1280px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--sp-2xl); position: relative; }
.section--tight { padding-block: var(--sp-xl); }
.bg-mist { background: var(--color-mist); }
.bg-navy { background: var(--grad-navy); color: var(--color-white); }
.bg-white { background: var(--color-white); }
.text-gold { color: var(--color-gold); }
.text-royal { color: var(--color-royal); }
.text-slate { color: var(--color-slate); }

/* Reveal-on-scroll base state */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------------------------- 3. Typography ------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h1); }
h3 { font-size: var(--fs-h2); }
h4 { font-size: var(--fs-h3); }
p { margin: 0; }
.lede { font-size: 1.2rem; color: var(--color-slate); max-width: 640px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-royal);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--sp-sm);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--color-gold);
}
.bg-navy .eyebrow, .on-dark .eyebrow { color: var(--color-gold); }

.section-head { max-width: 720px; margin-bottom: var(--sp-lg); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------------------------- 4. Section shells -------------------------- */
.section-divider { position: relative; height: 1px; background: linear-gradient(90deg, transparent, var(--color-line) 20%, var(--color-line) 80%, transparent); margin: 0; }
.dotted-rule { border: none; border-top: 2px dotted var(--color-line); margin-block: var(--sp-lg); }

/* ---------------------------- 5. Buttons --------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-gold { background: var(--grad-gold); color: var(--color-navy-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 16px 36px -8px rgba(245,180,0,.55); }

.btn-royal { background: var(--grad-royal); color: #fff; box-shadow: 0 12px 30px -10px rgba(15,82,186,.55); }
.btn-royal:hover { box-shadow: 0 16px 36px -8px rgba(15,82,186,.6); }

.btn-outline { background: transparent; color: var(--color-navy-900); border: 1.5px solid var(--color-navy-900); }
.btn-outline:hover { background: var(--color-navy-900); color: #fff; }

.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-sm { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------------------- 6. Navigation ------------------------------ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding-block: 1.35rem;
  transition: background var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
}
.navbar .container-xl { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.navbar.is-scrolled { background: rgba(5, 15, 36, 0.92); backdrop-filter: blur(14px); padding-block: 0.85rem; box-shadow: 0 8px 30px -14px rgba(0,0,0,.5); }

.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.15rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-gold);
  display: grid; place-items: center;
  color: var(--color-navy-900); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-gold);
}
.brand small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .12em; color: var(--color-gold); font-weight: 500; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a { color: rgba(255,255,255,.82); font-weight: 600; font-size: 0.94rem; position: relative; padding-block: 0.3rem; }
.nav-links a::after { content:""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-gold); transition: width var(--dur-fast) var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; z-index: 1100; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--dur-fast), opacity var(--dur-fast); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; background: var(--grad-navy);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.9rem;
  transform: translateX(100%); transition: transform var(--dur-med) var(--ease-out);
  z-index: 1050;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }

/* ---------------------------- 7. Hero & boarding pass -------------------- */
.hero {
  background: var(--grad-navy);
  color: #fff;
  padding-top: clamp(7.5rem, 14vw, 10rem);
  padding-bottom: var(--sp-2xl);
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: var(--color-royal); top: -180px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: var(--color-gold); opacity: .18; bottom: -160px; left: -80px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 2; }
.hero-copy h1 { margin-bottom: var(--sp-sm); }
.hero-copy .lede { color: rgba(255,255,255,.78); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: var(--sp-md); }

.flight-path { display: flex; align-items: center; gap: 0.7rem; margin-top: var(--sp-lg); font-family: var(--font-mono); font-size: 0.82rem; color: rgba(255,255,255,.65); }
.flight-path .hero-flightline { flex: 1; min-width: 0; }

/* Boarding pass card — signature element */
.boarding-pass {
  background: #fff; color: var(--color-charcoal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform: rotate(-2deg);
  animation: passLand 1.1s var(--ease-out) both;
}
@keyframes passLand { from { opacity: 0; transform: rotate(-2deg) translateY(50px) scale(.96); } to { opacity: 1; transform: rotate(-2deg) translateY(0) scale(1); } }
.boarding-pass__top { padding: 1.6rem 1.8rem 1.2rem; display: flex; justify-content: space-between; align-items: flex-start; }
.boarding-pass__route { display: flex; align-items: center; gap: 0.9rem; font-family: var(--font-mono); }
.boarding-pass__code { font-size: 1.9rem; font-weight: 700; letter-spacing: 0.02em; }
.boarding-pass__code small { display: block; font-size: 0.6rem; letter-spacing: .08em; color: var(--color-slate); font-weight: 400; text-transform: uppercase; }
.boarding-pass__plane { color: var(--color-royal); font-size: 1.3rem; }

.boarding-pass__stamp {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-emerald); border: 1.5px solid var(--color-emerald); border-radius: 6px;
  padding: 0.3rem 0.6rem; transform: rotate(6deg); font-weight: 700;
}
.boarding-pass__perf { height: 0; border-top: 2px dashed var(--color-line); margin-inline: 1.8rem; position: relative; }
.boarding-pass__perf::before, .boarding-pass__perf::after { content:""; position:absolute; top:-9px; width:18px; height:18px; border-radius:50%; background: var(--color-mist); }
.boarding-pass__perf::before { left: -1.8rem; }
.boarding-pass__perf::after { right: -1.8rem; }

.boarding-pass__body { padding: 1.4rem 1.8rem 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.boarding-pass__field { font-family: var(--font-mono); }
.boarding-pass__field span { display: block; font-size: 0.62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-slate); margin-bottom: 0.25rem; }
.boarding-pass__field strong { font-size: 0.95rem; }

/* ---------------------------- 8. Stats & process -------------------------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: var(--sp-xl); position: relative; z-index: 2; }
.stat { text-align: left; border-left: 2px solid rgba(255,255,255,.18); padding-left: 1.1rem; }
.stat .num { font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--color-gold); }
.stat .label { font-size: 0.85rem; color: rgba(255,255,255,.65); }

.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: var(--sp-lg); }
.process-track::before { content:""; position: absolute; top: 34px; left: 6%; right: 6%; height: 0; border-top: 2px dotted var(--color-line); z-index: 0; }
.process-step { position: relative; z-index: 1; background: #fff; }
.process-step__num { width: 68px; height: 68px; border-radius: 50%; background: var(--grad-royal); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; box-shadow: var(--shadow-soft); margin-bottom: 1.1rem; }

/* ---------------------------- 9. Cards: services / country / stamp ------- */
.card-grid { display: grid; gap: 1.75rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md);
  padding: 2.1rem 1.9rem; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: transparent; }
.service-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--color-mist-200); display: grid; place-items: center; color: var(--color-royal); margin-bottom: 1.3rem; font-size: 1.4rem; }
.service-card h4 { margin-bottom: 0.6rem; }
.service-card p { color: var(--color-slate); font-size: 0.96rem; }
.service-card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 700; font-size: .88rem; color: var(--color-royal); }

.country-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden; height: 340px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-soft); isolation: isolate;
}
.country-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); z-index: -2; }
.country-card::before { content:""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,15,36,.92) 10%, rgba(5,15,36,.15) 65%, rgba(5,15,36,.05)); z-index: -1; }
.country-card:hover img { transform: scale(1.08); }
.country-card__body { padding: 1.6rem; color: #fff; width: 100%; }
.country-card__code { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .12em; color: var(--color-gold); text-transform: uppercase; }
.country-card__body h4 { color: #fff; margin-block: .3rem .5rem; }
.country-card__meta { display: flex; gap: .9rem; font-size: .8rem; color: rgba(255,255,255,.7); flex-wrap: wrap; }

.stamp-badge {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .08em; border: 1.5px solid currentColor; border-radius: 8px; padding: .35rem .7rem;
}

/* Info tabs (used in country detail sections) */
.info-tabs { display: flex; gap: .6rem; flex-wrap: wrap; border-bottom: 1px solid var(--color-line); margin-bottom: 2rem; }
.info-tab { background: none; border: none; padding: .8rem 1.3rem; font-weight: 700; color: var(--color-slate); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--dur-fast); font-size: .93rem; }
.info-tab.is-active, .info-tab:hover { color: var(--color-navy-900); border-color: var(--color-gold); }
.info-panel { display: none; }
.info-panel.is-active { display: block; animation: fadeIn .4s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------- 10. Pricing / tickets ----------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; }
.pricing-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-line);
  padding: 2.4rem 2rem; display: flex; flex-direction: column; position: relative;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.pricing-card--featured { background: var(--grad-navy); color: #fff; border: none; transform: scale(1.04); z-index: 1; }
.pricing-card--featured:hover { transform: scale(1.04) translateY(-8px); }
.pricing-card--featured .price, .pricing-card--featured h4 { color: #fff; }
.pricing-card--featured .pricing-card__feat { color: rgba(255,255,255,.85); }
.pricing-card__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-gold); color: var(--color-navy-900); font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: .4rem .9rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-gold); }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; margin-block: .8rem .3rem; }
.price span { font-size: 1rem; font-weight: 500; color: var(--color-slate); }
.pricing-card__feat { list-style: none; margin: 1.6rem 0; padding: 0; flex: 1; }
.pricing-card__feat li { display: flex; gap: .7rem; padding-block: .55rem; font-size: .93rem; border-bottom: 1px dashed var(--color-line); }
.pricing-card--featured .pricing-card__feat li { border-color: rgba(255,255,255,.15); }
.pricing-card__feat li i { color: var(--color-emerald); }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 1rem 1.3rem; text-align: center; border-bottom: 1px solid var(--color-line); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--color-slate); font-weight: 500; }
.compare-table thead th { font-family: var(--font-display); font-size: 1.05rem; }

/* ---------------------------- 11. Testimonials & FAQ ----------------------- */
.testimonial-track { display: flex; overflow: hidden; }
.testimonial-slide { min-width: 100%; transition: transform var(--dur-slow) var(--ease-out); }
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow-soft); max-width: 720px; margin-inline: auto; text-align: center; }
.testimonial-card__quote { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.5; }
.testimonial-card__person { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.testimonial-card__avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; margin-bottom: .5rem; border: 2px solid var(--color-gold); }
.slider-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--color-line); border: none; padding: 0; transition: background var(--dur-fast), transform var(--dur-fast); }
.slider-dots button.is-active { background: var(--color-royal); transform: scale(1.3); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--color-line); display: grid; place-items: center; box-shadow: var(--shadow-soft); z-index: 3; }
.slider-arrow--prev { left: -8px; } .slider-arrow--next { right: -8px; }

.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq-question i { transition: transform var(--dur-fast) var(--ease-out); color: var(--color-royal); }
.faq-item.is-open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-out); color: var(--color-slate); }
.faq-answer__inner { padding-bottom: 1.4rem; max-width: 720px; }

/* ---------------------------- 12. Forms & footer --------------------------- */
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--color-line);
  font-family: var(--font-body); font-size: .96rem; background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-royal); box-shadow: 0 0 0 4px rgba(15,82,186,.12); outline: none; }
.field .error-msg { color: var(--color-red); font-size: .8rem; margin-top: .4rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-red); }
.field.has-error .error-msg { display: block; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: clamp(1.8rem, 4vw, 3rem); }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success.is-visible { display: block; }
.form-success i { font-size: 3rem; color: var(--color-emerald); margin-bottom: 1rem; }

.progress-track { height: 6px; background: var(--color-mist-200); border-radius: var(--radius-pill); overflow: hidden; margin-top: .4rem; }
.progress-track__bar { height: 100%; background: var(--grad-gold); width: 0; border-radius: var(--radius-pill); transition: width 1.4s var(--ease-out); }

.cta-banner { background: var(--grad-royal); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-banner::after { content:"✈"; position: absolute; font-size: 12rem; opacity: .07; right: -1rem; top: -3rem; }

.site-footer { background: var(--color-navy-950); color: rgba(255,255,255,.7); padding-top: var(--sp-2xl); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: var(--sp-xl); }
.footer-grid h5 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 1.2rem; }
.footer-grid ul li { margin-bottom: .7rem; }
.footer-grid a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.6rem; display: flex; justify-content: space-between; font-size: .85rem; flex-wrap: wrap; gap: 1rem; }
.social-row { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background var(--dur-fast), border-color var(--dur-fast); }
.social-row a:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy-900); }

.newsletter-form { display: flex; gap: .6rem; margin-top: 1rem; }
.newsletter-form input { flex: 1; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }

.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-gold); color: var(--color-navy-900); display: grid; place-items: center; box-shadow: var(--shadow-gold); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--dur-fast) var(--ease-out); z-index: 900; border: none; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Page header (inner pages) */
.page-header { background: var(--grad-navy); color: #fff; padding-top: clamp(8rem, 14vw, 10rem); padding-bottom: var(--sp-xl); text-align: center; position: relative; overflow: hidden; }
.page-header::before { content:""; position: absolute; width: 400px; height: 400px; background: var(--color-royal); opacity: .3; filter: blur(100px); border-radius: 50%; top: -150px; right: -100px; }
.breadcrumb-row { font-family: var(--font-mono); font-size: .82rem; color: rgba(255,255,255,.6); display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.breadcrumb-row a:hover { color: var(--color-gold); }

/* Timeline (about page) */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content:""; position: absolute; left: 8px; top: 0; bottom: 0; width: 0; border-left: 2px dotted var(--color-line); }
.timeline-item { position: relative; padding-bottom: 2.6rem; }
.timeline-item::before { content:""; position: absolute; left: -2.5rem; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-gold); box-shadow: 0 0 0 4px var(--color-mist); }
.timeline-item .year { font-family: var(--font-mono); color: var(--color-royal); font-weight: 700; font-size: .9rem; }

/* Portfolio */
.gallery-card { border-radius: var(--radius-md); overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.gallery-card img { height: 260px; object-fit: cover; width: 100%; transition: transform .5s var(--ease-out); }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card__tag { position: absolute; top: 1rem; left: 1rem; background: rgba(5,15,36,.85); color: #fff; font-family: var(--font-mono); font-size: .7rem; padding: .35rem .7rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }

/* Loading screen */
.preloader { position: fixed; inset: 0; background: var(--color-navy-900); z-index: 3000; display: flex; align-items: center; justify-content: center; transition: opacity .5s var(--ease-out), visibility .5s; }
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark { width: 60px; height: 60px; border-radius: 16px; background: var(--grad-gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--color-navy-900); animation: pulseMark 1.4s ease-in-out infinite; }
@keyframes pulseMark { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* utility */
.mt-lg { margin-top: var(--sp-lg); } .mb-lg { margin-bottom: var(--sp-lg); }
.mt-md { margin-top: var(--sp-md); } .mb-md { margin-bottom: var(--sp-md); }
.text-center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ==========================================================================
   13. Logo / scroll progress
   ========================================================================== */
.brand-mark svg { display: block; }
.brand-mark { transition: transform var(--dur-fast) var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-gold); z-index: 1200;
  box-shadow: 0 0 10px rgba(245,180,0,.6);
  transition: width 0.12s linear;
}

.preloader__mark svg path, .preloader__mark svg circle { animation: markDraw 1.6s var(--ease-out) infinite; }
@keyframes markDraw { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ==========================================================================
   14. Hero decorative graphics
   ========================================================================== */
.hero { isolation: isolate; }
.hero-routes {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.9; z-index: -1; pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; transition: transform .6s var(--ease-out); }

/* Animated flight-path plane (signature motion moment) */
.hero-flightline { position: relative; width: 100%; max-width: 480px; height: 30px; margin-top: .6rem; }
.hero-flightline svg { width: 100%; height: 100%; overflow: visible; }
.hero-flightline .flight-dot-path { stroke-dasharray: 3 6; opacity: .55; }
.hero-flightline .flight-plane {
  offset-path: path('M4,26 Q140,4 460,10');
  animation: flyAlong 5.5s ease-in-out infinite;
}
@keyframes flyAlong {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Scalloped / perforated ticket-edge divider — appears automatically at the
   base of every navy hero & page-header, echoing a torn boarding-pass stub. */
.hero, .page-header { padding-bottom: calc(var(--sp-2xl) + 14px); position: relative; }
.hero + section, .page-header + section { position: relative; }
.hero + section::before, .page-header + section::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 26px;
  background: radial-gradient(circle at 13px 0, transparent 13px, var(--section-cut-color, var(--color-white)) 13.5px) 0 -13px / 26px 26px repeat-x;
  z-index: 5;
}
.hero + section.bg-mist::before, .page-header + section.bg-mist::before { --section-cut-color: var(--color-mist); }

/* ==========================================================================
   15. Micro-interactions: tilt cards, magnetic buttons, ripple
   ========================================================================== */
.service-card, .country-card, .gallery-card, .pricing-card { will-change: transform; transform-style: preserve-3d; }
.btn { position: relative; overflow: hidden; }
.btn .ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.55);
  transform: scale(0); animation: rippleAnim .6s var(--ease-out); pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(2.6); opacity: 0; } }

/* ==========================================================================
   16. Partner / accreditation marquee
   ========================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marqueeScroll 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .85rem; letter-spacing: .04em; color: var(--color-slate); white-space: nowrap; }
.marquee__item i { color: var(--color-royal); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .hero-flightline .flight-plane { animation: none; offset-distance: 40%; }
  .marquee__track { animation: none; }
  .brand:hover .brand-mark { transform: none; }
}
@media (hover: none) {
  .service-card:hover, .country-card:hover, .gallery-card:hover, .pricing-card:hover { transform: none !important; }
}
