/* ==========================================================
   UNICE Education - main stylesheet
   Brand: navy #005080, gold #D4AF37
   ========================================================== */

:root {
    --navy: #005080;
    --navy-dark: #003A5D;
    --navy-deep: #002B45;
    --navy-soft: #0B6699;
    --gold: #D4AF37;
    --gold-text: #8A6D12;
    --ink: #1B2A38;
    --muted: #5A6B7A;
    --line: #E3EAF0;
    --bg-light: #F4F8FB;
    --radius: 16px;
    --font: 'Google Sans', 'Roboto', Arial, sans-serif;
    --font-display: 'Google Sans', 'Roboto', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-text); }
h1, h2, h3 { line-height: 1.2; margin: 0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 20px; }
.container.section { padding-left: 20px; padding-right: 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 10px; font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E2C25A; color: var(--ink); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-pill-gold { background: var(--gold); color: var(--ink) !important; font-weight: 700; padding: 6px 16px; border-radius: 999px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--gold); }
.topbar-contact, .topbar-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.topbar-contact a { display: flex; gap: 8px; align-items: center; }
.topbar svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header / menu ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand-logo { height: 56px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a, .drop-btn { display: block; padding: 10px 12px; font-weight: 600; font-size: 15px; color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 8px; }
.main-nav a.active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.main-nav a:hover, .drop-btn:hover { color: var(--navy); background: var(--bg-light); }
.drop-btn::after { content: ''; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }

.drop { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 12px 12px; box-shadow: 0 16px 40px rgba(0, 40, 70, .14); padding: 8px; }
.drop a { font-weight: 500; font-size: 14px; padding: 10px 12px; }
.has-drop:hover > .drop, .has-drop.open > .drop { display: block; }

.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-media { flex: 1 1 400px; min-width: 0; }
.hero-media img { border-radius: 20px; width: 100%; height: 400px; object-fit: cover; background: var(--navy-soft); }
.badge-outline { display: inline-block; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); margin: 20px 0 16px; }
.hero p { font-size: 18px; color: #DCE8F1; margin: 0 0 32px; max-width: 540px; }
.gold { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Perks ---------- */
.perks-wrap { margin-top: -48px; position: relative; }
.perks { background: #fff; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 40, 70, .14); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.perk { padding: 10px 20px; margin: 12px 0; border-right: 1px solid #EEF2F5; }
.perk:last-child { border-right: 0; }
.perk-title { font-weight: 700; color: var(--navy); }
.perk-sub { font-size: 14px; color: var(--muted); }

/* ---------- Search ---------- */
.search-box { background: var(--bg-light); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.search-head { flex: 1 1 100%; }
.search-head h2 { font-family: var(--font-display); font-size: 32px; color: var(--navy); }
.search-head p { margin: 6px 0 0; color: var(--muted); }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field-wide { flex: 2 1 280px; }
.field select, .field input { height: 48px; border: 1px solid #C9D6E0; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 400; background: #fff; width: 100%; }
.field select:focus, .field input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 38px); color: var(--navy); margin-top: 8px; }
.eyebrow { color: var(--gold-text); font-weight: 700; letter-spacing: .12em; font-size: 13px; }
.eyebrow-gold { color: var(--gold); }

/* ---------- Grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 36px rgba(0, 40, 70, .12); transform: translateY(-4px); }
.card-img { width: 100%; height: 200px; object-fit: cover; background: #E8F0F6; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-body h3 { font-size: 22px; color: var(--navy); }
.card-body p { margin: 0; color: #44525F; flex-grow: 1; }
.link-arrow { font-weight: 700; }

/* ---------- President ---------- */
.band-light { background: var(--bg-light); }
.president { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.president-photo { flex: 1 1 320px; min-width: 0; }
.president-photo img { border-radius: 20px; width: 100%; max-height: 460px; object-fit: cover; object-position: top; }
.president-text { flex: 1 1 520px; min-width: 0; }
.president-text h2 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 36px); color: var(--navy); margin: 10px 0 18px; }
.president-text p { font-size: 17px; color: #44525F; margin: 0 0 16px; }
.sign-name { font-weight: 800; margin-top: 8px; }
.sign-role { color: var(--muted); font-size: 14px; }

/* ---------- Faculties ---------- */
.grid-faculty { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.faculty { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: border-color .2s, background .2s; }
.faculty:hover { border-color: var(--gold); background: #FFFBEF; }
.faculty-name { font-weight: 700; color: var(--navy); }
.faculty-levels { font-size: 13px; color: #6A7B89; }

/* ---------- Reviews ---------- */
.band-navy { background: var(--navy); color: #fff; }
.band-navy .section-head h2 { color: #fff; }
.review { margin: 0; background: var(--navy-soft); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 16px; }
.review figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; font-size: 14px; color: #D4E3EE; }
.review strong { color: #fff; }
.review-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- News ---------- */
.news-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.news-head h2 { font-family: var(--font-display); font-size: 34px; color: var(--navy); }
.news-card { display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); font-weight: 700; transition: box-shadow .2s; }
.news-card:hover { box-shadow: 0 12px 30px rgba(0, 40, 70, .12); color: var(--navy); }
.news-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.news-card span { display: block; padding: 16px 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #C7D6E2; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-top: 60px; padding-bottom: 32px; }
.footer-brand { font-weight: 800; font-size: 18px; color: #fff; letter-spacing: .04em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--gold); margin: 0 0 4px; font-size: 15px; }
.footer-col p { margin: 0; }
.footer-col strong { color: #fff; }
.site-footer a { color: #C7D6E2; }
.site-footer a:hover { color: var(--gold); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.footer-bottom { border-top: 1px solid #1C4560; text-align: center; padding: 18px 20px; font-size: 13px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); z-index: 60; }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

/* ---------- Mobile ---------- */
@media (max-width: 1080px) {
    .menu-toggle { display: flex; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 40, 70, .12); max-height: calc(100vh - 80px); overflow-y: auto; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
    .main-nav a, .drop-btn { width: 100%; text-align: left; padding: 14px 8px; }
    .main-nav a.active { box-shadow: none; color: var(--navy); }
    .drop { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--gold); border-radius: 0; margin-left: 8px; padding: 0 0 0 8px; }
    .has-drop:hover > .drop { display: none; }
    .has-drop.open > .drop { display: block; }
    .header-inner { position: relative; }
}

@media (max-width: 640px) {
    .topbar-inner { justify-content: center; }
    .brand-logo { height: 44px; }
    .hero-inner { padding-top: 40px; padding-bottom: 80px; }
    .hero-media img { height: 260px; }
    .search-box { padding: 24px; }
    .perk { border-right: 0; border-bottom: 1px solid #EEF2F5; margin: 0; padding: 10px 20px; }
    .perk:last-child { border-bottom: 0; }
    .section { padding-top: 48px; padding-bottom: 48px; }
}

/* ==========================================================
   Course search (v2)
   ========================================================== */
.level-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }
.chip strong { color: var(--navy); margin-left: 4px; }
.chip-total { font-weight: 700; color: var(--navy); margin-right: 6px; }

.page-hero { background: var(--navy); color: #fff; padding: 56px 0 64px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 46px); margin: 10px 0 10px; }
.page-hero p { color: #DCE8F1; margin: 0; font-size: 17px; }
.search-page { padding-top: 40px; }

.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed #C9D6E0; border-radius: 18px; margin-top: 32px; }
.empty-state h3 { color: var(--navy); font-size: 22px; }
.empty-state p { color: var(--muted); margin: 8px auto 20px; max-width: 520px; }

.results-head { margin: 36px 0 20px; }
.results-head h2 { font-family: var(--font-display); color: var(--navy); font-size: 30px; }
.results-head p { color: var(--muted); margin: 6px 0 0; }

.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.result-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.result-card:hover { box-shadow: 0 14px 36px rgba(0, 40, 70, .12); transform: translateY(-3px); }
.result-media { position: relative; height: 170px; background: #E8F0F6; }
.result-media img { width: 100%; height: 100%; object-fit: cover; }
.result-media-fallback { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 800; font-size: 22px; }
.level-tag { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.result-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.uni-row { display: flex; align-items: center; gap: 10px; }
.uni-logo { width: 40px; height: 40px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 3px; }
.uni-name { font-size: 13px; font-weight: 600; color: var(--muted); }
.result-body h3 { font-size: 18px; color: var(--navy); }
.meta { list-style: none; margin: 0; padding: 0; font-size: 14px; color: #44525F; display: flex; flex-direction: column; gap: 2px; }
.meta strong { color: var(--ink); font-weight: 600; }
.cost-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; background: var(--bg-light); border-radius: 12px; padding: 10px 14px; }
.cost-label { display: block; font-size: 12px; color: var(--muted); }
.cost-value { display: block; font-size: 22px; font-weight: 800; color: var(--navy); }
.cost-right { text-align: right; }
.cost-sub { display: block; font-weight: 700; color: var(--ink); }
.fee-details summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 14px; padding: 4px 0; }
.fee-details table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.fee-details td { padding: 6px 0; border-bottom: 1px solid #EEF2F5; }
.fee-details td:last-child { text-align: right; font-weight: 600; }
.btn-block { width: 100%; margin-top: auto; }

/* ==========================================================
   Page blocks (pages built in the admin panel)
   ========================================================== */
.preview-bar { background: #FFF4D6; color: #7A5A00; text-align: center; font-size: 14px; font-weight: 500; padding: 10px 16px; }
.block-text-inner { max-width: 860px; margin: 0 auto; }
.block-text h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 34px); color: var(--navy); margin: 8px 0 16px; }
.rich-text { font-size: 17px; line-height: 1.8; color: #44525F; }
.rich-text h2, .rich-text h3, .rich-text h4 { color: var(--navy); line-height: 1.3; margin: 28px 0 10px; }
.rich-text p { margin: 0 0 14px; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin: 0 0 14px; }
.rich-text a { text-decoration: underline; }
.rich-text img { max-width: 100%; height: auto; border-radius: 12px; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 0 0 16px; display: block; overflow-x: auto; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.rich-text th { background: var(--bg-light); color: var(--navy); }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.block-cta { background: var(--navy-dark); color: #fff; }
.block-cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.block-cta h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); margin: 0; }
.block-cta p { margin: 8px 0 0; color: #C7DBE8; }

/* ==========================================================
   Hero block for admin-built pages: 50% text / 50% image,
   image touches the right edge, compact height.
   Spacing (admin): Small = 3px, Medium = 24px, Large = 48px above & below the image.
   ========================================================== */
.hero-block { background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr; }
.hero-block.has-image { grid-template-columns: 1fr 1fr; }
.hero-block-text { display: flex; align-items: center; padding: 28px 40px 28px max(20px, calc((100vw - 1240px) / 2 + 20px)); }
.hero-block-text-inner { max-width: 580px; }
.hero-block h1 { font-family: var(--font-display); font-size: clamp(32px, 3.8vw, 50px); line-height: 1.12; margin: 14px 0 12px; }
.hero-block p { font-size: 17px; line-height: 1.6; color: #DCE8F1; margin: 0 0 20px; }
.hero-block .hero-actions { gap: 12px; }
.hero-pad-compact { --hero-pad: 3px; }
.hero-pad-normal { --hero-pad: 24px; }
.hero-pad-large { --hero-pad: 48px; }
.hero-block-media { position: relative; min-height: calc(290px + 2 * var(--hero-pad, 3px)); }
.hero-block-media img { position: absolute; left: 0; top: var(--hero-pad, 3px); width: 100%; height: calc(100% - 2 * var(--hero-pad, 3px)); object-fit: cover; display: block; }
@media (max-width: 800px) {
    .hero-block.has-image { grid-template-columns: 1fr; }
    .hero-block-text { padding: 28px 20px; }
    .hero-block-media { --hero-pad: 0px; min-height: 220px; }
}

/* Body text spans the full content width: left edge = logo, right edge = Apply Now button */
.block-text-inner { max-width: none; }

/* ==========================================================
   Admission Info side tab (all pages)
   ========================================================== */
.adm-info { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 70; display: flex; align-items: center; flex-direction: row-reverse; }
.adm-info-tab { writing-mode: vertical-rl; transform: rotate(180deg); background: var(--navy-dark); color: #fff; border: 0; border-radius: 0 10px 10px 0; padding: 18px 10px; font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .06em; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.adm-info-tab:hover, .adm-info-tab[aria-expanded="true"] { background: var(--navy); }
.adm-info-panel { display: flex; gap: 10px; margin-right: 10px; }
.adm-info-panel[hidden] { display: none; }
.adm-info-card { width: 96px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; color: var(--navy-dark); border: 1px solid var(--line); border-bottom: 4px solid var(--navy); border-radius: 10px; padding: 12px 6px; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 8px 24px rgba(0,40,70,.16); transition: transform .15s, border-color .15s; }
.adm-info-card:hover { transform: translateY(-3px); border-bottom-color: var(--gold); color: var(--navy); }
.adm-info-card svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
    .adm-info { top: auto; bottom: 90px; transform: none; }
    .adm-info-tab { padding: 14px 8px; font-size: 12px; }
    .adm-info-panel { flex-wrap: wrap; justify-content: flex-end; max-width: calc(100vw - 60px); gap: 8px; }
    .adm-info-card { width: 84px; min-height: 84px; font-size: 11.5px; }
}

/* Currency converter */
.cc-overlay { position: fixed; inset: 0; background: rgba(0,20,35,.55); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-overlay[hidden] { display: none; }
.cc-modal { position: relative; background: #fff; border-radius: 16px; padding: 28px; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.cc-modal h2 { margin: 0; color: var(--navy); font-size: 22px; }
.cc-note { margin: 0; color: var(--muted); font-size: 14px; }
.cc-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.cc-result { background: var(--bg-light); border-radius: 12px; padding: 16px; font-size: 22px; font-weight: 800; color: var(--navy); text-align: center; }
.cc-small { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

/* No gap at all around the hero image (homepage, and "None" option in admin) */
.hero-pad-none { --hero-pad: 0px; }
.hero-home .hero-block-text { padding-top: 48px; padding-bottom: 48px; }
.hero-home .hero-block-media { min-height: 380px; }
/* Benefits strip now sits below the hero instead of overlapping it */
.perks-wrap { margin-top: 24px; }
@media (max-width: 800px) {
    .hero-home .hero-block-text { padding-top: 32px; padding-bottom: 32px; }
    .hero-home .hero-block-media { min-height: 240px; }
}

/* Hero: 40% text / 60% image */
.hero-block.has-image { grid-template-columns: 2fr 3fr; }
@media (max-width: 800px) { .hero-block.has-image { grid-template-columns: 1fr; } }

/* ==========================================================
   Student reviews: auto-scrolling strip with photos
   ========================================================== */
.reviews-band .section { padding-bottom: 28px; }
.reviews-marquee { overflow: hidden; padding: 0 0 64px; }
.reviews-track { display: flex; gap: 20px; width: max-content; animation: reviews-scroll 70s linear infinite; }
.reviews-marquee:hover .reviews-track, .reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.review-card { margin: 0; width: 300px; flex-shrink: 0; background: var(--navy-soft); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.review-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: #0B6699; }
.review-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.review-card strong { color: #fff; font-size: 17px; }
.review-prog { color: #C7DBE8; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.review-card blockquote { margin: 0; color: #fff; font-size: 15px; line-height: 1.6; }
@media (max-width: 640px) { .review-card { width: 260px; } }

/* ==========================================================
   Faculty cards (homepage) + details popup
   ========================================================== */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.fac-card { position: relative; display: block; width: 100%; height: 240px; padding: 0; border: 2px solid var(--gold); border-radius: 4px; overflow: hidden; cursor: pointer; background: #E8F0F6; font: inherit; }
.fac-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.fac-card:hover img, .fac-card:focus-visible img { transform: scale(1.05); }
.fac-label { position: absolute; left: 16px; right: 16px; bottom: 0; background: #fff; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 0; transition: padding .25s; }
.fac-name { font-size: 17px; font-weight: 500; color: var(--ink); text-align: center; }
.fac-levels { max-height: 0; overflow: hidden; font-size: 13px; color: var(--muted); border-top: 1px solid transparent; width: 100%; text-align: center; transition: max-height .25s, padding .25s, border-color .25s; }
.fac-card:hover .fac-levels, .fac-card:focus-visible .fac-levels { max-height: 40px; padding-top: 8px; margin-top: 8px; border-top-color: var(--gold); }

.fac-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(0,20,35,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fac-overlay[hidden] { display: none; }
.fac-modal { position: relative; background: #fff; border-radius: 6px; width: 100%; max-width: 1060px; max-height: calc(100vh - 32px); overflow-y: auto; display: flex; flex-wrap: wrap; gap: 28px; padding: 24px; }
.fac-m-img { flex: 1 1 260px; max-width: 300px; height: 170px; object-fit: cover; border: 1px solid var(--line); padding: 4px; }
.fac-m-body { flex: 999 1 380px; min-width: 0; padding-right: 20px; }
.fac-m-levels { font-size: 14px; text-transform: uppercase; color: var(--ink); }
.fac-m-body h3 { font-size: 24px; font-weight: 500; color: var(--ink); margin: 4px 0 16px; }
.fac-m-body p { text-align: justify; color: #333; margin: 0 0 14px; }
.fac-share { display: flex; gap: 10px; margin-top: 22px; }
.fac-share a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 3px; }
.fac-share svg { width: 20px; height: 20px; fill: #fff; }
.fac-share-fb { background: #3B5998; }
.fac-share-wa { background: #25D366; }
.fac-share-wa svg { fill: none; stroke: #fff; stroke-width: 2; }
.fac-close { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--ink); }
.fac-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: none; color: #fff; font-size: 56px; line-height: 1; cursor: pointer; z-index: 96; }
.fac-prev { left: max(8px, calc(50% - 600px)); }
.fac-next { right: max(8px, calc(50% - 600px)); }
@media (max-width: 700px) {
    .fac-card { height: 200px; }
    .fac-m-img { max-width: none; flex-basis: 100%; }
    .fac-m-body { padding-right: 0; }
    .fac-nav { font-size: 40px; width: 36px; }
}

/* President section: photo touches the top and bottom of the light band (no gap) */
.president { padding-top: 0; padding-bottom: 0; align-items: stretch; }
.president-photo { position: relative; min-height: 420px; }
.president-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; object-fit: cover; object-position: top; }
.president-text { padding: 48px 0; align-self: center; }
@media (max-width: 800px) { .president-photo { min-height: 340px; } .president-text { padding: 8px 0 40px; } }

/* Faculty section: rotating circle of gold dots + thin ring behind the top-left cards (decoration only) */
body { overflow-x: clip; }
.fac-section { position: relative; }
.fac-section > .section-head, .fac-section > .fac-grid { position: relative; z-index: 1; }
.fac-section::before { content: ""; position: absolute; z-index: 0; pointer-events: none; width: 400px; height: 400px; left: -230px; top: 20px; border: 1px solid #D9E3EB; border-radius: 50%; }
.fac-section::after { content: ""; position: absolute; z-index: 0; pointer-events: none; width: 190px; height: 190px; left: -70px; top: 130px; border-radius: 50%; background-image: radial-gradient(circle, var(--gold) 2.6px, transparent 3.2px); background-size: 17px 17px; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); mask-image: radial-gradient(circle, #000 60%, transparent 71%); animation: fac-dots-spin 28s linear infinite; }
@keyframes fac-dots-spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) { .fac-section::before { width: 260px; height: 260px; left: -170px; } .fac-section::after { width: 130px; height: 130px; left: -60px; top: 110px; } }
/* Thin ring 20% smaller, same centre */
.fac-section::before { width: 320px; height: 320px; left: -190px; top: 60px; }
@media (max-width: 800px) { .fac-section::before { width: 208px; height: 208px; left: -144px; top: 46px; } }

/* Admission Info cards: multi-colour stripe at the bottom (like the old site) */
.adm-info-card { border-bottom: 1px solid var(--line); padding-bottom: 16px; background: linear-gradient(90deg, #005186 0%, #009B8C 40%, #7EAB60 65%, #70835F 85%, #005481 100%) bottom / 100% 4px no-repeat, #fff; }
.adm-info-card:hover { border-bottom-color: var(--line); }
.adm-info-card span { width: min-content; max-width: 100%; }

/* ==========================================================
   Contact page blocks
   ========================================================== */
/* Reveal on scroll (only when JavaScript is running) */
.reveal-ready [data-reveal]:not(.is-visible) { opacity: 0; }
.reveal-ready [data-reveal].is-visible { animation: ux-reveal .75s cubic-bezier(.2,.7,.2,1) var(--d, 0ms) backwards; }
@keyframes ux-reveal { from { opacity: 0; transform: translateY(26px); } }

/* Contact banner */
.ch { position: relative; overflow: hidden; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0) 0 0 / 22px 22px, linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, #0A6A9E 100%); color: #fff; }
.ch-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; min-height: 440px; }
.ch h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.12; margin: 16px 0 14px; }
.ch p { font-size: 17px; line-height: 1.65; color: #DCE8F1; margin: 0 0 26px; max-width: 540px; }
.ch-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 340px; }
.ch-globe { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.ch-photo { width: min(380px, 80%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255,255,255,.15); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.ch-photo img { width: 100%; height: 100%; object-fit: cover; }
.ch-orbit { position: absolute; width: min(450px, 95%); aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(212,175,55,.7); animation: ch-spin 30s linear infinite; }
.ch-orbit::before { content: ""; position: absolute; top: 12%; left: 8%; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(212,175,55,.25); }
@keyframes ch-spin { to { transform: rotate(360deg); } }
.ch-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy-dark); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 14px 30px rgba(0,0,0,.22); animation: ch-float 5s ease-in-out infinite; }
.ch-chip svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; background: #1FA27E; border-radius: 50%; padding: 3px; }
.ch-chip-1 { top: 10%; right: 2%; }
.ch-chip-2 { bottom: 10%; left: 2%; animation-delay: -2.5s; }
@keyframes ch-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 860px) {
    .ch-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 40px; }
    .ch-art { min-height: 280px; }
}

/* Contact cards */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.cc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; color: var(--ink); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.cc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #005186, #009B8C 40%, #7EAB60 65%, #70835F 85%, #005481); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.cc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,40,70,.13); border-color: transparent; color: var(--ink); }
.cc-card:hover::after { transform: scaleX(1); }
.cc-icon { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.cc-icon::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; transform: scale(.8); }
.cc-card:hover .cc-icon::before { animation: cc-pulse 1.2s ease-out infinite; }
@keyframes cc-pulse { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.cc-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cc-card h3 { font-size: 20px; color: var(--navy); }
.cc-card p { margin: 0; color: var(--muted); font-size: 15px; flex-grow: 1; }
.cc-link { font-weight: 700; color: var(--navy); word-break: break-word; }
.cc-link span { display: inline-block; transition: transform .25s; }
.cc-card:hover .cc-link span { transform: translateX(5px); }

/* Enquiry form */
.ef-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: stretch; }
.ef-visual { position: relative; min-height: 420px; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.ef-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ef-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,43,69,.85)); }
.ef-dots { position: absolute; z-index: 1; top: -40px; right: -40px; width: 170px; height: 170px; border-radius: 50%; background-image: radial-gradient(circle, var(--gold) 2.4px, transparent 3px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); mask-image: radial-gradient(circle, #000 60%, transparent 71%); animation: fac-dots-spin 26s linear infinite; }
.ef-caption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; color: #fff; font-weight: 700; font-size: 18px; line-height: 1.4; padding-left: 14px; border-left: 4px solid var(--gold); }
.ef-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: 0 20px 50px rgba(0,40,70,.08); }
.ef-card h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin: 8px 0 8px; }
.ef-intro { color: var(--muted); margin: 0 0 22px; }
.ef-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.ef-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ef-wide { grid-column: 1 / -1; }
.ef-field input, .ef-field select, .ef-field textarea { font: inherit; font-size: 15px; font-weight: 400; border: 1px solid #C9D6E0; border-radius: 12px; padding: 12px 14px; background: var(--bg-light); width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.ef-field input, .ef-field select { height: 50px; }
.ef-field textarea { resize: vertical; min-height: 120px; }
.ef-field input:focus, .ef-field select:focus, .ef-field textarea:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }
.ef-field small { color: #B42318; font-weight: 500; }
.ef-field.has-error input, .ef-field.has-error textarea { border-color: #B42318; }
.ef-errors { background: #FDECEA; color: #B42318; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.ef-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ef-submit { grid-column: 1 / -1; justify-self: start; gap: 10px; min-height: 52px; padding: 0 30px; }
.ef-submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: transform .35s; }
.ef-submit:hover svg { transform: translate(5px, -5px) rotate(-8deg); }
.ef-success { text-align: center; padding: 24px 8px; }
.ef-success svg { width: 84px; height: 84px; fill: none; stroke: #1FA27E; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ef-success circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: ef-draw .8s ease forwards; }
.ef-success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ef-draw .5s .7s ease forwards; }
@keyframes ef-draw { to { stroke-dashoffset: 0; } }
.ef-success p { font-size: 18px; color: var(--navy); font-weight: 500; margin: 14px 0 0; }
@media (max-width: 900px) {
    .ef-grid { grid-template-columns: 1fr; }
    .ef-visual { min-height: 260px; }
    .ef-card { padding: 24px; }
    .ef-form { grid-template-columns: 1fr; }
}

/* Offices + map */
.of-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; }
.of-list { display: flex; flex-direction: column; gap: 12px; }
.of-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.of-item.is-active { border-color: var(--gold); box-shadow: 0 12px 30px rgba(0,40,70,.1); }
.of-pick { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.of-pin { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.of-pin svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.of-item.is-active .of-pin { background: var(--navy); }
.of-item.is-active .of-pin svg { stroke: var(--gold); animation: of-bounce 1.6s ease-in-out infinite; }
@keyframes of-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.of-title { display: flex; flex-direction: column; }
.of-title strong { font-size: 18px; color: var(--navy); }
.of-title small { color: var(--muted); font-size: 14px; }
.of-details { display: none; flex-direction: column; gap: 6px; padding: 0 18px 18px 76px; font-size: 15px; }
.of-item.is-active .of-details { display: flex; }
.of-details p { margin: 0; color: #44525F; }
.of-hours { font-size: 14px; color: var(--muted) !important; }
.of-map { position: sticky; top: 100px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,40,70,.1); background: #E8F0F6; }
.of-map iframe { display: block; width: 100%; height: 440px; border: 0; transition: opacity .35s; }
.of-map.is-loading iframe { opacity: .3; }
@media (max-width: 860px) { .of-grid { grid-template-columns: 1fr; } .of-map { position: static; } .of-map iframe { height: 320px; } }

/* Social links */
.so-section { text-align: center; }
.so-heading { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); color: var(--navy); margin-bottom: 24px; }
.so-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.so-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; background: #fff; transition: transform .3s, background .3s, color .3s, border-color .3s; }
.so-link svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--bg-light); fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background .3s, stroke .3s, transform .5s; }
.so-link:hover { transform: translateY(-4px); color: #fff; border-color: transparent; background: var(--brand, var(--navy)); }
.so-link:hover svg { background: rgba(255,255,255,.2); stroke: #fff; transform: rotate(360deg); }
.so-facebook { --brand: #1877F2; } .so-instagram { --brand: #D62976; } .so-linkedin { --brand: #0A66C2; } .so-youtube { --brand: #FF0000; }
.so-tiktok { --brand: #111; } .so-whatsapp { --brand: #25D366; } .so-x { --brand: #111; } .so-telegram { --brand: #229ED9; }

/* Enquiry form: phone = [country code] [number] */
.ef-phone { display: flex; gap: 10px; }
.ef-phone select { flex: 0 0 140px; width: 140px; height: 50px; font: inherit; font-size: 15px; font-weight: 500; border: 1px solid #C9D6E0; border-radius: 12px; padding: 0 10px; background: var(--bg-light); }
.ef-phone input { flex: 1 1 auto; min-width: 0; height: 50px; font: inherit; font-size: 15px; font-weight: 400; border: 1px solid #C9D6E0; border-radius: 12px; padding: 12px 14px; background: var(--bg-light); }
.ef-phone select:focus, .ef-phone input:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }
.ef-phone.is-filled select { animation: ef-flash .6s ease; }
@keyframes ef-flash { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,.6); } 100% { box-shadow: 0 0 0 10px rgba(212,175,55,0); } }
.ef-field.has-error .ef-phone input { border-color: #B42318; }
@media (max-width: 420px) { .ef-phone select { flex-basis: 118px; width: 118px; } }

/* Footer: icon before every link, round social icons */
.ft-link { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.45; transition: color .2s, transform .2s; word-break: break-word; }
.ft-link svg, .ft-office svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-link:hover { transform: translateX(4px); }
.ft-office { display: flex; gap: 10px; align-items: flex-start; }
.ft-office p { line-height: 1.55; }
.footer-social { gap: 10px; margin-top: 16px; }
.ft-social { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2A5674; display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s, transform .25s; }
.ft-social svg { width: 19px; height: 19px; fill: none; stroke: #C7D6E2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.ft-social:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.ft-social:hover svg { stroke: var(--navy-deep); }

/* ==========================================================
   Content page blocks (About, Admission, Destinations)
   ========================================================== */
.rich-text p:not([class*="text-"]), .ac-body p, .it-body .rich-text li, .ac-body li { text-align: justify; hyphens: auto; }
.section-intro { max-width: 760px; margin: 12px auto 0; color: var(--muted); font-size: 17px; }

/* Page banner */
.pb { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0) 0 0 / 22px 22px, linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, #0A6A9E 100%); }
.pb-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 48px; min-height: 340px; }
.pb-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #A9C3D6; margin-bottom: 16px; }
.pb-crumb a { color: #DCE8F1; }
.pb-crumb a:hover { color: var(--gold); }
.pb h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1.12; margin: 14px 0 12px; }
.pb p { font-size: 17px; line-height: 1.65; color: #DCE8F1; margin: 0 0 22px; max-width: 620px; }
.pb-art { position: relative; height: 280px; display: flex; align-items: center; justify-content: center; }
.pb-core { position: relative; z-index: 2; width: 128px; height: 128px; border-radius: 50%; background: linear-gradient(145deg, #fff, #E6EEF4); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 14px rgba(255,255,255,.08), 0 24px 50px rgba(0,0,0,.3); animation: pb-bob 5s ease-in-out infinite; }
.pb-core svg { width: 58px; height: 58px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pb-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(212,175,55,.75); }
.pb-ring-1 { width: 220px; height: 220px; animation: ch-spin 24s linear infinite; }
.pb-ring-2 { width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.22); animation: ch-spin 40s linear infinite reverse; }
.pb-ring::before { content: ""; position: absolute; top: 14%; left: 8%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212,175,55,.25); }
.pb-ring-2::before { top: auto; bottom: 12%; left: auto; right: 6%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.18); }
.pb-dots { position: absolute; right: 0; bottom: 0; width: 120px; height: 120px; border-radius: 50%; background-image: radial-gradient(circle, rgba(212,175,55,.8) 2px, transparent 2.6px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); mask-image: radial-gradient(circle, #000 60%, transparent 71%); animation: fac-dots-spin 30s linear infinite; opacity: .7; }
.pb-photo { position: relative; z-index: 2; width: 230px; height: 230px; border-radius: 50%; overflow: hidden; border: 5px solid rgba(255,255,255,.18); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.pb-photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-photo + .pb-ring-1 { width: 270px; height: 270px; }
@keyframes pb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .pb-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; } .pb-art { height: 240px; } }

/* Image + text */
.it { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.it-right .it-media { order: 2; }
.it-media { position: relative; }
.it-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px rgba(0,40,70,.15); }
.it-dots { position: absolute; z-index: 0; width: 150px; height: 150px; left: -40px; bottom: -40px; border-radius: 50%; background-image: radial-gradient(circle, var(--gold) 2.4px, transparent 3px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); mask-image: radial-gradient(circle, #000 60%, transparent 71%); animation: fac-dots-spin 26s linear infinite; }
.it-right .it-dots { left: auto; right: -40px; }
.it-badge { position: absolute; z-index: 2; top: 22px; right: -14px; background: var(--gold); color: var(--ink); font-weight: 800; padding: 12px 18px; border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.18); animation: ch-float 5s ease-in-out infinite; }
.it-right .it-badge { right: auto; left: -14px; }
.it-body h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); color: var(--navy); margin: 8px 0 16px; }
.it-body .btn { margin-top: 8px; }
@media (max-width: 860px) { .it { grid-template-columns: 1fr; gap: 36px; } .it-right .it-media { order: 0; } .it-badge { right: 10px; } .it-right .it-badge { left: 10px; } }

/* Icon cards */
.fe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.fe-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.fe-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.18), transparent 70%); transition: transform .5s; }
.fe-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,40,70,.12); border-color: transparent; }
.fe-card:hover::before { transform: scale(1.6); }
.fe-num { position: absolute; top: 18px; right: 22px; font-size: 34px; font-weight: 900; color: #EDF2F6; transition: color .3s; }
.fe-card:hover .fe-num { color: rgba(212,175,55,.35); }
.fe-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); margin-bottom: 18px; transition: transform .4s; }
.fe-card:hover .fe-icon { transform: rotate(-8deg) scale(1.06); }
.fe-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fe-card h3 { position: relative; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.fe-card p { position: relative; margin: 0; color: #44525F; }

/* Accordion */
.ac-list { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.ac-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.ac-item.is-open { border-color: var(--gold); box-shadow: 0 16px 36px rgba(0,40,70,.1); }
.ac-head { margin: 0; }
.ac-btn { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--navy); }
.ac-btn:hover .ac-title { color: var(--gold-text); }
.ac-no { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-light); color: var(--navy); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.ac-item.is-open .ac-no { background: var(--navy); color: var(--gold); }
.ac-title { flex: 1; font-size: 18px; font-weight: 700; transition: color .2s; }
.ac-sign { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold); transition: transform .35s, background .3s; }
.ac-sign::before, .ac-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .35s; }
.ac-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.ac-item.is-open .ac-sign { transform: rotate(180deg); background: var(--gold); }
.ac-item.is-open .ac-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.ac-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.ac-item.is-open .ac-panel { grid-template-rows: 1fr; }
.ac-inner { overflow: hidden; }
.ac-body { padding: 0 24px 22px 78px; color: #44525F; font-size: 16px; line-height: 1.75; }
.ac-body p { margin: 0 0 12px; }
.ac-body ul { margin: 0 0 12px; padding-left: 20px; }
.ac-body li { margin-bottom: 6px; }
.ac-body li::marker { color: var(--gold); }
@media (max-width: 640px) { .ac-btn { padding: 16px; gap: 12px; } .ac-title { font-size: 16px; } .ac-body { padding: 0 16px 18px; } }

/* Steps timeline */
.st-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.st-list::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold), var(--navy)); transform-origin: top; transform: scaleY(0); transition: transform 1.4s ease .2s; }
.st-list.is-visible::before, html:not(.reveal-ready) .st-list::before { transform: scaleY(1); }
.st-item { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 0 0 22px; }
.st-list.is-visible .st-item { animation: ux-reveal .7s cubic-bezier(.2,.7,.2,1) var(--d) backwards; }
.st-dot { position: relative; z-index: 1; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.st-card { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; transition: transform .3s, box-shadow .3s; }
.st-card:hover { transform: translateX(6px); box-shadow: 0 14px 30px rgba(0,40,70,.1); }
.st-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.st-card p { margin: 0; color: #44525F; }

/* Numbers */
.sx-band { background: linear-gradient(115deg, var(--navy-deep), var(--navy)); color: #fff; }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-top: 44px; padding-bottom: 44px; text-align: center; }
.sx-value { font-size: clamp(34px, 4vw, 46px); font-weight: 900; color: var(--gold); line-height: 1.1; }
.sx-label { margin-top: 6px; color: #DCE8F1; font-weight: 500; }
.sx-item + .sx-item { border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 640px) { .sx-item + .sx-item { border-left: 0; } }

/* Team */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 24px; }
.tm-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; text-align: center; transition: transform .35s, box-shadow .3s; }
.tm-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,40,70,.12); }
.tm-photo { width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); padding: 4px; background: #fff; display: flex; align-items: center; justify-content: center; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 50%; }
.tm-photo svg { width: 60%; height: 60%; fill: none; stroke: var(--navy); stroke-width: 1.6; }
.tm-card h3 { font-size: 18px; color: var(--navy); }
.tm-role { color: var(--gold-text); font-weight: 700; font-size: 14px; margin: 4px 0 10px; }
.tm-bio { color: #44525F; font-size: 15px; margin: 0; }

/* Name list */
.chp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.chp { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; color: var(--ink); transition: transform .3s, box-shadow .3s, border-color .3s; }
.chp:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,40,70,.1); border-color: var(--gold); color: var(--ink); }
.chp-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.chp:hover .chp-icon { background: var(--navy); }
.chp-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.chp:hover .chp-icon svg { stroke: var(--gold); }
.chp-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chp-text strong { color: var(--navy); font-size: 16px; }
.chp-text small { color: var(--muted); font-size: 13px; }
.chp-go { color: var(--gold-text); font-weight: 800; transition: transform .3s; }
.chp:hover .chp-go { transform: translateX(4px); }
