@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

:root {
  --navy: #071936;
  --navy-2: #0b2757;
  --blue: #0d4fc7;
  --royal: #1d63ff;
  --sky: #eaf3ff;
  --ink: #12213a;
  --muted: #66758d;
  --line: #dbe5f2;
  --gold: #d99b2b;
  --orange: #f59e0b;
  --white: #ffffff;
  --soft: #f6f9fd;
  --shadow: 0 24px 60px rgba(7, 25, 54, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 229, 242, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--royal), var(--navy));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(13, 79, 199, 0.25);
}

.brand-text {
  color: var(--navy);
  font-size: 1.14rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #263a57;
  cursor: pointer;
  padding: 10px 13px;
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: var(--blue);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  display: grid;
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 180ms ease;
}

.dropdown-menu-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  border-radius: 7px;
  padding: 11px 12px;
  color: #2c405e;
  font-weight: 750;
}

.dropdown-item:hover {
  background: var(--sky);
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 19px;
  font-weight: 900;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(29, 99, 255, 0.28);
}

.button-secondary,
.button-outline {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button-outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.desktop-cta {
  display: none;
}

.mobile-menu-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav-open {
  display: grid;
}

.mobile-nav a {
  padding: 11px 8px;
  font-weight: 800;
  color: #263a57;
}

.mobile-nav .mobile-sub-link {
  padding-left: 22px;
  color: var(--muted);
  font-weight: 700;
}

.mobile-cta {
  margin-top: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 74px) 0 clamp(58px, 8vw, 96px);
  background:
    radial-gradient(circle at 78% 10%, rgba(29, 99, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #06152f 0%, #092b60 58%, #0f55c9 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle,
.page-hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chips span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-visual img {
  width: 100%;
  height: min(58vw, 590px);
  min-height: 380px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.hero-floating-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(330px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(6, 21, 47, 0.82);
  padding: 15px;
  backdrop-filter: blur(14px);
}

.hero-floating-card strong,
.hero-floating-card span {
  display: block;
}

.hero-floating-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.destination-section {
  background: var(--white);
}

.services-section,
.contact-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.trust-layout h2,
.country-main h2,
.about-grid h2,
.contact-primary h2,
.consultation-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.trust-layout p,
.country-main p,
.about-grid p,
.final-cta p,
.consultation-copy p,
.consultation-card p {
  color: var(--muted);
  font-size: 1.06rem;
}

.destination-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.destination-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(7, 25, 54, 0.14);
}

.destination-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 18, 40, 0.9), rgba(6, 18, 40, 0.1) 62%),
    linear-gradient(90deg, rgba(6, 18, 40, 0.28), transparent);
}

.destination-card:hover img {
  transform: scale(1.05);
}

.destination-card-content {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  color: var(--white);
}

.destination-card-content h3 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.destination-card-content p {
  max-width: 460px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.destination-card-content span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd37e;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card,
.process-card,
.country-panel,
.about-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(7, 25, 54, 0.07);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 26px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--royal), var(--gold));
}

.icon-wrap {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 8px;
  background: var(--sky);
  color: var(--royal);
}

.service-card h3,
.process-card h3,
.country-panel h3,
.about-panel h3,
.contact-item h3,
.consultation-card h3 {
  margin: 18px 0 9px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  background: var(--navy);
  color: var(--white);
}

.process-section .section-heading h2,
.process-section .section-heading p {
  color: var(--white);
}

.process-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.process-top {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.process-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 240px;
}

.process-image img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.process-grid {
  display: grid;
  gap: 16px;
}

.process-card {
  position: relative;
  min-height: 190px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
  color: var(--white);
}

.process-card h3 {
  color: var(--white);
}

.process-card p {
  color: rgba(255, 255, 255, 0.72);
}

.process-number {
  color: #ffd37e;
  font-size: 0.88rem;
  font-weight: 950;
}

.trust-section {
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.96), rgba(13, 79, 199, 0.9)),
    url("/images/abroadways-hero-campus.png") center / cover;
  color: var(--white);
}

.trust-layout {
  display: grid;
  gap: 34px;
}

.trust-layout h2,
.trust-layout p {
  color: var(--white);
}

.trust-layout p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-grid {
  display: grid;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
  color: var(--white);
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.trust-item svg {
  color: #ffd37e;
  flex: 0 0 auto;
}

.consultation-section {
  background: var(--white);
}

.consultation-layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.consultation-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.consultation-image img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.consultation-copy {
  padding: clamp(6px, 3vw, 28px);
}

.consultation-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
}

.consultation-points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #30445f;
  font-weight: 850;
}

.consultation-points svg {
  color: var(--royal);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 120px) 0;
  background:
    linear-gradient(90deg, rgba(7, 25, 54, 0.96), rgba(13, 79, 199, 0.88)),
    url("/images/destination-australia.png") center / cover;
  color: var(--white);
}

.final-cta-inner {
  max-width: 790px;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.final-cta .button {
  margin-top: 16px;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 470px;
  padding: 130px 0 76px;
  overflow: hidden;
  color: var(--white);
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 25, 54, 0.92), rgba(7, 25, 54, 0.46) 62%, rgba(7, 25, 54, 0.12)),
    linear-gradient(0deg, rgba(7, 25, 54, 0.34), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
}

.country-layout,
.about-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.country-main p,
.about-grid p {
  max-width: 680px;
}

.country-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.country-panel,
.about-panel,
.contact-card {
  padding: 28px;
}

.country-panel ul,
.about-panel ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.country-panel li,
.about-panel li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #344761;
  font-weight: 800;
}

.country-panel svg,
.about-panel svg {
  color: var(--royal);
}

.contact-primary {
  padding: clamp(26px, 5vw, 42px);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
}

.contact-item h3 {
  margin: 0 0 4px;
}

.contact-line {
  display: block;
  margin: 2px 0;
  color: var(--muted);
}

a.contact-line:hover,
.footer a:hover {
  color: var(--royal);
}

.consultation-card {
  align-self: start;
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.94), rgba(13, 79, 199, 0.84)),
    url("/images/consultation-counsellor.png") center / cover;
  color: var(--white);
}

.consultation-card h3 {
  color: var(--white);
}

.consultation-card p {
  color: rgba(255, 255, 255, 0.78);
}

.quick-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.not-found {
  min-height: 64vh;
}

.footer {
  background: #061329;
  color: rgba(255, 255, 255, 0.78);
  padding: 62px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.12rem;
}

.footer p {
  max-width: 320px;
}

.footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.95rem;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.planner-preview {
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.96), rgba(13, 79, 199, 0.88)),
    url("/images/consultation-counsellor.png") center / cover;
  color: var(--white);
}

.planner-preview-inner,
.country-detail-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.planner-preview h2,
.planner-preview p {
  color: var(--white);
}

.planner-mini-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 22px;
  backdrop-filter: blur(12px);
}

.planner-mini-card span {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  color: #ffd37e;
  font-weight: 950;
}

.planner-mini-card strong {
  color: var(--white);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.blog-grid,
.info-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 25, 54, 0.08);
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px;
}

.blog-card-body > span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card h3,
.info-card h3,
.faq-card h3,
.contact-form h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  line-height: 1.18;
}

.blog-card p,
.info-card p,
.faq-card p {
  color: var(--muted);
}

.blog-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.info-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(7, 25, 54, 0.06);
}

.article-body {
  max-width: 820px;
}

.article-body p {
  color: #344761;
  font-size: 1.12rem;
}

.planner-page {
  background: var(--soft);
}

.planner-shell,
.planner-success,
.planner-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.planner-shell {
  max-width: 920px;
  padding: clamp(18px, 4vw, 36px);
}

.planner-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.planner-progress span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 950;
}

.planner-progress span.active {
  background: var(--royal);
  color: var(--white);
}

.planner-form,
.planner-success {
  padding: clamp(20px, 4vw, 34px);
}

.planner-success {
  text-align: center;
}

.planner-success svg {
  color: var(--royal);
}

.choice-grid,
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.choice-card {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  padding: 16px;
  text-align: left;
  font-weight: 850;
}

.choice-card.selected {
  border-color: var(--royal);
  background: var(--sky);
  color: var(--blue);
}

.planner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.form-grid label,
.cms-form input,
.cms-form select,
.cms-form textarea {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850;
}

.form-grid input,
.form-grid textarea,
.cms-form input,
.cms-form select,
.cms-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

.cms-form textarea {
  min-height: 92px;
  resize: vertical;
}

.cms-form-expanded {
  grid-template-columns: 1fr;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.contact-form {
  align-self: start;
}

.map-area {
  display: grid;
  min-height: 180px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.88), rgba(29, 99, 255, 0.72)),
    url("/images/abroadways-destination-planning.png") center / cover;
  color: var(--white);
  font-weight: 950;
}

.dashboard {
  min-height: 100vh;
  display: grid;
  background: var(--soft);
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 18px;
}

.dashboard-brand {
  margin-bottom: 14px;
  color: var(--white);
}

.dashboard-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.dashboard-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.dashboard-main {
  padding: clamp(20px, 4vw, 42px);
}

.dashboard-main h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem);
}

.dashboard-stats,
.cms-table {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.dashboard-stats article,
.cms-table article {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(7, 25, 54, 0.06);
}

.dashboard-stat-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(7, 25, 54, 0.06);
}

.dashboard-stat-card strong {
  font-size: 2rem;
  line-height: 1;
}

.dashboard-panels,
.lead-layout {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.dashboard-panel,
.lead-detail,
.notice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(7, 25, 54, 0.06);
}

.dashboard-panel h2,
.lead-detail h2,
.cms-editor h2 {
  margin: 0 0 14px;
  color: var(--navy);
}

.mini-row {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.cms-actions,
.cms-row-actions,
.cms-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cms-table-wide article {
  gap: 14px;
}

.cms-row-main {
  display: grid;
  gap: 5px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  padding: 8px 10px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.mini-button:hover {
  border-color: var(--royal);
  background: var(--sky);
}

.mini-button.danger {
  color: #b91c1c;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--sky);
  color: var(--blue);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-archived,
.status-lost {
  background: #f3f4f6;
  color: #4b5563;
}

.status-draft,
.status-new {
  background: #fff7ed;
  color: #c2410c;
}

.status-contacted,
.status-qualified,
.status-closed,
.status-published {
  background: #ecfdf5;
  color: #047857;
}

.dashboard-stats strong,
.cms-table strong {
  color: var(--navy);
}

.cms-table span,
.cms-table em,
.dashboard-stats span {
  color: var(--muted);
}

.dashboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cms-form {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.cms-editor {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 14px 34px rgba(7, 25, 54, 0.08);
}

.cms-form-grid,
.lead-filters {
  display: grid;
  gap: 12px;
}

.cms-field {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850;
}

.cms-field input,
.cms-field select,
.cms-field textarea,
.lead-filters input,
.lead-filters select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

.cms-field textarea {
  min-height: 110px;
  resize: vertical;
}

.cms-section-title {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: #f5f9ff;
  padding: 14px 16px;
}

.cms-section-title h3,
.cms-section-title p {
  margin: 0;
}

.cms-section-title h3 {
  color: var(--navy);
  font-size: 1.05rem;
}

.cms-section-title p {
  color: var(--muted);
  font-weight: 700;
}

.full {
  grid-column: 1 / -1;
}

.media-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 25, 54, 0.06);
}

.media-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--sky);
}

.media-card-body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.media-filter-bar {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.media-upload-panel,
.image-dropzone,
.upload-preview-card,
.gallery-editor {
  border: 1px dashed rgba(24, 119, 242, 0.35);
  border-radius: 8px;
  background: #f5f9ff;
}

.media-upload-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0;
  padding: clamp(18px, 3vw, 28px);
}

.media-upload-panel.dragging,
.image-dropzone.dragging {
  border-color: var(--royal);
  background: #eaf3ff;
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.12);
}

.media-upload-panel strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.media-upload-panel p {
  margin: 5px 0 0;
  color: var(--muted);
}

.upload-preview-card {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
}

.upload-preview-card img {
  width: 100%;
  max-height: 320px;
  border-radius: 8px;
  object-fit: cover;
}

.image-field {
  align-content: start;
}

.image-field-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.image-field-tools select {
  flex: 1 1 240px;
}

.image-dropzone {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.image-dropzone img {
  width: 100%;
  max-height: 240px;
  border-radius: 8px;
  object-fit: cover;
}

.field-success,
.field-error {
  font-size: 0.82rem;
  font-weight: 850;
}

.field-success {
  color: #087a42;
}

.field-error {
  color: #b42318;
}

.home-image-tools {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
}

.home-image-tools h3,
.home-image-tools p {
  margin: 0;
}

.home-image-tools p {
  color: var(--muted);
  font-weight: 700;
}

.home-image-grid {
  display: grid;
  gap: 14px;
}

.gallery-editor {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.gallery-preview-grid,
.country-gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-preview-grid figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.gallery-preview-grid img,
.country-gallery-grid img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(7, 25, 54, 0.08);
}

.branding-preview {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
}

.branding-preview-grid {
  display: grid;
  gap: 14px;
}

.branding-preview-grid article {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.branding-preview-grid article p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.homepage-builder-layout {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.homepage-section-list,
.homepage-section-editor {
  min-width: 0;
}

.homepage-section-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.section-add-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.homepage-section-row {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
  box-shadow: 0 8px 18px rgba(7, 25, 54, 0.04);
}

.homepage-section-row.selected {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.homepage-section-row > button {
  display: grid;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.homepage-section-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.homepage-builder-editor {
  margin-top: 0;
}

.home-items-editor {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.home-item-list {
  display: grid;
  gap: 8px;
}

.home-item-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px 12px;
}

.homepage-visual-builder {
  display: grid;
  gap: 18px;
}

.builder-unsaved-alert {
  border: 1px solid rgba(255, 107, 0, 0.22);
  border-radius: 8px;
  background: #fff6ed;
  color: #9a4a00;
  padding: 12px 14px;
  font-weight: 800;
}

.button-small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.builder-mobile-tabs {
  display: none;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 8px;
}

.builder-mobile-tabs button {
  flex: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 10px;
  font-weight: 900;
  text-transform: capitalize;
  cursor: pointer;
}

.builder-mobile-tabs button.active {
  background: var(--royal);
  color: var(--white);
}

.homepage-builder-shell {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.builder-panel,
.builder-workspace,
.builder-editor-panel,
.builder-preview-panel {
  min-width: 0;
}

.builder-panel,
.builder-workspace {
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 18px 44px rgba(7, 25, 54, 0.06);
}

.builder-section-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 14px;
}

.builder-panel-head,
.builder-workspace-top,
.repeater-title,
.section-library-head,
.builder-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.builder-panel-head h3,
.builder-workspace-top h3,
.repeater-title h3,
.section-library-head h2,
.builder-editor-head h2 {
  margin: 0;
  color: var(--navy);
}

.builder-panel-head p,
.builder-workspace-top p,
.repeater-title p,
.section-library-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.builder-section-list {
  display: grid;
  gap: 12px;
}

.builder-section-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 10px 22px rgba(7, 25, 54, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.builder-section-card:hover,
.builder-section-card.selected {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1), 0 16px 30px rgba(7, 25, 54, 0.08);
}

.builder-section-card.dragging {
  opacity: 0.55;
  transform: scale(0.99);
}

.builder-section-card.disabled {
  background: #f8fafc;
}

.builder-card-main {
  display: grid;
  grid-template-columns: 22px 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.builder-drag-handle {
  color: #9aa7b8;
  cursor: grab;
}

.builder-section-thumb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 42px;
  overflow: hidden;
  border: 1px dashed rgba(24, 119, 242, 0.28);
  border-radius: 8px;
  background: #eef7ff;
  color: var(--royal);
}

.builder-section-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-section-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.builder-section-copy strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 0.96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-section-copy small,
.builder-section-copy em {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
}

.builder-status-badge.visible {
  background: #dcfce7;
  color: #15703b;
}

.builder-status-badge.hidden {
  background: #fee2e2;
  color: #b42318;
}

.builder-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 32px;
}

.builder-revisions {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.builder-revisions h4 {
  margin: 0;
  color: var(--navy);
}

.builder-workspace {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.builder-workspace-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  gap: 14px;
  align-items: start;
}

.builder-editor-panel,
.builder-preview-panel {
  display: grid;
  gap: 12px;
}

.builder-preview-panel {
  position: sticky;
  top: 96px;
}

.preview-mode-toggle {
  display: inline-flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 5px;
}

.preview-mode-toggle button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.preview-mode-toggle button.active {
  background: var(--royal);
  color: var(--white);
}

.homepage-preview-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dfe7f3;
  padding: 14px;
}

.homepage-preview-frame {
  width: 100%;
  max-height: calc(100vh - 210px);
  margin: 0 auto;
  overflow: auto;
  border: 1px solid rgba(7, 25, 54, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 55px rgba(7, 25, 54, 0.12);
}

.homepage-preview-frame.preview-tablet {
  max-width: 780px;
}

.homepage-preview-frame.preview-mobile {
  max-width: 390px;
}

.preview-section-shell {
  position: relative;
}

.preview-section-shell.selected {
  outline: 3px solid rgba(255, 107, 0, 0.55);
  outline-offset: -3px;
}

.preview-section-shell.selected::before {
  content: "Selected section";
  position: sticky;
  top: 0;
  z-index: 20;
  display: inline-block;
  border-radius: 0 0 8px 0;
  background: #ff6b00;
  color: var(--white);
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.visual-section-editor {
  margin: 0;
  box-shadow: none;
}

.visual-repeater {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.repeater-item {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.repeater-header > button {
  display: grid;
  gap: 2px;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.repeater-header strong {
  color: var(--navy);
}

.repeater-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.repeater-fields {
  padding-top: 8px;
}

.advanced-json {
  border: 1px dashed rgba(24, 119, 242, 0.28);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.advanced-json summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.advanced-json p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.section-library-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(7, 25, 54, 0.46);
  padding: 24px;
}

.section-library-modal {
  width: min(980px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 30px 90px rgba(7, 25, 54, 0.25);
}

.section-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.section-library-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
}

.library-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #eef7ff;
  color: var(--royal);
}

.section-library-grid h3,
.section-library-grid p {
  margin: 0;
}

.section-library-grid p {
  min-height: 52px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.homepage-cta-card,
.homepage-faq-grid,
.homepage-gallery-grid {
  display: grid;
  gap: 18px;
}

.homepage-cta-card {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef7ff, #fff7ed);
  padding: clamp(24px, 5vw, 56px);
  overflow: hidden;
}

.homepage-cta-card img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.homepage-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-faq-grid article,
.homepage-gallery-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(7, 25, 54, 0.05);
}

.homepage-faq-grid h3,
.homepage-faq-grid p,
.homepage-gallery-grid figure,
.homepage-gallery-grid figcaption {
  margin: 0;
}

.homepage-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.homepage-gallery-grid figcaption {
  margin-top: 10px;
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 1200px) {
  .homepage-builder-shell,
  .builder-workspace-grid {
    grid-template-columns: 1fr;
  }

  .builder-section-panel,
  .builder-preview-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 820px) {
  .builder-mobile-tabs {
    display: flex;
  }

  .mobile-hidden {
    display: none !important;
  }

  .homepage-builder-shell {
    display: block;
  }

  .builder-section-panel,
  .builder-workspace {
    padding: 12px;
  }

  .builder-panel-head,
  .builder-workspace-top,
  .repeater-title,
  .section-library-head,
  .builder-editor-head {
    display: grid;
  }

  .builder-card-main {
    grid-template-columns: 22px 46px minmax(0, 1fr);
  }

  .builder-card-main .builder-status-badge {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .builder-section-actions {
    padding-left: 0;
  }

  .section-library-grid,
  .homepage-faq-grid,
  .homepage-gallery-grid,
  .homepage-cta-card {
    grid-template-columns: 1fr;
  }

  .section-library-backdrop {
    padding: 12px;
  }
}

.lead-filters {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.lead-list article {
  cursor: pointer;
}

.lead-list article.selected {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(29, 99, 255, 0.12);
}

.lead-detail {
  align-self: start;
}

.lead-detail dl {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 16px 0;
}

.lead-detail dt {
  color: var(--muted);
  font-weight: 900;
  text-transform: capitalize;
}

.lead-detail dd {
  margin: 0;
  color: var(--ink);
}

.success-alert {
  border: 1px solid rgba(4, 120, 87, 0.22);
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  padding: 12px 14px;
  font-weight: 800;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.94), rgba(13, 79, 199, 0.86)),
    url("/images/consultation-counsellor.png") center / cover;
}

.login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(24px, 5vw, 36px);
  box-shadow: var(--shadow);
}

.login-brand {
  margin-bottom: 8px;
}

.login-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
}

.login-card p {
  margin: 0;
  color: var(--muted);
}

.login-card label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850;
}

.login-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}

.auth-alert {
  border: 1px solid rgba(185, 28, 28, 0.22);
  border-radius: 8px;
  background: #fff1f2;
  color: #9f1239;
  padding: 12px 14px;
  font-weight: 800;
}

.dashboard-logout {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
}

@media (min-width: 680px) {
  .destination-grid,
  .service-grid,
  .process-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .desktop-nav,
  .desktop-cta {
    display: inline-flex;
  }

  .mobile-menu-button,
  .mobile-nav {
    display: none;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1fr);
  }

  .destination-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .destination-card {
    grid-column: span 2;
  }

  .destination-card:nth-child(1),
  .destination-card:nth-child(2) {
    grid-column: span 3;
    min-height: 430px;
  }

  .destination-card:nth-child(1) img,
  .destination-card:nth-child(2) img {
    min-height: 430px;
  }

  .destination-grid-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .destination-grid-compact .destination-card {
    grid-column: span 1;
    min-height: 350px;
  }

  .destination-grid-compact .destination-card img {
    min-height: 350px;
  }

  .service-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-top,
  .trust-layout,
  .country-layout,
  .about-grid,
  .contact-grid,
  .consultation-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    align-items: center;
  }

  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.45fr 0.85fr 0.85fr 1fr;
  }

  .planner-preview-inner,
  .country-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  }

  .blog-grid,
  .info-grid,
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-grid-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .dashboard-stats,
  .cms-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-panels,
  .lead-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  }

  .lead-filters {
    grid-template-columns: 1.4fr repeat(3, minmax(150px, 0.7fr));
    align-items: end;
  }

  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-filter-bar {
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
    align-items: end;
  }

  .branding-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-builder-layout {
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
    align-items: start;
  }

  .cms-form {
    grid-template-columns: 1fr 1fr 180px auto;
    align-items: end;
  }

  .cms-form-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-form-expanded textarea,
  .cms-form-expanded button {
    grid-column: 1 / -1;
  }

  .cms-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-table-wide {
    grid-template-columns: 1fr;
  }

  .cms-table-wide article {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .country-actions {
    width: 100%;
  }

  .dashboard-title,
  .cms-actions,
  .cms-row-actions,
  .cms-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mini-button {
    width: 100%;
  }

  .lead-detail dl {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 15vw, 3.85rem);
  }

  .hero-visual img,
  .consultation-image img {
    min-height: 330px;
  }
}

/* Public V2 Pro visual refresh */
.site-header {
  border-bottom: 1px solid rgba(219, 229, 242, 0.72);
  background: rgba(255, 255, 255, 0.9);
}

.brand-mark {
  background: linear-gradient(135deg, #0d4fc7, #061329 72%);
}

.nav-link,
.dropdown-toggle {
  color: #1d3354;
}

.button {
  min-height: 52px;
  border-radius: 8px;
  padding-inline: 22px;
}

.button-primary {
  background: linear-gradient(135deg, var(--royal), #0b3fa7);
  box-shadow: 0 18px 42px rgba(29, 99, 255, 0.28);
}

.hero {
  isolation: isolate;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 86px 0 96px;
  background: #061329;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 19, 41, 0.96) 0%, rgba(7, 25, 54, 0.82) 46%, rgba(7, 25, 54, 0.35) 100%),
    linear-gradient(0deg, rgba(6, 19, 41, 0.78), rgba(6, 19, 41, 0.1) 45%);
}

.hero::after {
  height: 150px;
  background: linear-gradient(0deg, var(--white), rgba(255, 255, 255, 0));
  opacity: 0.08;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shell {
  gap: 44px;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.9rem;
  line-height: 0.98;
}

.hero-title span {
  display: block;
}

.page-hero h1 {
  font-size: 4.4rem;
  line-height: 1;
}

.hero-subtitle {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-chips span {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-visual {
  min-height: 560px;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.38);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 19, 41, 0.28), transparent 55%);
}

.hero-visual img {
  height: 610px;
  min-height: 560px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-floating-card {
  right: auto;
  bottom: 26px;
  left: -18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.hero-floating-card svg {
  color: var(--royal);
}

.hero-floating-card span {
  color: var(--muted);
}

.hero-stat-strip {
  position: absolute;
  top: 24px;
  right: -12px;
  display: grid;
  gap: 8px;
  width: 210px;
}

.hero-stat-strip span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 19, 41, 0.74);
  color: var(--white);
  padding: 11px 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.trust-layout h2,
.contact-primary h2,
.final-cta h2 {
  font-size: 3.3rem;
}

.destination-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.destination-grid {
  gap: 20px;
}

.destination-card {
  min-height: 430px;
  border: 1px solid rgba(7, 25, 54, 0.1);
  box-shadow: 0 22px 50px rgba(7, 25, 54, 0.16);
}

.destination-card::after {
  background:
    linear-gradient(0deg, rgba(5, 15, 34, 0.94), rgba(5, 15, 34, 0.2) 64%, rgba(5, 15, 34, 0.06)),
    linear-gradient(90deg, rgba(5, 15, 34, 0.26), transparent);
}

.destination-card-content {
  bottom: 26px;
}

.destination-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ffd37e;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.destination-card-content h3 {
  font-size: 2rem;
}

.destination-card-content strong,
.blog-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd37e;
  font-weight: 950;
}

.planner-preview {
  background:
    linear-gradient(100deg, rgba(7, 25, 54, 0.98), rgba(13, 79, 199, 0.92)),
    url("/images/consultation-counsellor.png") center / cover;
}

.planner-preview-inner {
  min-height: 440px;
}

.planner-copy {
  max-width: 650px;
}

.planner-mini-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.planner-mini-card span {
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.planner-mini-card span:last-child {
  border-bottom: 0;
}

.services-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 58%, #eef5ff 100%);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.service-card::before {
  height: 4px;
}

.service-index,
.info-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(13, 79, 199, 0.38);
  font-size: 0.82rem;
  font-weight: 950;
}

.service-card .icon-wrap {
  background: linear-gradient(135deg, var(--sky), #ffffff);
  box-shadow: inset 0 0 0 1px rgba(29, 99, 255, 0.12);
}

.process-section {
  background:
    linear-gradient(135deg, #061329, #08265a 64%, #0b3fa7);
}

.process-grid {
  position: relative;
}

.process-card {
  min-height: 220px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.trust-section {
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.95), rgba(13, 79, 199, 0.84)),
    url("/images/abroadways-hero-campus.png") center / cover;
}

.trust-item {
  min-height: 88px;
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(7, 25, 54, 0.96), rgba(13, 79, 199, 0.82)),
    url("/images/destination-australia.png") center / cover;
}

.page-hero {
  min-height: 540px;
  padding: 146px 0 86px;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 25, 54, 0.94), rgba(7, 25, 54, 0.55) 60%, rgba(7, 25, 54, 0.16)),
    linear-gradient(0deg, rgba(7, 25, 54, 0.4), transparent);
}

.country-landing {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.country-story {
  max-width: 720px;
}

.country-story h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1.05;
}

.country-story p {
  color: var(--muted);
  font-size: 1.12rem;
}

.country-benefits {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 243, 255, 0.9));
}

.country-panel-note {
  margin-top: 22px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  padding: 13px 15px;
  color: var(--navy);
  font-weight: 900;
}

.country-info-section,
.blog-index-section {
  background: var(--white);
}

.info-card,
.faq-card {
  position: relative;
  overflow: hidden;
}

.info-card::before,
.faq-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--royal), var(--gold));
}

.blog-preview {
  background: #f7fbff;
}

.blog-index-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.blog-index-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1.06;
}

.blog-card {
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(7, 25, 54, 0.14);
}

.blog-card img {
  height: 250px;
}

.blog-card-body {
  display: grid;
  gap: 10px;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.28rem;
}

.blog-card strong {
  color: var(--blue);
}

.article-section {
  background: #f8fbff;
}

.article-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.article-body {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 18px 44px rgba(7, 25, 54, 0.08);
}

.article-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(7, 25, 54, 0.08);
}

.article-aside h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.article-aside p {
  color: var(--muted);
}

.contact-premium {
  background:
    linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}

.contact-grid {
  align-items: start;
}

.contact-primary {
  min-height: 100%;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-list {
  grid-template-columns: 1fr;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.contact-map-card {
  padding: 18px;
}

.map-area {
  min-height: 240px;
}

.footer-pro {
  background:
    linear-gradient(135deg, #061329, #071936 64%, #0b2757);
}

.footer-intro {
  display: grid;
  gap: 18px;
}

.footer-tagline {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 950;
}

.brand-lockup-footer {
  justify-items: start;
}

.brand-lockup-footer.brand-lockup-center {
  justify-items: center;
}

.footer-intro .button {
  width: fit-content;
}

@media (min-width: 920px) {
  .hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.82fr);
  }

  .destination-card:nth-child(1),
  .destination-card:nth-child(2) {
    min-height: 500px;
  }

  .destination-card:nth-child(1) img,
  .destination-card:nth-child(2) img {
    min-height: 500px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 54px 0 72px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 390px;
    height: 390px;
  }

  .hero-floating-card,
  .hero-stat-strip {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading h2,
  .trust-layout h2,
  .contact-primary h2,
  .final-cta h2,
  .country-story h2,
  .blog-index-head h2 {
    font-size: 2.35rem;
  }

  .page-hero {
    min-height: 460px;
    padding: 116px 0 64px;
  }
}

/* Public-only landing refinements */
.focus-strip {
  position: relative;
  z-index: 3;
  margin-top: -54px;
}

.focus-strip-grid {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(219, 229, 242, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px;
  box-shadow: 0 24px 70px rgba(7, 25, 54, 0.14);
}

.focus-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 18px;
}

.focus-strip span,
.country-glance span {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-strip strong {
  display: block;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.28;
}

.planner-visual-stack {
  position: relative;
  min-height: 420px;
}

.planner-visual-stack > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.planner-visual-stack .planner-mini-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
}

.country-glance {
  background: #061329;
  color: var(--white);
}

.country-glance-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.country-glance article {
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    #071936;
  padding: clamp(20px, 4vw, 30px);
}

.country-glance p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.planner-page-pro {
  background:
    linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}

.planner-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.planner-side-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.planner-side-card > :not(img) {
  margin-inline: 24px;
}

.planner-side-card .eyebrow {
  margin-top: 24px;
}

.planner-side-card h2 {
  margin-block: 0 10px;
  color: var(--white);
  font-size: 2rem;
  line-height: 1.08;
}

.planner-side-card p {
  color: rgba(255, 255, 255, 0.76);
}

.planner-side-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-top: 22px;
}

.planner-page-pro .planner-shell {
  max-width: none;
}

.planner-page-pro .planner-form,
.planner-page-pro .planner-success {
  box-shadow: none;
}

.choice-card {
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 99, 255, 0.36);
}

@media (min-width: 760px) {
  .focus-strip-grid,
  .country-glance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .planner-layout {
    grid-template-columns: minmax(320px, 0.46fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .focus-strip {
    margin-top: 0;
    padding-top: 14px;
    background: var(--white);
  }

  .planner-visual-stack {
    min-height: auto;
  }

  .planner-visual-stack > img {
    height: 340px;
  }

  .planner-visual-stack .planner-mini-card {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.42rem, 10.4vw, 2.9rem);
    line-height: 1.02;
  }

  .hero-copy {
    min-width: 0;
    width: min(100%, calc(100vw - 28px));
  }

  .hero-subtitle {
    max-width: 31ch;
  }

  .page-hero-content,
  .page-hero p,
  .contact-grid,
  .contact-grid > *,
  .contact-card,
  .planner-layout,
  .planner-layout > *,
  .planner-side-card,
  .planner-shell,
  .country-detail-grid,
  .country-detail-grid > *,
  .article-layout,
  .article-layout > * {
    min-width: 0;
    max-width: 100%;
  }

  .contact-grid,
  .planner-layout,
  .country-detail-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card,
  .planner-side-card,
  .planner-shell {
    width: 100%;
  }

  .page-hero p,
  .contact-primary > p,
  .planner-side-card p,
  .article-aside p {
    max-width: 28ch;
  }

  .contact-primary h2,
  .planner-side-card h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }
}

/* Public-only polish pass */
.site-header {
  box-shadow: 0 10px 30px rgba(7, 25, 54, 0.06);
}

.desktop-nav {
  border: 1px solid rgba(219, 229, 242, 0.72);
  border-radius: 999px;
  background: rgba(246, 249, 253, 0.72);
  padding: 4px;
}

.desktop-nav .nav-link,
.desktop-nav .dropdown-toggle {
  border-radius: 999px;
}

.desktop-nav .nav-link:hover,
.desktop-nav .dropdown-toggle:hover {
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 25, 54, 0.07);
}

.hero-copy .eyebrow,
.page-hero-content .eyebrow {
  border: 1px solid rgba(255, 211, 126, 0.28);
  border-radius: 999px;
  background: rgba(255, 211, 126, 0.08);
  padding: 8px 12px;
}

.hero-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-image-frame {
  transform: rotate(1deg);
}

.hero-image-frame img {
  transform: scale(1.02) rotate(-1deg);
}

.destination-card {
  isolation: isolate;
}

.destination-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  pointer-events: none;
}

.destination-card-content {
  z-index: 2;
}

.service-card,
.info-card,
.faq-card,
.blog-card,
.contact-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover,
.info-card:hover,
.faq-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 99, 255, 0.22);
  box-shadow: 0 24px 58px rgba(7, 25, 54, 0.12);
}

.process-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.trust-grid {
  align-content: center;
}

.page-hero-content {
  max-width: 880px;
}

.country-info-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.info-card h3,
.faq-card h3 {
  font-size: 1.18rem;
}

.blog-grid-large .blog-card:first-child {
  border-color: rgba(29, 99, 255, 0.22);
}

.article-body p:first-child {
  color: var(--navy);
  font-size: 1.22rem;
}

.contact-primary > p {
  max-width: 620px;
  color: var(--muted);
}

.contact-item .icon-wrap {
  background: linear-gradient(135deg, var(--sky), #ffffff);
}

.footer-pro .brand-mark {
  background: linear-gradient(135deg, var(--gold), var(--royal));
}

.footer-pro .button-light {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

@media (min-width: 920px) {
  .process-grid {
    align-items: stretch;
  }

  .process-card:nth-child(even) {
    transform: translateY(22px);
  }

  .blog-grid-large .blog-card:first-child {
    grid-column: span 2;
  }

  .blog-grid-large .blog-card:first-child img {
    height: 320px;
  }
}

@media (max-width: 760px) {
  .desktop-nav {
    border: 0;
    background: transparent;
    padding: 0;
  }

  .hero-image-frame,
  .hero-image-frame img,
  .process-card:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .contact-primary h2 {
    max-width: 11ch;
    font-size: clamp(1.9rem, 8vw, 2.1rem);
    overflow-wrap: normal;
  }

  .contact-primary > p,
  .planner-side-card p,
  .page-hero p {
    max-width: 28ch;
  }
}

/* Launch polish */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(217, 155, 43, 0.55);
  outline-offset: 3px;
}

.button-primary:hover {
  background: #0b55ee;
  box-shadow: 0 22px 44px rgba(29, 99, 255, 0.34);
}

.hero {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.hero-image-frame {
  background: #0b2757;
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.destination-card:focus-visible,
.blog-card:focus-visible {
  outline: 3px solid rgba(217, 155, 43, 0.55);
  outline-offset: 4px;
}

.destination-card-content p,
.blog-card p,
.info-card p,
.faq-card p {
  overflow-wrap: anywhere;
}

.destination-card-content strong {
  color: #ffd37e;
}

.planner-mini-card strong,
.planner-progress span,
.choice-card,
.contact-line {
  overflow-wrap: anywhere;
}

.choice-card.selected {
  box-shadow: 0 0 0 4px rgba(29, 99, 255, 0.1);
}

.country-glance article {
  transition: background 180ms ease;
}

.country-glance article:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    #09265a;
}

.map-area {
  position: relative;
  overflow: hidden;
}

.map-area::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

@media (max-width: 520px) {
  .container,
  .mobile-nav,
  .page-hero-content {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions,
  .planner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .planner-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .planner-progress {
    justify-content: center;
  }

  .planner-progress span {
    width: 32px;
    height: 32px;
  }

  .contact-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }
}

/* Scholars Zone-inspired Abroadways V3 public redesign */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 25, 54, 0.06);
  box-shadow: 0 6px 22px rgba(7, 25, 54, 0.05);
}

.navbar {
  min-height: 88px;
}

.brand-lockup {
  display: inline-grid;
  justify-items: start;
  align-items: center;
  gap: 3px;
  line-height: 1;
}

.brand-lockup-center {
  justify-items: center;
  text-align: center;
}

.brand-logo-wrap {
  display: grid;
  justify-items: inherit;
  align-items: center;
}

.brand-logo-img {
  display: block;
  max-width: min(220px, 42vw);
  max-height: 74px;
  object-fit: contain;
}

.brand-tagline {
  display: block;
  transform-origin: center;
}

.brand-tagline-above-logo .brand-tagline {
  order: -1;
}

.brand-tagline-right-of-logo,
.brand-tagline-left-of-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-tagline-left-of-logo .brand-tagline {
  order: -1;
}

.brand-tagline-custom .brand-tagline {
  position: relative;
}

.brand-copy {
  display: grid;
  gap: 1px;
  justify-items: inherit;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--blue);
  font-size: 1.48rem;
  font-weight: 950;
}

.brand-copy small {
  color: var(--blue);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 750;
  max-width: 220px;
  overflow-wrap: anywhere;
}

.navbar-actions {
  display: none;
  align-items: center;
  gap: 14px;
}

.social-dots {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.social-dots a {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.28);
}

.desktop-nav {
  border: 0;
  background: transparent;
  border-radius: 0;
  gap: 14px;
}

.desktop-nav .nav-link,
.desktop-nav .dropdown-toggle {
  border-radius: 0;
  color: #202532;
  font-size: 1rem;
  padding: 9px 2px;
  position: relative;
}

.desktop-nav .nav-link::after,
.desktop-nav .dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transition: 160ms ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .dropdown-toggle:hover {
  background: transparent;
  box-shadow: none;
}

.desktop-nav .nav-link:hover::after,
.desktop-nav .dropdown-toggle:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.scholars-hero {
  min-height: 820px;
  display: grid;
  align-items: center;
  padding: clamp(64px, 8vw, 112px) 0 72px;
  background:
    radial-gradient(circle at 72% 30%, rgba(24, 119, 242, 0.1), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  color: var(--navy);
}

.scholars-hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.74), transparent),
    repeating-linear-gradient(135deg, rgba(24, 119, 242, 0.025) 0 1px, transparent 1px 12px);
}

.scholars-hero::after {
  display: none;
}

.scholars-hero .hero-shell {
  position: relative;
  z-index: 2;
}

.scholars-hero .hero-copy {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--blue);
  padding: 10px 16px;
  font-weight: 900;
}

.scholars-hero h1 {
  max-width: 680px;
  color: #111827;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 1.05;
}

.scholars-hero .hero-subtitle {
  max-width: 640px;
  color: #44536b;
  font-size: 1.15rem;
}

.scholars-hero .hero-chips span {
  border-color: rgba(24, 119, 242, 0.16);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(7, 25, 54, 0.07);
}

.scholars-hero .hero-image-frame {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.scholars-hero .hero-image-frame::before,
.scholars-hero .hero-image-frame::after {
  display: none;
}

.scholars-hero .hero-image-frame img {
  position: relative;
  z-index: 3;
  height: min(64vw, 650px);
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(24, 119, 242, 0.16);
  transform: none;
}

.student-shape {
  position: absolute;
  z-index: 1;
  border-radius: 42% 58% 48% 52%;
  transform: rotate(-10deg);
}

.shape-blue {
  right: 5%;
  bottom: 11%;
  width: 66%;
  height: 42%;
  background: #41c7b6;
}

.shape-gold {
  top: 9%;
  right: 8%;
  width: 38%;
  height: 26%;
  background: #ff2f6d;
}

.doodle {
  position: absolute;
  z-index: 1;
  color: var(--accent, var(--gold));
  font-size: 2.4rem;
  font-weight: 900;
}

.doodle-plane {
  top: 26%;
  left: 2%;
  color: #ff5c93;
  transform: rotate(16deg);
}

.doodle-pencil {
  top: 18%;
  left: 35%;
  color: #ff9f43;
  transform: rotate(-12deg);
}

.doodle-ring {
  top: 18%;
  right: 8%;
  width: 54px;
  height: 54px;
  border: 4px solid var(--gold);
  border-radius: 999px;
}

.scholars-hero .hero-floating-card {
  z-index: 4;
  left: 8px;
  bottom: 30px;
  background: var(--white);
  border-color: rgba(24, 119, 242, 0.12);
  color: var(--navy);
}

.study-pathway-section,
.success-section,
.blog-preview,
.blog-index-section,
.consultation-claim {
  background: var(--white);
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.scribble-line {
  display: block;
  width: 150px;
  height: 18px;
  margin: 18px auto 0;
  border-top: 5px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 34px auto 0;
}

.pathway-card {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 106px;
  border: 1px solid rgba(7, 25, 54, 0.04);
  border-radius: 8px;
  padding: 18px;
  color: #071936;
  box-shadow: 0 12px 28px rgba(7, 25, 54, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(7, 25, 54, 0.1);
}

.pathway-icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px dashed currentColor;
  border-radius: 999px;
  color: var(--blue);
  font-weight: 950;
}

.pathway-card img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
}

.pathway-card strong {
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  gap: 28px;
}

.big-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.56fr);
  gap: 20px;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(26px, 4vw, 46px);
  color: var(--navy);
}

.big-feature-card h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
}

.big-feature-card ul {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.big-feature-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #24354c;
  font-weight: 800;
}

.big-feature-card img {
  align-self: end;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  transform: rotate(8deg);
  box-shadow: 0 18px 38px rgba(7, 25, 54, 0.13);
}

.feature-doodle {
  position: absolute;
  top: 36px;
  right: 70px;
  width: 150px;
  height: 90px;
  border: 4px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0;
}

.tab-row button {
  min-width: 140px;
  border: 1px solid rgba(24, 119, 242, 0.42);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  padding: 11px 18px;
  font-weight: 850;
}

.tab-row button.active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(24, 119, 242, 0.22);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  overflow: hidden;
  border: 1px solid rgba(7, 25, 54, 0.06);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 25, 54, 0.08);
}

.story-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.story-card div {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.story-card span,
.article-meta {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 0;
  color: var(--navy);
}

.story-card strong {
  color: #31445f;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.bubble-section {
  min-height: 510px;
  background:
    radial-gradient(circle at center, rgba(24, 119, 242, 0.04), transparent 28%),
    #f7f7f8;
}

.bubble-cloud {
  position: relative;
  min-height: 360px;
}

.bubble-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  padding: 12px 20px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(7, 25, 54, 0.08);
}

.bubble-0 { top: 2%; left: 44%; }
.bubble-1 { top: 20%; left: 22%; }
.bubble-2 { top: 20%; right: 22%; }
.bubble-3 { top: 42%; left: 15%; }
.bubble-4 { top: 42%; right: 16%; }
.bubble-5 { top: 66%; left: 27%; }

.scholars-blog-preview .blog-card {
  min-height: 500px;
  border-color: rgba(7, 25, 54, 0.06);
  box-shadow: 0 14px 36px rgba(7, 25, 54, 0.08);
}

.scholars-blog-preview .blog-card img {
  height: 220px;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.empty-card {
  max-width: 560px;
  margin: 28px auto 0;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: #f5f9ff;
  color: #4a5b73;
  padding: 26px;
  text-align: center;
  font-weight: 850;
}

.consultation-claim {
  padding-top: 42px;
}

.claim-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(24, 119, 242, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(7, 25, 54, 0.1);
}

.claim-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 60px);
}

.claim-copy h3 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.08;
}

.claim-copy ol {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding-left: 20px;
  color: #273a52;
  font-weight: 800;
}

.claim-card > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.page-hero {
  background: #f5f9ff;
  color: var(--navy);
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.96), rgba(245, 249, 255, 0.72) 58%, rgba(245, 249, 255, 0.34)),
    linear-gradient(0deg, rgba(245, 249, 255, 0.24), transparent);
}

.page-hero h1,
.page-hero p {
  color: var(--navy);
}

.page-hero p {
  color: #526278;
}

.process-section {
  background: #f5f9ff;
  color: var(--navy);
}

.process-section .section-heading h2,
.process-section .section-heading p,
.process-card h3 {
  color: var(--navy);
}

.process-section .section-heading p,
.process-card p {
  color: var(--muted);
}

.process-card {
  border-color: rgba(24, 119, 242, 0.1);
  background: var(--white);
  color: var(--navy);
}

.country-glance {
  background: #edf7ff;
}

.country-glance-grid {
  background: transparent;
}

.country-glance article {
  background: var(--white);
  color: var(--navy);
}

.country-glance p {
  color: #4b5f77;
}

.scholars-footer {
  background: #eaf3ff;
  color: #2c405e;
}

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.footer-brand-block {
  display: grid;
  gap: 10px;
}

.footer-brand-block p {
  max-width: 460px;
  margin: 0;
  color: #3f526c;
}

.footer-newsletter .brand-copy strong,
.footer-newsletter .brand-copy small {
  color: var(--blue);
}

.footer-pro h3,
.footer-brand,
.footer-pro .footer-brand {
  color: var(--navy);
}

.footer-pro a,
.footer-pro p {
  color: #3f526c;
}

.footer-bottom {
  color: #5b6b80;
  text-align: center;
}

@media (min-width: 920px) {
  .navbar-actions {
    display: inline-flex;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .navbar {
    min-height: 76px;
  }

  .brand-copy strong {
    font-size: 1.2rem;
  }

  .brand-copy small {
    max-width: 150px;
    font-size: 0.64rem;
  }

  .brand-logo-img {
    max-width: min(180px, 48vw);
    max-height: 58px;
  }

  .scholars-hero {
    min-height: auto;
    padding: 44px 0 58px;
  }

  .scholars-hero .hero-shell {
    gap: 24px;
  }

  .scholars-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.25rem);
  }

  .scholars-hero .hero-subtitle {
    max-width: 100%;
  }

  .scholars-hero .hero-visual,
  .scholars-hero .hero-visual img,
  .scholars-hero .hero-image-frame img {
    height: auto;
    min-height: 320px;
  }

  .shape-blue,
  .shape-gold,
  .doodle {
    opacity: 0.45;
  }

  .pathway-grid,
  .story-grid,
  .claim-card,
  .big-feature-card {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    grid-template-columns: 58px 1fr auto;
  }

  .big-feature-card img {
    max-height: 220px;
    transform: none;
  }

  .bubble-cloud {
    display: flex;
    min-height: auto;
    flex-wrap: wrap;
    gap: 12px;
  }

  .bubble-chip {
    position: static;
  }

  .footer-newsletter {
    display: grid;
    justify-items: start;
  }
}


/* Phase 2B public premium polish */
:root {
  --aw-blue: var(--blue, #1877f2);
  --aw-navy: #071936;
  --aw-ink: #102033;
  --aw-muted: #607089;
  --aw-sky: #f2f8ff;
  --aw-sky-strong: #e3f1ff;
  --aw-gold: var(--gold, #f8c84e);
  --aw-card-shadow: 0 22px 55px rgba(15, 54, 109, 0.12);
  --aw-soft-shadow: 0 14px 35px rgba(15, 54, 109, 0.09);
}

body {
  background:
    radial-gradient(circle at 8% 7%, rgba(24, 119, 242, 0.08), transparent 28%),
    radial-gradient(circle at 92% 15%, rgba(248, 200, 78, 0.12), transparent 26%),
    #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(24, 119, 242, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(15, 54, 109, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 96px;
  gap: clamp(14px, 2vw, 26px);
}

.desktop-nav {
  border: 1px solid rgba(24, 119, 242, 0.08);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.72);
  padding: 7px;
}

.nav-link,
.dropdown-toggle {
  border-radius: 8px;
  padding: 10px 13px;
  color: #182a42;
  font-weight: 850;
}

.nav-link:hover,
.dropdown-toggle:hover {
  background: #ffffff;
  color: var(--aw-blue);
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.1);
}

.dropdown-menu {
  overflow: hidden;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--aw-card-shadow);
}

.dropdown-item {
  padding: 12px 14px;
  color: var(--aw-ink);
  font-weight: 850;
}

.dropdown-item:hover {
  background: var(--aw-sky);
  color: var(--aw-blue);
}

.navbar-actions {
  gap: 12px;
}

.social-dots {
  gap: 7px;
}

.social-dots a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 119, 242, 0.16);
  background: linear-gradient(180deg, #ffffff, #eef7ff);
  color: var(--aw-blue);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.12);
}

.button-primary,
.desktop-cta {
  border: 0;
  background: linear-gradient(135deg, var(--aw-blue), #0756d8 58%, #003f9f);
  color: #ffffff;
  box-shadow: 0 15px 32px rgba(24, 119, 242, 0.25);
}

.button-primary:hover,
.desktop-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(24, 119, 242, 0.32);
}

.mobile-menu-button {
  border: 1px solid rgba(24, 119, 242, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--aw-blue);
  box-shadow: 0 8px 20px rgba(15, 54, 109, 0.08);
}

.mobile-nav {
  border: 1px solid rgba(24, 119, 242, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--aw-card-shadow);
}

.scholars-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 96px));
  padding: clamp(56px, 7vw, 96px) 0 clamp(58px, 8vw, 108px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.96)),
    radial-gradient(circle at 16% 15%, rgba(24, 119, 242, 0.14), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(248, 200, 78, 0.22), transparent 22%);
}

.scholars-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -85px -8%;
  height: 170px;
  background: #ffffff;
  clip-path: ellipse(58% 46% at 50% 100%);
}

.scholars-hero::after {
  content: "";
  position: absolute;
  top: 84px;
  right: 6%;
  width: 116px;
  height: 116px;
  border: 18px solid rgba(24, 119, 242, 0.08);
  border-radius: 999px;
}

.scholars-hero .hero-shell {
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.scholars-hero .hero-badge {
  width: fit-content;
  border: 1px solid rgba(24, 119, 242, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--aw-blue);
  padding: 9px 13px;
  font-weight: 950;
  box-shadow: 0 12px 25px rgba(24, 119, 242, 0.1);
}

.hero-title {
  color: var(--aw-navy);
  font-size: clamp(3rem, 7.4vw, 6.35rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.scholars-hero .hero-subtitle {
  max-width: 650px;
  color: #52627a;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.75;
}

.hero-actions {
  gap: 12px;
}

.button-outline {
  border-color: rgba(24, 119, 242, 0.22);
  background: #ffffff;
  color: var(--aw-blue);
  box-shadow: 0 10px 24px rgba(15, 54, 109, 0.08);
}

.hero-chips span {
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--aw-blue);
  padding: 9px 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 54, 109, 0.07);
}

.hero-image-frame {
  border: 1px solid rgba(24, 119, 242, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, #eaf5ff, #ffffff 48%, #fff8df);
  padding: clamp(10px, 1.8vw, 18px);
  box-shadow: 0 28px 70px rgba(15, 54, 109, 0.18);
  transform: rotate(1deg);
}

.hero-image-frame img {
  border-radius: 8px;
  filter: saturate(1.06) contrast(1.02);
}

.student-shape.shape-blue {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.2), rgba(24, 119, 242, 0.06));
}

.student-shape.shape-gold {
  background: linear-gradient(135deg, rgba(248, 200, 78, 0.35), rgba(255, 244, 206, 0.2));
}

.hero-floating-card {
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--aw-card-shadow);
}

.section {
  position: relative;
}

.section-heading h2,
.blog-index-head h2 {
  color: var(--aw-navy);
  font-size: clamp(2rem, 4.3vw, 3.45rem);
  line-height: 1.05;
}

.section-heading p,
.blog-index-head p {
  color: var(--aw-muted);
}

.study-pathway-section {
  background: #ffffff;
}

.pathway-grid {
  gap: 18px;
}

.pathway-card {
  min-height: 118px;
  border: 1px solid rgba(24, 119, 242, 0.08);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 15px 34px rgba(15, 54, 109, 0.08);
}

.pathway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(15, 54, 109, 0.14);
}

.pathway-icon,
.pathway-card img {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--aw-blue);
}

.feature-card-section {
  background:
    linear-gradient(180deg, #ffffff, #f5faff);
}

.big-feature-card {
  min-height: 420px;
  border: 1px solid rgba(24, 119, 242, 0.08);
  border-radius: 8px;
  box-shadow: var(--aw-card-shadow);
}

.big-feature-card:nth-child(2n) {
  background: #e9f6ff !important;
}

.big-feature-card h2 {
  color: var(--aw-navy);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.big-feature-card li {
  color: #30445d;
}

.big-feature-card img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(15, 54, 109, 0.14);
}

.success-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 119, 242, 0.08), transparent 30%),
    #ffffff;
}

.tab-row button {
  border-radius: 8px;
  border-color: rgba(24, 119, 242, 0.22);
  background: #ffffff;
  color: var(--aw-blue);
  font-weight: 900;
}

.tab-row button.active {
  background: linear-gradient(135deg, var(--aw-blue), #0756d8);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 119, 242, 0.2);
}

.story-card {
  overflow: hidden;
  border: 1px solid rgba(24, 119, 242, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--aw-soft-shadow);
}

.story-card img {
  height: 245px;
  object-fit: cover;
}

.story-card div {
  padding: 20px;
}

.story-card span {
  color: var(--aw-blue);
  font-weight: 950;
}

.story-card h3 {
  color: var(--aw-navy);
}

.bubble-section {
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.bubble-cloud {
  border-radius: 8px;
}

.bubble-chip {
  border: 1px solid rgba(24, 119, 242, 0.1);
  background: #ffffff;
  color: var(--aw-navy);
  box-shadow: 0 14px 32px rgba(15, 54, 109, 0.1);
}

.bubble-chip svg {
  color: var(--aw-blue);
}

.scholars-blog-preview {
  background: #ffffff;
}

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(24, 119, 242, 0.09);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--aw-soft-shadow);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--aw-card-shadow);
}

.blog-card img {
  background: linear-gradient(135deg, #eaf5ff, #fff8df);
}

.blog-card-body > span {
  color: var(--aw-blue);
  font-weight: 950;
}

.blog-card h3 {
  color: var(--aw-navy);
}

.consultation-claim {
  background:
    linear-gradient(180deg, #ffffff, #f4f9ff);
}

.claim-card {
  border-color: rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 75px rgba(15, 54, 109, 0.14);
}

.claim-copy {
  background:
    radial-gradient(circle at 82% 12%, rgba(248, 200, 78, 0.18), transparent 26%),
    #ffffff;
}

.claim-copy h3 {
  color: var(--aw-navy);
}

.claim-copy li::marker {
  color: var(--aw-blue);
  font-weight: 950;
}

.trust-section {
  background:
    linear-gradient(180deg, #f5faff, #ffffff);
  color: var(--aw-navy);
}

.trust-layout h2,
.trust-layout p {
  color: var(--aw-navy);
}

.trust-layout p {
  color: var(--aw-muted);
}

.trust-item {
  border-color: rgba(24, 119, 242, 0.12);
  background: #ffffff;
  color: var(--aw-navy);
  box-shadow: 0 14px 32px rgba(15, 54, 109, 0.08);
}

.trust-item svg {
  color: var(--aw-blue);
}

.page-hero {
  min-height: 430px;
  background:
    radial-gradient(circle at 12% 20%, rgba(24, 119, 242, 0.12), transparent 28%),
    #f5faff;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(245, 250, 255, 0.98), rgba(245, 250, 255, 0.82) 58%, rgba(245, 250, 255, 0.42)),
    linear-gradient(0deg, rgba(245, 250, 255, 0.28), transparent);
}

.page-hero-content {
  max-width: 820px;
}

.page-hero h1 {
  color: var(--aw-navy);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.destination-card,
.info-card,
.faq-card,
.service-card,
.contact-card,
.planner-shell,
.planner-side-card,
.country-panel {
  border-radius: 8px;
  border-color: rgba(24, 119, 242, 0.1);
  box-shadow: var(--aw-soft-shadow);
}

.destination-card {
  overflow: hidden;
}

.destination-card::after {
  background: linear-gradient(180deg, transparent 20%, rgba(7, 25, 54, 0.82));
}

.country-glance {
  background: #eef7ff;
}

.country-glance article:hover,
.info-card:hover,
.service-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--aw-card-shadow);
}

.process-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(24, 119, 242, 0.08), transparent 26%),
    #f6fbff;
}

.process-card {
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 54, 109, 0.08);
}

.planner-page-pro {
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
}

.planner-side-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(248, 200, 78, 0.2), transparent 25%),
    #ffffff;
}

.planner-progress span {
  border: 1px solid rgba(24, 119, 242, 0.16);
  background: #ffffff;
  color: var(--aw-blue);
}

.planner-progress span.active {
  background: linear-gradient(135deg, var(--aw-blue), #0756d8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.18);
}

.choice-card {
  border-radius: 8px;
  border-color: rgba(24, 119, 242, 0.14);
  background: #ffffff;
  color: var(--aw-navy);
  box-shadow: 0 8px 18px rgba(15, 54, 109, 0.06);
}

.choice-card:hover,
.choice-card.selected {
  border-color: var(--aw-blue);
  background: #eef7ff;
  color: var(--aw-blue);
}

.blog-index-section,
.article-section,
.related-posts,
.contact-premium {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.article-body {
  border: 1px solid rgba(24, 119, 242, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--aw-soft-shadow);
}

.article-aside {
  border-radius: 8px;
  background: #eef7ff;
}

.contact-primary {
  background:
    radial-gradient(circle at 88% 12%, rgba(248, 200, 78, 0.18), transparent 26%),
    #ffffff;
}

.contact-item {
  background: #f7fbff;
}

.map-area {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(24, 119, 242, 0.08), rgba(248, 200, 78, 0.14)),
    #ffffff;
}

.scholars-footer {
  background:
    linear-gradient(180deg, #eaf4ff, #dfeeff);
}

.footer-newsletter {
  border-bottom: 1px solid rgba(24, 119, 242, 0.1);
  padding-bottom: 28px;
}

@media (min-width: 920px) {
  .feature-grid,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .navbar {
    min-height: 78px;
  }

  .desktop-nav,
  .navbar-actions {
    display: none;
  }

  .scholars-hero {
    padding-top: 40px;
  }

  .hero-title {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .hero-actions,
  .planner-actions {
    grid-template-columns: 1fr;
  }

  .claim-card {
    grid-template-columns: 1fr;
  }
}


/* Phase 2D Scholars Zone-inspired public rebuild */
:root {
  --sz-blue: var(--blue, #1877f2);
  --sz-navy: #071936;
  --sz-text: #182338;
  --sz-soft: #f5faff;
  --sz-line: rgba(24, 119, 242, 0.12);
  --sz-shadow: 0 18px 44px rgba(16, 56, 116, 0.11);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(24, 119, 242, 0.08), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(217, 155, 43, 0.12), transparent 24%),
    #ffffff;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 22px rgba(16, 56, 116, 0.07);
}

.navbar {
  min-height: 104px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.desktop-nav {
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nav-link,
.dropdown-toggle {
  position: relative;
  background: transparent;
  color: #1f2937;
  font-size: 0.98rem;
  font-weight: 750;
}

.nav-link::after,
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.dropdown-toggle:hover {
  background: transparent;
  color: var(--sz-blue);
  box-shadow: none;
}

.nav-link:hover::after,
.dropdown-toggle:hover::after {
  transform: scaleX(1);
}

.dropdown-menu {
  min-width: 220px;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 56, 116, 0.13);
}

.dropdown-item {
  border-radius: 8px;
}

.social-dots a {
  border-radius: 999px;
  background: var(--sz-blue);
  color: #ffffff;
}

.desktop-cta,
.button-primary {
  border-radius: 8px;
  background: #2797ff;
  box-shadow: 0 14px 28px rgba(39, 151, 255, 0.26);
}

.scholars-hero {
  min-height: min(790px, calc(100vh - 96px));
  background:
    linear-gradient(rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    radial-gradient(circle at 20% 12%, rgba(39, 151, 255, 0.1), transparent 28%),
    #f8fbff;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.scholars-hero::before {
  height: 120px;
  clip-path: polygon(0 62%, 100% 28%, 100% 100%, 0% 100%);
}

.doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.doodle-plane {
  left: 2%;
  top: 24%;
  width: 70px;
  height: 24px;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent 0 18%, #ff5b8a 18% 100%);
  clip-path: polygon(0 46%, 100% 0, 72% 50%, 100% 100%);
}

.doodle-pencil {
  left: 33%;
  top: 14%;
  width: 24px;
  height: 68px;
  border: 3px solid #111827;
  border-radius: 8px;
  background: linear-gradient(#f7a93b 0 72%, #ffffff 72% 82%, #111827 82% 100%);
  transform: rotate(38deg);
}

.doodle-ring {
  right: 7%;
  top: 16%;
  width: 58px;
  height: 58px;
  border: 4px solid #f5c400;
  border-radius: 999px;
}

.scholars-hero .hero-shell {
  grid-template-columns: 0.92fr 1.08fr;
}

.hero-title {
  max-width: 720px;
  color: #151923;
  font-size: clamp(3.3rem, 6.5vw, 6rem);
  font-weight: 950;
}

.hero-secondary-line {
  margin: -6px 0 18px;
  color: #142b49;
  font-weight: 800;
}

.hero-image-frame {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 18% 8% 6% 2%;
  z-index: -1;
  border-radius: 45% 55% 42% 58%;
  background: #37c9b4;
  transform: rotate(2deg);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  top: 4%;
  right: 8%;
  z-index: -2;
  width: 190px;
  height: 190px;
  border-radius: 50% 50% 0 50%;
  background: #ff2e6f;
}

.hero-image-frame img {
  position: relative;
  max-height: 640px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.hero-floating-card {
  right: auto;
  left: 4%;
  bottom: 5%;
}

.section-heading.centered,
.blog-index-head.centered {
  text-align: center;
  justify-items: center;
}

.scribble-line {
  display: inline-block;
  width: 150px;
  height: 18px;
  margin-top: 10px;
  background: repeating-linear-gradient(-8deg, transparent 0 5px, #ffd95a 5px 7px, transparent 7px 11px);
  clip-path: ellipse(48% 42% at 50% 50%);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathway-card {
  grid-template-columns: 68px 1fr auto;
  border: 0;
  border-radius: 8px;
  min-height: 112px;
}

.pathway-card img,
.pathway-icon {
  width: 60px;
  height: 60px;
  border: 1px dashed rgba(24, 119, 242, 0.35);
  border-radius: 999px;
  object-fit: cover;
}

.feature-grid {
  gap: 32px;
}

.big-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 0;
  border-radius: 8px;
  padding: clamp(28px, 4vw, 42px);
}

.big-feature-card::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 8%;
  width: 150px;
  height: 110px;
  border: 4px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.big-feature-card img {
  align-self: end;
  width: min(280px, 42%);
  transform: rotate(12deg);
}

.success-section .tab-row {
  justify-content: center;
}

.story-card {
  min-height: 460px;
}

.story-card strong {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--sz-blue);
  padding: 5px 10px;
}

.bubble-orbit-section {
  min-height: 560px;
  background: #f7f7f7;
}

.bubble-orbit {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.orbit-rings {
  position: absolute;
  width: min(640px, 92vw);
  aspect-ratio: 1;
  border: 1px solid rgba(39, 151, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 54px rgba(39, 151, 255, 0.035), inset 0 0 0 108px rgba(39, 151, 255, 0.025);
}

.orbit-image {
  position: relative;
  z-index: 2;
  width: min(300px, 58vw);
  max-height: 330px;
  object-fit: contain;
}

.bubble-orbit .bubble-chip {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
}

.bubble-orbit .bubble-0 { top: 4%; left: 48%; }
.bubble-orbit .bubble-1 { top: 20%; left: 14%; }
.bubble-orbit .bubble-2 { top: 20%; right: 14%; }
.bubble-orbit .bubble-3 { top: 42%; left: 5%; }
.bubble-orbit .bubble-4 { top: 42%; right: 5%; }
.bubble-orbit .bubble-5 { bottom: 22%; left: 12%; }
.bubble-orbit .bubble-6 { bottom: 22%; right: 12%; }
.bubble-orbit .bubble-7 { bottom: 5%; left: 32%; }
.bubble-orbit .bubble-8 { bottom: 5%; right: 30%; }

.insights-section {
  overflow: hidden;
  background: #ffffff;
}

.insights-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}

.insights-visual {
  min-height: 380px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef7ff, #fff7df);
  display: grid;
  place-items: center;
}

.insights-visual img {
  max-height: 340px;
  object-fit: contain;
}

.insights-copy h2 {
  color: var(--sz-navy);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.05;
}

.country-slider-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-top: 42px;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.country-slide-card {
  flex: 0 0 min(280px, 72vw);
  min-height: 86px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  box-shadow: var(--sz-shadow);
}

.home-consult-section {
  background: #ffffff;
}

.home-consult-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  overflow: hidden;
  border: 1px solid rgba(39, 151, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 56, 116, 0.13);
}

.home-consult-form {
  padding: clamp(26px, 4vw, 48px);
  align-self: center;
}

.consult-step {
  display: grid;
  gap: 14px;
}

.consult-step input,
.consult-step textarea {
  width: 100%;
  border: 1px solid rgba(39, 151, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
}

.consult-step textarea {
  min-height: 96px;
  resize: vertical;
}

.consult-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.consult-choice-grid button {
  border: 1px solid rgba(39, 151, 255, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--sz-text);
  padding: 13px;
  font-weight: 800;
}

.consult-choice-grid button.selected {
  background: #eef7ff;
  border-color: var(--sz-blue);
  color: var(--sz-blue);
}

.home-consult-image {
  background: #111827;
  display: grid;
  place-items: end center;
}

.home-consult-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.resource-tiles-section {
  background: #ffffff;
}

.resource-tile-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 14px 0 28px;
}

.resource-tile {
  flex: 0 0 min(320px, 78vw);
  min-height: 132px;
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  box-shadow: var(--sz-shadow);
}

.resource-icon {
  grid-row: span 3;
  justify-self: end;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--sz-blue);
  font-weight: 950;
}

.resource-tile p {
  margin: 0;
  color: #50657f;
}

.resource-tile em {
  width: fit-content;
  border-radius: 8px;
  background: var(--sz-blue);
  color: #ffffff;
  padding: 7px 12px;
  font-style: normal;
  font-weight: 850;
}

.scholars-blog-preview .blog-grid-large {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scholars-blog-preview .blog-card {
  min-height: 520px;
}

.scholars-blog-preview .blog-card img {
  height: 270px;
}

.scholars-footer {
  background: #dfeeff;
}

.footer-newsletter input {
  border-radius: 999px 0 0 999px;
}

.footer-newsletter button {
  border-radius: 0 999px 999px 0;
}

@media (max-width: 980px) {
  .navbar {
    grid-template-columns: auto auto;
  }

  .scholars-hero .hero-shell,
  .insights-layout,
  .home-consult-card {
    grid-template-columns: 1fr;
  }

  .pathway-grid,
  .scholars-blog-preview .blog-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-consult-image img {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .pathway-grid,
  .scholars-blog-preview .blog-grid-large,
  .consult-choice-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .bubble-orbit {
    display: flex;
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .orbit-rings,
  .orbit-image {
    display: none;
  }

  .bubble-orbit .bubble-chip {
    position: static;
  }
}


/* Phase 2E design parity refinements */
body {
  font-family: "Poppins", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101828;
}

.site-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.brand-lockup {
  min-width: 148px;
}

.brand-tagline {
  letter-spacing: 0;
}

.desktop-nav {
  gap: clamp(12px, 2vw, 26px);
}

.nav-link,
.dropdown-toggle {
  padding-inline: 4px;
  font-size: 1rem;
}

.nav-link::after,
.dropdown-toggle::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #252525;
}

.dropdown-menu {
  top: calc(100% + 14px);
}

.navbar-actions .button {
  min-height: 42px;
  padding-inline: 18px;
}

.scholars-hero {
  padding-top: clamp(72px, 8vw, 118px);
  background-color: #fbfcff;
}

.scholars-hero .hero-copy {
  padding-top: clamp(24px, 4vw, 72px);
}

.hero-title {
  letter-spacing: 0;
}

.hero-actions .button {
  min-width: min(100%, 320px);
  min-height: 58px;
  justify-content: center;
}

.hero-chips {
  margin-top: 12px;
}

.hero-chips span {
  border-radius: 999px;
}

.section {
  padding-block: clamp(78px, 8vw, 128px);
}

.study-pathway-section {
  padding-top: clamp(86px, 9vw, 150px);
}

.section-heading.centered h2,
.blog-index-head h2 {
  font-size: clamp(2.45rem, 4.8vw, 4.1rem);
  font-weight: 900;
}

.pathway-grid {
  width: min(1380px, 100%);
  margin-inline: auto;
}

.pathway-card {
  padding: 24px 26px;
  font-size: 1.18rem;
}

.feature-card-section .container {
  width: min(1420px, calc(100% - 32px));
}

.big-feature-card {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.72fr);
  align-items: center;
}

.big-feature-card .button {
  width: min(100%, 340px);
  justify-content: center;
}

.success-section {
  padding-top: clamp(92px, 9vw, 150px);
}

.tab-row {
  gap: 10px;
}

.tab-row button {
  min-width: 150px;
  min-height: 40px;
  border-radius: 999px;
}

.story-grid {
  gap: 26px;
}

.story-card {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

.bubble-orbit-section {
  padding-block: clamp(90px, 9vw, 150px);
}

.bubble-chip {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 1rem;
}

.insights-section {
  padding-block: clamp(96px, 9vw, 152px);
}

.insights-copy p {
  max-width: 620px;
  color: #29384c;
  line-height: 1.9;
}

.country-slide-card,
.resource-tile {
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.home-consult-section {
  padding-top: clamp(86px, 8vw, 138px);
}

.home-consult-card {
  width: min(1420px, 100%);
  margin-inline: auto;
}

.home-consult-form h3 {
  margin-top: 0;
  color: #151923;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.scholars-blog-preview {
  padding-top: clamp(88px, 9vw, 150px);
}

.blog-card {
  border-radius: 8px;
}

.resource-tile-row {
  padding-top: 34px;
}

.scholars-footer {
  padding-top: clamp(56px, 6vw, 90px);
}

@media (min-width: 1200px) {
  .navbar.container {
    width: min(1660px, calc(100% - 80px));
  }

  .scholars-hero .container {
    width: min(1660px, calc(100% - 80px));
  }
}

/* Phase 2G hero motion, Academy teaser, and partner credibility sections */
.brand-tagline-below-logo .brand-tagline {
  margin-top: 2px;
  white-space: normal;
}

.desktop-nav {
  gap: clamp(12px, 1.45vw, 22px);
}

.desktop-nav .nav-link,
.desktop-nav .dropdown-toggle {
  font-size: clamp(0.9rem, 0.92vw, 1rem);
}

.scholars-hero .hero-badge,
.hero-subtitle,
.hero-secondary-line,
.hero-actions,
.hero-chips span,
.hero-floating-card {
  opacity: 0;
  animation: abroadwaysFadeUp 760ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.scholars-hero .hero-badge {
  animation-delay: 80ms;
}

.hero-title {
  animation-delay: 160ms;
}

.hero-subtitle {
  animation-delay: 300ms;
}

.hero-secondary-line {
  animation-delay: 420ms;
}

.hero-actions {
  animation-delay: 540ms;
}

.hero-floating-card {
  animation-delay: 780ms;
}

.hero-chips span:nth-child(1) { animation-delay: 640ms; }
.hero-chips span:nth-child(2) { animation-delay: 700ms; }
.hero-chips span:nth-child(3) { animation-delay: 760ms; }
.hero-chips span:nth-child(4) { animation-delay: 820ms; }
.hero-chips span:nth-child(5) { animation-delay: 880ms; }

.student-shape {
  animation: abroadwaysShapeDrift 10s ease-in-out infinite;
}

.shape-gold {
  animation-delay: -3s;
}

.scholars-hero::before {
  animation: abroadwaysBgDrift 14s ease-in-out infinite alternate;
}

.academy-teaser-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 107, 0, 0.1), transparent 260px),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  padding-top: clamp(76px, 7vw, 112px);
  padding-bottom: clamp(72px, 7vw, 110px);
}

.academy-teaser-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.09);
}

.academy-teaser-copy h2,
.academy-coming-card h2,
.who-about-card h2 {
  margin: 10px 0 14px;
  color: #071936;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.academy-teaser-copy p,
.academy-coming-card p,
.who-about-card p {
  color: #44536b;
  font-size: 1.05rem;
  line-height: 1.85;
}

.academy-track-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.academy-track-pills span {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 8px 13px;
  color: #071936;
  font-weight: 800;
}

.academy-teaser-visual {
  position: relative;
  min-height: 320px;
  border-radius: 8px;
  background: #eef7ff;
  overflow: hidden;
}

.academy-teaser-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.academy-teaser-visual span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: #ff6b00;
  color: #ffffff;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.24);
}

.academy-page-section,
.who-page-section {
  background: #ffffff;
}

.academy-coming-card {
  margin-bottom: clamp(46px, 6vw, 80px);
  border-radius: 8px;
  background: linear-gradient(135deg, #eef7ff, #fff8ec);
  padding: clamp(26px, 4vw, 54px);
}

.academy-track-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.academy-track-grid article {
  min-height: 180px;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.academy-track-grid span {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px dashed currentColor;
  border-radius: 999px;
  color: #1877f2;
  font-weight: 900;
}

.academy-track-grid h3,
.academy-why-grid h3 {
  margin: 18px 0 8px;
  color: #071936;
}

.academy-track-grid p,
.academy-why-grid p {
  margin: 0;
  color: #52627a;
}

.academy-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.academy-why-grid article {
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.academy-why-grid svg {
  color: #ff6b00;
}

.academy-final-cta {
  background: #071936;
}

.who-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.who-about-card {
  position: sticky;
  top: 128px;
  border-radius: 8px;
  background: #f4f9ff;
  padding: clamp(26px, 4vw, 46px);
}

.who-about-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.who-about-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #23344f;
  font-weight: 700;
}

.who-about-card svg {
  color: #1877f2;
}

.who-country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.who-country-grid a {
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: #071936;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.who-country-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.84;
}

.who-country-grid strong {
  display: block;
  padding: 14px 16px;
}

.partners-section {
  background: #f7f9fc;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.partner-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.partner-card img,
.partner-logo-fallback {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 8px;
  background: #eef7ff;
  color: #1877f2;
  object-fit: contain;
  font-weight: 900;
}

.partner-card small {
  color: #ff6b00;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-card h3 {
  margin: 6px 0;
  color: #071936;
}

.partner-card strong {
  display: block;
  color: #1877f2;
}

.partner-card p {
  margin-bottom: 0;
  color: #52627a;
}

.partner-preview-list {
  display: grid;
  gap: 10px;
}

.partner-preview-list article {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

@keyframes abroadwaysFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes abroadwaysShapeDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-10deg);
  }
  50% {
    transform: translate3d(14px, -12px, 0) rotate(-7deg);
  }
}

@keyframes abroadwaysBgDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scholars-hero .hero-badge,
  .hero-subtitle,
  .hero-secondary-line,
  .hero-actions,
  .hero-chips span,
  .hero-floating-card,
  .student-shape,
  .scholars-hero::before {
    animation: none;
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .academy-teaser-card,
  .who-layout {
    grid-template-columns: 1fr;
  }

  .who-about-card {
    position: static;
  }

  .academy-track-grid,
  .academy-why-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .academy-track-grid,
  .academy-why-grid,
  .partner-grid,
  .who-country-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    grid-template-columns: 1fr;
  }
}

/* Phase 3B: Media Library Pro and mobile hardening */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(29, 99, 255, 0.35);
  outline-offset: 2px;
}

img {
  height: auto;
}

.media-cleanup-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.media-cleanup-panel article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(7, 25, 54, 0.05);
}

.media-cleanup-panel strong {
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
}

.media-cleanup-panel span,
.media-cleanup-panel small {
  color: var(--muted);
  font-weight: 800;
}

.media-pro-filter-bar {
  grid-template-columns: 1.4fr repeat(5, minmax(150px, 1fr));
  align-items: end;
}

.media-bulk-bar {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto minmax(160px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
  border: 1px solid rgba(24, 119, 242, 0.16);
  border-radius: 8px;
  background: #eef7ff;
  padding: 12px;
}

.media-bulk-bar > strong {
  align-self: center;
  color: var(--navy);
  white-space: nowrap;
}

.media-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-card {
  position: relative;
  display: grid;
  align-content: start;
}

.media-card-select {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(7, 25, 54, 0.12);
}

.media-card-select input {
  width: 18px;
  height: 18px;
}

.media-card img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.media-card-body strong,
.media-card-body span {
  overflow-wrap: anywhere;
}

.media-warning {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #fff2e8;
  color: #b45309 !important;
  padding: 4px 8px;
  font-weight: 900;
}

.media-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.media-tag-row em {
  border-radius: 999px;
  background: #eef7ff;
  color: var(--royal);
  padding: 4px 8px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
}

.media-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(7, 25, 54, 0.5);
  padding: 20px;
}

.media-picker-modal {
  width: min(1040px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 30px 90px rgba(7, 25, 54, 0.25);
}

.media-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.media-picker-head h2,
.media-picker-head p {
  margin: 0;
}

.media-picker-head p {
  color: var(--muted);
  font-weight: 700;
}

.media-picker-tools {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
}

.media-picker-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.media-picker-url-row input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.media-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.media-picker-grid button {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.media-picker-grid button:hover {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.media-picker-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--sky);
  object-fit: cover;
}

.media-picker-grid span,
.media-picker-grid small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-picker-grid span {
  color: var(--navy);
  font-weight: 900;
}

.media-picker-grid small {
  color: var(--muted);
  font-weight: 700;
}

.image-field-tools {
  flex-wrap: wrap;
}

.image-field-tools .mini-button,
.cms-row-actions .mini-button,
.mini-button {
  min-height: 38px;
}

.nav-link,
.dropdown-toggle,
.button,
.mini-button,
.footer-subscribe-form button,
.consult-choice-grid button,
.planner-actions button {
  min-height: 44px;
}

.brand-logo img,
.partner-logo-box img,
.academy-logo-box img,
.academy-logo-mark img {
  object-fit: contain;
}

.blog-card img,
.destination-card img,
.story-card img,
.media-card img,
.homepage-gallery-grid img,
.country-gallery img {
  object-fit: cover;
}

@media (max-width: 1180px) {
  .media-pro-filter-bar,
  .media-picker-tools,
  .media-bulk-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-cleanup-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .navbar {
    min-height: 68px;
    gap: 10px;
  }

  .brand-logo img {
    max-width: min(150px, 42vw);
  }

  .brand-tagline {
    max-width: 42vw;
    white-space: normal;
  }

  .hero-title,
  .page-hero h1,
  .section-heading h2,
  .dashboard-title h1 {
    overflow-wrap: anywhere;
  }

  .success-metrics-grid,
  .pathway-grid,
  .academy-track-grid,
  .story-grid,
  .blog-grid,
  .resource-tile-row,
  .service-grid,
  .destination-grid,
  .feature-card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bubble-orbit {
    min-height: auto;
    display: grid;
    gap: 12px;
    justify-items: center;
  }

  .bubble-chip {
    position: static !important;
    transform: none !important;
    width: min(100%, 320px);
  }

  .orbit-rings {
    display: none;
  }

  .floating-test-cta {
    right: 12px;
    bottom: 12px;
    max-width: min(220px, calc(100vw - 24px));
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px;
  }

  .dashboard-sidebar nav {
    display: flex;
    gap: 8px;
    min-width: max-content;
  }

  .dashboard-sidebar .brand,
  .dashboard-sidebar .logout-button {
    flex: 0 0 auto;
  }

  .dashboard-main {
    padding: 18px 12px 32px;
  }
}

@media (max-width: 640px) {
  html,
  body,
  #root {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  .hero-shell,
  .page-hero-grid,
  .home-consult-card,
  .claim-card,
  .insights-layout,
  .academy-teaser-card,
  .footer-newsletter,
  .contact-grid,
  .planner-layout,
  .country-detail-grid,
  .about-grid,
  .partners-page-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-title {
    font-size: clamp(2.15rem, 12vw, 3.05rem);
    line-height: 1.05;
  }

  .page-hero h1,
  .section-heading h2,
  .dashboard-title h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
    line-height: 1.12;
  }

  .hero-actions,
  .planner-actions,
  .cms-actions,
  .country-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions .button,
  .planner-actions .button,
  .cms-actions .button,
  .country-actions .button {
    width: 100%;
    justify-content: center;
  }

  .success-metrics-grid,
  .pathway-grid,
  .academy-track-grid,
  .story-grid,
  .blog-grid,
  .resource-tile-row,
  .service-grid,
  .destination-grid,
  .feature-card-grid,
  .footer-grid,
  .cms-form-grid,
  .lead-layout,
  .media-pro-filter-bar,
  .media-picker-tools,
  .media-bulk-bar,
  .media-cleanup-panel,
  .media-grid {
    grid-template-columns: 1fr !important;
  }

  .tab-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tab-row button {
    flex: 0 0 auto;
  }

  .media-upload-panel,
  .media-picker-head {
    display: grid;
  }

  .media-picker-backdrop {
    align-items: start;
    padding: 8px;
  }

  .media-picker-modal {
    max-height: calc(100vh - 16px);
    padding: 14px;
  }

  .media-picker-url-row,
  .footer-subscribe-form {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    align-items: center;
  }

  .dashboard-sidebar nav a {
    white-space: nowrap;
  }

  .cms-table article,
  .lead-list article {
    grid-template-columns: 1fr !important;
  }

  .floating-test-cta {
    font-size: 0.82rem;
    padding: 10px 12px;
  }
}

/* Phase 4A platform pages and urgent mobile alignment fixes */
.app-main {
  min-height: 100vh;
  padding-bottom: 7rem;
}

body {
  overflow-x: hidden;
}

.inline-checkbox {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font-weight: 800;
}

.study-option-widget-section {
  position: relative;
  z-index: 2;
  padding: 28px 0;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
}

.study-option-widget-section.compact {
  padding-top: 18px;
}

.study-option-widget {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: end;
  border: 1px solid rgba(24, 119, 242, 0.14);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 18px 44px rgba(7, 25, 54, 0.08);
}

.study-option-widget h2,
.study-option-widget p {
  margin: 0;
}

.study-option-widget p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.study-option-form,
.public-platform-filters,
.platform-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.study-option-form.expanded {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.search-tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.results-block {
  margin-top: 34px;
}

.destination-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0 clamp(44px, 7vw, 86px);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 211, 86, 0.24), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(24, 119, 242, 0.15), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
}

.destination-hero-grid,
.destination-overview-grid,
.education-system-grid,
.cost-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.destination-hero-copy h1 {
  margin: 14px 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1.04;
}

.destination-hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.destination-hero-collage {
  position: relative;
  min-height: 390px;
}

.destination-hero-collage img {
  position: absolute;
  display: block;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(7, 25, 54, 0.16);
  object-fit: cover;
}

.destination-main-img {
  inset: 8% 8% auto auto;
  width: min(78%, 430px);
  aspect-ratio: 4 / 5;
}

.destination-side-img.one {
  left: 0;
  bottom: 32px;
  width: min(46%, 230px);
  aspect-ratio: 4 / 3;
}

.destination-side-img.two {
  right: 0;
  bottom: 0;
  width: min(42%, 210px);
  aspect-ratio: 1 / 1;
}

.destination-sticky-nav {
  position: sticky;
  top: 82px;
  z-index: 20;
  border-block: 1px solid rgba(24, 119, 242, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.destination-nav-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}

.destination-nav-scroll::-webkit-scrollbar {
  display: none;
}

.destination-nav-scroll a,
.compare-picker button {
  flex: 0 0 auto;
  border: 1px solid rgba(24, 119, 242, 0.16);
  border-radius: 999px;
  background: #f4f9ff;
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 900;
}

.destination-long-section {
  background: #fff;
}

.destination-long-section:nth-of-type(odd) {
  background: #f8fbff;
}

.destination-overview-grid {
  align-items: start;
}

.country-fact-grid,
.destination-highlight-grid,
.advantage-grid,
.scholarship-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.country-fact-grid article,
.destination-highlight-grid article,
.advantage-grid article,
.scholarship-country-grid article {
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(7, 25, 54, 0.06);
}

.country-fact-grid span {
  color: var(--royal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.country-fact-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
}

.destination-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 25, 54, 0.06);
}

.destination-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.destination-table th,
.destination-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(13, 31, 60, 0.08);
  text-align: left;
  vertical-align: top;
}

.destination-table th {
  background: #eef7ff;
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.education-system-grid img,
.subjects-layout img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.education-blocks,
.subject-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.education-blocks article {
  flex: 1 1 210px;
  border-radius: 8px;
  background: #f4f9ff;
  padding: 14px;
}

.subjects-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.subject-chip-grid span {
  border-radius: 999px;
  background: #eef7ff;
  color: var(--royal);
  padding: 10px 13px;
  font-weight: 900;
}

.destination-subtitle {
  margin-top: 26px;
}

.destination-disclaimer {
  border-left: 4px solid var(--gold);
  background: #fff8df;
  border-radius: 8px;
  padding: 12px 14px;
  color: #604500 !important;
  font-size: 0.92rem !important;
}

.compare-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.compare-picker button.active {
  background: var(--royal);
  color: #fff;
}

.cost-form,
.estimate-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 25, 54, 0.08);
}

.cost-result-card {
  display: grid;
  gap: 14px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--royal), #064fb7);
  color: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 22px 52px rgba(24, 119, 242, 0.24);
}

.cost-result-card h2,
.cost-result-card p,
.cost-result-card span {
  margin: 0;
  color: inherit;
}

.estimate-lead-form {
  grid-template-columns: 1fr;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.estimate-lead-form .cms-field span,
.estimate-lead-form h3 {
  color: #fff;
}

.public-platform-section,
.platform-detail-section,
.platform-related-section,
.country-platform-section {
  background: #fbfdff;
}

.public-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.public-platform-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-platform-card,
.platform-admin-card,
.country-platform-grid article,
.platform-facts-card,
.platform-detail-main {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(7, 25, 54, 0.06);
}

.public-platform-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.public-platform-card:hover {
  border-color: var(--royal);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(7, 25, 54, 0.11);
}

.public-platform-card h3,
.public-platform-card p {
  margin: 0;
}

.platform-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.platform-chip-row em {
  border-radius: 999px;
  background: #eef7ff;
  color: var(--royal);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.platform-logo-box {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px dashed rgba(24, 119, 242, 0.3);
  border-radius: 8px;
  background: #eef7ff;
  color: var(--royal);
  font-weight: 900;
}

.platform-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.platform-admin-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.platform-admin-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.platform-admin-card > div:nth-child(2) {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.platform-admin-card strong,
.platform-admin-card span {
  overflow-wrap: anywhere;
}

.platform-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: start;
}

.platform-detail-main,
.platform-facts-card {
  padding: clamp(18px, 3vw, 28px);
}

.platform-detail-main h2,
.platform-detail-main h3,
.platform-detail-main p,
.platform-facts-card h3,
.platform-facts-card p {
  margin-top: 0;
}

.aligned-list,
.country-benefits ul,
.big-feature-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.aligned-list li,
.country-benefits li,
.big-feature-card li,
.feature-bullet {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.aligned-list li svg,
.country-benefits li svg,
.big-feature-card li svg,
.feature-check {
  flex: 0 0 auto;
  margin-top: 3px;
}

.aligned-list li span,
.country-benefits li span,
.big-feature-card li span {
  min-width: 0;
}

.feature-card-visual {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.feature-card-visual img {
  width: min(220px, 72vw);
  max-height: 180px;
  object-fit: contain;
}

.big-feature-card > img {
  display: none;
}

.country-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.country-platform-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.country-platform-grid a {
  display: block;
  border-radius: 8px;
  background: #f5f9ff;
  padding: 10px 12px;
  color: var(--navy);
  font-weight: 800;
}

@media (min-width: 760px) {
  .app-main {
    padding-bottom: 0;
  }

  .feature-card-visual {
    position: absolute;
    right: 24px;
    bottom: 20px;
    margin-top: 0;
  }

  .feature-card-visual img {
    width: 220px;
  }
}

@media (max-width: 1180px) {
  .study-option-widget,
  .platform-detail-grid {
    grid-template-columns: 1fr;
  }

  .study-option-form,
  .public-platform-filters,
  .platform-filter-bar,
  .study-option-form.expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-platform-grid,
  .public-platform-grid.compact,
  .country-platform-grid,
  .country-fact-grid,
  .destination-highlight-grid,
  .advantage-grid,
  .scholarship-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-hero-grid,
  .destination-overview-grid,
  .education-system-grid,
  .subjects-layout,
  .cost-calculator-grid {
    grid-template-columns: 1fr;
  }

  .destination-hero-collage {
    min-height: 330px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .platform-admin-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .platform-admin-card .cms-row-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .app-main {
    padding-bottom: 7rem;
  }

  .study-option-form,
  .public-platform-filters,
  .platform-filter-bar,
  .study-option-form.expanded,
  .public-platform-grid,
  .public-platform-grid.compact,
  .country-platform-grid,
  .platform-admin-card,
  .country-fact-grid,
  .destination-highlight-grid,
  .advantage-grid,
  .scholarship-country-grid,
  .cost-form {
    grid-template-columns: 1fr !important;
  }

  .study-option-widget {
    padding: 16px;
  }

  .feature-card-visual {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .big-feature-card .button {
    width: 100%;
    justify-content: center;
  }

  .floating-test-cta {
    bottom: 14px;
  }

  .destination-hero {
    padding-top: 44px;
  }

  .destination-hero-copy h1 {
    font-size: 2.15rem;
  }

  .destination-hero-collage {
    min-height: 280px;
  }

  .destination-main-img {
    width: 76%;
    right: 0;
  }

  .destination-side-img.one,
  .destination-side-img.two {
    width: 42%;
    border-width: 5px;
  }

  .destination-sticky-nav {
    top: 64px;
  }

  .destination-table {
    min-width: 650px;
  }

  .destination-table th,
  .destination-table td {
    padding: 11px 12px;
  }

  .cost-result-card {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .mobile-nav-open {
    display: grid;
  }

  .hero-actions .button {
    min-width: 0;
  }

  .tab-row button {
    min-width: 0;
  }
}

/* Phase 2F exact Scholars Zone-style homepage parity */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.navbar {
  min-height: 108px;
}

.navbar.container {
  width: min(1660px, calc(100% - 80px));
}

.brand {
  align-self: stretch;
  align-items: center;
}

.brand-lockup {
  min-width: 166px;
  gap: 2px;
}

.brand-logo-img {
  max-height: 82px;
}

.desktop-nav {
  flex: 1;
  justify-content: center;
  gap: 28px;
}

.desktop-nav .nav-link,
.desktop-nav .dropdown-toggle {
  color: #20242d;
  font-size: 1.02rem;
  font-weight: 600;
  min-height: 42px;
  padding: 8px 0;
}

.desktop-nav .nav-link::after,
.desktop-nav .dropdown-toggle::after {
  bottom: -1px;
  height: 4px;
  background: #262626;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
}

.desktop-nav .nav-link.active::after,
.desktop-nav .dropdown-toggle.active::after,
.desktop-nav .nav-link:hover::after,
.desktop-nav .dropdown-toggle:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar-actions {
  gap: 16px;
}

.social-dots a {
  width: 34px;
  height: 34px;
  background: #1877f2;
  box-shadow: 0 8px 16px rgba(24, 119, 242, 0.32);
}

.navbar-actions .button {
  min-height: 46px;
  border-radius: 8px;
  background: #1877f2;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.2);
}

.navbar-actions .button:hover,
.hero-actions .button:hover,
.big-feature-card .button:hover,
.home-consult-form .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(24, 119, 242, 0.24);
}

.dropdown-menu {
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.scholars-hero {
  min-height: 820px;
  padding: 84px 0 72px;
  background-color: #fbfcff;
  background-image:
    radial-gradient(circle at 86% 16%, rgba(248, 200, 78, 0.24) 0 28px, transparent 29px),
    radial-gradient(circle at 70% 31%, rgba(24, 119, 242, 0.12), transparent 220px),
    repeating-linear-gradient(135deg, rgba(24, 119, 242, 0.028) 0 1px, transparent 1px 12px);
  overflow: hidden;
}

.scholars-hero .hero-shell {
  width: min(1660px, calc(100% - 80px));
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1fr);
  gap: 56px;
}

.scholars-hero .hero-copy {
  padding-top: 56px;
}

.hero-title {
  animation: abroadwaysTitleIn 720ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.scholars-hero h1 {
  max-width: 760px;
  color: #171923;
  font-size: 4.75rem;
  font-weight: 900;
  line-height: 1.14;
}

.scholars-hero .hero-subtitle {
  max-width: 700px;
  color: #334155;
  font-size: 1.12rem;
  line-height: 1.86;
}

.hero-secondary-line {
  color: #1f2a44;
  font-weight: 700;
}

.hero-actions .button {
  min-height: 58px;
  border-radius: 4px;
  background: #2499f2;
}

.hero-actions .button-outline {
  background: #ffffff;
}

.hero-chips {
  gap: 10px;
}

.hero-chips span {
  border: 1px solid rgba(24, 119, 242, 0.16);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.scholars-hero .hero-visual {
  min-height: 620px;
}

.scholars-hero .hero-image-frame {
  animation: abroadwaysHeroFloat 6.5s ease-in-out infinite;
}

.scholars-hero .hero-image-frame img {
  height: 650px;
  min-height: 650px;
  width: min(520px, 100%);
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 30px 64px rgba(24, 119, 242, 0.16);
}

.student-shape {
  border-radius: 8px;
}

.shape-blue {
  right: 8%;
  bottom: 15%;
  width: 64%;
  height: 40%;
  background: #36c8b8;
}

.shape-gold {
  top: 9%;
  right: 14%;
  width: 32%;
  height: 24%;
  background: #ff2c67;
}

.doodle {
  animation: abroadwaysDoodleFloat 8s ease-in-out infinite;
}

.doodle-plane {
  top: 22%;
  left: -14px;
}

.doodle-pencil {
  top: 17%;
  left: 34%;
}

.doodle-ring {
  top: 18%;
  right: 7%;
}

.section-heading.centered h2,
.blog-index-head h2 {
  color: #081d3d;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.16;
}

.scribble-line {
  width: 150px;
  height: 24px;
  margin-top: 14px;
  background: none;
  border-top: 5px solid #f8d84a;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.study-pathway-section {
  padding-top: 108px;
  padding-bottom: 82px;
  background: #ffffff;
}

.pathway-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1380px;
  margin-top: 54px;
}

.pathway-card {
  min-height: 104px;
  justify-content: flex-start;
  gap: 18px;
  border: 0;
  border-radius: 8px;
  padding: 20px 24px;
  color: #071936;
  box-shadow: none;
}

.pathway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.pathway-card img,
.pathway-icon {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border: 1px dashed currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}

.pathway-card strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.pathway-card svg {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-8px);
  transition: 180ms ease;
}

.pathway-card:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.feature-card-section {
  padding-top: 56px;
  padding-bottom: 132px;
  background: #ffffff;
}

.feature-card-section .container {
  width: min(1420px, calc(100% - 44px));
}

.feature-grid {
  gap: 40px;
}

.big-feature-card {
  min-height: 500px;
  border: 0;
  border-radius: 8px;
  padding: 64px 40px;
  overflow: hidden;
  box-shadow: none;
}

.big-feature-card .eyebrow {
  color: #0b1e3a;
  font-size: 0.92rem;
  font-weight: 500;
}

.big-feature-card h2 {
  color: #061b3b;
  font-size: 2rem;
  line-height: 1.08;
}

.big-feature-card li {
  color: #1e2a44;
  font-size: 1.02rem;
  line-height: 1.58;
}

.big-feature-card img {
  align-self: end;
  max-height: 270px;
  border-radius: 8px;
  transform: rotate(12deg);
}

.feature-doodle {
  width: 160px;
  height: 160px;
  top: 46px;
  right: 76px;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 14px transparent,
    0 0 0 13px rgba(255, 255, 255, 0.44),
    0 0 0 26px rgba(255, 255, 255, 0.26);
}

.success-section {
  position: relative;
  padding-top: 96px;
  padding-bottom: 128px;
  background: #ffffff;
}

.success-heading {
  position: relative;
}

.success-plane {
  position: absolute;
  left: 13%;
  top: 28px;
  width: 58px;
  height: 26px;
  border-left: 42px solid #ff4f84;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  transform: rotate(15deg);
  opacity: 0.9;
}

.success-section .tab-row {
  display: grid;
  grid-template-columns: 0.84fr repeat(5, 1fr);
  max-width: 1420px;
  margin: 38px auto 30px;
  gap: 10px;
}

.success-section .tab-row button {
  min-width: 0;
  border: 1px solid #2499f2;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1e3a;
  box-shadow: none;
}

.success-section .tab-row button.active {
  background: #2378ef;
  color: #ffffff;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1360px;
  margin-inline: auto;
  gap: 22px;
}

.story-card {
  min-height: 520px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.09);
}

.story-card img {
  height: 320px;
  background: #f5f7fb;
}

.story-card div {
  margin: -18px 12px 12px;
  border: 1px solid rgba(36, 153, 242, 0.22);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.story-card span {
  color: #2378ef;
  font-size: 0.84rem;
  font-weight: 700;
}

.story-card h3 {
  margin-top: 6px;
  font-size: 1.08rem;
}

.story-card strong {
  display: inline-flex;
  margin-top: 6px;
  color: #1e2a44;
}

.story-card em {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  border-radius: 999px;
  background: #eef7ff;
  color: #1877f2;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.bubble-orbit-section {
  background: #f7f7f7;
}

.bubble-orbit {
  min-height: 560px;
  max-width: 1180px;
}

.orbit-rings {
  background:
    radial-gradient(circle, transparent 0 145px, rgba(24, 119, 242, 0.08) 146px 148px, transparent 149px 218px, rgba(24, 119, 242, 0.08) 219px 221px, transparent 222px);
}

.orbit-image {
  width: 280px;
  height: 350px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}

.bubble-orbit .bubble-chip {
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.insights-section {
  background: #ffffff;
  padding-top: 118px;
}

.insights-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  min-height: 460px;
}

.insights-visual {
  min-height: 360px;
  background: transparent;
}

.insights-visual img {
  max-height: 390px;
  border-radius: 8px;
}

.insights-copy h2 {
  color: #061b3b;
  font-size: 2.5rem;
}

.country-slider-row {
  display: flex;
  gap: 22px;
  margin-top: 58px;
  overflow-x: auto;
  padding-bottom: 24px;
  scrollbar-width: thin;
}

.country-slide-card {
  min-width: 288px;
  min-height: 84px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.home-consult-section {
  background: #ffffff;
}

.home-consult-card {
  border: 1px solid rgba(36, 153, 242, 0.32);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.home-consult-form {
  min-height: 560px;
  justify-content: center;
  padding: 56px 42px;
}

.consult-choice-grid {
  gap: 10px;
}

.consult-choice-grid button,
.home-consult-form input,
.home-consult-form textarea {
  border-radius: 4px;
}

.home-consult-image {
  min-height: 560px;
  background: #111827;
}

.home-consult-image img {
  height: 100%;
  min-height: 560px;
  object-position: center;
}

.scholars-blog-preview {
  background: #ffffff;
}

.scholars-blog-preview .blog-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1420px;
  margin-inline: auto;
}

.blog-card {
  min-height: 545px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.blog-card img {
  height: 285px;
}

.blog-card-body {
  padding: 24px;
}

.resource-tiles-section {
  padding-top: 42px;
  padding-bottom: 92px;
}

.resource-tile-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-inline: 8px;
  padding-bottom: 20px;
}

.resource-tile {
  min-width: 315px;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.resource-icon {
  margin-left: auto;
  color: #5f6472;
}

.scholars-footer {
  background: #eaf2ff;
  color: #10233f;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-newsletter::after {
  display: none;
}

.footer-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
  align-items: start;
}

.footer-grid h3 {
  color: #061b3b;
}

.footer-subscribe {
  display: grid;
  gap: 12px;
}

.footer-subscribe p {
  margin: 0;
  color: #334155;
}

.footer-subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 2px solid #1877f2;
  border-radius: 999px;
  background: #ffffff;
}

.footer-subscribe-form input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 14px;
  outline: 0;
}

.footer-subscribe-form button {
  min-height: 42px;
  border: 0;
  background: #1877f2;
  color: #ffffff;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 700;
}

.footer-bottom {
  color: rgba(16, 35, 63, 0.68);
}

@keyframes abroadwaysTitleIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes abroadwaysHeroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes abroadwaysDoodleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--doodle-rotate, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--doodle-rotate, 0deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .scholars-hero .hero-image-frame,
  .doodle {
    animation: none;
  }

  .navbar-actions .button:hover,
  .hero-actions .button:hover,
  .big-feature-card .button:hover,
  .home-consult-form .button:hover,
  .pathway-card:hover {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .navbar.container,
  .scholars-hero .hero-shell {
    width: min(100%, calc(100% - 32px));
  }

  .desktop-nav {
    gap: 16px;
  }

  .scholars-hero .hero-shell {
    grid-template-columns: 1fr;
  }

  .scholars-hero {
    min-height: auto;
  }

  .scholars-hero .hero-visual {
    min-height: 520px;
  }

  .pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .success-section .tab-row {
    display: flex;
  }
}

@media (max-width: 900px) {
  .navbar {
    min-height: 88px;
  }

  .scholars-hero h1 {
    font-size: 3.4rem;
  }

  .section-heading.centered h2,
  .blog-index-head h2 {
    font-size: 2.35rem;
  }

  .feature-grid,
  .story-grid,
  .scholars-blog-preview .blog-grid-large,
  .footer-grid,
  .footer-newsletter,
  .insights-layout {
    grid-template-columns: 1fr;
  }

  .big-feature-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .big-feature-card img {
    max-height: 220px;
    transform: rotate(0deg);
  }

  .home-consult-card {
    grid-template-columns: 1fr;
  }

  .home-consult-image,
  .home-consult-image img {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .brand-lockup {
    min-width: 118px;
  }

  .brand-logo-img {
    max-width: min(160px, 48vw);
    max-height: 62px;
  }

  .scholars-hero {
    padding-top: 50px;
  }

  .scholars-hero .hero-copy {
    padding-top: 0;
  }

  .scholars-hero h1 {
    font-size: 2.75rem;
  }

  .scholars-hero .hero-visual {
    min-height: 420px;
  }

  .scholars-hero .hero-image-frame img {
    height: 420px;
    min-height: 420px;
  }

  .pathway-grid,
  .success-section .tab-row,
  .story-grid,
  .scholars-blog-preview .blog-grid-large {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    min-height: 96px;
  }

  .success-section .tab-row {
    display: flex;
    justify-content: flex-start;
  }

  .success-plane {
    display: none;
  }

  .footer-subscribe-form {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .footer-subscribe-form input {
    min-height: 44px;
  }

  .footer-subscribe-form button {
    width: 100%;
  }
}

/* Phase 2H: Scholars Zone-inspired homepage parity polish */
:root {
  --aw-blue: #1877f2;
  --aw-blue-dark: #061f46;
  --aw-soft-blue: #eaf6ff;
  --aw-yellow: #ffd84a;
  --aw-orange: #ff6b00;
  --aw-lavender: #f1e7ff;
  --aw-mint: #e6fbec;
  --aw-cream: #fff3e8;
  --aw-ink: #10233f;
}

body {
  background:
    radial-gradient(circle at 12px 12px, rgba(24, 119, 242, 0.035) 0 1px, transparent 1px 100%),
    #ffffff;
  background-size: 24px 24px;
  color: var(--aw-ink);
  font-family: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(24, 119, 242, 0.08);
  box-shadow: 0 10px 34px rgba(16, 35, 63, 0.055);
}

.navbar {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
}

.brand {
  justify-self: start;
}

.brand-lockup,
.brand-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  white-space: normal;
  line-height: 1.15;
}

.desktop-nav {
  justify-self: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #212a3a;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 4px;
  border-radius: 999px;
  background: transparent;
  transition: background 180ms ease, transform 180ms ease;
  transform: scaleX(0.55);
}

.nav-link:hover::after,
.nav-link.active::after {
  background: #202020;
  transform: scaleX(1);
}

.dropdown-menu {
  border: 1px solid rgba(24, 119, 242, 0.13);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 35, 63, 0.13);
}

.social-dots a {
  width: 34px;
  height: 34px;
  background: var(--aw-blue);
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.28);
  font-size: 12px;
}

.navbar-actions .button,
.desktop-cta,
.mobile-cta {
  min-height: 46px;
  border-radius: 9px;
  box-shadow: 0 14px 26px rgba(24, 119, 242, 0.2);
}

.scholars-hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  padding: 72px 0 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 216, 74, 0.14), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(24, 119, 242, 0.09), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 72%);
}

.scholars-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at 1px 1px, rgba(16, 35, 63, 0.08) 1px, transparent 0),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 38%);
  background-size: 22px 22px, 100% 100%;
}

.scholars-hero .hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  min-height: 690px;
}

.scholars-hero .hero-copy {
  max-width: 620px;
  padding-top: 70px;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(24, 119, 242, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--aw-blue);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.08);
  animation: awFadeUp 620ms ease both;
}

.scholars-hero .hero-title {
  margin: 0;
  color: #111722;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
  font-size: 4.2rem;
  animation: awFadeUp 760ms 80ms ease both;
}

.scholars-hero .hero-title span {
  display: block;
}

.hero-subtitle,
.hero-secondary-line {
  animation: awFadeUp 760ms 190ms ease both;
}

.hero-actions {
  animation: awFadeUp 760ms 300ms ease both;
}

.hero-chips span {
  animation: awFadeUp 620ms ease both;
}

.hero-chips span:nth-child(1) { animation-delay: 360ms; }
.hero-chips span:nth-child(2) { animation-delay: 420ms; }
.hero-chips span:nth-child(3) { animation-delay: 480ms; }
.hero-chips span:nth-child(4) { animation-delay: 540ms; }
.hero-chips span:nth-child(5) { animation-delay: 600ms; }

.scholars-hero .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(24, 119, 242, 0.28);
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.hero-image-frame {
  position: absolute;
  right: min(1vw, 16px);
  bottom: 0;
  z-index: 2;
  width: min(92%, 660px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: awHeroFloat 5.5s ease-in-out infinite;
}

.hero-image-frame img {
  width: 100%;
  height: min(68vw, 670px);
  min-height: 570px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 34px 40px rgba(16, 35, 63, 0.16));
}

.student-shape {
  position: absolute;
  border-radius: 42% 58% 52% 48%;
  opacity: 0.95;
  animation: awShapeFloat 8s ease-in-out infinite;
}

.shape-blue {
  right: 80px;
  bottom: 95px;
  width: 440px;
  height: 270px;
  background: #42ccb5;
  transform: rotate(2deg);
}

.shape-gold {
  right: 170px;
  top: 78px;
  width: 250px;
  height: 220px;
  background: linear-gradient(135deg, #8650ff 0 48%, #ff2764 48% 100%);
  animation-delay: 1.3s;
}

.doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  animation: awDoodle 7s ease-in-out infinite;
}

.doodle-plane {
  left: 0;
  top: 168px;
  width: 72px;
  height: 48px;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 20% 52%);
  background: #ff4f82;
}

.doodle-pencil {
  left: 34%;
  top: 116px;
  width: 28px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(#ffb14a 0 75%, #262626 75% 100%);
  transform: rotate(42deg);
  animation-delay: 1.1s;
}

.doodle-ring {
  right: 7%;
  top: 126px;
  width: 58px;
  height: 58px;
  border: 4px solid var(--aw-yellow);
  border-radius: 50%;
  animation-delay: 2s;
}

.hero-floating-card {
  position: absolute;
  right: 28px;
  bottom: 62px;
  z-index: 3;
  width: 240px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(16, 35, 63, 0.16);
  animation: awHeroFloat 4.8s 500ms ease-in-out infinite;
}

.section-heading.centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered h2,
.blog-index-head h2 {
  color: #10233f;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0;
}

.scribble-line {
  display: block;
  width: 160px;
  height: 18px;
  margin: 12px auto 28px;
  background: radial-gradient(ellipse at center, transparent 43%, var(--aw-yellow) 45% 52%, transparent 54%);
  transform: rotate(-2deg);
}

.study-pathway-section {
  padding-top: 88px;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.pathway-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(24, 119, 242, 0.04);
  color: #101827;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(16, 35, 63, 0.08);
}

.pathway-card img,
.pathway-icon,
.service-preview-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--aw-blue);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: var(--aw-blue);
  font-weight: 900;
}

.pathway-card strong {
  font-size: 19px;
  color: #111722;
}

.feature-card-section {
  padding-top: 78px;
}

.feature-grid {
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.big-feature-card {
  position: relative;
  min-height: 420px;
  grid-template-columns: minmax(0, 1fr) 250px;
  overflow: hidden;
  border-radius: 14px;
  padding: 56px 42px;
  border: 0;
}

.big-feature-card::after {
  content: "";
  position: absolute;
  right: 62px;
  top: 38px;
  width: 170px;
  height: 130px;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.big-feature-card h2 {
  color: #001f45;
  font-size: 2rem;
  line-height: 1.05;
}

.big-feature-card img {
  align-self: end;
  max-height: 230px;
  transform: rotate(13deg);
  filter: drop-shadow(0 18px 22px rgba(16, 35, 63, 0.12));
}

.services-preview-section {
  padding-top: 68px;
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-preview-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 18px;
  color: #10233f;
  box-shadow: 0 16px 38px rgba(16, 35, 63, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(16, 35, 63, 0.11);
}

.service-preview-card strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.academy-teaser-section {
  padding-top: 64px;
}

.academy-teaser-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef7ff, #fff8df);
  padding: 44px;
  box-shadow: 0 28px 70px rgba(16, 35, 63, 0.09);
}

.academy-track-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.academy-track-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  color: #10233f;
  font-weight: 800;
}

.academy-teaser-visual {
  position: relative;
  min-height: 260px;
}

.academy-teaser-visual img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.academy-teaser-visual span {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--aw-orange);
  color: #ffffff;
  font-weight: 800;
}

.partners-home-section {
  padding-top: 70px;
}

.partners-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-partner-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 35, 63, 0.07);
}

.success-section {
  padding-top: 90px;
}

.success-plane {
  position: absolute;
  left: 16%;
  top: 24px;
  width: 48px;
  height: 32px;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 20% 52%);
  background: #ff4f82;
  transform: rotate(18deg);
}

.success-section .tab-row {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 0.9fr repeat(5, 1fr);
  gap: 10px;
}

.success-section .tab-row button {
  min-height: 42px;
  border: 1.5px solid var(--aw-blue);
  border-radius: 999px;
  background: #ffffff;
  color: #10233f;
  font-weight: 700;
}

.success-section .tab-row button.active {
  background: var(--aw-blue);
  color: #ffffff;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1160px;
  margin: 0 auto;
  gap: 24px;
}

.story-card {
  min-height: 520px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 16px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 35, 63, 0.1);
}

.story-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.story-card div {
  margin: 12px;
  border: 1px solid rgba(24, 119, 242, 0.22);
  border-radius: 10px;
  background: #ffffff;
  padding: 16px;
}

.story-card span,
.story-card em {
  color: var(--aw-blue);
  font-style: normal;
  font-weight: 800;
}

.bubble-orbit-section {
  margin-top: 80px;
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
  overflow: hidden;
}

.bubble-orbit {
  min-height: 600px;
}

.orbit-rings {
  position: absolute;
  inset: 8% 10%;
  border: 2px dashed rgba(24, 119, 242, 0.16);
  border-radius: 50%;
}

.orbit-image {
  animation: awHeroFloat 5.5s ease-in-out infinite;
}

.bubble-chip {
  animation: awChipFloat 4.8s ease-in-out infinite;
}

.bubble-chip:nth-child(2n) {
  animation-delay: 800ms;
}

.insights-section {
  padding-top: 86px;
}

.insights-layout {
  align-items: center;
  min-height: 430px;
}

.insights-copy h2 {
  color: #062249;
  font-size: 2.8rem;
  font-weight: 900;
}

.country-slider-row {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.country-slide-card {
  min-width: 260px;
  min-height: 86px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.08);
}

.home-consult-section {
  padding-top: 82px;
}

.home-consult-card {
  border: 1px solid rgba(24, 119, 242, 0.22);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 20px 58px rgba(16, 35, 63, 0.09);
}

.home-consult-form {
  padding: 54px 42px;
}

.home-consult-image {
  background: #f7f9fd;
}

.home-consult-image img {
  object-fit: cover;
  object-position: center;
}

.scholars-blog-preview {
  padding-top: 92px;
}

.scholars-blog-preview .blog-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.blog-card {
  min-height: 500px;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(16, 35, 63, 0.08);
  overflow: hidden;
}

.blog-card img {
  height: 250px;
  object-fit: cover;
}

.resource-tile-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 4px 6px 12px;
}

.resource-tile {
  min-height: 128px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: none;
}

.scholars-footer {
  margin-top: 80px;
  background: #eaf3ff;
  color: #10233f;
}

.footer-newsletter {
  align-items: center;
  padding-top: 58px;
}

.footer-grid {
  padding-bottom: 56px;
}

@keyframes awFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes awHeroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes awShapeFloat {
  0%, 100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-18px) rotate(-2deg);
  }
}

@keyframes awDoodle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-13px) rotate(8deg);
  }
}

@keyframes awChipFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-secondary-line,
  .hero-actions,
  .hero-chips span,
  .hero-image-frame,
  .student-shape,
  .doodle,
  .hero-floating-card,
  .orbit-image,
  .bubble-chip {
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .navbar {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .navbar-actions {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .scholars-hero .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .pathway-grid,
  .services-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-preview-grid {
    max-width: 760px;
    margin-inline: auto;
  }

  .academy-teaser-card,
  .partners-home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .scholars-hero {
    padding-top: 44px;
    min-height: auto;
  }

  .scholars-hero .hero-copy {
    padding-top: 20px;
  }

  .scholars-hero .hero-title {
    font-size: 3rem;
  }

  .hero-image-frame {
    position: relative;
    right: auto;
    width: 100%;
  }

  .shape-blue,
  .shape-gold {
    transform: scale(0.8);
  }

  .feature-grid,
  .story-grid,
  .scholars-blog-preview .blog-grid-large,
  .footer-grid,
  .footer-newsletter,
  .insights-layout,
  .home-consult-card {
    grid-template-columns: 1fr;
  }

  .big-feature-card,
  .academy-teaser-card {
    padding: 34px 24px;
  }

  .success-section .tab-row {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .navbar {
    min-height: 86px;
  }

  .brand-logo-img {
    max-width: min(150px, 52vw);
  }

  .scholars-hero .hero-title {
    font-size: 2.35rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-image-frame img {
    height: 390px;
    min-height: 390px;
  }

  .hero-floating-card {
    display: none;
  }

  .pathway-grid,
  .services-preview-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    grid-template-columns: 66px minmax(0, 1fr) auto;
  }

  .section-heading.centered h2,
  .blog-index-head h2,
  .insights-copy h2 {
    font-size: 2rem;
  }

  .story-card {
    min-height: auto;
  }

  .resource-tile-row {
    grid-template-columns: repeat(5, minmax(240px, 1fr));
  }
}

/* Phase 2I conversion and parity polish */
.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.scroll-reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.success-metrics-section {
  position: relative;
  padding: 34px 0 72px;
  background: #ffffff;
}

.success-metrics-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: stretch;
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 216, 74, 0.32), transparent 24%),
    linear-gradient(135deg, #eef7ff 0%, #ffffff 48%, #fff5df 100%);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(16, 35, 63, 0.08);
}

.success-metrics-copy h2 {
  margin: 8px 0 12px;
  color: #071936;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
}

.success-metrics-copy p {
  max-width: 440px;
  margin: 0;
  color: #52627a;
}

.success-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.success-metrics-grid article {
  min-height: 160px;
  border: 1px solid rgba(24, 119, 242, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 20px 16px;
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.07);
}

.success-metrics-grid strong {
  display: block;
  color: var(--aw-blue);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1;
}

.success-metrics-grid span {
  display: block;
  margin-top: 10px;
  color: #10233f;
  font-weight: 900;
  line-height: 1.18;
}

.success-metrics-grid p {
  margin: 8px 0 0;
  color: #607089;
  font-size: 0.85rem;
  line-height: 1.45;
}

.services-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.academy-track-pills span {
  gap: 8px;
  padding: 8px 12px;
}

.academy-track-pills strong {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px dashed var(--aw-blue);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  color: var(--aw-blue);
  font-size: 0.75rem;
}

.academy-track-pills em {
  color: #10233f;
  font-style: normal;
}

.academy-track-pills small,
.academy-track-grid small {
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.11);
  color: #c25100;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.academy-track-grid article {
  position: relative;
}

.academy-track-grid article > small {
  position: absolute;
  top: 20px;
  right: 18px;
}

.partners-home-cta-section {
  padding: 56px 0;
  background: #ffffff;
}

.partners-home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 216, 74, 0.22), transparent 24%),
    linear-gradient(135deg, #f4fbff, #ffffff);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 18px 48px rgba(16, 35, 63, 0.07);
}

.partners-home-cta h2 {
  margin: 6px 0 8px;
  color: #071936;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.partners-home-cta p {
  max-width: 640px;
  margin: 0;
  color: #52627a;
}

.partners-page-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 216, 74, 0.18), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.partners-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.partners-page-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-radius: 24px;
  padding: 30px;
}

.partner-logo-box {
  display: grid;
  width: 100%;
  height: 136px;
  place-items: center;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #eef7ff, #ffffff),
    #ffffff;
}

.partner-logo-box img {
  max-width: 180px;
  max-height: 96px;
  object-fit: contain;
}

.partners-page-card .partner-logo-fallback {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  font-size: 1.5rem;
}

.partners-final-cta {
  background: #071936;
}

.floating-test-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  gap: 2px;
  max-width: 220px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b00, #ff9d2e);
  color: #ffffff;
  padding: 13px 18px;
  box-shadow: 0 18px 44px rgba(255, 107, 0, 0.3);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.floating-test-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(255, 107, 0, 0.38);
}

.floating-test-cta strong {
  font-size: 0.95rem;
  line-height: 1;
}

.floating-test-cta span {
  font-size: 0.72rem;
  line-height: 1.2;
  opacity: 0.92;
}

.scholars-footer .footer-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1fr 1.15fr;
}

.footer-subscribe-form {
  display: flex;
  overflow: hidden;
  max-width: 340px;
  border: 1px solid rgba(24, 119, 242, 0.22);
  border-radius: 999px;
  background: #ffffff;
}

.footer-subscribe-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 12px 14px;
  background: transparent;
  outline: 0;
}

.footer-subscribe-form button {
  border: 0;
  background: var(--aw-blue);
  color: #ffffff;
  padding: 0 16px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .floating-test-cta {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .success-metrics-shell,
  .partners-home-cta {
    grid-template-columns: 1fr;
  }

  .success-metrics-shell {
    display: grid;
  }

  .success-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-preview-grid,
  .partners-page-grid,
  .scholars-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .success-metrics-grid,
  .services-preview-grid,
  .partners-page-grid,
  .scholars-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .partners-home-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-test-cta {
    right: 12px;
    bottom: 12px;
    max-width: 180px;
    padding: 11px 14px;
  }
}

/* Phase 2J bug fixes and final visual tightening */
html,
body,
#root {
  max-width: 100%;
  overflow-x: hidden;
}

.scholars-hero .hero-title {
  animation: awHeroCopyRise 780ms ease both;
}

.scholars-hero .hero-subtitle {
  animation: awHeroCopyRise 780ms 140ms ease both;
}

.scholars-hero .hero-secondary-line,
.scholars-hero .hero-actions {
  animation: awHeroCopyRise 780ms 260ms ease both;
}

.scholars-hero .hero-image-frame {
  animation: awHeroBreath 6.2s ease-in-out infinite;
  will-change: transform;
}

.scholars-hero .student-shape {
  animation: awShapeAlive 8.5s ease-in-out infinite;
  will-change: transform;
}

.scholars-hero .shape-gold {
  animation-delay: 1.2s;
}

.scholars-hero .doodle {
  animation: awDoodleAlive 7.2s ease-in-out infinite;
  transform-origin: center;
}

.scholars-hero .doodle-pencil {
  animation-delay: 900ms;
}

.scholars-hero .doodle-ring {
  animation-delay: 1.8s;
}

.scholars-hero .hero-chips span {
  opacity: 0;
  animation: awChipReveal 560ms ease both, awChipSoftFloat 5.8s ease-in-out infinite;
}

.scholars-hero .hero-chips span:nth-child(1) { animation-delay: 360ms, 1200ms; }
.scholars-hero .hero-chips span:nth-child(2) { animation-delay: 430ms, 1320ms; }
.scholars-hero .hero-chips span:nth-child(3) { animation-delay: 500ms, 1440ms; }
.scholars-hero .hero-chips span:nth-child(4) { animation-delay: 570ms, 1560ms; }
.scholars-hero .hero-chips span:nth-child(5) { animation-delay: 640ms, 1680ms; }

.success-metrics-shell {
  grid-template-columns: 1fr;
  gap: 24px;
}

.success-metrics-copy {
  max-width: 760px;
}

.success-metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.success-metrics-grid article {
  min-width: 0;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.success-metrics-grid strong {
  overflow-wrap: anywhere;
  white-space: nowrap;
  font-size: clamp(1.75rem, 2.4vw, 2.55rem);
}

.success-metrics-grid span {
  min-height: 2.35em;
  margin-top: 0;
}

.pathway-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.pathway-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 22px;
  min-width: 0;
  overflow: hidden;
}

.pathway-card img {
  display: none;
}

.pathway-icon,
.pathway-card .pathway-icon,
.pathway-card img + .pathway-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.95rem;
}

.pathway-card strong {
  min-width: 0;
  overflow-wrap: break-word;
  line-height: 1.18;
}

.pathway-card svg {
  justify-self: end;
  flex: 0 0 auto;
}

.academy-logo-mark img,
.academy-track-grid .academy-logo-mark img,
.academy-track-pills .academy-logo-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.academy-track-pills .academy-logo-mark {
  overflow: hidden;
}

.academy-track-grid .academy-logo-mark {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.partner-logo-box,
.partner-card img,
.partner-logo-fallback {
  flex: 0 0 auto;
}

.partner-card img {
  object-fit: contain;
  background: #eef7ff;
  padding: 8px;
}

.partner-preview-list article {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.partner-preview-list article img,
.partner-logo-tools img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: contain;
  background: #eef7ff;
  padding: 6px;
}

.partner-logo-tools {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 18px;
  background: #f8fbff;
  padding: 18px;
}

.partner-logo-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.partner-logo-tool-grid article {
  display: grid;
  gap: 12px;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
}

.social-dots a {
  font-size: 0;
  color: #ffffff;
}

.social-dots a svg {
  display: block;
  width: 18px;
  height: 18px;
}

.country-slider-row,
.resource-tile-row {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.country-slider-row::-webkit-scrollbar,
.resource-tile-row::-webkit-scrollbar {
  display: none;
}

.country-slider-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  overflow: visible;
}

.resource-tile-row {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  overflow: visible;
}

@keyframes awHeroCopyRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes awHeroBreath {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.015);
  }
}

@keyframes awShapeAlive {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(2deg);
  }
  50% {
    transform: translate3d(18px, -16px, 0) rotate(-2deg);
  }
}

@keyframes awDoodleAlive {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(8px, -14px, 0) rotate(9deg);
  }
}

@keyframes awChipReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes awChipSoftFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (min-width: 1200px) {
  .success-metrics-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .country-slider-row,
  .resource-tile-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .success-metrics-grid,
  .pathway-grid,
  .country-slider-row,
  .resource-tile-row {
    grid-template-columns: 1fr;
  }

  .success-metrics-grid strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scholars-hero .hero-title,
  .scholars-hero .hero-subtitle,
  .scholars-hero .hero-secondary-line,
  .scholars-hero .hero-actions,
  .scholars-hero .hero-image-frame,
  .scholars-hero .student-shape,
  .scholars-hero .doodle,
  .scholars-hero .hero-chips span {
    opacity: 1;
    animation: none !important;
    transform: none !important;
  }
}
