/* ==========================================================================
   GlobEdu Overseas Education — Main Stylesheet
   Theme derived from the logo: white + navy/royal blue, with orange & yellow
   used sparingly as accents only.
   --------------------------------------------------------------------------
   1. Design tokens          9. Cards & grids
   2. Base / reset          10. Home sections
   3. Typography            11. Process timeline
   4. Layout helpers        12. Testimonials carousel
   5. Buttons & badges      13. Forms
   6. Top bar & header      14. Inner pages (banner, content, tables, tabs)
   7. Navigation & mobile   15. Footer, floating actions
   8. Hero                  16. Animations & utilities
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --navy: #14357F;
  --navy-900: #0E2560;
  --blue: #1F6FD1;
  --blue-50: #EAF2FD;
  --bg: #FFFFFF;
  --bg-alt: #F5F9FF;
  --orange: #F26B21;
  --red: #E21F25; /* exact red from the logo, used for accent lines */
  --yellow: #F9A825;
  --text: #333333;
  --text-2: #444444;
  --muted: #5B6577;
  --border: #E3EAF4;
  --success: #1E8E5A;
  --danger: #C62828;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 38, 89, .06), 0 2px 8px rgba(16, 38, 89, .05);
  --shadow: 0 6px 24px rgba(16, 38, 89, .08);
  --shadow-lg: 0 18px 48px rgba(16, 38, 89, .14);
  --container: 1400px;
  --gutter: 16px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* 2. Base / reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(31, 111, 209, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* Graceful fallback if a remote photo fails to load */
img.img-fallback { visibility: hidden; }
.img-wrap { background: linear-gradient(135deg, #DCE8FA, #F5F9FF); }

/* 3. Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; color: var(--text-2); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); }
.small, small { font-size: .875rem; }
.text-muted { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

/* 4. Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 48px 0; }
@media (min-width: 992px) { .section { padding: 92px 0; } }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--red); }
.section-head:not(.section-head--left) .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--red); }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
  .split--top { align-items: start; }
}

/* 5. Buttons & badges ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(31, 111, 209, .28); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn[hidden] { display: none; }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, .28); }
.btn-whatsapp:hover { background: #1DA851; color: #fff; }
.form-success .btn-whatsapp { margin: 0 6px 10px; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-family: var(--font-head); font-size: .92rem; }
.link-arrow i { transition: transform .2s; font-size: .8em; }
.link-arrow:hover i { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--blue-50); color: var(--navy);
}
.badge--accent { background: #FFF4E0; color: #8A4B00; }
.badge--accent i { color: var(--orange); }
.badge--sample { background: #FFF4E0; color: #8A4B00; font-size: .72rem; }

.icon-circle {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: var(--blue-50); color: var(--blue);
  transition: background .25s, color .25s;
}
.icon-circle--accent { color: var(--orange); background: #FFF1E8; }

/* 6. Top bar & header ---------------------------------------------------- */
.topbar { background: var(--navy); color: #EAF0FA; font-family: var(--font-head); font-size: .86rem; font-weight: 600; letter-spacing: .01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #DCE6F7; }
.topbar a:hover { color: #fff; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info i { color: var(--yellow); font-size: .8rem; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__social { display: flex; gap: 12px; }
.ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--navy-900) !important;
  font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  padding: 5px 14px 5px 12px; border-radius: 0 999px 999px 0;
  border-left: 4px solid var(--red);
}
.topbar .ribbon { padding: 7px 18px 7px 14px; font-size: .86rem; gap: 9px; font-weight: 700; }
.topbar .ribbon i { color: var(--navy-900); font-size: .95rem; }
.ribbon:hover { background: #FFB938; }
@media (max-width: 767px) { .topbar__info .hide-sm, .topbar__social { display: none; } }
@media (max-width: 479px) {
  .topbar__info { display: none; }
  .topbar .container { justify-content: center; min-height: 54px; padding: 6px 12px; }
  .topbar .ribbon { justify-content: center; min-height: 42px; padding: 8px 20px; border-left: 0; border-radius: 999px; font-size: .9rem; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(16, 38, 89, .08); border-color: var(--border); }
.site-header .container { max-width: 1400px; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; justify-content: center; height: var(--header-h); gap: 10px; margin-left: 18px; color: var(--navy); flex-shrink: 0; }
.brand img { display: block; width: auto; height: 64px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy); letter-spacing: -.01em; }
.brand__name span { color: var(--blue); }
.brand__tag { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

/* 7. Navigation & mobile ------------------------------------------------- */
.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 6px; border-radius: 8px;
  font-size: .95rem; font-weight: 600; color: var(--navy);
  white-space: nowrap; background: none; border: 0; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__link .fa-chevron-down { font-size: .65rem; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px);
  width: 460px; padding: 18px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
  color: var(--navy); font-size: .95rem; font-weight: 600;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--blue); }
.dropdown__more, .drawer__sub .dropdown__more { color: var(--blue) !important; font-weight: 700 !important; font-style: italic; }
.dropdown .dropdown__more i { width: 24px; text-align: center; }
.dropdown img { width: 24px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.dropdown__foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }

.header-cta { display: none; }
.nav-toggle {
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; color: var(--navy); font-size: 1.2rem; display: grid; place-items: center;
}

@media (min-width: 1320px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1320px) and (max-width: 1400px) {
  .site-header .container { gap: 14px; }
  .brand__tag { display: none; }
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(14, 37, 96, .45); z-index: 190;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(360px, 88vw); background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
  display: flex; flex-direction: column; overflow-y: auto;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; visibility: visible; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.drawer__head .brand { margin-left: 0; }
.drawer__head .brand img { width: auto; height: 46px; }
.drawer__close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 1.1rem; }
.drawer__nav { list-style: none; margin: 0; padding: 10px 12px; }
.drawer__nav > li > a, .drawer__sub-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 13px 10px; border: 0; background: none; text-align: left;
  font-weight: 600; font-size: 1.05rem; color: var(--navy); border-bottom: 1px solid #F0F3F8;
}
.drawer__nav a.is-active { color: var(--blue); font-weight: 600; }
.drawer__sub { list-style: none; margin: 0; padding: 4px 0 8px 10px; display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; color: var(--navy); font-size: 1rem; font-weight: 500; }
.drawer__sub img { width: 30px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.drawer__sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.drawer__sub-toggle i { transition: transform .2s; font-size: .8rem; }
.drawer__foot { margin-top: auto; padding: 18px; border-top: 1px solid var(--border); display: grid; gap: 12px; background: var(--bg-alt); }
.drawer__foot p { margin: 0; font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.drawer__foot i { color: var(--blue); width: 18px; }

/* 8. Hero ---------------------------------------------------------------- */
.hero { position: relative; background: linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%); overflow: hidden; }
.hero__inner { position: relative; display: grid; gap: 28px; padding-top: 16px; padding-bottom: 64px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em;
  background: var(--yellow); opacity: .55; border-radius: 4px; z-index: -1;
}
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 560px; }
.hero__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); font-size: .95rem; }
.hero__points i { color: var(--blue); }
.hero .btn-group { margin-top: 28px; }
.hero__form { position: relative; z-index: 0; }

@media (min-width: 992px) {
  .hero { min-height: 680px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 72px; padding-bottom: 110px; gap: 56px; }
  .hero__form { max-width: 470px; justify-self: end; width: 100%; }
}

/* Animated globe (drawn by assets/js/globe.js)
   - Below 1200px: a banner above the hero text (.hero__globe-mobile)
   - 1200px and up: behind the form card, peeking out on its left (.hero__form .hero__globe) */
.hero__content { position: relative; z-index: 1; }
.hero__globe-mobile { height: 300px; margin: 0 auto 8px; max-width: 520px; }
.hero__globe-mobile canvas { display: block; width: 100%; height: 100%; }
.hero__form { isolation: isolate; }
.hero__form .hero__globe { display: none; }
@media (min-width: 640px) { .hero__globe-mobile { height: 360px; } }
@media (min-width: 1200px) {
  .hero__globe-mobile { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 240px; }
  .hero h1 { font-size: 2.75rem; }
  .hero__form { max-width: none; }
  .hero__form .hero__globe {
    display: block; position: absolute; z-index: -1; pointer-events: none;
    width: 660px; height: 660px; left: -350px; top: 50%; margin-top: -330px;
  }
}

/* Trust bar */
.trustbar { position: relative; z-index: 3; margin-top: -48px; }
.trustbar__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
.trust-item:nth-child(4) { border-top: 1px solid var(--border); }
.trust-item__num { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.trust-item__label { font-size: .85rem; color: var(--muted); }
.trust-item .icon-circle { width: 48px; height: 48px; flex-basis: 48px; font-size: 1.15rem; }
@media (min-width: 992px) {
  .trustbar__card { grid-template-columns: repeat(4, 1fr); }
  .trust-item { padding: 28px 26px; }
  .trust-item:nth-child(3) { border-left: 1px solid var(--border); border-top: 0; }
  .trust-item:nth-child(4) { border-top: 0; }
}
@media (max-width: 479px) { .trust-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; } }

/* 9. Cards & grids ------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #CFDDF3; }
.card h3 { margin: 18px 0 10px; }
.card p:last-child { margin-bottom: 0; }

/* Skilled migration page */
.pr-heading__amp { color: var(--red); padding: 0 .08em; }
.pr-country-card { border: 1px solid #D4AF37; padding: 24px; }
/* Same 2:1 frame for every flag so titles line up (Germany is 5:3; its stripes stretch without visible distortion) */
.pr-country-card__flag { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: fill; border-radius: 8px; box-shadow: 0 2px 8px rgba(15, 35, 70, .12); }
.pr-country-card h3 { margin: 18px 0 10px; }
.pr-country-card p { line-height: 1.75; }

.service-card { display: flex; flex-direction: column; }
.service-card:hover .icon-circle { background: var(--blue); color: #fff; }
.service-card ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 6px; }
.service-card ul li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-2); }
.service-card ul li i { color: var(--blue); margin-top: 6px; font-size: .7rem; }
.service-card .link-arrow { margin-top: auto; }
.visa-cards .service-card p { font-size: 1.08rem; line-height: 1.75; margin-bottom: 0; }
/* Title-only visa cards: icon beside the title so the box has no empty space below */
.visa-cards .service-card {
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 4px;
  align-items: center; align-content: center; padding: 24px 26px;
}
.visa-cards .service-card h3 { font-size: 1.2rem; line-height: 1.35; margin: 0; }
.visa-cards .service-card .link-arrow { grid-column: 2; margin-top: 0; font-size: .92rem; }
.visa-cards .service-card:has(.link-arrow) .icon-circle { grid-row: span 2; }

.check-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; color: var(--text-2); }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; font-size: .65rem; background: var(--blue-50); color: var(--blue);
}
.check-list--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.x-list li::before { content: "\f00d"; background: #FDECEC; color: var(--danger); }

/* Destination cards */
.dest-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dest-card__img { position: relative; flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; }
.dest-card__photo { position: absolute; inset: 0; display: block; overflow: hidden; }
.dest-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dest-card:hover .dest-card__photo img { transform: scale(1.05); }
.dest-card__flag {
  /* Sits half on the photo, half below it */
  position: absolute; z-index: 2; left: 20px; bottom: 0; transform: translateY(50%);
  width: 84px; height: 56px; border-radius: 9px;
  overflow: hidden; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(16, 38, 89, .22); background: #fff;
}
.dest-card__flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dest-card__credit { position: absolute; right: 8px; bottom: 8px; z-index: 1; padding: 4px 7px; border-radius: 4px; background: rgba(15, 35, 70, .72); color: #fff; font-size: .65rem; line-height: 1.2; }
.dest-card__body { padding: 46px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dest-card__body h3 { margin: 0 0 4px; }
.dest-card__tag { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .88rem; }
.facts li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; color: var(--text-2); }
.facts li i { color: var(--blue); margin-top: 5px; font-size: .85rem; }
.facts strong { font-weight: 600; color: var(--navy); }
.country-cities { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin: 0 0 20px; background: var(--blue-50); border-radius: var(--radius-sm); font-size: .95rem; color: var(--text-2); }
.country-cities i { color: var(--red); margin-top: 4px; }
.country-cities strong { color: var(--navy); }
.dest-card .btn { margin-top: auto; align-self: flex-start; }
.dest-card__more { display: none; }
.dest-card__more[hidden] { display: none !important; }

/* Two cards per row on phones (home: services + destinations) */
@media (max-width: 639px) {
  .grid--m2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid--m2 > :last-child:nth-child(odd) { grid-column: 1 / -1; } /* lone last card spans the row */

  /* Service cards */
  .grid--m2 .card { padding: 16px 14px; }
  .grid--m2 .icon-circle { width: 42px; height: 42px; flex-basis: 42px; font-size: 1rem; border-radius: 10px; }
  .grid--m2 .card h3 { font-size: .98rem; margin: 12px 0 6px; }
  .grid--m2 .card p { font-size: .83rem; line-height: 1.55; margin-bottom: 12px; }
  .grid--m2 .service-card ul { display: none; }
  .grid--m2 .link-arrow { font-size: .8rem; gap: 6px; }

  .grid--m2 > * { min-width: 0; } /* long words can't push a card wider than its column */

  /* Destination cards */
  .grid--m2 .dest-card__flag { width: 68px; height: 45px; left: 12px; border-width: 2px; }
  .grid--m2 .dest-card__credit { right: 5px; bottom: 5px; padding: 3px 5px; font-size: .55rem; }
  .grid--m2 .dest-card__body { padding: 34px 12px 14px; }
  .grid--m2 .dest-card__text { font-size: .83rem; line-height: 1.55; margin: 0 0 6px; color: var(--text-2); overflow-wrap: break-word; hyphens: auto; }
  /* Text is clamped to 4 lines; "Read more" opens it inside the same card */
  html:not(.no-js) .grid--m2 .dest-card__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
  html:not(.no-js) .grid--m2 .dest-card.is-expanded .dest-card__text { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
  .grid--m2 .dest-card__more {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin: 0 0 12px; padding: 2px 0;
    background: none; border: 0; color: var(--blue); font: 600 .8rem/1.4 var(--font-head); cursor: pointer;
  }
  .grid--m2 .dest-card__more::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .65rem; transition: transform .2s; }
  .grid--m2 .dest-card.is-expanded .dest-card__more::after { transform: rotate(180deg); }
  .grid--m2 .dest-card__body h3 { font-size: .98rem; }
  .grid--m2 .dest-card__tag { font-size: .76rem; line-height: 1.4; margin-bottom: 10px; }
  .grid--m2 .facts { font-size: .74rem; gap: 6px; margin-bottom: 12px; line-height: 1.45; }
  .grid--m2 .facts li { grid-template-columns: 14px 1fr; gap: 6px; }
  .grid--m2 .facts li i { margin-top: 3px; font-size: .72rem; }
  .grid--m2 .dest-card .btn { align-self: stretch; padding: 9px 10px; font-size: .8rem; gap: 6px; }

  /* Why choose us: icon above text in compact tiles */
  .why-grid .why-item { flex-direction: column; gap: 10px; padding: 16px 14px; }
  .why-grid .why-item h3 { font-size: .95rem; margin: 0 0 6px; }
  .why-grid .why-item p { font-size: .82rem; line-height: 1.55; }

  /* Upcoming events */
  .events-grid .event-card { gap: 10px; }
  .events-grid .event-card__top { gap: 10px; }
  .events-grid .date-box { width: 64px; border-radius: 10px; }
  .events-grid .date-box__m { font-size: .68rem; padding: 4px 0; letter-spacing: .1em; }
  .events-grid .date-box__d { font-size: 1.6rem; padding: 8px 0 9px; }
  .events-grid .badge { font-size: .68rem; padding: 3px 9px; }
  .events-grid .event-card h3 { font-size: .9rem; margin: 6px 0 0; line-height: 1.35; }
  .events-grid .event-meta { font-size: .76rem; gap: 4px; }
  .events-grid .event-meta i { width: 14px; }
  .events-grid .event-card .btn { align-self: stretch; padding: 9px 10px; font-size: .8rem; }
  .events-grid .event-stamp { font-size: .62rem; padding: 4px 8px; letter-spacing: .08em; border-width: 3px; }
}

/* How it works: two steps per row on phones */
@media (max-width: 639px) {
  .process { grid-template-columns: 1fr 1fr; gap: 12px; }
  .process > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .process > * { min-width: 0; }
  .step { padding: 16px 14px; }
  .step__head { margin-bottom: 10px; gap: 8px; }
  .step .icon-circle { width: 40px; height: 40px; flex-basis: 40px; font-size: .95rem; border-radius: 10px; }
  .step__num { font-size: .68rem; letter-spacing: .06em; }
  .step h3 { font-size: .92rem; line-height: 1.35; }
  .step p { font-size: .8rem; line-height: 1.55; }
}

/* Larger flags on phones */
@media (max-width: 639px) {
  .subnav img { width: 26px; height: 18px; vertical-align: -4px; }
}

/* Why choose */
.why-item { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: box-shadow .3s, transform .3s var(--ease); }
.why-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.why-item h3 { font-size: 1.08rem; margin: 2px 0 6px; }
.why-item p { font-size: .93rem; margin: 0; }

.img-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-stack { position: relative; padding: 0 0 40px 0; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 18px; display: flex; gap: 12px; align-items: center; max-width: 280px;
}
.float-card strong { display: block; color: var(--navy); font-family: var(--font-head); }
.float-card div span { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }
.img-stack .float-card { left: 16px; bottom: 0; }
@media (min-width: 992px) { .img-stack .float-card { left: -24px; } }

/* 10. Home sections ------------------------------------------------------ */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .partner-grid { grid-template-columns: repeat(6, 1fr); } }
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 8px; min-height: 120px; padding: 18px 12px; border-radius: var(--radius);
  background: #fff; border: 1px dashed #C9D7EE; color: var(--muted); transition: border-color .2s, box-shadow .2s;
}
.partner:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.partner i { font-size: 1.6rem; color: #8FA6CC; }
.partner strong { font-family: var(--font-head); font-size: .86rem; color: var(--navy); font-weight: 600; line-height: 1.3; }
.partner span { font-size: .75rem; }

.recruit-band { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #1B4FA8 100%); color: #DCE6F7; position: relative; overflow: hidden; }
.recruit-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,209,.45), transparent 70%);
}
.recruit-band h2, .recruit-band h3 { color: #fff; }
.recruit-band p { color: #C9D6EE; }
.recruit-band .eyebrow { color: #9CC3F5; }
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 32px; }
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: 16px; transition: background .2s, transform .2s var(--ease);
}
.sector:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.sector i { color: var(--yellow); font-size: 1.2rem; margin-bottom: 8px; display: block; }
.sector strong { color: #fff; display: block; font-family: var(--font-head); font-size: .95rem; }
.sector span { font-size: .8rem; color: #B9C9E6; line-height: 1.45; display: block; margin-top: 4px; }
.recruit-band .img-frame { box-shadow: 0 24px 60px rgba(0,0,0,.35); }

.event-card { display: flex; flex-direction: column; gap: 14px; }
.event-card__top { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.date-box {
  width: 104px; text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  font-family: var(--font-head); box-shadow: var(--shadow-sm);
}
.date-box__m { display: block; background: var(--navy); color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 0; }
.date-box__d { display: block; font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--navy); padding: 14px 0 16px; }
.event-card h3 { font-size: 1.05rem; margin: 8px 0 0; }
.event-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.event-meta i { width: 18px; color: var(--blue); }
.event-card .btn { align-self: flex-start; margin-top: auto; }
.event-card--closed { position: relative; }
.event-card--closed > :not(.event-stamp) { opacity: .55; }
.event-card--closed .event-meta { margin-bottom: 12px; }
.event-stamp {
  align-self: flex-start; margin-top: auto; transform: rotate(-8deg); transform-origin: left center;
  padding: 5px 14px; border: 3px double var(--danger); border-radius: 8px; color: var(--danger);
  font-family: var(--font-head); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(198, 40, 40, .06); box-shadow: inset 0 0 0 1px rgba(198, 40, 40, .25);
}
.events-contact { margin: 36px auto 0; text-align: center; font-size: 1.02rem; color: var(--text-2); }
.events-contact i { color: var(--blue); margin-right: 8px; }
.events-contact a { font-weight: 700; color: var(--navy); white-space: nowrap; }
.events-contact a:hover { color: var(--blue); }

/* FAQ accordion (native details/summary for accessibility) */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #CFDDF3; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1rem; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); font-size: .75rem; transition: transform .25s, background .2s;
}
.faq details[open] summary::after { content: "\f068"; background: var(--blue); color: #fff; }
.faq .faq__body { padding: 0 22px 20px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  padding: 56px 28px; color: #fff; display: grid; gap: 28px; align-items: center;
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.06);
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-banner p { color: #DCE8FA; margin: 0; max-width: 680px; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.cta-banner .btn { padding: 16px 30px; font-size: 1.02rem; }
.cta-banner .ribbon { margin-bottom: 18px; font-size: 1rem; gap: 10px; padding: 9px 22px 9px 16px; border-left-width: 5px; }
.cta-banner .btn-group { position: relative; z-index: 1; }
@media (min-width: 992px) { .cta-banner { grid-template-columns: 1fr auto; padding: 80px 72px; gap: 40px; } }

/* 11. Process timeline -------------------------------------------------- */
.process { display: grid; gap: 20px; counter-reset: step; position: relative; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .process { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.step__num {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em;
  color: var(--orange);
}
.step .icon-circle { width: 48px; height: 48px; flex-basis: 48px; font-size: 1.1rem; }
.step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.step p { font-size: .92rem; margin: 0; }

/* Vertical timeline used on inner pages */
.vtimeline { list-style: none; margin: 0; padding: 0; position: relative; }
.vtimeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), #CFDDF3); }
.vtimeline li { position: relative; padding: 0 0 26px 64px; }
.vtimeline li:last-child { padding-bottom: 0; }
.vtimeline__dot {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.vtimeline h3, .vtimeline h4 { margin: 8px 0 4px; font-size: 1.05rem; }
.vtimeline p { margin: 0; font-size: .95rem; }

/* Horizontal timeline (About: how we work) */
.htimeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; position: relative; }
.htimeline li {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px 26px; text-align: center; box-shadow: var(--shadow-sm);
}
.htimeline__dot {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--blue-50); position: relative; z-index: 1;
}
.htimeline h3 { margin: 0 0 8px; font-size: 1.1rem; }
.htimeline p { margin: 0; font-size: .95rem; }
@media (min-width: 768px) {
  .htimeline { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .htimeline::before {
    content: ""; position: absolute; top: 56px; left: 16.66%; right: 16.66%; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--red));
  }
}

/* 12. Testimonials carousel -------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 26px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - 48px) / 3); } }
.carousel__track > * { scroll-snap-align: start; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.carousel__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  color: var(--navy); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s;
}
.carousel__btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: #C9D7EE; transition: width .25s, background .25s; }
.carousel__dots button[aria-current="true"] { width: 26px; background: var(--blue); }

.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial__stars { color: var(--yellow); font-size: .85rem; display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial blockquote { margin: 0 0 22px; color: var(--text-2); font-size: .97rem; position: relative; }
.testimonial__quote-icon { position: absolute; right: 24px; top: 22px; font-size: 2rem; color: var(--blue-50); }
.testimonial__person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); }
.avatar {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy));
}
.testimonial__person strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: .97rem; }
.testimonial__person div span { font-size: .83rem; color: var(--muted); line-height: 1.4; display: block; }
/* Every card fills the carousel row, so all boxes share one height and the name rows line up at the bottom */
.testimonial .card { position: relative; flex: 1; display: flex; flex-direction: column; }

/* Metallic gold testimonial cards */
.testimonials { --gold: #B8860B; }
.testimonials .testimonial .card {
  border: 2px solid transparent; border-radius: var(--radius-lg);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #8A6E2F, #D4AF37 22%, #FCF6BA 45%, #B38728 62%, #FBF5B7 80%, #AA771C) border-box;
  box-shadow: 0 10px 30px rgba(170, 119, 28, .14);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.testimonials .testimonial .card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(170, 119, 28, .22); }
.testimonials .testimonial__stars { color: #D4AF37; }
.testimonials .testimonial__quote-icon { color: #EAD9A6; }
.testimonials .testimonial__person { border-top-color: #EFE3BF; }
.testimonials .testimonial__person .avatar {
  background: linear-gradient(135deg, #B38728, #FCF6BA 50%, #AA771C); color: #4A3A10;
}

/* 13. Forms ------------------------------------------------------------- */
/* Card = solid navy header strip + plain white body */
.form-card {
  background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(16, 38, 89, .12);
  border: 1px solid #DCE3EE; position: relative; overflow: hidden;
}
.form-card__head { background: var(--navy); padding: 20px 24px 18px; }
.form-card__head h2, .form-card__head h3 { color: #fff; font-size: 1.2rem; margin: 0 0 4px; }
.form-card__head p { color: #C9D6EE; font-size: .875rem; margin: 0; line-height: 1.5; }
.form-card__call { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 1.1rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .01em; color: var(--yellow); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.form-card__call:hover { color: #fff; }
.form-card > form, .form-card > .form-success { padding: 22px 24px 24px; }
.form-card .btn-block { border-radius: 6px; padding: 14px 20px; box-shadow: none; }

/* Compact variant (hero): labels visually hidden, placeholders carry the field name */
.form-card--compact .form-grid { gap: 12px; }
.form-card--compact .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-card--compact .field { gap: 4px; }
.form-card--compact .field textarea { min-height: 64px; }

.form-grid { display: grid; gap: 14px; }
@media (min-width: 480px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #CFD8E6; border-radius: 6px;
  font: inherit; font-size: .93rem; color: var(--text); background-color: #FAFBFD;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #7A8599; }
.field select:invalid { color: #7A8599; }
.field select option { color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2314357F' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 209, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: .8rem; color: var(--danger); min-height: 0; display: none; }
.field.has-error .field__error { display: block; }
.form-alert { margin: 0; font-size: .85rem; color: var(--danger); } /* shown only when a submission fails */
.field__hint { font-size: .78rem; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); flex: 0 0 16px; }
.consent.has-error { color: var(--danger); }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; display: flex; gap: 8px; align-items: center; }
.form-note i { color: var(--success); }

.file-drop {
  border: 1.5px dashed #B8CBE8; border-radius: 12px; padding: 18px; text-align: center; background: var(--bg-alt);
  position: relative; transition: border-color .2s, background .2s;
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--blue); background: var(--blue-50); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop i { font-size: 1.5rem; color: var(--blue); }
.file-drop p { margin: 6px 0 0; font-size: .88rem; }
.file-drop .file-name { font-weight: 600; color: var(--navy); }

.form-success { display: none; text-align: center; padding: 26px 8px; }
.form-success.is-visible { display: block; animation: pop .45s var(--ease); }
.form-success__icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #E6F5EE; color: var(--success); font-size: 2rem; }
.form-success h3 { margin-bottom: 8px; }
.form-success .ref { display: inline-block; margin: 6px 0 18px; padding: 6px 14px; border-radius: 8px; background: var(--bg-alt); font-family: monospace; font-size: .9rem; color: var(--navy); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* 14. Inner pages ------------------------------------------------------- */
.page-banner { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.page-banner__bg { position: absolute; inset: 0; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,37,96,.94) 0%, rgba(20,53,127,.82) 50%, rgba(20,53,127,.45) 100%); }
.page-banner .container { position: relative; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 992px) { .page-banner .container { padding-top: 92px; padding-bottom: 92px; } }
.page-banner h1 { color: #fff; max-width: 780px; margin-bottom: 14px; }
/* Metallic gold text (bright version for the dark banner) */
.contact-title-gold {
  display: block; width: fit-content;
  color: #F2CF69; /* fallback */
  background: linear-gradient(180deg, #FFF6C8 0%, #F9E08B 22%, #D4AF37 48%, #A87B1E 56%, #E9C55A 74%, #FFF1B0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 0 #7A5A12) drop-shadow(0 3px 6px rgba(5, 20, 53, .45));
}
.contact-hero .page-banner__bg::after { background: linear-gradient(90deg, rgba(10,29,78,.97) 0%, rgba(16,44,108,.90) 58%, rgba(20,53,127,.72) 100%); }
.contact-hero .container { padding-top: 44px; padding-bottom: 44px; }
.contact-hero .container { padding-top: 44px; padding-bottom: 48px; }
.contact-hero__copy h1 { max-width: 780px; }
.contact-hero__copy p { max-width: 680px; }
.contact-main__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.contact-grid .contact-card { min-width: 0; height: 100%; padding: 24px 20px; }
.contact-grid .contact-card > div { min-width: 0; }
.contact-grid .contact-card p, .contact-grid .contact-card a { overflow-wrap: anywhere; line-height: 1.65; }
.contact-main__destination h2 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
/* Bright metallic gold heading in a premium serif (Playfair Display, loaded on the contact page) */
.contact-main__destination .contact-main__title {
  width: fit-content;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800; letter-spacing: 0; line-height: 1.15;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: #E0A82E; /* fallback */
  background: linear-gradient(180deg, #FBE58F 0%, #F4CF58 28%, #E8B437 48%, #C98F1F 57%, #EFC24A 76%, #FADF7E 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  /* crisp 1px bronze edge + soft warm glow: sharp on white, no muddy blur */
  filter: drop-shadow(0 1px 0 #A97A16) drop-shadow(0 4px 10px rgba(201, 143, 31, .22));
}
.contact-main__destination > p { max-width: 460px; margin-bottom: 12px; color: #65728a; line-height: 1.6; }
.contact-main__globe { max-width: 380px; width: 100%; }
@media (max-width: 991px) { .contact-main__grid { grid-template-columns: 1fr; } .contact-main__globe { max-width: 340px; } }
@media (max-width: 760px) { .contact-hero .container { padding-top: 36px; padding-bottom: 38px; } }
.page-banner p { color: #DCE6F7; max-width: 680px; font-size: clamp(1rem, 1.4vw, 1.12rem); margin-bottom: 0; }
.page-banner .btn-group { margin-top: 26px; }
.photo-credit { font-size: .72rem; color: var(--muted); margin: 18px 0 0; }
.photo-credit a { color: inherit; text-decoration: underline; }
.text-red { color: var(--red); font-weight: 700; }

/* Auto-scrolling country flags (moves left to right) */
.flag-marquee { background: transparent; border-bottom: 1px solid var(--border); padding: 36px 0; overflow: hidden; }
.flag-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.flag-marquee__track {
  display: flex; width: max-content; animation: flag-scroll 70s linear infinite;
}
.flag-marquee__group { list-style: none; margin: 0; padding: 0 52px 0 0; display: flex; align-items: flex-start; gap: 52px; width: max-content; flex: 0 0 auto; }
.flag-marquee__item { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.flag-marquee__item img {
  width: auto; height: 113px; background: transparent;
  border: 2px solid #000; box-sizing: content-box;
}
.flag-marquee__item span { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy); white-space: nowrap; }
@media (max-width: 600px) {
  .flag-marquee { padding: 26px 0; }
  .flag-marquee__group { gap: 28px; padding-right: 28px; }
  .flag-marquee__item img { width: auto; height: 104px; }
  .flag-marquee__item span { font-size: .9rem; }
}
/* Two identical groups let the marquee loop seamlessly without pausing on hover. */
@keyframes flag-scroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.page-banner .text-red { text-shadow: 0 0 1px rgba(255,255,255,.35); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; color: #BFD0EE; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #8FA6CC; }

.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--text-2); margin: 0 0 1.1rem; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }

.callout {
  border-radius: 12px; padding: 18px 20px; background: var(--bg-alt); border-left: 4px solid var(--blue);
  display: flex; gap: 14px; margin: 24px 0; font-size: .95rem;
}
.callout i { color: var(--blue); margin-top: 4px; }
.callout p { margin: 0; }
.callout--warn { background: #FFF8EC; border-left-color: var(--yellow); }
.callout--warn i { color: var(--orange); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
table.data th, table.data td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
table.data thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .86rem; white-space: nowrap; }
table.data tbody tr:nth-child(even) { background: #FAFCFF; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; color: var(--navy); }
.table-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* Quick facts strip */
.facts-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 992px) { .facts-strip { grid-template-columns: repeat(4, 1fr); } }
.fact { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-shadow: var(--shadow-sm); }
.fact i { color: var(--blue); font-size: 1.1rem; }
.fact span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }
.fact strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1rem; line-height: 1.35; margin-top: 2px; }

/* Tabs */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 6px; background: var(--bg-alt); border-radius: 12px; border: 1px solid var(--border); }
.tabs__btn {
  flex: 1 1 auto; padding: 11px 16px; border-radius: 9px; border: 0; background: transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--muted); transition: background .2s, color .2s;
}
.tabs__btn[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }

/* Sticky in-page nav for country/destination pages */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 14px; font-size: .88rem; font-weight: 500; color: var(--text-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--blue); border-color: var(--red); }
.subnav img { width: 20px; height: 14px; border-radius: 2px; display: inline-block; vertical-align: -2px; margin-right: 6px; object-fit: cover; }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* Country block (study-abroad page) */
.country-block { padding: 56px 0; border-bottom: 1px solid var(--border); }
.country-block:last-child { border-bottom: 0; }
.country-block__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.country-block__head img.flag { width: 70px; height: 48px; flex: 0 0 70px; border-radius: 7px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08), var(--shadow); }
.country-block__head h2 { margin: 0; }
.country-block .img-frame { aspect-ratio: 16 / 10; border: 1px solid var(--border); }
.country-block .img-frame img { filter: brightness(1.06) saturate(1.06); }
#usa .img-frame img { object-position: center top; }
#uae .img-frame img { object-position: center top; }
@media (max-width: 639px) { .country-block__head { gap: 14px; } .country-block__head img.flag { width: 76px; height: 51px; flex-basis: 76px; } }
/* Single-column layout: photo first, then country name, then details */
@media (max-width: 991px) {
  .country-block { padding: 40px 0; }
  .country-block .split { gap: 24px; }
  .country-block .split > .img-frame { order: -1; }
}

/* Feature tile (icon + text, inline) */
.tile { display: flex; gap: 16px; align-items: flex-start; }
.tile h3, .tile h4 { margin: 0 0 4px; font-size: 1.05rem; }
.tile p { margin: 0; font-size: .93rem; }

/* Test cards */
.test-card { display: flex; flex-direction: column; border: 1px solid #E21F25; box-shadow: 0 8px 26px rgba(16, 38, 89, .06); transition: border-color .2s, box-shadow .2s, transform .2s; }
.test-card:hover { border-color: var(--red); box-shadow: 0 12px 30px rgba(226, 31, 37, .10); transform: translateY(-3px); }
.test-card__brand { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.test-card__brand-mark { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.test-card--ielts .test-card__brand-mark { color: #C8202B; letter-spacing: .02em; }
.test-card--pte .test-card__brand-mark { color: #1C4C8A; }
.test-card__brand-mark small { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: .13em; }
.test-card--pte .test-card__brand-mark { flex-wrap: wrap; column-gap: 8px; }
.test-card--pte .test-card__brand-mark small { flex-basis: 100%; margin-left: 2px; }
.test-card__brand-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 44% 44%; background: #79C942; color: #fff; font: 700 1.15rem var(--font-head); letter-spacing: 0; }
.test-card--duolingo .test-card__brand-mark { color: #4D9B2A; font-size: 1.18rem; letter-spacing: -.03em; }
.test-card--duolingo .test-card__brand-mark small { color: var(--navy); }
.test-card .test-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.test-card__meta div { background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; }
.test-card__meta span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.test-card__meta strong { font-size: .88rem; color: var(--navy); font-family: var(--font-head); }
.test-card__target-note { display: block; margin-top: 7px; color: var(--red); font-size: .76rem; line-height: 1.35; font-weight: 700; }
.test-card__flags { margin-top: auto; padding-top: 18px; }
.test-card__flags > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.test-card__flags > div { display: flex; align-items: center; gap: 8px; }
.test-card__flags img { display: block; width: 30px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 4px rgba(15, 35, 70, .2); }
.test-card[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.test-jump__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.test-jump__link {
  min-height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-sm); text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.test-jump__link:hover, .test-jump__link:focus-visible { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.test-jump__mark { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--navy); font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.test-jump__link--ielts .test-jump__mark { color: #C8202B; letter-spacing: .02em; }
.test-jump__link--pte .test-jump__mark { color: #1C4C8A; flex-wrap: wrap; }
.test-jump__mark small { flex-basis: 100%; font: 700 .56rem var(--font-body); letter-spacing: .13em; }
.test-jump__link--duolingo .test-jump__mark { color: #4D9B2A; font-size: 1.2rem; }
.test-jump__caption { color: var(--muted); font-size: .78rem; font-weight: 600; }
@media (min-width: 640px) and (max-width: 991px) {
  .test-courses > .test-card:last-child { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
}
@media (min-width: 992px) {
  .test-courses > .test-card:last-child { grid-column: auto; width: auto; }
}
@media (max-width: 639px) {
  .test-jump__links { gap: 10px; }
  .test-jump__link { min-height: 100px; padding: 12px 6px; }
  .test-jump__mark { font-size: 1.2rem; }
  .test-jump__link--duolingo .test-jump__mark { font-size: .95rem; }
  .test-jump__mark .test-card__brand-icon { width: 24px; height: 24px; font-size: .9rem; }
  .test-jump__caption { font-size: .68rem; }
}

/* Team */
.team-grid { display: grid; gap: 64px; justify-items: center; }
.team-row { display: grid; gap: 56px 40px; width: 100%; }
@media (min-width: 640px) { .team-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .team-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .team-row--two { grid-template-columns: repeat(2, 1fr); max-width: 720px; } }
@media (min-width: 640px) { .team-row--three { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; } }
.team-card { width: 100%; max-width: 300px; margin: 0 auto; text-align: left; }
.team-card--founder { max-width: 360px; }
.team-card__photo {
  position: relative; isolation: isolate; aspect-ratio: 1 / 1;
  margin: 32% 0 22px; /* top margin (a % of card width) leaves room for the head rising out of the frame */
  /* Champagne tile inside a metallic gold frame */
  border: 8px solid transparent; border-radius: 8px;
  background:
    radial-gradient(120% 95% at 50% 28%, #FFF9E6 0%, #F7E4A8 48%, #E2BE68 100%) padding-box,
    linear-gradient(135deg, #7A5A12 0%, #F9E79F 18%, #B8862B 36%, #FFF6C8 52%, #A47A1F 70%, #F3D774 86%, #7A5A12 100%) border-box;
  box-shadow: 0 0 0 1px rgba(122, 90, 18, .5), 0 16px 34px rgba(122, 90, 18, .26), inset 0 0 0 1px rgba(122, 90, 18, .35), inset 0 0 0 4px rgba(255, 246, 200, .55);
  container-type: inline-size;
  transition: transform .35s var(--ease);
}
.team-card__photo::after {
  content: ""; position: absolute; inset: -8px; padding: 8px; border-radius: 8px; pointer-events: none; z-index: 1;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.9) 48%, rgba(255,239,170,.85) 52%, transparent 62%);
  background-size: 250% 100%; background-position: 145% 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: team-gold-shine 5.5s ease-in-out infinite;
}
@keyframes team-gold-shine {
  0% { background-position: 145% 0; }
  42%, 100% { background-position: -45% 0; }
}
.team-card:hover .team-card__photo { transform: translateY(-6px); }
/* Real photo: a cut-out portrait (transparent WebP, 600px wide) composed so the eyes sit ~20% into the tile;
   it spans the tile width, sits on its bottom edge, and the head rises in front of the top of the frame */
.team-card__photo img {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  width: 100%; height: auto; max-width: none;
  filter: drop-shadow(0 -2px 6px rgba(90, 64, 10, .22));
}
.team-card__photo i {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  font-size: 112cqw; line-height: 1; color: #24324A;
}
.team-card h3 { margin: 0 0 6px; font-size: 1.25rem; color: var(--navy); }
.team-card--founder h3 { font-size: 1.5rem; }
.team-card__role {
  display: block; margin-bottom: 12px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600;
  color: #8B1A1A;
}
.team-card--founder .team-card__role { font-size: 1.25rem; }
.team-card p { font-size: .95rem; margin: 0; color: var(--text-2); }

/* Interactive destination globe (Study Abroad) */
.cglobe { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1; margin: 0 auto; touch-action: pan-y; cursor: grab; user-select: none; }
.cglobe.is-dragging, .cglobe.is-dragging canvas { cursor: grabbing !important; }
.cglobe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Home + About pages: globe fits exactly in one screen (viewport height minus the sticky header) */
.cglobe--full { max-width: none; width: min(100%, calc(100vh - var(--header-h) - 16px)); }
@supports (height: 100svh) { .cglobe--full { width: min(100%, calc(100svh - var(--header-h) - 16px)); } }
.cglobe__tip {
  position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 5px 12px; border-radius: 99px; box-shadow: var(--shadow);
}
.cglobe__tip[hidden] { display: none; }
.cglobe__legend {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: grid; gap: 10px; padding: 16px 22px; border-radius: 16px;
  /* Mostly white with a light frost, so the text reads clearly over the globe */
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(20, 53, 127, 0.10);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(20, 53, 127, 0.18); transform-origin: bottom right;
  animation: cglobe-instruction-pulse 1.8s ease-in-out infinite;
}
.cglobe__legend-item {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .98rem; font-weight: 600;
  color: var(--red); line-height: 1.25; letter-spacing: .01em;
}
.cglobe__legend-item i { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(226, 31, 37, .1); color: var(--red); font-size: .85rem; }
@media (max-width: 600px) {
  .cglobe__legend { gap: 6px; padding: 10px 14px; }
  .cglobe__legend-item { font-size: .8rem; gap: 8px; }
  .cglobe__legend-item i { flex-basis: 24px; height: 24px; font-size: .72rem; }
}
@keyframes cglobe-instruction-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .cglobe__legend { animation: none; }
}
/* Country links for keyboard and screen-reader users: hidden until focused */
.cglobe__links { list-style: none; margin: 0; padding: 0; }
.cglobe__links a {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.cglobe__links a:focus-visible {
  width: auto; height: auto; clip: auto; left: 50%; bottom: -8px; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: .9rem;
  outline: 3px solid var(--red); outline-offset: 2px;
}
.cglobe__hints { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.cglobe__hints li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); }
.cglobe__hints i { color: var(--red); width: 18px; text-align: center; }

/* Mission/vision */
.mv-card { border-top: 4px solid var(--blue); }
.mv-card--accent { border-top-color: var(--red); }

/* Blog */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.post-meta i { color: var(--blue); margin-right: 4px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--blue); }
.post-card .link-arrow { margin-top: auto; }

.article-layout { display: grid; gap: 48px; }
@media (min-width: 992px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.article { max-width: 760px; }
.article .prose { font-size: 1.04rem; }
.article__hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16 / 8; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.sidebar { display: grid; gap: 24px; align-content: start; }
@media (min-width: 992px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.sidebar .card { padding: 22px; }
.sidebar h3 { font-size: 1.05rem; margin: 0 0 12px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.sidebar ul a { color: var(--text-2); display: flex; justify-content: space-between; gap: 10px; }
.sidebar ul a:hover { color: var(--blue); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); font-size: .8rem; color: var(--text-2); }
.tag-list a:hover { border-color: var(--blue); color: var(--blue); }
.author-box { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--bg-alt); margin-top: 36px; }
.author-box p { margin: 0; font-size: .9rem; }

/* Contact */
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.contact-card p { margin: 0; font-size: .93rem; }
@media (max-width: 575px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .contact-card { padding: 20px; } }
/* Whole contact card is a link */
a.contact-card--link { color: var(--text); text-decoration: none; cursor: pointer; }
a.contact-card--link:hover { color: var(--text); }
a.contact-card--link h3 { color: var(--navy); }
.contact-card__link { color: var(--blue); overflow-wrap: anywhere; transition: color .2s; }
a.contact-card--link:hover .contact-card__link { color: var(--navy); text-decoration: underline; }
a.contact-card--link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.recruit-services .card { height: 100%; border-top: 3px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.recruit-services .card:hover { transform: translateY(-5px); border-top-color: var(--red); box-shadow: var(--shadow); }
.recruit-services .icon-circle { margin-bottom: 4px; }
.recruit-services .card h3 { margin-top: 12px; line-height: 1.3; }
.recruit-services .card p { line-height: 1.7; }
.recruit-intro__support { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); font-weight: 500; color: var(--navy); line-height: 1.75; }
.recruit-sectors .card { height: 100%; overflow: hidden; border: 1px solid #D4AF37; }
.recruit-sectors .card--hover:hover { border-color: #B8860B; }
.recruit-sectors .card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.recruit-sectors .card h3 { margin-top: 18px; }
.recruit-sectors .card p { line-height: 1.65; }
.map-placeholder {
  min-height: 320px; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden;
  background:
    linear-gradient(rgba(245,249,255,.88), rgba(245,249,255,.88)),
    repeating-linear-gradient(0deg, #DCE6F5 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, #DCE6F5 0 1px, transparent 1px 40px);
  display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted);
}
.map-embed { border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); background: #E9EEF5; }
.map-embed iframe { display: block; width: 100%; height: 360px; }
.map-placeholder i { font-size: 2.4rem; color: var(--orange); margin-bottom: 10px; }
.map-placeholder strong { display: block; color: var(--navy); font-family: var(--font-head); }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; }

/* 15. Footer, floating actions ----------------------------------------- */
.site-footer { background: var(--navy-900); color: #BFCDE6; font-size: .93rem; padding-top: 72px; }
.site-footer a { color: #BFCDE6; }
.site-footer p { color: #BFCDE6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.35fr .8fr .95fr .9fr 1.2fr; gap: 36px; } }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand__logo { background: #fff; border-radius: 14px; padding: 8px 12px; display: block; }
.footer-brand__logo img { width: auto; height: 76px; object-fit: contain; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__name span { color: #7FB2F0; }
.footer-brand .brand__tag { color: #9FB2D4; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--red); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; color: #6F8BBE; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--yellow); margin-top: 5px; width: 16px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s;
}
.social a:hover { background: var(--blue); transform: translateY(-3px); color: #fff; }
.footer-map { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.footer-map iframe { display: block; width: 100%; height: 160px; }
.footer-map i { color: var(--orange); font-size: 1.3rem; display: block; margin-bottom: 4px; }
.footer-disclaimer {
  margin-top: 48px; padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.05);
  font-size: .82rem; line-height: 1.6; color: #9FB2D4; display: flex; gap: 12px;
}
.footer-disclaimer i { color: var(--yellow); margin-top: 3px; }
.footer-bottom {
  margin-top: 28px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .84rem;
}
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.demo-note {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: rgba(249,168,37,.15); color: #FFD27A; font-size: .75rem; font-weight: 600;
}
@media (max-width: 767px) { .site-footer { padding-bottom: 72px; } }

/* Floating actions */
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue); }
.wa-float {
  position: fixed; right: 18px; bottom: 76px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
  display: none; place-items: center; background: #25D366; color: #fff; font-size: 1.6rem; box-shadow: var(--shadow-lg);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
@media (min-width: 768px) { .wa-float { display: grid; } }

.mobile-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.3fr;
  background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(16,38,89,.08);
}
.mobile-actions a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 9px 6px; font-size: .74rem; font-weight: 600; color: var(--navy);
}
.mobile-actions a i { font-size: 1.1rem; }
.mobile-actions .ma-call i { color: var(--blue); }
.mobile-actions .ma-wa i { color: #1DA851; }
.mobile-actions .ma-cta { background: var(--blue); color: #fff; }
@media (min-width: 768px) { .mobile-actions { display: none; } }
@media (max-width: 767px) { .back-to-top { bottom: 78px; } }

/* 16. Animations & utilities ------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.center-row { display: flex; justify-content: center; margin-top: 40px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; border: 0; }
.placeholder { background: #FFF4E0; color: #7A4300; padding: 0 4px; border-radius: 4px; font-weight: 500; }


/* Light hero (MBBS): no background, text left, photo right */
.page-banner--light { background: transparent; color: var(--text); }
.page-banner--light .container { padding-top: 48px; padding-bottom: 48px; }
.page-banner--light h1 { color: var(--navy); margin: 0; }
.page-banner--light .breadcrumb { color: var(--muted); }
.page-banner--light .breadcrumb a { color: var(--navy); }
.page-banner--light .breadcrumb li + li::before { color: var(--muted); }
.page-banner h1 .text-hero-red { color: var(--red); white-space: nowrap; }
.page-banner__split { display: grid; gap: 32px; align-items: center; }
.page-banner__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; }
.page-banner__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) {
  /* Text sits a little in from the left edge, the cross keeps its place on the right;
     the spare width is shared 1 : 3.8 : 2 (left : middle : right) at every screen size */
  .page-banner__split { grid-template-columns: minmax(0, 1fr) auto minmax(64px, 3.8fr) minmax(0, 380px) minmax(0, 2fr); gap: 56px 0; }
  .page-banner__split > :first-child { grid-column: 2; }
  .page-banner__split > .med-cross { grid-column: 4; }
  .page-banner__split h1 .text-hero-red { display: block; } /* own line, so the text column is only as wide as the heading */
}
.med-cross { display: block; width: min(100%, 380px); height: auto; margin: 0 auto; }
/* Wide landscape photo band */
.img-wide { aspect-ratio: 16 / 9; }

/* Step flow (no cards): big label + title, linked by arrows */
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: none; }
.flow-steps__item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.flow-steps__item h3 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.flow-steps__label {
  display: inline-flex; align-items: center; background: var(--yellow); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
  padding: 12px 28px 12px 22px; border-radius: 0 999px 999px 0; border-left: 6px solid var(--red);
  box-shadow: 0 8px 20px rgba(249, 168, 37, .28);
}
.flow-steps__item:not(:last-child)::after {
  content: "\f063"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--red); font-size: 1.2rem;
  position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%);
}
@media (min-width: 992px) {
  .flow-steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .flow-steps__item:not(:last-child)::after { content: "\f061"; left: auto; right: -20px; bottom: auto; top: 14px; transform: none; }
}
