/* AIPS – Admissions and Immigration Pathways Support
   Brand: Navy #073477, Orange #F36B21, White #FFFFFF, Light grey #F4F6F9, Dark navy #10243D */

:root {
  --navy: #073477;
  --orange: #F36B21;
  --white: #FFFFFF;
  --grey: #F4F6F9;
  --dark-navy: #10243D;
  --text: #1E2B3C;
  --muted: #5B6778;
  --line: #DDE3EC;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 36, 61, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--dark-navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; }
.section-alt { background: var(--grey); }
.eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .5rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 64ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.slogan { color: var(--orange); font-style: italic; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  font-size: .98rem; font-family: inherit; margin: 4px 6px 4px 0;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #dc5c1a; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--dark-navy); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-row { margin-top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { flex-shrink: 0; }
.brand img { height: 60px; width: auto; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; cursor: pointer; color: var(--navy); font-weight: 600; font-family: inherit;
}
.main-nav { display: flex; align-items: center; gap: 2px; flex-shrink: 1; }
.main-nav a {
  text-decoration: none; color: var(--dark-navy); font-weight: 500; font-size: .84rem;
  padding: 8px 6px; white-space: nowrap; border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: var(--grey); }
.main-nav .nav-login { border: 1px solid var(--navy); }
.main-nav .nav-apply {
  background: var(--orange); color: var(--white) !important; font-weight: 700; padding: 9px 14px; border-radius: 999px;
}
.main-nav .nav-apply:hover { background: #dc5c1a; }

@media (max-width: 1380px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .site-header { position: sticky; }
  .main-nav .nav-apply { text-align: center; margin-top: 8px; }
}

/* Hero */
.hero {
  position: relative; color: var(--white); padding: 96px 0 88px; overflow: hidden;
  background-color: var(--dark-navy);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,36,61,.94) 0%, rgba(7,52,119,.82) 55%, rgba(7,52,119,.45) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { color: #DCE6F5; }
.hero .slogan { color: #FFB68A; }
.hero .eyebrow { color: #FFB68A; }
.hero .btn-row .btn { margin-bottom: 8px; }

.page-hero { position: relative; color: var(--white); padding: 72px 0 64px; background: var(--navy); overflow: hidden; }
.page-hero .hero-bg { opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,52,119,.96), rgba(7,52,119,.6)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 24ch; }
.page-hero .lead { color: #DCE6F5; }
.page-hero .eyebrow { color: #FFB68A; }
.crumb { font-size: .85rem; color: #C9D6EA; margin-bottom: 12px; }
.crumb a { color: #C9D6EA; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-4, .grid-3, .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } section { padding: 56px 0; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,36,61,.12); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--grey);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--navy);
}
.card .icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .icon.orange { background: #FFF1E9; color: var(--orange); }
.card ul { padding-left: 1.1em; margin: .4em 0 1.2em; color: var(--muted); font-size: .95rem; }
.card ul li { margin-bottom: .25em; }
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-num {
  font-weight: 800; color: var(--orange); font-size: .9rem; letter-spacing: .06em; margin-bottom: 6px;
}

/* Split feature sections with photos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img.feature { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split.reverse .media { order: 2; }
.split ul { padding-left: 1.1em; }
.split ul li { margin-bottom: .4em; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .media { order: 0; }
}

/* Notices */
.notice {
  border-left: 4px solid var(--orange); background: #FFF6F0; padding: 16px 20px;
  border-radius: 10px; color: var(--dark-navy); font-size: .95rem; margin: 24px 0;
}
.notice strong { color: var(--dark-navy); }
.placeholder {
  background: #FFF9E6; border: 1px dashed #D8A600; border-radius: 10px; padding: 14px 18px;
  color: #5A4500; font-size: .92rem; margin: 16px 0;
}

/* How it works */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; background: var(--white); border-radius: var(--radius);
  padding: 24px 20px; border: 1px solid var(--line); position: relative;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 12px;
}
.steps li h3 { font-size: 1rem; }
.steps li p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--dark-navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.cta-band { position: relative; color: var(--white); overflow: hidden; background: var(--navy); padding: 88px 0; }
.cta-band .hero-bg { opacity: .28; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,52,119,.85), rgba(16,36,61,.95)); z-index: 1; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); }
.cta-band .slogan { color: #FFB68A; }
.cta-band .lead { color: #DCE6F5; margin-left: auto; margin-right: auto; }

/* Filters and directory lists */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.filters select, .filters input {
  flex: 1 1 180px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; color: var(--text); background: var(--white);
}
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dir-grid { grid-template-columns: 1fr; } }
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 40px 24px; border: 1px dashed #B9C4D4;
  border-radius: var(--radius); color: var(--muted); background: var(--white);
}
.tag { display: inline-block; background: var(--grey); color: var(--navy); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin: 0 6px 6px 0; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--dark-navy); font-size: .92rem; }
.form input, .form select, .form textarea {
  min-height: 48px; padding: 11px 14px; border: 1px solid #C8D1DE; border-radius: 10px;
  font: inherit; color: var(--text); background: var(--white); width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(243,107,33,.35); border-color: var(--orange); }
.form-status { font-weight: 600; color: var(--navy); min-height: 1.5em; }
.contact-box { background: var(--grey); border-radius: var(--radius); padding: 28px; }
.contact-box dt { font-weight: 700; color: var(--dark-navy); margin-top: 14px; }
.contact-box dd { margin: 2px 0 0; color: var(--muted); }

/* Legal text */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text); }

/* Footer */
.site-footer { background: var(--dark-navy); color: #C9D6EA; padding: 64px 0 28px; }
.site-footer a { color: #E6EEF9; text-decoration: none; }
.site-footer a:hover { color: #FFB68A; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { background: var(--white); border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 76px; width: auto; }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: .92rem; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.footer-tagline { color: #FFB68A; font-style: italic; font-weight: 600; }
.footer-endorse { font-size: .92rem; margin-top: 8px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Disclaimer strip */
.disclaimer-strip { background: #EEF2F8; color: var(--muted); font-size: .85rem; padding: 18px 0; border-top: 1px solid var(--line); }
.disclaimer-strip strong { color: var(--dark-navy); }

/* Media helpers */
.photo-wide { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 7; object-fit: cover; }
.caption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.stack > * + * { margin-top: 1rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 12px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Enquiry form extras */
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .92rem; color: var(--text); }
.form .consent input { width: 20px; min-height: 20px; margin-top: 4px; flex-shrink: 0; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-status.error { color: #B42318; }
.empty-state.loading { color: var(--muted); }

/* Header width and link lists */
.site-header .container { max-width: 1400px; }
.plain-links { list-style: none; padding: 0; margin: 0 0 16px; }
.plain-links li { margin-bottom: 8px; }

/* Tables on public pages */
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--grey); color: var(--dark-navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }

/* Job placement board */
.board-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 26px; align-items: start; }
.board-card { transform: none !important; }
.board-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.board-job { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.board-job:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.board-job h4 { margin: 0 0 4px; font-size: 1rem; color: var(--dark-navy); }
.board-pay { margin: 0 0 8px; font-weight: 700; color: var(--orange); }
.board-dl { margin: 8px 0; display: grid; gap: 6px; }
.board-dl div { display: grid; grid-template-columns: minmax(110px, 0.9fr) 1.4fr; gap: 8px; font-size: .92rem; }
.board-dl dt { font-weight: 600; color: var(--muted); }
.board-dl dd { margin: 0; }
.board-note { font-size: .9rem; font-style: italic; }
.board-job p { font-size: .94rem; margin: 6px 0; }
@media (max-width: 520px) { .board-dl div { grid-template-columns: 1fr; gap: 0; } }

/* Programme search */
#programme-results .board-card h3 { font-size: 1.1rem; }
#programme-results .tag { margin-right: 4px; }
#programme-results .empty-state { grid-column: 1 / -1; }

/* Study visa links */
.visa-links { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.visa-links li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.visa-links strong { color: var(--dark-navy); }
.visa-links a { color: var(--navy); font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }

/* Contact channels */
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.contact-list li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); display: grid; gap: 2px; }
.contact-list strong { color: var(--dark-navy); font-size: .95rem; }
.contact-list a { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.contact-list span { color: var(--muted); font-size: .9rem; }

/* Icon-only contact links */
.contact-icon-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark-navy); font-weight: 600; }
.contact-icon-link .icon { width: 44px; height: 44px; flex-shrink: 0; }
.contact-list li { padding: 10px 14px; }
.footer-icons { display: flex; gap: 10px; }
.footer-icons a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff; }
.footer-icons a:hover { background: var(--orange); }
.footer-icons svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-icons .icon { width: auto; height: auto; background: none; display: flex; }
.contact-icon-link .icon { background: #E8EEF7; color: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.contact-icon-link .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Form layout used by the programme search and other public forms */
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px; box-shadow: 0 4px 16px rgba(16,36,61,.04);
}
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .panel { padding: 18px; } }


/* =========================================================
   AIPS shared header and footer refresh – responsive layout
   ========================================================= */
.site-header { background:rgba(255,255,255,.98); box-shadow:0 5px 22px rgba(16,36,61,.07); border-bottom:1px solid #e8edf4; }
.site-header .container { max-width:1440px; }
.header-inner { min-height:88px; gap:24px; }
.brand { display:flex; align-items:center; }
.brand img { height:66px; max-width:220px; object-fit:contain; }
.main-nav { gap:5px; align-items:center; }
.main-nav > a, .nav-group > summary { color:#17365d; font-size:.88rem; font-weight:650; padding:11px 10px; border-radius:9px; text-decoration:none; white-space:nowrap; cursor:pointer; list-style:none; }
.nav-group > summary::-webkit-details-marker { display:none; }
.nav-group > summary:after { content:'⌄'; color:#f36b21; margin-left:6px; font-size:.9em; }
.main-nav > a:hover, .nav-group > summary:hover, .main-nav > a.active { background:#f1f5fa; color:#073477; }
.main-nav .nav-apply { background:#f36b21; color:#fff; padding:12px 19px; border-radius:9px; box-shadow:0 5px 14px rgba(243,107,33,.2); }
.main-nav .nav-apply:hover { background:#d95712; color:#fff; }
.nav-group { position:relative; }
.nav-dropdown { position:absolute; top:calc(100% + 10px); left:0; z-index:100; min-width:230px; display:grid; gap:3px; padding:9px; background:#fff; border:1px solid #e4eaf2; border-radius:12px; box-shadow:0 16px 38px rgba(16,36,61,.16); }
.nav-dropdown a { display:block; padding:10px 12px; color:#17365d; text-decoration:none; border-radius:7px; font-size:.9rem; }
.nav-dropdown a:hover, .nav-dropdown a.active { background:#f1f5fa; color:#f36b21; }
.nav-toggle { border:1px solid #dbe3ee; background:#f7f9fc; padding:10px 15px; border-radius:9px; }
.site-footer { padding:54px 0 22px; background:linear-gradient(145deg,#10243d 0%,#082f69 100%); color:#d5e0ef; }
.footer-grid { grid-template-columns:1.25fr 1fr 1fr 1.1fr 1.25fr; gap:28px; align-items:start; }
.footer-logo { display:inline-flex; background:#fff; border-radius:12px; padding:8px 12px; margin:0 0 15px; }
.footer-logo img { height:65px; max-width:190px; object-fit:contain; }
.footer-tagline { color:#fff; font-size:1rem; line-height:1.55; font-weight:750; margin:0 0 10px; }
.footer-intro { color:#b9c9dc; font-size:.88rem; line-height:1.7; max-width:260px; }
.footer-social { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.footer-social a { border:1px solid rgba(255,255,255,.25); border-radius:7px; padding:7px 10px; font-size:.8rem; }
.footer-col h4 { color:#fff; font-size:.96rem; margin:4px 0 16px; padding-bottom:10px; border-bottom:2px solid #f36b21; display:inline-block; }
.footer-col ul { display:grid; gap:9px; }
.footer-col li { color:#c5d3e4; font-size:.85rem; line-height:1.5; }
.footer-col a { color:#d5e0ef; font-size:.85rem; line-height:1.5; overflow-wrap:anywhere; }
.footer-col a:hover, .site-footer a:hover { color:#ffad79; }
.footer-contact p { color:#c5d3e4; font-size:.84rem; line-height:1.55; margin:4px 0 8px; }
.footer-contact > a { display:block; margin:3px 0 8px; }
.footer-contact .footer-contact-label { color:#ffad79; font-size:.75rem; font-weight:750; text-transform:uppercase; letter-spacing:.07em; margin:14px 0 3px; }
.footer-contact .footer-hours { margin-top:16px; padding-top:12px; border-top:1px solid rgba(255,255,255,.17); font-size:.8rem; }
.footer-bottom { margin-top:38px; padding-top:19px; border-top:1px solid rgba(255,255,255,.18); display:flex; justify-content:space-between; gap:18px; color:#b7c7da; font-size:.78rem; line-height:1.6; }
@media (min-width:1381px) { .nav-toggle { display:none; } .main-nav { display:flex; } }
@media (max-width:1380px) {
 .header-inner { min-height:78px; }
 .nav-toggle { display:inline-flex; margin-left:auto; }
 .main-nav { display:none; position:absolute; top:100%; left:0; right:0; max-height:calc(100vh - 90px); overflow-y:auto; background:#fff; flex-direction:column; align-items:stretch; gap:3px; padding:14px max(20px,calc((100vw - 1100px)/2)) 22px; border-bottom:1px solid #e4eaf2; box-shadow:0 18px 28px rgba(16,36,61,.13); }
 .main-nav.open { display:flex; }
 .main-nav > a, .nav-group > summary { width:100%; display:block; padding:12px 13px; }
 .nav-group { width:100%; }
 .nav-dropdown { position:static; box-shadow:none; border:0; border-left:2px solid #f36b21; border-radius:0; margin:2px 0 8px 12px; padding:3px 8px; min-width:0; }
 .main-nav .nav-apply { text-align:center; margin-top:8px; }
 .footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:860px) { .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; } .footer-bottom { flex-direction:column; gap:6px; } }
@media (max-width:520px) {
 .brand img { height:56px; max-width:185px; }
 .header-inner { min-height:72px; gap:10px; }
 .nav-toggle { padding:9px 12px; font-size:.88rem; }
 .footer-grid { grid-template-columns:1fr; gap:25px; }
 .site-footer { padding:42px 0 20px; }
 .footer-bottom { margin-top:28px; }
}


/* AIPS visual refinement – service pages, imagery and responsive navigation */
:root {
  --navy: #073477;
  --orange: #F36B21;
  --dark-navy: #10243D;
  --grey: #F4F7FB;
  --line: #E2E8F0;
}
body { color:#25364b; }
h1,h2,h3,h4 { letter-spacing:-.018em; }
section { scroll-margin-top:100px; }
.site-header { z-index:100; }
.header-inner { min-height:82px; }
.brand img { height:62px; }
.main-nav > a, .nav-group > summary { transition:background .18s ease,color .18s ease; }
.nav-group[open] > summary { background:#f1f5fa; color:var(--navy); }
.nav-dropdown { animation:navDrop .16s ease-out; }
@keyframes navDrop { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }

.page-hero {
  min-height:330px;
  display:flex;
  align-items:center;
  padding:78px 0 74px;
  background:#10243d;
}
.page-hero .container { max-width:1180px; }
.page-hero h1 { max-width:17ch; font-size:clamp(2.2rem,4.6vw,3.55rem); }
.page-hero .lead { max-width:64ch; font-size:1.08rem; line-height:1.75; }
.page-hero .crumb { opacity:.9; }
.page-hero .btn { box-shadow:0 8px 20px rgba(0,0,0,.14); }
.page-hero::after {
  background:linear-gradient(90deg,rgba(8,29,55,.94) 0%,rgba(7,52,119,.82) 52%,rgba(7,52,119,.42) 100%);
}
.page-hero .hero-bg { object-position:center 42%; transform:scale(1.015); }
.hero .container, .page-hero .container { max-width:1180px; }

.service-card { padding:0 0 25px; overflow:hidden; }
.service-card .service-card-image {
  width:calc(100% + 50px);
  max-width:none;
  height:190px;
  object-fit:cover;
  margin:-25px -25px 22px;
  border-radius:14px 14px 0 0;
}
.service-card .icon { margin-left:25px; }
.service-card h3, .service-card p, .service-card .btn { margin-left:25px; margin-right:25px; }
.service-card h3 { min-height:2.4em; }
.service-card p { line-height:1.7; }

.card { border-color:#e5eaf1; box-shadow:0 8px 26px rgba(16,36,61,.065); }
.card:hover { box-shadow:0 16px 36px rgba(16,36,61,.12); }
.split img.feature { min-height:280px; }
.section-alt { background:linear-gradient(180deg,#f5f7fb 0%,#f8faff 100%); }
.eyebrow { letter-spacing:.095em; }
.notice { line-height:1.65; }
.cta-band { background-image:linear-gradient(135deg,#073477,#10243d); }

.site-footer { margin-top:0; }
.footer-grid { align-items:start; }
.footer-col ul { list-style:none; padding:0; margin:0; }
.footer-col li { margin:0; }
.footer-col a { text-decoration:none; }
.footer-col a:hover { text-decoration:underline; text-underline-offset:3px; }
.footer-bottom { align-items:flex-start; }
.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:16px; top:16px; z-index:999; background:#fff; padding:12px 16px; border-radius:8px; }

@media (min-width:1101px) {
  .nav-toggle { display:none !important; }
  .main-nav { display:flex !important; position:static; flex-direction:row; padding:0; border:0; box-shadow:none; background:transparent; overflow:visible; }
}
@media (max-width:1100px) {
  .header-inner { min-height:76px; }
  .nav-toggle { display:inline-flex !important; }
  .main-nav { display:none; }
  .main-nav.open { display:flex; }
}
@media (max-width:640px) {
  .page-hero { min-height:300px; padding:58px 0 54px; }
  .page-hero h1 { font-size:clamp(1.9rem,8vw,2.55rem); }
  .page-hero .lead { font-size:1rem; }
  .service-card .service-card-image { height:205px; }
  .brand img { height:52px; max-width:172px; }
  .header-inner { gap:8px; }
  .site-footer .footer-logo img { height:55px; }
}


/* Footer layout: clear responsive grid */
.site-footer {
  padding: 54px 0 24px;
  background: #10243D;
}
.site-footer > .container { width: min(1200px, calc(100% - 40px)); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.25fr) repeat(4, minmax(145px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.footer-brand-block,
.footer-grid > .footer-col {
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid rgba(226,238,255,.13);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
}
.footer-brand-block { background: rgba(255,255,255,.075); }
.footer-logo { margin-bottom: 14px; }
.footer-logo img { max-width: 100%; height: 62px; object-fit: contain; }
.footer-tagline { line-height: 1.55; margin: 0 0 12px; }
.footer-intro { font-size: .9rem; line-height: 1.7; }
.footer-social { display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; }
.footer-social a {
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:7px;
  font-size:.82rem;
}
.footer-col h4 {
  color:#fff;
  font-size:.94rem;
  line-height:1.35;
  margin:0 0 16px;
  padding-bottom:11px;
  border-bottom:2px solid #F36B21;
}
.footer-col ul { margin:0; padding:0; list-style:none; }
.footer-col li { margin:0 0 10px; font-size:.86rem; line-height:1.5; overflow-wrap:anywhere; }
.footer-col a { color:#DCE7F5; }
.footer-col a:hover { color:#FFB68A; }
.footer-contact p { font-size:.86rem; line-height:1.65; overflow-wrap:anywhere; }
.footer-bottom {
  margin-top:24px;
  padding:20px 4px 0;
  border-top:1px solid rgba(255,255,255,.17);
  display:grid;
  grid-template-columns:1fr auto;
  align-items:start;
  gap:10px 24px;
}
.footer-bottom > * { min-width:0; }
@media (max-width:1100px) {
  .footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .footer-brand-block { grid-column:span 3; }
}
@media (max-width:760px) {
  .site-footer > .container { width:min(100% - 28px, 620px); }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .footer-brand-block { grid-column:span 2; }
  .footer-brand-block, .footer-grid > .footer-col { padding:18px 15px; }
  .footer-bottom { grid-template-columns:1fr; margin-top:18px; }
}
@media (max-width:420px) {
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand-block { grid-column:auto; }
  .footer-col li { font-size:.9rem; }
}

/* Destination directories and country guides */
.destination-grid { align-items: stretch; }
.destination-card { padding:0; overflow:hidden; }
.destination-card>img { width:100%; height:190px; object-fit:cover; }
.destination-card-body { padding:22px; display:flex; flex-direction:column; flex:1; }
.destination-card .btn { margin-top:auto; align-self:flex-start; }
.destination-flag { font-size:2rem; margin:0 0 6px; }
.guide-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:34px; align-items:start; }
.guide-toc { position:sticky; top:105px; border:1px solid var(--line); border-radius:var(--radius); padding:20px; background:#fff; max-height:calc(100vh - 130px); overflow:auto; }
.guide-toc ol { padding-left:20px; margin:12px 0 0; }
.guide-toc li { margin:7px 0; font-size:.9rem; }
.guide-toc a { text-decoration:none; }
.guide-section { padding:0 0 30px; margin:0 0 30px; border-bottom:1px solid var(--line); scroll-margin-top:110px; }
.guide-section h2 { font-size:1.55rem; }
.facts-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:22px 0; }
.facts-grid>div { background:var(--grey); padding:14px; border-radius:10px; }
.facts-grid b,.facts-grid span { display:block; }
.facts-grid b { color:var(--navy); margin-bottom:4px; }
.institution-grid .card { padding:22px; }
.guide-cta { background:var(--grey); border-radius:var(--radius); padding:28px; margin:24px 0; }
.guide-last-check { margin:0 auto 30px; max-width:var(--max); padding:0 16px; }
@media(max-width:800px){.guide-layout{grid-template-columns:1fr}.guide-toc{position:relative;top:auto;max-height:none}.guide-toc ol{columns:2}.facts-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.facts-grid{grid-template-columns:1fr}.guide-toc ol{columns:1}.destination-card>img{height:165px}}

/* ==========================================================================
   FOOTER – final layout (overrides earlier footer rules)
   Two columns per row; cards removed; policy links in a horizontal row.
   ========================================================================== */
.site-footer { padding: 48px 0 22px; background: #10243D; color: #d5e0ef; }
.site-footer > .container { width: min(1200px, calc(100% - 40px)); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  align-items: start;
}

/* Remove card styling: no border, background or padding on any footer block */
.footer-brand-block,
.footer-grid > .footer-col {
  min-width: 0;
  grid-column: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.footer-logo { margin-bottom: 14px; }
.footer-logo img { max-width: 100%; height: 62px; object-fit: contain; }
.footer-tagline { color: #fff; font-weight: 750; line-height: 1.55; margin: 0 0 10px; }
.footer-intro { color: #b9c9dc; font-size: .9rem; line-height: 1.7; max-width: 340px; margin: 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.footer-social a {
  display: inline-flex; align-items: center; padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 7px; font-size: .82rem;
}

.footer-col h4 {
  color: #fff; font-size: .94rem; line-height: 1.35; margin: 0 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid #F36B21; display: inline-block;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-col li { margin: 0; font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }
.footer-col a { color: #DCE7F5; }
.footer-col a:hover { color: #FFB68A; }
.footer-contact p { font-size: .86rem; line-height: 1.65; overflow-wrap: anywhere; margin: 0; }
.footer-contact > a { display: block; margin: 3px 0 8px; }
.footer-contact .footer-contact-label {
  color: #ffad79; font-size: .75rem; font-weight: 750; text-transform: uppercase;
  letter-spacing: .07em; margin: 14px 0 3px;
}
.footer-contact .footer-contact-label:first-child { margin-top: 0; }
.footer-contact .footer-hours {
  margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.17); font-size: .8rem;
}

/* Policies & information: one horizontal row across the full footer width */
.footer-legal-row {
  margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-legal-row h4 { color: #fff; font-size: .94rem; margin: 0 0 12px; }
.footer-legal-row ul {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none;
}
.footer-legal-row li { margin: 0; font-size: .84rem; line-height: 1.5; }
.footer-legal-row a { color: #DCE7F5; }
.footer-legal-row a:hover { color: #FFB68A; text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 18px;
  color: #b7c7da; font-size: .78rem; line-height: 1.6;
}
.footer-bottom > * { min-width: 0; }

/* Responsive: two per row on tablet and desktop, one per row on phones */
@media (max-width: 600px) {
  .site-footer > .container { width: min(100% - 32px, 620px); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal-row ul { gap: 8px 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ==========================================================================
   CONTACT PAGE (ct-*) – redesigned enquiry and contact centre
   Uses the existing brand: navy #073477, orange #F36B21, light grey #F4F6F9.
   ========================================================================== */
[hidden] { display: none !important; }

.ct-page { overflow-x: hidden; }
.ct-section { padding: 72px 0; }
.ct-section-alt { background: var(--grey); }
.ct-heading { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ct-heading h2 { margin: 0 0 .5em; }
.ct-heading p:last-child { margin-bottom: 0; }
.ct-muted { color: var(--muted); }
.ct-break { overflow-wrap: anywhere; word-break: break-word; }
.ct-btn { width: 100%; min-height: 48px; justify-content: center; text-align: center; margin-top: auto; }

/* Hero */
.ct-hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; padding: 72px 0 80px; }
.ct-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.ct-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(7,52,119,.97) 30%, rgba(7,52,119,.75) 70%, rgba(16,36,61,.85) 100%);
}
.ct-hero-inner { position: relative; z-index: 2; }
.ct-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.2; max-width: 22ch; margin: 0 0 16px; }
.ct-hero .lead { color: #DCE6F5; max-width: 60ch; }
.ct-hero .eyebrow { color: #FFB68A; }
.ct-hero .crumb, .ct-hero .crumb a { color: #C9D6EA; }
.ct-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ct-hero-actions .btn { min-height: 48px; }
.ct-hero .btn-outline { border-color: rgba(255,255,255,.7); }

/* Cards */
.ct-grid { display: grid; gap: 24px; }
.ct-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px; display: flex; flex-direction: column; min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ct-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,36,61,.12); }
.ct-card h3 { color: var(--dark-navy); font-size: 1.1rem; margin: 14px 0 8px; }
.ct-card p { color: var(--muted); margin: 0 0 12px; }
.ct-card p a { color: var(--navy); font-weight: 600; }
.ct-card-compact { padding: 22px 22px; }
.ct-icon {
  width: 52px; height: 52px; border-radius: 14px; background: #FFF1E9; color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ct-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-office-head { display: flex; align-items: center; gap: 14px; }
.ct-office-head h3 { margin: 0; }
.ct-office > p { margin-top: 14px; }
.ct-map { width: 100%; height: 240px; border: 0; border-radius: 12px; margin: 4px 0 16px; background: var(--grey); }

/* Department emails */
.ct-dept { margin-top: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.ct-dept h3 { color: var(--dark-navy); margin: 0 0 12px; font-size: 1.05rem; }
.ct-dept-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 28px; }
.ct-dept-list li { display: flex; flex-direction: column; min-width: 0; }
.ct-dept-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); font-weight: 700; }

/* Two-column layouts (intro + form) */
.ct-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.ct-intro h2 { margin: 0 0 .5em; }
.ct-intro p { color: var(--muted); }
.ct-checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ct-checks li { position: relative; padding-left: 26px; color: var(--muted); font-size: .95rem; }
.ct-checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.ct-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; }

/* Forms */
.ct-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 30px; min-width: 0; }
.ct-form .row { gap: 18px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-field > label:not(.consent) { display: block; font-weight: 600; color: var(--dark-navy); font-size: .92rem; }
.ct-form input, .ct-form select, .ct-form textarea {
  width: 100%; min-height: 48px; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--text);
}
.ct-form textarea { min-height: 140px; resize: vertical; }
.ct-form input[aria-invalid="true"], .ct-form select[aria-invalid="true"], .ct-form textarea[aria-invalid="true"] { border-color: #C0392B; background: #FFF7F6; }
.req { color: var(--orange); font-weight: 700; }
.ct-hint { font-size: .8rem; color: var(--muted); margin: 0; }
.ct-error { color: #B42318; font-size: .85rem; font-weight: 600; margin: 0; min-height: 0; }
.ct-error:empty { display: none; }
.ct-followup { display: grid; gap: 18px; padding: 18px; background: var(--grey); border-radius: 12px; border: 1px dashed #C9D3E0; }
.ct-form .consent { font-weight: 500; color: var(--text); }
.ct-form .consent input { width: 20px; min-height: 20px; margin-top: 3px; flex-shrink: 0; }
.ct-submit-row { margin-top: 4px; }
.ct-submit-row .btn { min-width: 220px; min-height: 52px; font-size: 1rem; }
.ct-notice { background: #FFF1E9; color: var(--dark-navy); border-left: 4px solid var(--orange); padding: 12px 14px; border-radius: 8px; margin: 0 0 18px; font-size: .92rem; }
.ct-form .status-error, .form-status.error { color: #B42318; }
.ct-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-consult-form .form-status.error, #contact-enquiry-form .form-status.error { color: #B42318; }
.ct-page .form-status { min-height: 1.4em; font-size: .95rem; }
.ct-page .form-status:not(.error) { color: #0F6B3C; }

/* Trust */
.ct-trust { max-width: 760px; text-align: center; }
.ct-trust h2 { margin: 0 0 .5em; }
.ct-trust p { color: var(--muted); font-size: 1.05rem; }

/* FAQ */
.ct-faq { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 28px; max-width: 900px; }
.ct-faq details p a { color: var(--navy); font-weight: 600; }

/* Disclaimer */
.ct-disclaimer-wrap { padding: 28px 0 40px; background: var(--white); }
.ct-disclaimer { font-size: .85rem; color: var(--muted); max-width: 900px; margin: 0 auto; text-align: center; }

/* Tablet */
@media (max-width: 1024px) {
  .ct-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-two { grid-template-columns: 1fr; gap: 36px; }
  .ct-intro { max-width: 680px; }
}

/* Mobile */
@media (max-width: 640px) {
  .ct-section { padding: 52px 0; }
  .ct-hero { padding: 48px 0 56px; }
  .ct-hero-actions { flex-direction: column; }
  .ct-hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .ct-grid-4, .ct-grid-3, .ct-grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .ct-dept-list { grid-template-columns: 1fr; }
  .ct-panel { padding: 22px 18px; }
  .ct-form .row { grid-template-columns: 1fr; gap: 16px; }
  .ct-submit-row .btn { width: 100%; min-width: 0; }
  .ct-faq { padding: 4px 16px; }
  .ct-map { height: 200px; }
  .ct-card { padding: 22px 18px; }
  /* Keep the floating WhatsApp and chat buttons small so they do not cover form controls */
  /* Higher specificity: the chat widget injects its own styles at runtime */
  html body #aw-dock { right: 12px; bottom: 12px; gap: 10px; }
  html body #aw-wa-dock { left: 12px; bottom: 12px; }
  html body .aw-fab { width: 48px; height: 48px; }
  html body .aw-fab svg { width: 24px; height: 24px; }
  html body #aw-panel { bottom: 128px; }
  .ct-page { padding-bottom: 84px; }
}

/* ==========================================================================
   ABOUT US PAGE (ab-*) – corporate profile
   Brand: navy #073477, orange #F36B21, white, light grey #F4F6F9.
   ========================================================================== */
.ab-page { overflow-x: hidden; }
.ab-section { padding: 80px 0; }
.ab-section-alt { background: var(--grey); }
.ab-section-navy { background: linear-gradient(145deg, #10243D 0%, #073477 100%); color: #DCE6F5; }
.ab-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.ab-heading h2 { margin: 0 0 .4em; }
.ab-heading-light h2 { color: var(--white); }
.ab-heading-light .eyebrow { color: #FFB68A; }
.ab-muted { color: var(--muted); margin: 0; }
.ab-center { text-align: center; }
.ab-note { font-size: .92rem; color: var(--muted); margin: 32px auto 0; max-width: 820px; }
.ab-two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.ab-prose p { color: var(--muted); font-size: 1.02rem; }
.ab-prose h2 { margin: 0 0 .5em; }
.ab-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.ab-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ab-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

/* Hero */
.ab-hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; padding: 80px 0 90px; }
.ab-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.ab-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(7,52,119,.97) 35%, rgba(7,52,119,.7) 75%, rgba(16,36,61,.85) 100%);
}
.ab-hero-globe { position: absolute; z-index: 1; right: -120px; top: -60px; width: 620px; height: 620px; color: rgba(255,255,255,.12); pointer-events: none; }
.ab-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 48px; align-items: center; }
.ab-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.15; margin: 0 0 14px; }
.ab-hero .eyebrow { color: #FFB68A; }
.ab-hero .crumb, .ab-hero .crumb a { color: #C9D6EA; }
.ab-hero-sub { color: #FFB68A; font-weight: 700; font-size: 1.15rem; margin: 0 0 18px; }
.ab-hero .lead { color: #DCE6F5; max-width: 62ch; }
.ab-hero-p { color: #C9D6EA; max-width: 62ch; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ab-actions .btn { min-height: 48px; }
.ab-hero .btn-outline { border-color: rgba(255,255,255,.7); }
.ab-hero-card {
  background: var(--white); border-radius: 22px; padding: 40px 34px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.ab-logo { width: 100%; max-width: 300px; height: auto; margin: 0 auto; object-fit: contain; }
.ab-slogan { color: var(--navy); font-weight: 800; font-style: italic; font-size: 1.15rem; margin: 22px 0 0; line-height: 1.5; }

/* Who we are */
.ab-figure { margin: 0; }
.ab-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ab-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; font-style: italic; }

/* Cards */
.ab-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 28px; min-width: 0; transition: transform .2s ease, box-shadow .2s ease;
}
.ab-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,36,61,.12); }
.ab-card h3 { color: var(--dark-navy); font-size: 1.1rem; margin: 16px 0 8px; }
.ab-card p { color: var(--muted); margin: 0 0 10px; }
.ab-card-sm { padding: 24px 22px; }
.ab-card-sm h3 { margin: 14px 0 0; font-size: 1rem; }
.ab-vision, .ab-mission { position: relative; overflow: hidden; }
.ab-vision h3, .ab-mission h3 { font-size: 1.25rem; letter-spacing: .04em; color: var(--navy); }
.ab-mission { background: linear-gradient(160deg, #073477 0%, #10243D 100%); border-color: transparent; }
.ab-mission h3 { color: #FFB68A; }
.ab-mission p { color: #DCE6F5; }
.ab-icon {
  width: 56px; height: 56px; border-radius: 16px; background: #FFF1E9; color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ab-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-icon-light { background: rgba(255,255,255,.12); color: #FFB68A; }

/* Services */
.ab-services { gap: 32px; }
.ab-service {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ab-service:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,36,61,.12); }
.ab-service img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.ab-service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; min-width: 0; }
.ab-service-body h3 { color: var(--dark-navy); font-size: 1.15rem; margin: 6px 0 8px; }
.ab-service-body > p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.ab-service-body ul { margin: 0 0 18px; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.ab-service-body ul li { margin-bottom: 4px; }
.ab-service-body .btn { margin-top: auto; align-self: flex-start; min-height: 46px; }
.ab-tag { color: var(--orange); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }

/* Timeline */
.ab-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; position: relative; counter-reset: none; }
.ab-timeline::before { content: ""; position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--orange), var(--navy)); opacity: .35; }
.ab-timeline li { position: relative; text-align: center; padding: 0 6px; }
.ab-step {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--white); position: relative; z-index: 1;
}
.ab-timeline li:nth-child(even) .ab-step { background: var(--orange); }
.ab-timeline h3 { color: var(--dark-navy); font-size: 1rem; margin: 18px 0 8px; }
.ab-timeline p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Destinations */
.ab-dest-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.ab-dest { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 30px; display: flex; flex-direction: column; min-width: 0; }
.ab-dest h3 { color: var(--dark-navy); font-size: 1.2rem; margin: 0 0 8px; }
.ab-dest > p { color: var(--muted); margin: 0 0 18px; }
.ab-chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-chips li { background: var(--grey); color: var(--dark-navy); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .86rem; font-weight: 600; }
.ab-dest .btn { margin-top: auto; align-self: flex-start; min-height: 48px; }

/* Why choose */
.ab-why article { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px 26px; }
.ab-why h3 { color: var(--white); font-size: 1.08rem; margin: 0 0 8px; }
.ab-why p { color: #C9D6EA; margin: 0; font-size: .95rem; }

/* Disclaimer – prominent, light background, navy heading */
.ab-disclaimer { background: #F4F8FD; border-top: 4px solid var(--orange); border-bottom: 1px solid var(--line); padding: 80px 0; }
.ab-disc-head { display: flex; align-items: center; gap: 22px; margin-bottom: 14px; }
.ab-disc-icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ab-disc-icon svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.ab-disc-head h2 { color: var(--navy); margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.ab-disc-intro { color: var(--text); font-size: 1.05rem; max-width: 84ch; margin: 0 0 36px; }
.ab-disc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.ab-disc-item { background: var(--white); border: 1px solid #D5E0EE; border-radius: 12px; padding: 24px 26px; min-width: 0; }
.ab-disc-item h3 { color: var(--navy); font-size: 1.02rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); display: inline-block; }
.ab-disc-item p { color: var(--text); font-size: .93rem; line-height: 1.7; margin: 0 0 10px; }
.ab-disc-item p:last-child { margin-bottom: 0; }
.ab-disc-item a { color: var(--navy); font-weight: 700; }
.ab-disc-cta { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ab-disc-cta .btn { min-height: 50px; }
.ab-disc-cta p { margin: 0; color: var(--muted); }

/* Final CTA */
.ab-cta { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 96px 0; text-align: center; }
.ab-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.ab-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,52,119,.96), rgba(16,36,61,.9)); }
.ab-cta-inner { position: relative; z-index: 2; max-width: 860px; }
.ab-cta .eyebrow { color: #FFB68A; }
.ab-cta h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.25; margin: 0 0 18px; }
.ab-cta p { color: #DCE6F5; font-size: 1.05rem; max-width: 60ch; margin: 0 auto; }
.ab-cta .ab-actions { justify-content: center; }
.ab-cta .btn-outline { border-color: rgba(255,255,255,.7); }

/* Tablet */
@media (max-width: 1024px) {
  .ab-hero-inner { grid-template-columns: 1fr; }
  .ab-hero-card { max-width: 420px; }
  .ab-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ab-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ab-timeline { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 24px; }
  .ab-timeline::before { display: none; }
  .ab-service { grid-template-columns: 1fr; }
  .ab-service img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .ab-dest-grid, .ab-disc-grid { grid-template-columns: 1fr; }
  .ab-two { grid-template-columns: 1fr; gap: 36px; }
}

/* Mobile */
@media (max-width: 640px) {
  .ab-section { padding: 56px 0; }
  .ab-hero { padding: 52px 0 60px; }
  .ab-hero h1 { font-size: 2rem; }
  .ab-hero-card { padding: 28px 22px; }
  .ab-actions { flex-direction: column; }
  .ab-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .ab-grid-2, .ab-grid-3, .ab-grid-4 { grid-template-columns: 1fr; gap: 18px; }
  .ab-timeline { grid-template-columns: 1fr; }
  .ab-card, .ab-dest { padding: 22px 18px; }
  .ab-service-body { padding: 22px 18px; }
  .ab-service-body .btn { width: 100%; align-self: stretch; text-align: center; justify-content: center; }
  .ab-disclaimer { padding: 56px 0; }
  .ab-disc-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ab-disc-item { padding: 20px 18px; }
  .ab-disc-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .ab-cta { padding: 64px 0; }
  .ab-cta .ab-actions .btn { width: 100%; }
  .ab-page { padding-bottom: 84px; }
  .ab-hero-globe { width: 380px; height: 380px; right: -160px; }
}

/* About page photo placements */
.ab-card-img { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; margin: 0 0 18px; }
.ab-banner { margin: 0 0 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ab-banner img { width: 100%; height: 300px; object-fit: cover; object-position: center; }
.ab-banner-short { margin-bottom: 52px; }
.ab-banner-short img { height: 240px; }
@media (max-width: 640px) {
  .ab-banner img, .ab-banner-short img { height: 180px; }
  .ab-card-img { height: 150px; }
}

/* ==========================================================================
   EXAMS & TRAINING PAGE (ex-*)
   Brand: navy #073477, orange #F36B21, white, light grey #F4F6F9.
   ========================================================================== */
.ex-page { overflow-x: hidden; }
.ex-section { padding: 80px 0; }
.ex-section-alt { background: var(--grey); }
.ex-heading { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.ex-heading h2 { margin: 0 0 .4em; }
.ex-heading p { color: var(--muted); }
.ex-small { font-size: .9rem; color: var(--muted); }
.ex-center { text-align: center; }
.ex-notice { background: #FFF1E9; border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 10px; color: var(--dark-navy); max-width: 900px; margin: 0 auto 36px; font-size: .95rem; }
.ex-notice-box { background: #FFF1E9; border-left: 4px solid var(--orange); padding: 12px 14px; border-radius: 8px; margin: 0 0 18px; font-size: .92rem; }

/* Hero */
.ex-hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; padding: 84px 0 92px; }
.ex-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.ex-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(7,52,119,.97) 35%, rgba(7,52,119,.72) 75%, rgba(16,36,61,.85) 100%); }
.ex-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.ex-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; margin: 0 0 18px; }
.ex-hero .eyebrow { color: #FFB68A; }
.ex-hero .crumb, .ex-hero .crumb a { color: #C9D6EA; }
.ex-hero .lead { color: #DCE6F5; max-width: 64ch; }
.ex-delivered { display: flex; gap: 12px; align-items: flex-start; color: #FFFFFF; font-weight: 600; margin: 22px 0 0; max-width: 62ch; }
.ex-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); margin-top: .5em; flex-shrink: 0; }
.ex-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ex-actions .btn, .ex-btn { min-height: 48px; }
.ex-hero .btn-outline { border-color: rgba(255,255,255,.7); }

/* Two-column */
.ex-two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.ex-prose h2 { margin: 0 0 .5em; }
.ex-prose p { color: var(--muted); }
.ex-figure { margin: 0; }
.ex-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ex-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; font-style: italic; }

/* Programme cards */
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.ex-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ex-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .2s ease, box-shadow .2s ease;
}
.ex-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,36,61,.12); }
.ex-card-img { width: 100%; height: 170px; object-fit: cover; }
.ex-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ex-card-body h3 { color: var(--dark-navy); font-size: 1.15rem; margin: 6px 0 8px; }
.ex-card-body > p { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.ex-tag { color: var(--orange); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.ex-meta { margin: 0 0 20px; }
.ex-meta dt { font-weight: 700; color: var(--dark-navy); font-size: .85rem; margin-top: 10px; }
.ex-meta dd { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.ex-btn { margin-top: auto; align-self: flex-start; }
.ex-btn-wide { width: 100%; min-height: 50px; justify-content: center; text-align: center; }

/* Benefit cards */
.ex-benefit { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; min-width: 0; }
.ex-benefit h3 { color: var(--dark-navy); font-size: 1.05rem; margin: 14px 0 6px; }
.ex-benefit p { color: var(--muted); margin: 0; font-size: .95rem; }
.ex-icon { width: 54px; height: 54px; border-radius: 15px; background: #FFF1E9; color: var(--orange); display: inline-flex; align-items: center; justify-content: center; }
.ex-icon svg { width: 27px; height: 27px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ex-icon-light { background: rgba(255,255,255,.12); color: #FFB68A; }

/* Why choose */
.ex-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ex-checks li { position: relative; padding: 16px 18px 16px 46px; background: var(--grey); border-radius: 12px; color: var(--dark-navy); font-size: .98rem; }
.ex-checks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--orange); }
.ex-checks strong { font-weight: 600; }

/* Timeline */
.ex-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; position: relative; }
.ex-timeline::before { content: ""; position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--orange), var(--navy)); opacity: .35; }
.ex-timeline li { position: relative; text-align: center; padding: 0 6px; }
.ex-step { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--grey); position: relative; z-index: 1; }
.ex-timeline li:nth-child(even) .ex-step { background: var(--orange); }
.ex-timeline h3 { color: var(--dark-navy); font-size: 1rem; margin: 18px 0 8px; }
.ex-timeline p { color: var(--muted); font-size: .9rem; margin: 0; }

/* FAQ */
.ex-faq { max-width: 900px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 28px; margin: 0 auto; }
.ex-faq details p a { color: var(--navy); font-weight: 600; }

/* Enquiry form */
.ex-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 30px; min-width: 0; }
.ex-form { display: grid; gap: 18px; }
.ex-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ex-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ex-field > label:not(.ex-consent) { display: block; font-weight: 600; color: var(--dark-navy); font-size: .92rem; }
.ex-form input, .ex-form select, .ex-form textarea {
  width: 100%; min-height: 48px; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--text);
}
.ex-form textarea { min-height: 130px; resize: vertical; }
.ex-form input:focus, .ex-form select:focus, .ex-form textarea:focus { outline: 3px solid rgba(243,107,33,.35); border-color: var(--orange); }
.ex-form input[aria-invalid="true"], .ex-form select[aria-invalid="true"], .ex-form textarea[aria-invalid="true"] { border-color: #C0392B; background: #FFF7F6; }
.req { color: var(--orange); font-weight: 700; }
.ex-error { color: #B42318; font-size: .85rem; font-weight: 600; margin: 0; }
.ex-error:empty { display: none; }
.ex-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); font-size: .92rem; }
.ex-consent input { width: 20px; min-height: 20px; margin-top: 3px; flex-shrink: 0; }
.ex-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ex-page .form-status { min-height: 1.4em; font-size: .95rem; color: #0F6B3C; font-weight: 600; }
.ex-page .form-status.error { color: #B42318; }

/* Contact CTA */
.ex-cta { background: linear-gradient(145deg, #10243D 0%, #073477 100%); color: #DCE6F5; padding: 84px 0; }
.ex-cta-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.ex-cta-head h2 { color: var(--white); margin: 0 0 .4em; }
.ex-cta-head .eyebrow { color: #FFB68A; }
.ex-cta-head p { color: #C9D6EA; }
.ex-cta-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ex-cta-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; min-width: 0; }
.ex-cta-card h3 { color: var(--white); font-size: 1.1rem; margin: 16px 0 6px; }
.ex-cta-detail { color: #FFB68A; font-weight: 700; overflow-wrap: anywhere; margin: 0 0 20px; }
.ex-cta-card .btn-primary { margin-top: auto; }

/* Relationship note */
.ex-relation { background: var(--white); border-top: 4px solid var(--orange); padding: 64px 0; }
.ex-relation h2 { color: var(--navy); font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 14px; }
.ex-relation p { color: var(--text); max-width: 86ch; margin: 0 0 12px; }
.ex-relation .ex-small { color: var(--muted); }

/* Tablet */
@media (max-width: 1024px) {
  .ex-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ex-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ex-timeline { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 24px; }
  .ex-timeline::before { display: none; }
  .ex-cta-grid { grid-template-columns: 1fr; }
  .ex-two { grid-template-columns: 1fr; gap: 36px; }
}

/* Mobile */
@media (max-width: 640px) {
  .ex-section { padding: 56px 0; }
  .ex-hero { padding: 52px 0 60px; }
  .ex-hero h1 { font-size: 2rem; }
  .ex-actions { flex-direction: column; }
  .ex-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .ex-grid, .ex-grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .ex-timeline { grid-template-columns: 1fr; }
  .ex-card-body { padding: 20px 18px 22px; }
  .ex-btn { width: 100%; align-self: stretch; text-align: center; justify-content: center; }
  .ex-row { grid-template-columns: 1fr; gap: 16px; }
  .ex-panel { padding: 22px 18px; }
  .ex-faq { padding: 4px 16px; }
  .ex-cta-grid { grid-template-columns: 1fr; }
  .ex-cta { padding: 60px 0; }
  .ex-page { padding-bottom: 84px; }
  html body #aw-dock { right: 12px; bottom: 12px; }
}

/* AIPS compact two-block footer */
.site-footer {padding:28px 0 14px !important;}
.site-footer .footer-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:28px;align-items:start;}
.footer-block {min-width:0;}
.footer-brand-contact {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;}
.footer-brand-contact .footer-brand-block {margin:0;}
.footer-brand-contact .footer-contact {padding-top:8px;border-top:1px solid rgba(255,255,255,.16);}
.footer-brand-contact .footer-contact h4 {margin:4px 0 10px;}
.footer-brand-contact .footer-contact .footer-contact-label {margin:8px 0 2px;}
.footer-brand-contact .footer-contact p,.footer-brand-contact .footer-contact > a {margin:2px 0;}
.footer-brand-contact .footer-contact .footer-hours {margin-top:9px;padding-top:8px;}
.footer-navigation {display:block;}
.footer-navigation .footer-nav-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.footer-navigation .footer-col h4 {margin:4px 0 10px;}
.footer-navigation .footer-col ul {gap:6px;}
.footer-legal-row {margin-top:18px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);}
.footer-legal-row h4 {margin:0 0 8px;font-size:.82rem;}
.footer-legal-row .footer-policy-links {display:flex;flex-wrap:wrap;gap:6px 14px;}
.footer-legal-row .footer-policy-links li {font-size:.76rem;}
.footer-legal-row .footer-policy-links a {font-size:.76rem;}
.footer-bottom {margin-top:14px;padding-top:10px;gap:8px;font-size:.73rem;}
@media(max-width:760px){.site-footer .footer-grid{grid-template-columns:1fr;gap:18px}.footer-navigation .footer-nav-columns{gap:14px}.site-footer{padding:22px 0 12px !important;}}
@media(max-width:440px){.footer-navigation .footer-nav-columns{grid-template-columns:1fr 1fr;gap:10px}.footer-navigation .footer-col li,.footer-navigation .footer-col a{font-size:.78rem}.footer-logo img{height:48px}.footer-legal-row .footer-policy-links{gap:5px 10px;}}
/* Visit disclaimer dialog */
.aips-disclaimer-overlay{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(7,20,38,.78);backdrop-filter:blur(5px);}
.aips-disclaimer-overlay.is-visible{display:flex;}
.aips-disclaimer-dialog{position:relative;width:min(620px,100%);max-height:min(88vh,760px);overflow:auto;background:#fff;color:#24364b;border-radius:20px;padding:clamp(22px,4vw,36px);box-shadow:0 25px 70px rgba(0,0,0,.3);}
.aips-disclaimer-dialog h2{margin:0 0 12px;color:#073477;font-size:clamp(1.5rem,4vw,2rem);}
.aips-disclaimer-dialog p{font-size:.96rem;line-height:1.65;margin:0 0 12px;}
.aips-disclaimer-dialog a{color:#073477;font-weight:700;text-decoration:underline;}
.aips-disclaimer-mark{display:inline-flex;background:#f36b21;color:#fff;font-weight:900;letter-spacing:.08em;padding:6px 11px;border-radius:8px;margin-bottom:12px;}
.aips-disclaimer-eyebrow{font-size:.75rem!important;font-weight:800;letter-spacing:.12em;color:#f36b21;margin-bottom:5px!important;}
.aips-disclaimer-accept{display:block;width:100%;margin-top:18px;border:0;border-radius:10px;background:#073477;color:#fff;font-weight:800;padding:14px 18px;font-size:1rem;cursor:pointer;}
.aips-disclaimer-accept:hover{background:#0b4b95;}
.aips-modal-open{overflow:hidden;}
.aips-install-banner{position:fixed;z-index:9998;left:12px;right:12px;bottom:84px;display:flex;align-items:center;gap:12px;background:#10243d;color:#fff;padding:12px 14px;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.22);}
.aips-install-banner[hidden]{display:none!important;}
.aips-install-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;}
.aips-install-copy strong{font-size:.95rem;}
.aips-install-copy span{font-size:.78rem;color:#d4deeb;line-height:1.35;}
#aips-install-button{border:0;border-radius:8px;padding:10px 12px;background:#f36b21;color:#fff;font-weight:750;white-space:nowrap;cursor:pointer;}
#aips-install-dismiss{border:0;background:transparent;color:#fff;font-size:1.5rem;line-height:1;padding:2px 4px;cursor:pointer;}
@media(max-width:420px){.aips-install-banner{gap:8px;padding:10px}.aips-install-copy span{font-size:.72rem}#aips-install-button{font-size:.82rem;padding:9px 10px;}}

/* Exams & training redesign: purpose-led exam directories */
.ex-purpose-panel{border:1px solid var(--line);border-radius:22px;background:#fff;padding:clamp(18px,3vw,30px);margin:0 0 28px;box-shadow:var(--shadow);}
.ex-admissions-panel{border-top:5px solid #073477;} .ex-immigration-panel{border-top:5px solid #f36b21;}
.ex-purpose-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:22px;}
.ex-purpose-heading h3{font-size:clamp(1.25rem,2.5vw,1.65rem);color:var(--dark-navy);margin:2px 0 8px;}
.ex-purpose-heading p:not(.ex-tag){color:var(--muted);margin:0;max-width:72ch;}
.ex-purpose-icon{display:flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;border-radius:15px;background:#eaf1fb;font-size:1.45rem;}
.ex-exam-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;box-shadow:0 6px 20px rgba(16,36,61,.06);}
.ex-exam-card h3{color:var(--dark-navy);margin:7px 0 10px;font-size:1.15rem;} .ex-exam-card p{color:var(--muted);font-size:.94rem;line-height:1.6;margin:0 0 12px;}
.ex-exam-label{font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;font-weight:800;color:#f36b21;}
.ex-exam-note{background:#f4f6f9;border-left:3px solid #f36b21;border-radius:8px;padding:10px 12px;font-size:.84rem!important;color:#35465b!important;}
.ex-exam-card .ex-btn{margin-top:auto;align-self:flex-start;} .ex-fees-callout{border-radius:18px;background:#102b49;color:#fff;padding:clamp(20px,3vw,30px);margin-top:30px;}
.ex-fees-callout h3{color:#fff;margin:0 0 10px;font-size:1.25rem;} .ex-fees-callout p{color:#d7e2ef;line-height:1.65;}
.ex-fees-callout .btn-outline{border-color:#fff;color:#fff;} .ex-contact-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;} .ex-contact-line{margin-bottom:0!important;font-size:.92rem;} .ex-contact-line a{color:#fff;text-decoration:underline;}
@media(max-width:760px){.ex-purpose-heading{gap:12px}.ex-purpose-panel{padding:16px}.ex-grid-3{grid-template-columns:1fr!important;}.ex-exam-card{padding:18px}.ex-contact-buttons{flex-direction:column;align-items:stretch}.ex-contact-buttons .btn{justify-content:center;}}

/* Compact wrapper for single notice boxes */
.tight-section { padding: 0 0 28px; }


/* AIPS partnership pages */
.partnership-hero .hero-bg { object-position: center 38%; }
.partnership-intro { align-items: center; }
.partnership-promise { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px,4vw,36px); box-shadow: var(--shadow); }
.partnership-promise-icon { width: 48px; height: 48px; display:grid; place-items:center; border-radius:14px; color:var(--orange); background:#FFF0E7; font-size:1.6rem; margin-bottom:16px; }
.partnership-promise h3 { font-size:1.3rem; }
.partnership-cards .card { padding: clamp(22px,3vw,32px); }
.partnership-card-mark { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:#FFF0E7; color:#B94C12; font-weight:800; margin-bottom:14px; }
.partnership-card h3 { font-size:1.35rem; }
.text-link { display:inline-block; margin-top:12px; color:var(--navy); font-weight:700; text-decoration:none; }
.text-link:hover { color:#B94C12; text-decoration:underline; }
.partnership-steps .step-card { background:var(--white); border:1px solid var(--line); border-radius:14px; padding:22px; }
.partnership-steps .step-card > span { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--navy); color:white; font-weight:800; margin-bottom:14px; }
.partnership-steps h3 { font-size:1.05rem; }
.partnership-form-hero { padding:54px 0 48px; }
.partnership-form-hero h1 { max-width: none; }
.hero-back-link { color:#fff; font-weight:600; text-decoration:none; }
.hero-back-link:hover { text-decoration:underline; }
.partnership-form-wrap { display:grid; grid-template-columns:minmax(220px,.72fr) minmax(0,1.65fr); gap:28px; align-items:start; }
.partnership-form-aside { position:sticky; top:24px; padding:12px 4px; }
.partnership-form-aside h2 { font-size:clamp(1.45rem,2.5vw,2rem); }
.aside-note { margin:22px 0; padding:18px; background:var(--white); border:1px solid var(--line); border-radius:14px; }
.aside-note ul { margin-bottom:0; padding-left:1.2rem; }
.partnership-form { padding:clamp(18px,3vw,32px); }
.partnership-form .form-section { margin-bottom:30px; }
.partnership-form .form-section legend h2 { font-size:1.18rem; }
.partnership-form label { display:flex; flex-direction:column; gap:7px; font-size:.92rem; font-weight:600; color:var(--dark-navy); }
.partnership-form input:not([type=checkbox]), .partnership-form textarea { width:100%; min-height:48px; padding:11px 12px; border:1px solid #C8D1DE; border-radius:10px; background:#fff; color:var(--text); font:inherit; }
.partnership-form textarea { min-height:100px; resize:vertical; }
.partnership-form input[type=file] { min-height:auto; padding:10px; background:var(--grey); font-size:.84rem; }
.partnership-form .form-span { grid-column:1/-1; }
.partnership-type-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.partnership-type-option { display:flex!important; flex-direction:row!important; align-items:flex-start; gap:12px!important; border:1px solid var(--line); border-radius:12px; padding:16px; background:#fff; cursor:pointer; }
.partnership-type-option:has(input:checked) { border-color:var(--orange); background:#FFF8F3; }
.partnership-type-option input { width:20px; height:20px; margin-top:2px; accent-color:var(--navy); flex:0 0 auto; }
.partnership-type-option span { display:grid; gap:4px; }
.partnership-type-option small { color:var(--muted); font-weight:400; line-height:1.5; }
.partnership-form .form-actions { margin-top:24px; }
.partnership-form .form-actions .btn[disabled] { opacity:.65; cursor:not-allowed; }
.notice-warning { border-left:4px solid var(--orange); }
@media(max-width:850px) { .partnership-form-wrap { grid-template-columns:1fr; } .partnership-form-aside { position:static; } }
@media(max-width:560px) { .partnership-type-options { grid-template-columns:1fr; } .partnership-form { padding:18px 14px; } }

/* Navigation refresh: clear hierarchy, complete page directory and accessible dropdowns */
.main-nav { gap: 3px; }
.main-nav > a, .main-nav > details > summary { font-size: .82rem; }
.main-nav .nav-group { position: relative; }
.main-nav .nav-group > summary { list-style: none; cursor: pointer; color: var(--dark-navy); font-size: .82rem; font-weight: 600; padding: 9px 8px; border-radius: 8px; white-space: nowrap; }
.main-nav .nav-group > summary::-webkit-details-marker { display: none; }
.main-nav .nav-group > summary::after { content: '⌄'; margin-left: 6px; color: var(--orange); }
.main-nav .nav-group[open] > summary, .main-nav .nav-group > summary:hover { background: var(--grey); color: var(--navy); }
.main-nav .nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 245px; max-height: min(70vh, 560px); overflow: auto; padding: 9px; display: grid; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 45px rgba(16,36,61,.16); z-index: 100; }
.main-nav .nav-dropdown a { display: block; padding: 9px 11px; white-space: normal; border-radius: 8px; font-size: .86rem; }
.main-nav .nav-dropdown a:hover { background: #fff2e9; color: var(--navy); }
.main-nav .nav-dropdown-all { min-width: 285px; max-width: 360px; grid-template-columns: 1fr 1fr; }
.main-nav .nav-dropdown-all a { font-size: .76rem; }
@media (min-width: 1381px) {
 .main-nav .nav-all-pages .nav-dropdown { right: 0; left: auto; }
}
@media (max-width: 1380px) {
 .main-nav { gap: 0; max-height: calc(100vh - 84px); overflow-y: auto; }
 .main-nav .nav-group { width: 100%; }
 .main-nav .nav-group > summary { padding: 12px 10px; font-size: .9rem; }
 .main-nav .nav-dropdown, .main-nav .nav-dropdown-all { position: static; min-width: 0; max-width: none; max-height: 320px; box-shadow: none; border: 0; border-left: 2px solid var(--orange); border-radius: 0; margin: 0 0 8px 10px; padding: 4px 8px; grid-template-columns: 1fr 1fr; }
 .main-nav .nav-dropdown a { font-size: .84rem; }
}
/* Subtle motion system: refined entrances and interactive feedback */
@keyframes aips-rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aips-soft-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes aips-glow { 0%,100% { box-shadow: 0 12px 34px rgba(7,52,119,.10); } 50% { box-shadow: 0 18px 42px rgba(243,107,33,.17); } }
.hero .container, .ab-hero-inner { animation: aips-rise-in .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-bg, .ab-hero-bg { animation: aips-soft-float 12s ease-in-out infinite; }
.card, .ab-card, .ab-dest, .ab-service { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card:hover, .ab-card:hover, .ab-dest:hover, .ab-service:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(16,36,61,.13); }
.grid > :nth-child(2), .ab-grid-2 > :nth-child(2), .ab-grid-3 > :nth-child(2) { animation-delay: .08s; }
.grid > :nth-child(3), .ab-grid-3 > :nth-child(3) { animation-delay: .16s; }
.ab-hero-card { animation: aips-glow 8s ease-in-out infinite; }
.btn, .main-nav a, .main-nav summary { transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(7,52,119,.14); }
:focus-visible { outline: 3px solid rgba(243,107,33,.72); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* About Us page visual refresh */
.ab-page { overflow: hidden; }
.ab-hero { position: relative; isolation: isolate; }
.ab-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(5,29,66,.93) 0%, rgba(7,52,119,.82) 52%, rgba(7,52,119,.28) 100%); z-index: -1; }
.ab-hero-inner { gap: clamp(32px,6vw,88px); }
.ab-hero-text h1 { max-width: 13ch; line-height: 1.04; text-wrap: balance; }
.ab-hero-sub { font-size: clamp(1.15rem,2vw,1.55rem); font-weight: 700; max-width: 34ch; }
.ab-hero-card { border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(14px); }
.ab-section { position: relative; }
.ab-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.ab-heading h2 { text-wrap: balance; }
.ab-card { border: 1px solid rgba(7,52,119,.08); border-radius: 22px; overflow: hidden; }
.ab-card-img { height: 190px; object-fit: cover; }
.ab-figure { border-radius: 24px; overflow: hidden; box-shadow: 0 22px 55px rgba(16,36,61,.16); }
.ab-figure img { width: 100%; min-height: 330px; object-fit: cover; }
.ab-figure figcaption { padding: 13px 18px; background: #fff; color: var(--muted); font-size: .9rem; }
.ab-cta { position: relative; isolation: isolate; }
.ab-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,29,66,.94),rgba(7,52,119,.78)); z-index: -1; }

/* AIPS service notice — consistent, accessible presentation across every page */
.aips-disclaimer-overlay {
  padding: 22px;
  background: radial-gradient(circle at 15% 10%, rgba(243,107,33,.22), transparent 34%), rgba(3,18,39,.82);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.aips-disclaimer-dialog {
  width: min(680px, 100%);
  max-height: min(88dvh, 790px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 26px;
  background: linear-gradient(145deg,#fff 0%,#f7faff 100%);
  box-shadow: 0 32px 100px rgba(0,12,32,.42);
  animation: aips-notice-enter .42s cubic-bezier(.2,.75,.25,1) both;
}
.aips-disclaimer-dialog::before {
  content: '';
  display: block;
  width: 64px;
  height: 5px;
  margin: -26px 0 25px;
  border-radius: 20px;
  background: linear-gradient(90deg,#f36b21,#ffb15d);
}
.aips-disclaimer-mark {
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff0e7;
  color: #b84a0b;
  font-size: .76rem;
  letter-spacing: .12em;
}
.aips-disclaimer-eyebrow { margin-top: 8px!important; color: #d65a13!important; }
.aips-disclaimer-dialog h2 {
  margin-bottom: 16px;
  color: #082f68;
  font-size: clamp(1.65rem,4vw,2.25rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.aips-disclaimer-dialog p:not(.aips-disclaimer-eyebrow) {
  color: #46566b;
  font-size: .98rem;
  line-height: 1.75;
}
.aips-disclaimer-dialog a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: #0b4b95;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.aips-disclaimer-accept {
  min-height: 54px;
  margin-top: 24px;
  border-radius: 13px;
  background: linear-gradient(110deg,#073477,#0d58a5);
  box-shadow: 0 10px 24px rgba(7,52,119,.2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.aips-disclaimer-accept:hover { background: linear-gradient(110deg,#073477,#0d58a5); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7,52,119,.28); filter: brightness(1.08); }
@keyframes aips-notice-enter { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 560px) {
  .aips-disclaimer-overlay { padding: 12px; }
  .aips-disclaimer-dialog { padding: 25px 21px; border-radius: 20px; max-height: 91dvh; }
  .aips-disclaimer-dialog::before { margin-top: -8px; }
}

/* About Us: display complete source photographs rather than cropping them */
.ab-page .ab-figure img,
.ab-page .ab-card-img,
.ab-page .ab-banner img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
}
.ab-page .ab-figure { height: auto; overflow: visible; background: #f5f8fc; }
.ab-page .ab-card { height: auto; }
.ab-page .ab-banner { height: auto; background: #f5f8fc; }
.ab-page .ab-hero-bg,
.ab-page .ab-cta-bg {
  object-fit: contain !important;
  object-position: center center;
}
@media (max-width: 700px) {
  .ab-page .ab-figure img,
  .ab-page .ab-card-img,
  .ab-page .ab-banner img { height: auto !important; }
}


/* AIPS 2026 visual refresh: stronger navigation, unmistakable service notice, full images */
.site-header{background:linear-gradient(110deg,#fff 0%,#f7faff 65%,#fff7ef 100%);border-bottom:1px solid #dbe5f1;box-shadow:0 9px 28px rgba(7,35,75,.11)}
.header-inner{min-height:94px;gap:18px}
.brand img{height:66px;filter:drop-shadow(0 5px 8px rgba(7,52,119,.12))}
.main-nav{gap:5px}
.main-nav a,.main-nav summary{font-size:.86rem;font-weight:650;transition:background .2s,color .2s,transform .2s}
.main-nav a:hover,.main-nav summary:hover{background:#eaf1fb;color:#073477;transform:translateY(-1px)}
.main-nav .nav-apply{box-shadow:0 7px 16px rgba(243,107,33,.25);padding:11px 17px}
.site-search{display:flex;align-items:center;gap:6px;flex:0 1 190px;min-width:130px}
.site-search input{width:100%;min-width:0;border:1px solid #cfdaea;border-radius:999px;padding:10px 13px;font:inherit;font-size:.82rem;background:#fff;outline:none}
.site-search input:focus{border-color:#0b4b95;box-shadow:0 0 0 3px rgba(11,75,149,.12)}
.site-search button{border:0;border-radius:50%;width:38px;height:38px;background:#073477;color:#fff;font-size:1rem;cursor:pointer}
@media(max-width:1380px){.header-inner{flex-wrap:wrap}.site-search{order:3;flex:1 1 100%;padding:0 0 12px}.main-nav{top:100%}}
/* Notice redesign — deliberately distinct from the old plain disclaimer panel */
.aips-disclaimer-overlay{background:radial-gradient(ellipse at 12% 8%,rgba(243,107,33,.35),transparent 35%),radial-gradient(ellipse at 90% 90%,rgba(19,91,164,.32),transparent 38%),rgba(2,15,36,.9)!important;backdrop-filter:blur(12px)!important}
.aips-disclaimer-dialog{width:min(720px,100%)!important;border:1px solid rgba(255,255,255,.85)!important;border-radius:30px!important;background:linear-gradient(145deg,#fff 0%,#f2f7ff 72%,#fff7ef 100%)!important;box-shadow:0 36px 110px rgba(0,0,0,.48)!important;padding:clamp(28px,5vw,52px)!important}
.aips-disclaimer-mark{display:inline-flex!important;background:#073477!important;color:#fff!important;font-weight:900!important;letter-spacing:.16em!important;padding:10px 17px!important;box-shadow:0 8px 20px rgba(7,52,119,.2)}
.aips-disclaimer-eyebrow{font-weight:900!important;letter-spacing:.18em!important;font-size:.72rem!important;text-transform:uppercase;color:#c65313!important}
.aips-disclaimer-dialog h2{font-size:clamp(2rem,5vw,2.8rem)!important;color:#062b60!important;line-height:1.08!important}
.aips-disclaimer-dialog p:not(.aips-disclaimer-eyebrow){font-size:1rem!important;line-height:1.8!important;color:#33465f!important}
.aips-disclaimer-dialog a{display:inline-flex!important;background:#eaf1fb;padding:10px 14px;border-radius:10px;text-decoration:none!important;font-weight:800!important}
.aips-disclaimer-accept{width:100%;min-height:58px!important;border-radius:14px!important;background:linear-gradient(100deg,#f36b21,#ff9d43)!important;color:#17243a!important;font-weight:900!important;font-size:1rem!important;box-shadow:0 12px 25px rgba(243,107,33,.27)!important}
.disclaimer-strip{background:linear-gradient(105deg,#062b60,#0b4b95)!important;color:#f3f7ff!important;padding:24px 0!important;border:0!important;border-left:5px solid #f39a32!important;font-size:.92rem!important;line-height:1.75!important}
.disclaimer-strip strong{color:#ffc17d!important;text-transform:uppercase;letter-spacing:.05em}
.disclaimer-strip a{color:#fff!important;font-weight:800;text-underline-offset:4px}
/* About Us service cards: preserve the entire source photograph, never crop */
.ab-page .ab-service{height:auto!important;overflow:hidden!important;align-self:stretch}
.ab-page .ab-service img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;background:#f3f6fb}
.ab-page .ab-service-body{height:100%}
/* Shared footer email updates form */
.aips-newsletter{margin:28px auto 0;padding:24px;border-radius:18px;background:linear-gradient(120deg,#082f68,#0b4b95);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.aips-newsletter h2{font-size:1.2rem;margin:0 0 5px;color:#fff}.aips-newsletter p{margin:0;color:#dce8f8;font-size:.9rem}
.aips-newsletter form{display:flex;gap:8px;flex:1 1 320px;max-width:480px}
.aips-newsletter input{min-width:0;flex:1;border:1px solid #d8e3f1;border-radius:9px;padding:12px 13px;font:inherit}
.aips-newsletter button{border:0;border-radius:9px;padding:12px 17px;background:#f39a32;color:#17243a;font-weight:850;cursor:pointer}

/* Follow-up refinements: header/search separation, compact newsletter, and contact page */
.site-header{background:#fdfdff!important}
.header-inner{background:transparent!important}
.brand{display:inline-flex;align-items:center;justify-content:center;background:#fdfdff;border-radius:10px;padding:3px 7px}
.brand img{display:block;background:#fdfdff;border-radius:6px;filter:none!important}
.search-strip{background:#f4f7fc;border-bottom:1px solid #e0e7f1;padding:9px 0;position:relative;z-index:20}
.search-strip .container{display:flex;justify-content:flex-end}
.search-strip .site-search{display:flex;align-items:center;gap:7px;flex:0 1 390px;min-width:0;padding:0!important;margin:0}
.search-strip .site-search input{height:40px;padding:8px 15px;font-size:.88rem}
.search-strip .site-search button{flex:0 0 40px;width:40px;height:40px;border-radius:11px;font-size:1.15rem;line-height:1}
@media(max-width:700px){.search-strip .container{justify-content:stretch}.search-strip .site-search{flex:1 1 100%;max-width:none}}
.aips-newsletter{width:min(100% - 32px,1120px);margin:22px auto 0;padding:17px 20px;border-radius:14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);align-items:center;gap:14px}
.aips-newsletter h2{font-size:1.05rem;line-height:1.25;margin:0 0 3px}.aips-newsletter p{font-size:.82rem;line-height:1.45}
.aips-newsletter form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:7px;width:100%;min-width:0;max-width:none;flex:none}
.aips-newsletter input{width:100%;min-width:0;height:42px;padding:9px 11px;font-size:.86rem}
.aips-newsletter button{min-width:102px;max-width:100%;height:42px;padding:8px 13px;white-space:nowrap;font-size:.86rem}
@media(max-width:640px){.aips-newsletter{grid-template-columns:1fr;padding:16px}.aips-newsletter form{grid-template-columns:minmax(0,1fr) auto}.aips-newsletter button{min-width:94px;padding-inline:10px}}
/* Contact page refresh */
.ct-page .ct-section{padding:58px 0}
.ct-page .ct-hero{min-height:410px;display:flex;align-items:center}
.ct-page .ct-hero-inner{max-width:1180px}
.ct-page .ct-hero h1{max-width:850px;font-size:clamp(2.15rem,4.6vw,3.6rem);line-height:1.08;letter-spacing:-.035em}
.ct-page .ct-hero .lead{max-width:700px;font-size:1.08rem;line-height:1.75}
.ct-page .ct-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.ct-page .ct-heading{max-width:760px;margin:0 auto 28px;text-align:center}
.ct-page .ct-heading h2{font-size:clamp(1.6rem,3vw,2.25rem)}
.ct-page .ct-grid{gap:18px}
.ct-page .ct-card{border:1px solid #e1e8f2;border-radius:18px;padding:24px;background:#fff;box-shadow:0 10px 30px rgba(13,42,82,.06);transition:transform .2s,box-shadow .2s}
.ct-page .ct-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(13,42,82,.1)}
.ct-page .ct-card h3{margin:10px 0 8px}
.ct-page .ct-dept{max-width:900px;margin:28px auto 0;padding:22px 26px;border:1px solid #e1e8f2;border-radius:16px;background:#f8faff}
.ct-page .ct-two{gap:34px;align-items:start}
.ct-page .ct-intro{position:sticky;top:130px}
.ct-page .ct-panel{border:1px solid #e1e8f2;border-radius:20px;padding:clamp(20px,3vw,32px);box-shadow:0 16px 42px rgba(13,42,82,.08);background:#fff}
.ct-page .ct-form{gap:16px}
.ct-page .ct-form input:not([type=checkbox]),.ct-page .ct-form select,.ct-page .ct-form textarea{border:1px solid #d7e0ed;border-radius:10px;min-height:46px;padding:11px 13px;width:100%;max-width:100%;font:inherit}
.ct-page .ct-form textarea{min-height:130px;resize:vertical}
.ct-page .ct-form input:focus,.ct-page .ct-form select:focus,.ct-page .ct-form textarea:focus{outline:0;border-color:#0b4b95;box-shadow:0 0 0 3px rgba(11,75,149,.12)}
.ct-page .ct-submit-row .btn{min-width:180px}
.ct-page .ct-office .ct-map{border:0;border-radius:12px;width:100%;height:220px}
.ct-page .ct-trust{max-width:900px;padding:28px;border-radius:18px;background:#f5f8fd;border:1px solid #e1e8f2}
@media(max-width:800px){.ct-page .ct-intro{position:static}.ct-page .ct-two{grid-template-columns:1fr}.ct-page .ct-hero{min-height:0}.ct-page .ct-section{padding:44px 0}}


/* Header brand description: make the organisation name and descriptor legible */
.header-inner .brand{display:flex;align-items:center;gap:12px;flex:0 0 auto;max-width:420px;padding:5px 10px;background:#fff;border:1px solid #e3eaf4;border-radius:12px;box-shadow:0 3px 12px rgba(7,52,119,.07);text-decoration:none;min-width:0}
.header-inner .brand img{height:78px;width:auto;max-width:145px;object-fit:contain;flex:0 0 auto}
.brand-copy{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;color:#073477;line-height:1.2}
.brand-copy strong{font-size:1.12rem;font-weight:900;letter-spacing:.11em;color:#073477}
.brand-copy span{font-size:.76rem;font-weight:850;letter-spacing:.025em;color:#102d55;line-height:1.3}
.brand-copy em{font-size:.68rem;font-style:normal;font-weight:750;color:#d65b16;line-height:1.25;margin-top:2px}
@media(max-width:1100px){.header-inner .brand{max-width:100%;}.header-inner .brand img{height:68px;max-width:125px}.brand-copy span{font-size:.72rem}}
@media(max-width:520px){.header-inner .brand{gap:8px;padding:4px 6px}.header-inner .brand img{height:58px;max-width:100px}.brand-copy strong{font-size:.98rem}.brand-copy span{font-size:.65rem}.brand-copy em{font-size:.59rem}.brand-break{display:none}}


/* AIPS navigation, logo and interaction refinement – November 2026 */
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:clamp(10px,1.3vw,22px);flex-wrap:nowrap}
.header-inner .brand{flex:0 0 auto;max-width:none;padding:2px 5px;background:transparent;border:0;box-shadow:none;border-radius:0}
.header-inner .brand img{height:104px;width:auto;max-width:210px;object-fit:contain;display:block}
.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(2px,.35vw,7px);min-width:0}
.main-nav>a,.nav-group>summary{transition:color .25s ease,background .25s ease,transform .25s ease,box-shadow .25s ease;position:relative}
.main-nav>a:not(.nav-apply)::after,.nav-group>summary::before{content:"";position:absolute;left:12px;right:12px;bottom:5px;height:2px;background:#f36b21;transform:scaleX(0);transform-origin:left;transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.main-nav>a:hover,.nav-group>summary:hover{transform:translateY(-2px)}
.main-nav>a:hover::after,.nav-group>summary:hover::before,.nav-group[open]>summary::before{transform:scaleX(1)}
.nav-dropdown{opacity:0;transform:translateY(9px);transform-origin:top;transition:opacity .22s ease,transform .22s ease;animation:navDropIn .24s ease both}
.nav-group[open]>.nav-dropdown{opacity:1;transform:translateY(0)}
.nav-dropdown a{transition:background .2s ease,color .2s ease,padding-left .2s ease}
.nav-dropdown a:hover{padding-left:17px}
@keyframes navDropIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.footer-icons{display:flex;gap:10px;flex-wrap:wrap}
.footer-icons a{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;transition:transform .22s ease,background .22s ease,box-shadow .22s ease}
.footer-icons a:hover{background:#f36b21;color:#fff;transform:translateY(-4px) scale(1.05);box-shadow:0 7px 18px rgba(0,0,0,.18)}
.footer-icons svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.inline-contact-icon{display:inline-block;width:17px;height:17px;vertical-align:-3px;margin-right:8px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-footer a[href^="mailto:"],.site-footer a[href^="tel:"]{display:inline-flex;align-items:center;gap:3px;overflow-wrap:anywhere}
main>section{animation:pageSectionEnter .65s ease both}
main>section:nth-of-type(2){animation-delay:.06s}main>section:nth-of-type(3){animation-delay:.11s}main>section:nth-of-type(4){animation-delay:.16s}
a,button{ -webkit-tap-highlight-color:transparent }
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid rgba(243,107,33,.55);outline-offset:3px}
@keyframes pageSectionEnter{from{opacity:.0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1380px){.header-inner{flex-wrap:nowrap}.header-inner .brand img{height:88px;max-width:175px}.main-nav{display:none}.nav-toggle{display:inline-flex;margin-left:auto}}
@media(max-width:520px){.header-inner{min-height:78px;gap:8px}.header-inner .brand{padding:0}.header-inner .brand img{height:76px;max-width:150px}.nav-toggle{padding:9px 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* WhatsApp and other icons inside buttons and contact cards: outline style, fixed size */
.btn > svg { width: 20px; height: 20px; flex-shrink: 0; margin-right: 8px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-card p > a > svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Country card facts: each label and value on its own line */
.study-card-facts { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 16px; }
.study-card-facts > span { display: block; font-size: .92rem; color: var(--muted); }
.study-card-facts b { display: block; color: var(--dark-navy); font-weight: 700; margin-bottom: 1px; }

/* ==========================================================================
   ADMIN AND APPLICANT PORTAL (ad-*) – invoices, payments and receipts
   ========================================================================== */
.ad-body { background: #F4F6F9; min-height: 100vh; }
.ad-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; position: sticky; top: 0; z-index: 5; }
.ad-logo { height: 44px; width: auto; }
.ad-title { font-weight: 700; color: var(--dark-navy); flex: 1; min-width: 0; }
.ad-main { padding: 28px 16px 60px; max-width: 1100px; }
.ad-narrow { max-width: 520px; margin: 0 auto; }
.ad-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; margin-bottom: 22px; min-width: 0; }
.ad-panel h1, .ad-panel h2 { margin: 0 0 14px; color: var(--dark-navy); font-size: 1.35rem; }
.ad-panel h3 { margin: 0 0 6px; color: var(--dark-navy); font-size: 1.05rem; }
.ad-note { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; }
.ad-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ad-tab { appearance: none; border: 1px solid var(--line); background: #fff; color: var(--dark-navy); border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.ad-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.ad-form { display: grid; gap: 16px; }
.ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ad-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ad-field label { font-weight: 600; color: var(--dark-navy); font-size: .92rem; display: block; }
.ad-field input, .ad-field select, .ad-field textarea { width: 100%; min-height: 46px; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.ad-field input[readonly] { background: #F4F6F9; }
.ad-field input:focus, .ad-field select:focus, .ad-field textarea:focus { outline: 3px solid rgba(243,107,33,.35); border-color: var(--orange); }
.ad-status { min-height: 1.4em; font-weight: 600; color: #0F6B3C; margin: 4px 0 0; }
.ad-status.error { color: #B42318; }
.ad-small { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.ad-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ad-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ad-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
.ad-table th, .ad-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ad-table th { background: var(--grey); color: var(--dark-navy); font-weight: 700; }
.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ad-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ad-card .btn { margin-top: auto; align-self: flex-start; }
.ad-card p { margin: 0; color: var(--text); }
#pt-pay { margin-top: 22px; }
@media (max-width: 640px) {
  .ad-grid, .ad-cards { grid-template-columns: 1fr; }
  .ad-panel { padding: 20px 16px; }
  .ad-table { min-width: 640px; }
  .ad-small { width: 100%; }
  .ad-actions .ad-small { width: auto; }
}
