/* =========================================================
   CMR International School - site styles
   Colours are set once here - change them to re-colour the site.
   ========================================================= */
:root {
  --navy: #042f66;        /* main school colour (from the logo) */
  --navy-dark: #021d40;
  --orange: #f7941d;      /* logo orange */
  --orange-dark: #dd7a05;
  --green: #2eb872;
  --pink: #f2557e;
  --sky: #1ea7e1;
  --ink: #16233f;
  --text: #5a6378;
  --line: #e6e9f2;
  --soft: #fff8ef;        /* warm cream background */
  --sky-soft: #eef7fd;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 12px 30px rgba(4, 47, 102, .08);
  --shadow-lg: 0 22px 50px rgba(4, 47, 102, .16);
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.25; margin: 0 0 .55em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.section { padding: 95px 0; position: relative; }
.bg-soft { background: var(--soft); }
.bg-sky { background: var(--sky-soft); }
.center { text-align: center; }
.mt-30 { margin-top: 20px; }
.mt-40 { margin-top: 44px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* Colour themes used by cards */
.c-orange { --c: var(--orange); --cs: #fff1e0; }
.c-green  { --c: var(--green);  --cs: #e3f7ec; }
.c-pink   { --c: var(--pink);   --cs: #fde7ee; }
.c-sky    { --c: var(--sky);    --cs: #e2f4fc; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; background: var(--orange); color: #fff; border: 2px solid var(--orange); padding: 13px 30px; border-radius: 50px; font-family: var(--head); font-weight: 600; font-size: 16.5px; line-height: 1.2; cursor: pointer; transition: all .25s; box-shadow: 0 8px 0 -2px var(--orange-dark); }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 0 -2px var(--navy-dark); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 8px 0 -2px rgba(0,0,0,.15); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-outline:hover { box-shadow: none; }
.btn-yt { background: #e62117; border-color: #e62117; box-shadow: 0 8px 0 -2px #a8140c; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.center-btns { justify-content: center; }

/* ---------- Section titles ---------- */
.sec-title { margin-bottom: 46px; max-width: 760px; }
.sec-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.sub { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-family: var(--head); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.sub::before { content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 13px; }
.sub.light { color: #ffd59e; }
.sec-title h2 { font-size: clamp(28px, 3.6vw, 44px); }
.sec-title p { font-size: 17px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c8d4e8; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; flex-wrap: wrap; }
.top-info { display: flex; gap: 26px; flex-wrap: wrap; }
.top-info li { display: flex; align-items: center; gap: 8px; }
.top-info i { color: var(--orange); }
.topbar a { color: #c8d4e8; }
.topbar a:hover { color: #fff; }
.top-social { display: flex; gap: 8px; }
.top-social a { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 13px; }
.top-social a:hover { background: var(--orange); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 3px 18px rgba(4,47,102,.08); }
.header-in { display: flex; align-items: center; gap: 30px; min-height: 92px; }
.logo img { width: 210px; height: auto; transition: width .3s; }
.site-header.scrolled .logo img { width: 170px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 30px 14px; color: var(--navy); font-family: var(--head); font-weight: 600; font-size: 17px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: var(--orange); }
.main-nav > ul > li.has-sub > a { padding-right: 28px; }
.sub-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--navy); font-size: 10px; padding: 4px; cursor: pointer; pointer-events: none; }
.main-nav .submenu { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; box-shadow: var(--shadow-lg); border-top: 4px solid var(--orange); border-radius: 0 0 16px 16px; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.main-nav .submenu a { display: block; padding: 9px 22px; color: var(--navy); font-weight: 700; font-size: 15.5px; }
.main-nav .submenu a:hover, .main-nav .submenu li.active a { color: var(--orange); background: var(--soft); }
.nav-btn-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--navy); border-radius: 12px; padding: 13px 12px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Wave divider ---------- */
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 50px; fill: #fff; z-index: 3; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; background-size: cover; background-position: center; padding: 110px 0 120px; color: #fff; text-align: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(4,47,102,.9), rgba(4,47,102,.6)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); margin-bottom: 14px; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-weight: 700; background: rgba(255,255,255,.14); padding: 8px 22px; border-radius: 40px; }
.crumbs li + li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; margin-right: 8px; color: var(--orange); }
.crumbs a { color: #fff; }
.crumbs a:hover, .crumbs li:last-child { color: #ffd59e; }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(520px, 78vh, 720px); overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4,47,102,.88) 0%, rgba(4,47,102,.55) 50%, rgba(4,47,102,.1) 100%); }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-text { max-width: 640px; color: #fff; }
.hero-sub { display: inline-block; background: var(--orange); color: #fff; font-family: var(--head); font-weight: 600; font-size: 18px; padding: 6px 20px; border-radius: 40px; margin-bottom: 18px; }
.hero-text h1, .hero-text h2 { color: #fff; font-size: clamp(38px, 6vw, 70px); line-height: 1.1; margin-bottom: 10px; }
.hero-slide .hero-text > * { opacity: 0; transform: translateY(25px); transition: all .7s; }
.hero-slide.active .hero-text > * { opacity: 1; transform: none; }
.hero-slide.active .hero-text > *:nth-child(2) { transition-delay: .2s; }
.hero-slide.active .hero-text > *:nth-child(3) { transition-delay: .4s; }
.hero-dots { position: absolute; z-index: 4; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 14px; height: 14px; border-radius: 14px; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: all .3s; }
.hero-dots button.active { width: 38px; background: var(--orange); border-color: var(--orange); }

/* ---------- Features (services we provide) ---------- */
.feature { text-align: center; background: var(--cs); border-radius: var(--radius); padding: 38px 20px 30px; border: 3px dashed transparent; transition: all .3s; }
.feature:hover { border-color: var(--c); transform: translateY(-6px); }
.feature i { width: 90px; height: 90px; border-radius: 50%; background: var(--c); color: #fff; display: inline-grid; place-items: center; font-size: 36px; margin-bottom: 18px; box-shadow: 0 0 0 8px #fff; }
.feature h3 { font-size: 22px; margin: 0; }

/* ---------- About ---------- */
.about-img img { width: 100%; }
.img-frame { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; }
.img-frame img { width: 100%; }

/* ---------- Counters ---------- */
.counters { background: var(--navy); padding: 60px 0; position: relative; background-image: radial-gradient(rgba(255,255,255,.07) 2px, transparent 2px); background-size: 26px 26px; }
.counter-box { text-align: center; color: #fff; }
.counter-box i { font-size: 36px; color: var(--orange); margin-bottom: 8px; }
.counter-box .num { font-family: var(--head); font-size: 48px; font-weight: 700; line-height: 1.1; }
.counter-box p { margin: 4px 0 0; color: #c8d4e8; font-weight: 700; }

/* ---------- Programs ---------- */
.program-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border-bottom: 6px solid var(--c); transition: all .3s; }
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.program-card:hover .pc-img img { transform: scale(1.07); }
.pc-body { padding: 24px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pc-body h3 { font-size: 24px; margin-bottom: 8px; }
.pc-body h3 a { color: var(--navy); }
.pc-body p { font-size: 15px; }
.pc-meta { display: grid; gap: 4px; background: var(--cs); border-radius: 14px; padding: 10px 14px; margin: auto 0 16px; font-weight: 800; color: var(--ink); font-size: 14px; line-height: 1.4; }
.pc-meta li { display: flex; justify-content: space-between; gap: 10px; }
.pc-meta span { font-size: 12.5px; font-weight: 800; color: var(--c); text-transform: uppercase; letter-spacing: .5px; }
.pc-meta.big li { display: block; }
.pc-meta.big span { display: block; }
.pc-meta.big { max-width: 460px; font-size: 15px; margin: 0 0 22px; grid-template-columns: repeat(3, 1fr); text-align: center; --c: var(--orange); --cs: #fff1e0; }
.pc-link { font-family: var(--head); font-weight: 600; color: var(--c); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Approach steps ---------- */
.process .step { position: relative; background: #fff; border-radius: var(--radius); padding: 44px 30px 30px; box-shadow: var(--shadow); text-align: center; }
.step-num { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--head); font-weight: 700; font-size: 20px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--sky-soft); }
.process .step:nth-child(2) .step-num { background: var(--green); }
.process .step:nth-child(3) .step-num { background: var(--pink); }
.process .step > i { font-size: 40px; color: var(--navy); margin: 10px 0 14px; }
.process .step h3 { font-size: 22px; }
.process .step p { margin: 0; font-size: 15.5px; }

/* ---------- Activities ---------- */
.activity { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; }
.activity:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.act-img { position: relative; aspect-ratio: 16 / 10; }
.act-img > img { width: 100%; height: 100%; object-fit: cover; }
.act-icon { position: absolute; left: 24px; bottom: -30px; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); border: 3px solid var(--orange); }
.act-icon img { width: 34px; height: 34px; }
.act-body { padding: 42px 24px 26px; }
.act-body h3 { font-size: 23px; }
.act-body p { margin: 0; font-size: 15.5px; }

/* ---------- Values ---------- */
.values { display: grid; gap: 18px; }
.value { display: flex; gap: 18px; background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); border-left: 6px solid var(--c); }
.value > i { flex: 0 0 56px; height: 56px; border-radius: 16px; background: var(--cs); color: var(--c); display: grid; place-items: center; font-size: 22px; }
.value h3 { font-size: 21px; margin-bottom: 4px; }
.value p { margin: 0; font-size: 15.5px; }
.why-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-imgs img { border-radius: 24px; width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.why-imgs img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.why-imgs img:not(:first-child) { aspect-ratio: 1 / 1; }

/* ---------- Join CTA ---------- */
.join-cta { background: linear-gradient(120deg, var(--orange), #f45b3b); padding: 60px 0; position: relative; overflow: hidden; }
.join-cta::before, .join-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }
.join-cta::before { width: 260px; height: 260px; left: -80px; top: -120px; }
.join-cta::after { width: 180px; height: 180px; right: 8%; bottom: -110px; }
.join-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.join-text { max-width: 640px; }
.join-text h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0; }
.join-cta .sub::before { color: #fff; }
.join-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.join-phone { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--head); font-size: 24px; font-weight: 600; line-height: 1.2; }
.join-phone:hover { color: var(--navy); }
.join-phone i { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--orange); display: grid; place-items: center; font-size: 22px; }
.join-phone small { display: block; font-family: var(--font); font-size: 14px; font-weight: 700; opacity: .9; }

/* ---------- Forms ---------- */
.form-box { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--orange); }
.form-box h3 { font-size: 28px; margin-bottom: 6px; }
.form-note { margin-bottom: 20px; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form .label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 800; color: var(--ink); align-content: start; }
.form label small { font-weight: 600; color: var(--text); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); background: #f5f7fb; border: 2px solid var(--line); border-radius: 14px; padding: 12px 16px; transition: border-color .2s, background .2s; }
.form input[type="file"] { padding: 10px; background: #fff; border-style: dashed; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { display: inline-flex !important; grid-template-columns: none; align-items: center; cursor: pointer; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio span { padding: 9px 16px; border-radius: 30px; border: 2px solid var(--line); background: #f5f7fb; font-weight: 700; font-size: 14px; transition: all .2s; }
.radio input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--orange); }
.form-box.wide { max-width: 900px; margin: 0 auto; }
.form fieldset { border-bottom: 2px dashed var(--line); padding-bottom: 26px; margin-bottom: 8px; display: grid; gap: 16px; }
.form legend { font-family: var(--head); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 14px; padding: 0; display: flex; gap: 10px; align-items: center; }
.form legend i { width: 40px; height: 40px; border-radius: 12px; background: #fff1e0; color: var(--orange); display: grid; place-items: center; font-size: 17px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.form-msg.ok { background: #e3f7ec; color: #17693f; }
.form-msg.err { background: #fde7ee; color: #b3143e; }
.appt .form-box h3 { font-size: 26px; }

/* ---------- Gallery ---------- */
.peek-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.peek-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.peek-grid a, .photo-grid a { display: block; border-radius: 20px; overflow: hidden; position: relative; }
.peek-grid img, .photo-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform .5s; }
.peek-grid a:hover img, .photo-grid a:hover img { transform: scale(1.08); }
.peek-grid a::after, .photo-grid a::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 26px; background: rgba(4,47,102,.45); opacity: 0; transition: opacity .3s; }
.peek-grid a:hover::after, .photo-grid a:hover::after { opacity: 1; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(2, 15, 35, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lb button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.lb button:hover { background: var(--orange); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #c8d4e8; font-weight: 700; }
body.lb-lock { overflow: hidden; }

/* ---------- Program page ---------- */
.prog-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.prog-gallery { position: sticky; top: 120px; }
.pg-main { display: block; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 14px; }
.pg-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pg-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pg-thumbs a { border-radius: 14px; overflow: hidden; }
.pg-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.pg-thumbs a:hover img { transform: scale(1.08); }
.prog-text .sec-title { margin-bottom: 20px; }
.check-list { display: grid; gap: 10px; margin-bottom: 10px; }
.check-list.cols-2 { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--ink); }
.check-list i { color: var(--green); margin-top: 5px; }

/* ---------- About page ---------- */
.flow { position: relative; }
.flow-step { text-align: center; }
.flow-icon { position: relative; width: 130px; height: 130px; margin: 0 auto 18px; border-radius: 50%; background: var(--cs); color: var(--c); display: grid; place-items: center; font-size: 42px; border: 3px dashed var(--c); }
.flow-icon b { position: absolute; top: 0; right: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--head); font-size: 18px; display: grid; place-items: center; }
.flow-step h3 { font-size: 21px; }
.member { margin: 0; text-align: center; }
.m-img { border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1; border: 8px solid #fff; box-shadow: var(--shadow-lg); margin-bottom: 16px; }
.m-img img { width: 100%; height: 100%; object-fit: cover; }
.member figcaption { font-family: var(--head); font-size: 21px; font-weight: 600; color: var(--navy); }
.enroll-in { max-width: 780px; text-align: center; }
.enroll-in > i { font-size: 54px; color: var(--orange); margin-bottom: 14px; }
.enroll-in h2 { font-size: clamp(28px, 3.6vw, 42px); }

/* ---------- Testimonials ---------- */
.review { position: relative; margin: 0; background: #fff; border-radius: var(--radius); padding: 34px 30px 28px; box-shadow: var(--shadow); border-top: 6px solid var(--c); }
.review .q { position: absolute; right: 26px; top: 24px; font-size: 40px; color: var(--cs); }
.review h3 { font-size: 21px; margin-bottom: 6px; }
.stars { color: #ffb400; font-size: 14px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 22px; font-size: 15.5px; }
.review figcaption { display: flex; align-items: center; gap: 14px; line-height: 1.3; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--head); font-weight: 700; font-size: 22px; display: grid; place-items: center; }
.review strong { display: block; color: var(--navy); font-family: var(--head); font-size: 17px; }

/* ---------- Videos ---------- */
.video { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-thumb:hover img { transform: scale(1.06); }
.play { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; background: #e62117; color: #fff; display: grid; place-items: center; font-size: 24px; box-shadow: 0 0 0 10px rgba(255,255,255,.3); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video figcaption { padding: 16px 20px 18px; font-family: var(--head); font-weight: 600; color: var(--navy); font-size: 18px; line-height: 1.35; }

/* ---------- Contact ---------- */
.contact-info { margin-bottom: 70px; }
.ci { text-align: center; background: var(--cs); border-radius: var(--radius); padding: 38px 26px; }
.ci > i { width: 76px; height: 76px; border-radius: 50%; background: var(--c); color: #fff; display: inline-grid; place-items: center; font-size: 28px; margin-bottom: 16px; box-shadow: 0 0 0 8px #fff; }
.ci h3 { font-size: 23px; }
.ci p { margin: 0; font-weight: 700; }
.ci a { color: var(--ink); }
.ci a:hover { color: var(--orange); }
.contact-main { align-items: stretch; }
.map { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 420px; border: 8px solid #fff; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.career .col-media { max-width: 460px; }
.nf-num { font-family: var(--head); font-size: clamp(90px, 16vw, 180px); font-weight: 700; color: var(--navy); line-height: 1; display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; }
.nf-num i { color: var(--orange); font-size: .8em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background-size: cover; background-position: center; color: #c8d4e8; font-size: 15.5px; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(2, 25, 56, .94); }
.footer-top { position: relative; padding: 80px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr .8fr 1.5fr; gap: 40px; }
.f-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 10px 16px; margin-bottom: 20px; }
.f-logo img { width: 190px; }
.f-col h4 { color: #fff; font-size: 22px; margin-bottom: 22px; }
.f-col h4::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--orange); margin-top: 10px; }
.f-col h4.f-follow { font-size: 18px; margin: 20px 0 12px; }
.f-col h4.f-follow::after { display: none; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: all .2s; }
.social a:hover { background: var(--orange); transform: translateY(-3px); }
.f-links { display: grid; gap: 10px; }
.f-links a { color: #c8d4e8; font-weight: 700; }
.f-links a::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--orange); margin-right: 10px; font-size: 11px; }
.f-links a:hover { color: #fff; }
.f-contact { display: grid; gap: 16px; }
.f-contact li { display: flex; gap: 14px; }
.f-contact i { flex: 0 0 38px; height: 38px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); display: grid; place-items: center; font-size: 14px; }
.f-contact a { color: #c8d4e8; }
.f-contact a:hover { color: #fff; }
.footer-bottom { position: relative; background: var(--orange); color: #fff; text-align: center; padding: 16px 0; font-weight: 700; font-size: 15px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--navy); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .3s; box-shadow: var(--shadow-lg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .main-nav > ul > li > a { padding-left: 10px; padding-right: 10px; font-size: 16px; }
  .main-nav > ul > li.has-sub > a { padding-right: 26px; }
  .logo img { width: 180px; }
  .top-info li:first-child { display: none; }
}
@media (max-width: 991px) {
  .section { padding: 72px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col, .prog-layout { grid-template-columns: 1fr; gap: 44px; }
  .prog-gallery { position: static; }
  .header-in { min-height: 78px; }
  .logo img, .site-header.scrolled .logo img { width: 170px; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; z-index: 200; padding: 80px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .35s; box-shadow: -10px 0 40px rgba(0,0,0,.15); margin: 0; }
  .nav-open .main-nav { transform: none; }
  .nav-open .site-header { z-index: 300; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; }
  .nav-open .header-actions { position: relative; z-index: 210; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { padding: 14px 4px; }
  .sub-toggle { pointer-events: auto; top: 9px; transform: none; right: 0; width: 36px; height: 36px; font-size: 12px; background: var(--soft); border-radius: 10px; }
  .main-nav .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; }
  .main-nav li.open > .submenu { display: block; }
  .main-nav li.open > .sub-toggle i { transform: rotate(180deg); }
  .nav-btn-mobile { display: inline-flex; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .peek-grid, .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .top-social { display: none; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature { padding: 26px 12px 22px; }
  .feature i { width: 70px; height: 70px; font-size: 28px; }
  .feature h3 { font-size: 18px; }
  .program-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero { height: 560px; }
  .hero-slide::before { background: rgba(4,47,102,.7); }
  .hero-dots { bottom: 60px; }
  .form-row, .check-list.cols-2 { grid-template-columns: 1fr; }
  .form-box { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .peek-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .peek-grid a:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .page-banner { padding: 80px 0 90px; }
  .join-phone { font-size: 20px; }
  .lb { padding: 60px 10px; }
  .counter-box .num { font-size: 38px; }
  .flow-icon { width: 100px; height: 100px; font-size: 32px; }
  .team { gap: 18px; }
}
