/* ===========================================================
   EduPro Study Agency — global stylesheet
   Brand (from the logo): navy #012A7D · green #388628 · gold #FDD10E · blue #016ACF · sky #04ACFA · white
   =========================================================== */

:root {
  --navy: #09017d;
  --navy-deep: #070156;
  --navy-soft: #0138A7;
  --gold: #FDD10E;
  --gold-deep: #E9BC00;
  --gold-ink: #6F5300;
  --blue: hsl(253, 94%, 20%);
  --sky: #04ACFA;
  --green: #388628;
  --green-deep: #2C6F1F;
  --white: #FFFFFF;
  --mist: #F2F5FC;
  --line: #DCE4F3;
  --ink: #16203A;
  --muted: #5C6B8A;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px rgba(1, 29, 86, .10);
  --shadow-lg: 0 26px 60px rgba(1, 29, 86, .20);
  --maxw: 1200px;
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

ul {
  list-style: none
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.6px
}

h1 {
  font-weight: 900;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem)
}

h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem)
}

h3 {
  font-weight: 800;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem)
}

h4 {
  font-weight: 800;
  font-size: 1.05rem
}

p {
  color: var(--muted)
}

strong {
  color: var(--ink)
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px
}

.section {
  padding: 82px 0
}

.section.tight {
  padding: 56px 0
}

.section.mist {
  background: var(--mist)
}

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

.section.navy h2,
.section.navy h3,
.section.navy h4 {
  color: #fff
}

.section.navy p {
  color: #C6D3F2
}

.center {
  text-align: center
}

.lede {
  font-size: 1.06rem;
  max-width: 62ch
}

.center .lede {
  margin-inline: auto
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: 2.4px;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px
}

.section.navy .eyebrow,
.hero .eyebrow,
.callout .eyebrow,
.page-head .eyebrow {
  color: var(--gold)
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px)
}

.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(233, 188, 0, .32)
}

.btn-gold:hover {
  background: var(--gold-deep)
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(56, 134, 40, .28)
}

.btn-green:hover {
  background: var(--green-deep)
}

.btn-navy {
  background: var(--navy);
  color: #fff
}

.btn-navy:hover {
  background: var(--navy-deep)
}

.btn-ghost {
  border-color: var(--navy);
  color: var(--navy)
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff
}

.btn-white {
  background: #fff;
  color: var(--navy)
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, .65);
  color: #fff
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--navy)
}

.btn-sm {
  padding: 8px 14px;
  font-size: .78rem
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px
}

.center .btn-row {
  justify-content: center
}

/* ---------- top bar + nav ---------- */
.topbar {
  background: var(--navy-deep);
  color: #C6D3F2;
  font-size: .70rem
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: space-between;
  padding-block: 9px
}

.topbar a:hover {
  color: #fff
}

.topbar .tb-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 10px
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-left: -5px;
}

.logo img {
  height: 55px;
  width: auto;
  max-width: none
}

.menu {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  row-gap: 0;
  gap: 1px 3px
}

.menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  color: var(--navy);
  white-space: nowrap;
  padding: 7px 5px;
  border-radius: 9px;
  transition: background .15s ease, color .15s ease;
}

.menu a:hover {
  background: var(--mist)
}

.menu a.active {
  color: var(--green-deep)
}

.menu a.active::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 5px
}

.nav-cta {
  display: flex;
  gap: 5px;
  align-items: center;
  flex: none
}

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  margin: 5px 0;
  transition: .2s
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 86px 0 96px
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 100;
  mix-blend-mode: luminosity;
  filter: saturate(1.05) contrast(1.05);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(1, 42, 125, .86) 0%, rgba(1, 29, 86, .92) 100%);
  mix-blend-mode: multiply;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(760px 420px at 88% 18%, rgba(253, 209, 14, .24), transparent 62%),
    radial-gradient(620px 420px at 6% 92%, rgba(56, 134, 40, .32), transparent 60%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center
}

.hero h1 {
  color: #fff;
  text-transform: uppercase
}

.hero h1 span {
  color: var(--gold)
}

.hero p {
  color: #C9D6F5;
  font-size: 1.06rem;
  margin-top: 18px;
  max-width: 54ch
}

.hero .hero-card p,
.hero .card p {
  color: var(--muted)
}

.badge-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .6px;
  color: #fff;
}

.badge.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy)
}

.badge.green {
  background: var(--green);
  border-color: var(--green)
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  margin-bottom: 4px
}

.hero-card .sub {
  font-size: .9rem;
  margin-bottom: 16px
}

.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid var(--line)
}

.fact:first-of-type {
  border-top: 0
}

.fact .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mist);
  display: grid;
  place-items: center;
  flex: none
}

.fact .ic svg {
  width: 22px;
  height: 22px
}

.fact .k {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: 1.8px;
  color: var(--muted);
  text-transform: uppercase
}

.fact .v {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--navy);
  font-size: 1.12rem
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow)
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--blue);
  line-height: 1
}

.stat span {
  font-size: .88rem;
  color: var(--muted)
}

/* ---------- generic grids & cards ---------- */
.grid {
  display: grid;
  gap: 24px
}

.g2 {
  grid-template-columns: repeat(2, 1fr)
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.g4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.card h3 {
  margin-bottom: 8px
}

.card p {
  font-size: .95rem
}

.card .top-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--mist)
}

.card .top-ic svg {
  width: 28px;
  height: 28px
}

.card .card-foot {
  margin-top: auto;
  padding-top: 18px
}

.card-accent-gold {
  border-top: 5px solid var(--gold)
}

.card-accent-navy {
  border-top: 5px solid var(--navy)
}

.card-accent-green {
  border-top: 5px solid var(--green)
}

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: 1.4px;
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}

.tag-gold {
  background: rgba(253, 209, 14, .26);
  color: var(--gold-ink)
}

.tag-green {
  background: rgba(56, 134, 40, .12);
  color: var(--green-deep)
}

.tag-navy {
  background: rgba(1, 42, 125, .09);
  color: var(--navy)
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--muted)
}

.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 3px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

.section.navy .ticks li {
  color: #C6D3F2
}

/* ---------- media blocks ---------- */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  min-height: 320px
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px
}

.media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(420px 240px at 20% 20%, rgba(253, 209, 14, .38), transparent 60%),
    radial-gradient(420px 260px at 85% 80%, rgba(56, 134, 40, .45), transparent 60%),
    linear-gradient(150deg, #012A7D, #011D56);
}

.media-fallback span {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: .8rem;
  opacity: .9
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center
}

.split.reverse .split-media {
  order: 2
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.photo-strip .media {
  position: relative;
  min-height: 235px;
  height: 235px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}

.photo-strip .media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
  object-position: center;
}

.photo-strip .media-fallback {
  display: none;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: s
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative
}

.step b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: 12px;
}

.step h4 {
  margin-bottom: 6px
}

.step p {
  font-size: .88rem
}

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  font-size: .92rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

th {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: var(--mist)
}

td strong {
  color: var(--navy)
}

/* ---------- university cards ---------- */
.uni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.uni {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}

.uni:hover {
  transform: translateY(-4px)
}

.uni .city {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: 1.6px;
  color: var(--blue);
  text-transform: uppercase
}

.uni h4 {
  font-size: 1.02rem
}

.uni p {
  font-size: .88rem
}

.uni .link {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
  color: var(--navy)
}

.uni .link:hover {
  color: var(--blue)
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px
}

.filters button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  padding: 9px 17px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: .15s;
}

.filters button:hover {
  border-color: var(--navy)
}

.filters button.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

/* ---------- scholarship blocks ---------- */
.sch {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.sch.green {
  border-left-color: var(--green)
}

.sch.navy {
  border-left-color: var(--navy)
}

.sch-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px
}

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

.meta div {
  background: var(--mist);
  border-radius: 12px;
  padding: 12px 14px
}

.meta .k {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase
}

.meta .v {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: .94rem
}

/* ---------- accordion ---------- */
.acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden
}

.acc+.acc {
  margin-top: 12px
}

.acc button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: none;
  border: 0;
  padding: 20px 22px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}

.acc button::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--blue);
  line-height: 1
}

.acc.open button::after {
  content: "–"
}

.acc .body {
  display: none;
  padding: 0 22px 22px
}

.acc.open .body {
  display: block
}

.acc .body p {
  font-size: .95rem
}

/* ---------- callout / CTA ---------- */
.callout {
  background: linear-gradient(140deg, var(--navy), var(--navy-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.callout::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 52px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  right: -90px;
  top: -110px;
}

.callout h2 {
  color: #fff;
  position: relative
}

.callout p {
  color: #C6D3F2;
  position: relative;
  max-width: 60ch
}

.callout .btn-row {
  position: relative
}

.notice {
  background: rgba(56, 134, 40, .10);
  border: 1px solid rgba(56, 134, 40, .35);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: .92rem;
  color: #1F5B16;
}

.notice strong {
  color: #164A10
}

.warn {
  background: rgba(253, 209, 14, .16);
  border-color: rgba(233, 188, 0, .55);
  color: #5C4500
}

.warn strong {
  color: #453400
}

/* ---------- page header ---------- */
.page-head {
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: #fff;
  padding: 64px 0 66px;
  position: relative;
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 172, 250, .32), transparent 65%);
}

.page-head h1 {
  color: #fff;
  position: relative
}

.page-head p {
  color: #C6D3F2;
  position: relative;
  max-width: 64ch;
  margin-top: 12px
}

.crumbs {
  position: relative;
  font-size: .82rem;
  color: #9FB6E8;
  margin-bottom: 10px
}

.crumbs a:hover {
  color: #fff
}

/* ---------- forms ---------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow)
}

.field {
  margin-bottom: 16px
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: 6px
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--navy)
}

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

/* ---------- WeChat contact ---------- */
.wechat-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  display: flex;
  align-items: center;
  gap: 16px;
}

.wechat-box>div {
  flex: 1;
}

.wechat-box strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: .95rem;
}

.wechat-box span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  margin-top: 3px;
}

.wechat-box img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--line);
}

/* ---------- application form ---------- */
.application-form {
  padding: 32px;
}

.application-section+.application-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.application-section h3 {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

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

.form-help {
  font-size: .9rem;
  margin: -8px 0 18px;
}

.family-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.family-block+.family-block {
  margin-top: 20px;
}

.family-block h4 {
  margin-bottom: 16px;
  color: var(--navy);
}

.application-form .btn-row {
  margin-top: 28px;
}

.application-cancel {
  background: var(--navy);
}

.application-cancel:hover {
  background: var(--navy-deep);
}

/* ---------- footer ---------- */
.foot {
  background: var(--navy-deep);
  color: #AFC0E8;
  padding: 62px 0 0
}

.foot h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: 1.6px;
  margin-bottom: 16px
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 34px
}

.foot a {
  color: #AFC0E8;
  font-size: .92rem
}

.foot a:hover {
  color: #fff
}

.foot a.btn-gold,
.foot a.btn-gold:hover {
  color: var(--navy)
}

.foot a.btn-green,
.foot a.btn-green:hover {
  color: #fff
}

.foot li {
  margin-bottom: 9px
}

.foot .logo {
  background: #fff;
  padding: 10px 18px;
  border-radius: 14px
}

.foot .logo img {
  height: 50px
}

.foot p {
  color: #8FA3D6;
  font-size: .92rem
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  transition: .15s;
}

.socials a:hover {
  background: var(--gold)
}

.socials a:hover svg {
  fill: var(--navy)
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: #fff
}

.foot-base {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .84rem;
}

/* ---------- floating whatsapp ---------- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 16px 34px rgba(44, 111, 31, .42);
}

.float-wa:hover {
  background: var(--green-deep)
}

.float-wa svg {
  width: 20px;
  height: 20px;
  fill: #fff
}

/* ---------- responsive ---------- */
@media (max-width:1024px) {

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .split.reverse .split-media {
    order: 0
  }

  .g4,
  .stats,
  .steps,
  .uni-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .g3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .foot-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:1180px) {
  .nav-cta .btn[data-link="whatsapp-group"] {
    display: none
  }
}

@media (max-width:980px) {
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    display: none;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex
  }

  .menu a {
    padding: 12px 6px;
    border-bottom: 1px solid var(--mist)
  }

  .menu a.active::after {
    display: none
  }

  .burger {
    display: block
  }

  .nav-cta .btn {
    display: none
  }

  .nav .wrap {
    position: relative
  }
}

@media (max-width:640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .field-full {
    grid-column: auto;
  }

  .application-form {
    padding: 22px;
  }

  .family-block {
    padding: 16px;
  }

  .wechat-box {
    align-items: flex-start;
  }

  .wechat-box img {
    width: 92px;
    height: 92px;
  }

  .logo img {
    height: 46px
  }

  .foot .logo img {
    height: 44px
  }

  .section {
    padding: 58px 0
  }

  .g2,
  .g3,
  .g4,
  .stats,
  .steps,
  .uni-grid,
  .meta,
  .foot-grid,
  .photo-strip {
    grid-template-columns: 1fr
  }

  .callout {
    padding: 28px
  }

  .float-wa span {
    display: none
  }

  .float-wa {
    padding: 15px;
    border-radius: 50%
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto
  }
}

.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 50px 20px 20px;
  background: linear-gradient(to top,
      rgba(1, 24, 80, 0.95),
      rgba(1, 24, 80, 0));
  color: white;
  font-size: 18px;
  font-weight: 700;
}

/* CSCA undergraduate information */
.csca-window {
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px solid rgba(253, 209, 14, .55);
  border-left: 5px solid var(--gold, #FDD10E);
  border-radius: var(--radius, 18px);
  background: linear-gradient(135deg, rgba(220, 222, 226, 0.06), rgba(56, 134, 40, .06));
  box-shadow: 0 10px 28px rgba(1, 42, 125, .07);
}

.csca-window .csca-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #FDD10E;
  color: #012A7D;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.csca-window h3 {
  margin: 0 0 8px;
  color: #012A7D;
}

.csca-window p {
  margin: 0;
}

.csca-window .csca-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.csca-window .csca-subjects span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(1, 42, 125, .12);
  color: #012A7D;
  font-size: .78rem;
  font-weight: 700;
}

.csca-notice {
  margin: 22px 0 0;
  padding: 20px 22px;
  border-radius: var(--radius, 18px);
  background: #012A7D;
  color: #fff;
  border-top: 4px solid #FDD10E;
}

.csca-notice .eyebrow {
  color: #FDD10E;
}

.csca-notice h3,
.csca-notice h4 {
  color: #fff;
  margin-top: 6px;
}

.csca-notice p {
  color: rgba(255, 255, 255, .88);
}

.csca-notice .csca-subjects span {
  display: inline-block;
  margin: 5px 5px 0 0;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
}

.csca-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #FDD10E;
  color: #012A7D;
  font-size: .68rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .04em;
}

.csca-badge span {
  display: block;
  margin-top: 2px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.csca-step {
  position: relative;
}

.csca-step::after {
  content: "CSCA";
  display: inline-block;
  margin-top: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #FDD10E;
  color: #012A7D;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .04em;
}

@media (max-width: 700px) {

  .csca-window,
  .csca-notice {
    padding: 20px;
  }
}

/* ===========================================================
   ADVANCED MOTION & GRAPHICS
   Everything below is additive: no existing rule above is
   changed, no page content is touched. Brand colours only
   (navy / gold / green / blue / sky). Fully neutralised by the
   prefers-reduced-motion block already defined above.
   =========================================================== */

/* ---------- scroll-reveal (cards animate in as you scroll) ---------- */
.reveal {
  --reveal-x: 0px;
  --reveal-y: 30px;
  --reveal-scale: 1;
  opacity: 0;
  transform: translate(var(--reveal-x), var(--reveal-y)) scale(var(--reveal-scale));
  transition: opacity .8s cubic-bezier(.16, .84, .44, 1),
    transform .8s cubic-bezier(.16, .84, .44, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal.reveal-left {
  --reveal-x: -46px;
  --reveal-y: 0px;
}

.reveal.reveal-right {
  --reveal-x: 46px;
  --reveal-y: 0px;
}

.reveal.reveal-scale {
  --reveal-y: 16px;
  --reveal-scale: .93;
}

/* ---------- card / tile depth on hover (pairs with the JS tilt) ---------- */
.card,
.uni,
.stat {
  transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s ease;
}

.stat:hover {
  box-shadow: var(--shadow-lg);
}

/* ---------- photo zoom on hover ---------- */
.media img,
.photo-strip .media img {
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.media:hover img,
.photo-strip .media:hover img {
  transform: scale(1.07);
}

/* ---------- sticky nav gains depth once the page scrolls ---------- */
.nav {
  transition: box-shadow .25s ease, background-color .25s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 30px rgba(1, 29, 86, .12);
}

/* ---------- top scroll-progress bar, in brand gradient ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 50%, var(--sky) 100%);
  transition: width .12s ease-out;
  pointer-events: none;
}

/* ---------- drifting brand-colour glows on decorative sections ---------- */
@keyframes edupro-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-22px, 16px) scale(1.07);
  }

  100% {
    transform: translate(14px, -12px) scale(.97);
  }
}

@keyframes edupro-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero::before {
  background-size: 130% 130%;
  animation: edupro-drift 18s ease-in-out infinite alternate;
}

.page-head::after {
  animation: edupro-drift 16s ease-in-out infinite alternate;
}

.page-head::before {
  content: "";
  position: absolute;
  left: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 209, 14, .22), transparent 65%);
  animation: edupro-drift 13s ease-in-out infinite alternate-reverse;
}

.callout::after {
  animation: edupro-spin 40s linear infinite;
}

/* ---------- floating WhatsApp button: one gentle pulse ring on load ---------- */
@keyframes edupro-wa-pulse {
  0% {
    box-shadow: 0 16px 34px rgba(44, 111, 31, .42), 0 0 0 0 rgba(56, 134, 40, .55);
  }

  70% {
    box-shadow: 0 16px 34px rgba(44, 111, 31, .42), 0 0 0 18px rgba(56, 134, 40, 0);
  }

  100% {
    box-shadow: 0 16px 34px rgba(44, 111, 31, .42), 0 0 0 0 rgba(56, 134, 40, 0);
  }
}

.float-wa.pulse {
  animation: edupro-wa-pulse 2s ease-out 3;
}

/* ---------- postgraduate fields browser (Master's / PhD) ---------- */
.deg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.deg-tab {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .92rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: .18s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.deg-tab span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .75rem;
  color: var(--muted);
  background: var(--mist);
  padding: 2px 9px;
  border-radius: 999px;
}

.deg-tab:hover {
  border-color: var(--navy-soft)
}

.deg-tab.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.deg-tab.on span {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.deg-search {
  position: relative;
  max-width: 420px;
  margin-top: 22px;
}

.deg-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  pointer-events: none;
}

.deg-search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 13px 16px 13px 44px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: .18s;
}

.deg-search input:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 4px rgba(1, 106, 207, .12);
}

.deg-panel {
  margin-top: 30px;
}

.prog-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prog-card .cat-ic {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--mist);
}

.prog-card .cat-ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.8;
}

.prog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  transition: .15s;
}

.prog-card:hover .pill {
  background: #fff;
}

.pill.match {
  background: rgba(253, 209, 14, .3);
  border-color: var(--gold-deep);
  color: var(--gold-ink);
  font-weight: 700;
}

.pill.dim {
  opacity: .35;
}

.prog-card.no-match {
  display: none;
}

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

.phd-card {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.phd-card .phd-no {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold-deep);
  min-width: 44px;
}

.phd-card h4 {
  font-size: .98rem;
}

.deg-empty {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.deg-empty.show {
  display: block;
}

@media (max-width:980px) {
  .phd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:640px) {
  .phd-grid {
    grid-template-columns: 1fr;
  }

  .deg-search {
    max-width: 100%;
  }
}

/* ---------- ongoing applications page ---------- */
.oa-banner {
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}

.oa-banner::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 209, 14, .22), transparent 65%);
}

.oa-banner h2,
.oa-banner p {
  position: relative;
  color: #fff;
}

.oa-banner p {
  color: #C6D3F2;
  max-width: 68ch;
  margin-top: 10px;
}

.oa-banner .meta {
  position: relative;
}

.oa-banner .meta div {
  background: rgba(255, 255, 255, .08);
}

.oa-banner .meta .k {
  color: #9FB6E8;
}

.oa-banner .meta .v {
  color: #fff;
}

.major-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  position: relative;
}

.major-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
}

.major-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tier-card.tier-1 {
  border-top: 6px solid var(--gold);
}

.tier-card.tier-2 {
  border-top: 6px solid var(--navy-soft);
}

.tier-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.tier-no {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  flex: none;
  color: #fff;
}

.tier-1 .tier-no {
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: var(--navy);
}

.tier-2 .tier-no {
  background: linear-gradient(145deg, var(--navy-soft), var(--navy));
}

.tier-card h3 {
  margin: 0;
}

.tier-card .tag {
  margin-bottom: 14px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  background: var(--mist);
  border-radius: 14px;
  padding: 14px 18px;
}

.tier-price .amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--gold-ink);
}

.tier-2 .tier-price .amount {
  color: var(--navy);
}

.tier-price .unit {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-live {
  position: relative;
}

.nav-live .live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-deep);
  margin-left: 6px;
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(233, 188, 0, .55)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(233, 188, 0, 0)
  }
}

@media (max-width:640px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .oa-banner {
    padding: 30px 22px;
  }
}