:root {
  --content-width: 1440px;
  --page-gutter: clamp(24px, 3vw, 48px);
  --section-space: 72px;
  --section-background: #f3f8fd;
  --navy: #0f2b4d;
  --blue: #1e68b8;
  --sky: #2d9cdb;
  --ink: #183653;
  --muted: #61778d;
  --pale: #eaf5ff;
  --line: #d6e6f1;
  --paper: #fbfdff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.6 Manrope, Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.site-header { position: sticky; z-index: 50; top: 0; width: 100%; height: 94px; display: flex; align-items: center; justify-content: space-between; padding: 10px max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)); background: #fff; box-shadow: 0 4px 18px #102d4b10; }
.brand img { width: 205px; max-height: 66px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); font-size: 15px; font-weight: 600; }
.main-nav>a:not(.nav-cta):hover, .text-link:hover { color: var(--blue); }
.nav-cta { background: var(--blue); color: white; border-radius: 40px; padding: 15px 24px; font-size: 15px; }
.nav-cta span { margin-left: 12px; }
.nav-contact { display: none; }
@media (min-width: 1001px) {
  .nav-contact { display: flex; flex-direction: column; gap: 3px; color: var(--navy); white-space: nowrap; }
  .nav-contact small { max-width: 175px; white-space: normal; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--muted); }
  .nav-contact span { font-size: 14px; font-weight: 800; }
}
@media (min-width: 1001px) and (max-width: 1200px) {
  .site-header { gap: 20px; }
  .brand img { width: 165px; }
  .main-nav { gap: 14px; font-size: 14px; }
  .nav-cta { padding: 13px 16px; font-size: 14px; white-space: nowrap; }
  .nav-cta span { margin-left: 6px; }
  .nav-contact span { font-size: 14px; }
}
.menu-toggle { display: none; }
.eyebrow, .section-kicker { font-size: 14px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; color: var(--blue); }
.eyebrow { display: inline-flex; border-radius: 30px; padding: 10px 15px; background: var(--blue); color: white; }
.section h2 { font-family: Manrope, Arial, sans-serif; letter-spacing: -.055em; line-height: 1.06; }
.section h2 span { color: var(--blue); font-style: normal; }
.button { min-height: 50px; border: 0; border-radius: 40px; display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 0 23px; font: 600 15px Manrope, Arial, sans-serif; cursor: pointer; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 20px #1e68b82e; }
.button-primary:hover, .nav-cta:hover { background: #15579d; }
.button-outline { border: 1px solid #235b8c75; background: #ffffffc9; color: var(--navy); }
.section-nav { position: sticky; top: 0; z-index: 4; display: flex; justify-content: center; gap: clamp(16px, 3vw, 44px); padding: 18px 16px; background: #ffffffed; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: auto; }
.section-nav a { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .05em; }
.section-nav a span { color: var(--muted); font-size: 14px; letter-spacing: 0; margin-left: 6px; }
.section { padding: var(--section-space) max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)); }
.section-kicker { margin-bottom: 24px; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10%; align-items: center; }
.section h2 { font-size: clamp(37px, 5vw, 62px); font-weight: 650; color: var(--navy); margin: 0; }
.intro-grid p, .section-heading p, .training-grid>div>p, .reach-heading>p, .stories-grid>div>p, .enquire-copy>p { font-size: 16px; line-height: 1.85; color: var(--muted); }
.text-link { display: inline-block; margin-top: 12px; color: var(--blue); font-size: 14px; font-weight: 700; }
.text-link span { margin-left: 18px; }
.proof-row { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof-row div { display: flex; align-items: center; gap: 17px; }
.proof-row b { font: 700 25px Manrope; color: #8cb9d9; }
.proof-row span { font-size: 14px; line-height: 1.55; color: var(--muted); }
.programs { background: var(--section-background); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-heading p { max-width: 340px; margin: 0 0 4px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px #143c5c14; }
.course-card>img { width: 100%; height: 210px; object-fit: cover; }
.course-card>div { position: relative; padding: 20px 22px 24px; }
.course-card small { color: var(--blue); font-weight: 700; font-size: 14px; line-height: 1.5; text-transform: uppercase; letter-spacing: .04em; }
.course-card h3 { font: 650 22px Manrope; color: var(--navy); margin: 12px 0 6px; }
.course-card p { min-height: 40px; font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 85%; }
.course-card>div>a { position: absolute; right: 18px; bottom: 19px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pale); color: var(--blue); }
.course-enroll-cta { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 28px auto 0; padding: 18px 22px; border: 1px solid #d8e9f5; border-radius: 16px; background: #f3f9fe; }
.course-enroll-cta p { margin: 0; color: var(--navy); font-size: 14px; font-weight: 650; }
.course-enroll-cta .button { min-height: 44px; }
.training { background: var(--section-background); }
.training-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; align-items: start; }
.training-grid>div>p { max-width: 430px; margin: 23px 0; }
.learning-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #bfd6e8; }
.learning-list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid #bfd6e8; font-size: 14px; font-weight: 600; color: var(--navy); }
.learning-list li span { color: var(--sky); font-size: 14px; letter-spacing: .1em; }
.reach { width: min(var(--content-width), calc(100% - 48px)); margin: 32px auto; padding-left: var(--page-gutter); padding-right: var(--page-gutter); border-radius: 28px; background: radial-gradient(ellipse at 3% 5%, #5f9dcc, transparent 40%), radial-gradient(ellipse at 100% 100%, #457ca4, transparent 40%), #0f477b; color: white; }
.reach .section-kicker { color: #b4d9f2; }
.reach-heading { text-align: center; max-width: 750px; margin: 0 auto; }
.reach-heading h2 { color: white; }
.reach-heading h2 span { background: linear-gradient(90deg, #69b8e7, #e6f4ff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.reach-heading>p { color: #ffffffc7; max-width: 620px; margin: 20px auto 0; }
.reach-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 45px auto 0; max-width: 1120px; }
.reach-cards article { padding: 25px; border: 1px solid #ffffff30; background: #ffffff0d; border-radius: 18px; }
.reach-label { display: flex; align-items: center; gap: 14px; margin-bottom: 21px; }
.reach-label>span { font-size: 25px; background: #ffffff1c; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; }
.reach-label>span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reach-label h3 { margin: 0; font: 600 18px Manrope; }
.reach-label small { color: #ffffffad; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 11px; border-radius: 30px; border: 1px solid #ffffff25; background: #ffffff0a; font-size: 14px; }
.stories { background: #fff; }
.stories-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: center; }
.stories-grid h2 { font-size: clamp(36px, 4.5vw, 55px); }
.quote-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 35px; box-shadow: 0 16px 45px #103c5a0e; }
.stars { color: #2786c5; letter-spacing: 3px; }
.quote-card blockquote { font: 500 clamp(19px, 2.1vw, 25px)/1.6 Manrope; color: var(--navy); margin: 22px 0 28px; }
.quote-person { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 19px; }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--pale); color: var(--blue); border-radius: 50%; font-weight: 700; }
.quote-person b, .quote-person small { display: block; font-size: 14px; }
.quote-person small { color: var(--muted); margin-top: 4px; }
.quote-count { margin-left: auto; color: var(--blue); font-size: 14px; }
.story-note { margin: 18px 0 0; text-align: right; color: #8497a8; font-size: 14px; }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 30px; }
.review-heading h2 { margin: 0; color: var(--navy); font-size: clamp(32px, 4vw, 48px); }
.review-heading h2 span { color: var(--blue); }
.review-heading>div:first-child>p { max-width: 520px; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.review-rating { flex: 0 0 auto; display: flex; align-items: center; gap: 15px; padding: 17px 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px #153d5c0a; }
.google-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #e3edf5; border-radius: 50%; color: #4285f4; background: white; font: 700 27px Arial,sans-serif; }
.review-rating strong, .review-rating small { display: block; }
.review-rating strong { color: var(--navy); font-size: 15px; }
.review-rating .stars { margin-top: 3px; color: #f4b400; font-size: 14px; letter-spacing: 2px; }
.review-rating small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.review-carousel { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; width: 100%; max-width: var(--content-width); margin: 0 auto; justify-content: center; align-items: center; gap: 14px; }
.review-viewport { grid-column: 2; width: 100%; overflow: hidden; border-radius: 0; outline-color: var(--sky); }
.review-track { display: flex; gap: 14px; transition: transform .45s cubic-bezier(.2,.75,.25,1); will-change: transform; }
.review-slide { flex: 0 0 calc((100% - 28px) / 3); min-width: 0; display: grid; place-items: center; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.review-slide img { display: block; max-width: 100%; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.review-control { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #c9dfee; border-radius: 50%; background: #fff; color: var(--blue); font: 500 20px/1 Manrope, Arial, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.review-control:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.review-control:focus-visible, .review-pagination button:focus-visible { outline: 3px solid #2d9cdb55; outline-offset: 3px; }
.review-pagination { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 7px; padding: 4px 0; }
.review-pagination button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #b5cadb; cursor: pointer; transition: width .2s ease, background .2s ease; }
.review-pagination button[aria-pressed="true"] { width: 23px; border-radius: 10px; background: var(--blue); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.review-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; color: var(--blue); font-size: 14px; font-weight: 700; }
.review-link span { font-size: 16px; }
.locations-section { background: #fff; }
.location-carousel { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 16px 14px; align-items: center; width: 100%; max-width: var(--content-width); margin: 0 auto; }
.location-viewport { grid-column: 1 / -1; grid-row: 1; width: 100%; overflow: hidden; border-radius: 16px; outline-color: var(--sky); }
.location-prev { grid-column: 1; grid-row: 2; }
.location-next { grid-column: 3; grid-row: 2; }
.location-navigation { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; align-items: center; gap: 14px; min-width: 0; }
.location-navigation .location-control { flex: 0 0 auto; }
.location-navigation .location-pagination { min-width: 0; }
.location-track { display: flex; gap: 14px; transition: transform .45s cubic-bezier(.2,.75,.25,1); will-change: transform; }
.location-slide { flex: 0 0 calc((100% - 28px) / 3); min-width: 0; overflow: hidden; margin: 0; border: 1px solid #d7e5f0; border-radius: 15px; background: white; box-shadow: 0 8px 22px #153d5c0d; }
.location-slide img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.location-slide figcaption { padding: 12px 15px; color: var(--navy); font-size: 14px; font-weight: 700; }
.location-control { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #c9dfee; border-radius: 50%; background: #fff; color: var(--blue); font: 500 20px/1 Manrope, Arial, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.location-control:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.location-pagination { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; padding: 4px 0; }
.location-pagination button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #b5cadb; cursor: pointer; transition: width .2s ease, background .2s ease; }
.location-pagination button[aria-pressed="true"] { width: 23px; border-radius: 10px; background: var(--blue); }
.location-control:focus-visible, .location-pagination button:focus-visible { outline: 3px solid #2d9cdb55; outline-offset: 3px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 650; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex-shrink: 0; color: var(--blue); font-size: 21px; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 600px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-list ul { margin: 12px 0 0; padding-left: 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-list li + li { margin-top: 6px; }
.enquire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 80px); background: #fff; }
.enquire > .enquiry-form { width: 100%; max-width: 520px; justify-self: center; align-self: start; }
.admissions-guide { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.admissions-guide h3 { margin: 0 0 18px; color: var(--navy); font-size: 19px; line-height: 1.4; }
.admissions-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.admissions-topics h4 { margin: 0 0 6px; color: var(--blue); font-size: 14px; line-height: 1.4; }
.admissions-topics p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (min-width: 761px) and (max-width: 1000px) {
  .enquire { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .admissions-topics { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .admissions-topics { grid-template-columns: 1fr; gap: 18px; }
}
.enquire-copy h2 { font-size: clamp(38px, 4.8vw, 60px); }
.enquire-copy>small { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.enquiry-form { background: radial-gradient(ellipse at 3% 5%, #5f9dcc, transparent 40%), radial-gradient(ellipse at 100% 100%, #457ca4, transparent 40%), #0f477b; border: 1px solid #ffffff30; border-radius: 18px; padding: 30px; color: white; box-shadow: 0 15px 40px #193f5d0d; }
.enquiry-form h3 { font: 650 24px Manrope; color: white; margin: 0; }
.enquiry-form>p { color: #ffffffc7; font-size: 15px; margin: 7px 0 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.enquiry-form, .enquiry-form label, .enquiry-form input, .enquiry-form select, .enquiry-form textarea { min-width: 0; }
.enquiry-form label { display: grid; gap: 7px; margin-bottom: 14px; color: white; font-size: 14px; font-weight: 600; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: 400 16px Manrope, Arial, sans-serif; outline-color: var(--sky); }
.enquiry-form textarea { resize: vertical; }
.optional { color: var(--muted); font-weight: 400; }
.enquiry-form .button { width: 100%; }
.enquiry-form .form-status { color: #ffffffc7; text-align: center; font-size: 14px; line-height: 1.5; margin: 12px 0 0; }
.footer { padding: 42px max(var(--page-gutter), calc((100vw - var(--content-width)) / 2)) 25px; background: #0d2b48; color: white; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 15px 35px; }
.footer-reach { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, .7fr) 1.8fr; gap: 36px; align-items: start; padding: 0 0 30px; border-bottom: 1px solid #ffffff2b; }
.footer-reach-heading .section-kicker { color: #83c9f5; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.footer-reach-heading h2 { margin: 9px 0 8px; color: white; font: 700 clamp(23px, 2.6vw, 32px)/1.15 Manrope, Arial, sans-serif; letter-spacing: -.035em; }
.footer-reach-heading h2 span { color: #83c9f5; }
.footer-reach-heading p { margin: 0; max-width: 330px; color: #ffffffa8; font-size: 14px; line-height: 1.6; }
.footer-reach-groups { display: grid; gap: 18px; }
.footer-reach-groups>div>b { display: block; margin-bottom: 8px; font-size: 14px; }
.footer-reach-groups>div>b small { margin-left: 7px; color: #ffffff85; font-size: 14px; font-weight: 400; }
.footer-reach .chips { gap: 6px; }
.footer-reach .chips span { padding: 6px 9px; border-color: #ffffff24; background: #ffffff0c; color: #ffffffc9; font-size: 14px; }
.footer-courses { grid-column: 1 / -1; padding: 0 0 28px; border-bottom: 1px solid #ffffff2b; }
.footer-courses h2 { margin: 0 0 14px; color: white; font: 650 16px Manrope, Arial, sans-serif; }
.footer-courses>div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px 22px; }
.footer-courses a { color: #ffffffad; font-size: 14px; line-height: 1.5; text-decoration: none; }
.footer-courses a:hover { color: #83c9f5; }
.footer-contact { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 26px; border-bottom: 1px solid #ffffff2b; }
.footer-contact-details { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 22px; }
.footer-contact-item { color: #ffffffc7; font-size: 14px; line-height: 1.6; }
.footer-contact-item a { display: inline-block; margin-top: 5px; color: #ffffffc7; }
.footer-contact-item a:hover { color: #83c9f5; }
.footer-contact-label { display: block; color: #83c9f5; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-social { flex: 0 0 auto; }
.footer-social-links { display: flex; gap: 9px; margin-top: 10px; }
.footer-social-links a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #ffffff30; border-radius: 50%; color: #ffffffd9; transition: background .2s, color .2s, border-color .2s; }
.footer-social-links a:hover { border-color: #83c9f5; background: #ffffff12; color: #83c9f5; }
.footer-social-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-social-links a:first-child svg { fill: currentColor; stroke: none; }
.footer-social-links .social-dot { fill: currentColor; stroke: none; }
.footer>img { width: 250px; max-height: 92px; object-fit: contain; background: transparent; border: 0; border-radius: 0; padding: 0; }
.footer>p { font-size: 14px; color: #ffffffa8; }
.footer>div { display: flex; gap: 20px; font-size: 14px; }
.footer>small { grid-column: 1/-1; padding-top: 18px; border-top: 1px solid #ffffff2b; color: #ffffff91; font-size: 14px; }
.about-section { padding: var(--section-space) var(--page-gutter); background: #fff; }
.about-layout { width: min(var(--content-width), 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 440px); gap: 28px; align-items: start; }
.about-content { min-width: 0; }
.about-block { padding: 25px 0 24px; border-bottom: 1px solid #c9e0f2; }
.about-intro { padding-top: 0; }
.about-block h2, .gallery-heading h2 { margin: 0 0 14px; color: var(--navy); font: 700 29px/1.2 Manrope, Arial, sans-serif; letter-spacing: -.025em; }
.about-intro p { margin: 0; color: #395979; font-size: 16px; line-height: 1.75; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.benefit-grid>div { min-height: 68px; display: flex; align-items: center; gap: 11px; padding: 10px 14px; background: #e8f4fd; border-radius: 13px; color: var(--navy); }
.benefit-grid i, .about-learning li::before { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid #d6e8f4; border-radius: 10px; background: white; color: #1593df; box-shadow: 0 2px 3px #173a5b10; font: normal 19px/1 Arial,sans-serif; }
.benefit-grid b, .benefit-grid small { display: block; overflow-wrap: anywhere; }
.benefit-grid b { font-size: 14px; font-weight: 600; }
.benefit-grid small { margin-top: 3px; color: #476787; font-size: 14px; }
.about-learning { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.about-learning li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 14px; }
.about-learning li::before { content: '✓'; width: 18px; height: 18px; background: transparent; border: 1.5px solid #1593df; border-radius: 50%; box-shadow: none; font-size: 14px; }
.about-gallery { padding-top: 25px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.gallery-heading h2 { margin: 0; }
.gallery-heading a { color: var(--blue); font-weight: 600; font-size: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.about-sidebar { position: sticky; top: 110px; }
.about-form { padding: 25px 24px 24px; border-color: #c6e0f6; border-radius: 17px; box-shadow: 0 2px 4px #163a5b12; }
.about-form .form-kicker { margin-bottom: 13px; color: #b4d9f2; font-size: 14px; letter-spacing: .12em; font-weight: 700; }
.about-form h3 { margin: 0 0 25px; font: 700 28px/1.2 Manrope, Arial, sans-serif; letter-spacing: -.02em; }
.about-form label { margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.about-form input, .about-form select, .about-form textarea { min-height: 48px; padding: 13px 15px; border-color: #c8e0f5; border-radius: 12px; background: #f9fcff; }
.about-form textarea { min-height: 96px; }
.about-form .button { min-height: 56px; border-radius: 30px; }
.about-form .form-status { font-size: 14px; margin-top: 16px; }
.enquiry-form .button-primary { min-height: 56px; background: #ffd166; color: #17344d; font-weight: 800; box-shadow: 0 7px 18px #061d3345; }
.enquiry-form .button-primary:hover { background: #ffdc85; box-shadow: 0 10px 24px #061d335c; transform: translateY(-1px); }
.enquiry-form .button-primary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.enroll-dialog { width: min(460px, calc(100% - 32px)); max-height: min(86vh, 700px); max-height: min(86dvh, 700px); padding: 0; overflow: auto; border: 1px solid #d5e5f1; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px #071d3370; }
.enroll-dialog::backdrop { background: #071d33b8; backdrop-filter: blur(4px); }
.enroll-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 22px 15px; }
.enroll-dialog-head .section-kicker { display: block; margin: 0 0 7px; }
.enroll-dialog-head h2 { margin: 0; color: var(--navy); font: 750 23px/1.2 Manrope, Arial, sans-serif; letter-spacing: -.03em; }
.enroll-dialog-head p { margin: 5px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.enroll-dialog-close { flex: 0 0 auto; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dce8f1; border-radius: 50%; background: #f4f8fb; color: var(--navy); font-size: 25px; line-height: 1; cursor: pointer; }
.enroll-dialog-close:hover { background: #e8f3fb; }
.enroll-popup-form { margin: 0 12px 12px; padding: 18px; border-radius: 16px; }
.enroll-popup-form .form-row { grid-template-columns: 1fr; gap: 0; }
.enroll-popup-form label { gap: 5px; margin-bottom: 10px; }
.enroll-popup-form input, .enroll-popup-form select { padding: 10px 11px; }
.enroll-popup-form .form-row { gap: 10px; }
.enroll-popup-form .button { min-height: 48px; }
.explore-card { margin-top: 16px; padding: 21px; border: 1px solid #c6e0f6; border-radius: 17px; background: white; box-shadow: 0 2px 4px #163a5b12; }
.explore-card h3 { margin: 0 0 12px; color: var(--navy); font: 700 20px Manrope, Arial, sans-serif; }
.explore-card a { display: flex; justify-content: space-between; margin-top: 8px; padding: 14px 16px; background: #f4f9fd; border-radius: 12px; font-size: 14px; font-weight: 600; }
.explore-card a span { color: var(--blue); font-size: 17px; }
.legacy-section { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-space) var(--page-gutter); color: var(--navy); background: var(--section-background); }
.legacy-inner { max-width: var(--content-width); margin: 0 auto; text-align: center; }
.legacy-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.legacy-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--sky); }
.legacy-inner h2 { margin: 0; color: var(--navy); font: 650 clamp(37px, 5vw, 62px)/1.06 Manrope, Arial, sans-serif; letter-spacing: -.055em; }
.legacy-inner>p { max-width: 820px; margin: 13px auto 32px; color: #536d86; font: 500 clamp(16px, 1.45vw, 19px)/1.65 Manrope, Arial, sans-serif; }
.legacy-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
.legacy-stats article { position: relative; min-height: 154px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 24px 25px; overflow: hidden; border: 1px solid #d5e6f3; border-radius: 15px; background: #ffffffd9; box-shadow: 0 10px 28px #1c4c7110; }
.legacy-stats article::before { content: ''; position: absolute; top: 0; left: 25px; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--sky); }
.legacy-stats strong { color: var(--blue); font: 700 clamp(36px, 4vw, 50px)/1.05 Manrope, Arial, sans-serif; letter-spacing: -.055em; }
.legacy-stats span { margin-top: 8px; color: #465f79; font-size: 14px; line-height: 1.45; font-weight: 600; }
.network-section { padding: var(--section-space) var(--page-gutter); background: var(--section-background); border-top: 1px solid #e4eff7; border-bottom: 1px solid #e4eff7; }
.network-inner { max-width: var(--content-width); margin: 0 auto; }
.network-heading { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.network-heading .section-kicker { display: inline-block; margin-bottom: 12px; }
.network-heading h2 { margin: 0; color: var(--navy); font: 700 clamp(30px, 4vw, 42px)/1.15 Manrope, Arial, sans-serif; letter-spacing: -.045em; }
.network-heading p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.network-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.network-logo { min-height: 112px; display: grid; place-items: center; padding: 17px 20px; border: 1px solid #e0eaf2; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px #153d5c08; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.network-logo:hover { transform: translateY(-3px); border-color: #bdd7eb; box-shadow: 0 12px 24px #153d5c12; }
.network-logo img { display: block; width: 100%; height: 76px; object-fit: contain; }
.mobile-actions { display: none; }
.mobile-header-enroll { display: none; }
@media(max-width: 900px) {
  .main-nav { gap: 11px; }
  .main-nav>a:not(.nav-cta) { font-size: 14px; }
  .section { padding: var(--section-space) 5vw; }
  .course-card>img { height: 175px; }
  .reach { margin: 24px 16px; }
  .footer { padding-left: 5vw; padding-right: 5vw; }
}
@media(max-width: 680px) {
  .review-heading { align-items: stretch; flex-direction: column; gap: 18px; }
  .review-rating { align-self: flex-start; padding: 13px 16px; }
  .review-carousel { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 7px; }
  .review-track { gap: 11px; }
  .review-slide { flex-basis: 100%; }
  .review-control { width: 34px; height: 34px; font-size: 17px; }
  .review-slide img { max-height: 320px; }
  .site-header { position: sticky; z-index: 50; top: 0; left: auto; transform: none; width: 100%; height: 66px; padding: 8px 14px 8px 19px; }
  .mobile-header-enroll { position: absolute; right: 64px; display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid #ffffff80; border-radius: 999px; background: var(--blue); box-shadow: 0 5px 16px #102d4b30; color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; animation: enroll-blink 1.5s ease-in-out infinite; }
  .mobile-header-enroll span { font-size: 14px; }
  .mobile-header-enroll:focus-visible { outline: 3px solid #2d9cdb99; outline-offset: 3px; }
  @keyframes enroll-blink { 0%, 100% { background: var(--blue); color: #fff; box-shadow: 0 5px 16px #102d4b30; } 50% { background: #f4b942; color: #102b4a; box-shadow: 0 5px 20px #d08b1e75; } }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mobile-actions { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid #dce9f3; background: #fffffffa; box-shadow: 0 -8px 24px #153d5c12; backdrop-filter: blur(14px); }
  .mobile-actions a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #49647e; font-size: 14px; font-weight: 600; line-height: 1.1; }
  .mobile-actions a[href="#enroll-dialog"] { color: var(--blue); }
  .mobile-actions svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .brand { flex-shrink: 0; }
  .brand img { width: clamp(140px, 42vw, 180px); max-width: calc(100vw - 190px); max-height: 50px; }
  .menu-toggle { display: block; border: 0; background: var(--blue); color: white; border-radius: 50%; height: 40px; width: 40px; font-size: 18px; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 14px; background: white; border-radius: 18px; box-shadow: 0 15px 30px #173a5b24; align-items: stretch; flex-direction: column; gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav>a { padding: 12px!important; }
  .main-nav .nav-cta { text-align: center; }
  .button { padding: 0 16px; gap: 13px; min-height: 47px; font-size: 14px; }
  .section-nav { justify-content: flex-start; padding: 14px 18px; gap: 20px; }
  .section-nav a span { display: block; margin: 5px 0 0; }
  .section { padding: var(--section-space) 23px; }
  .intro-grid, .training-grid, .stories-grid, .faq-grid, .enquire { grid-template-columns: 1fr; gap: 25px; }
  .intro-grid h2, .section h2 { font-size: clamp(36px, 10vw, 49px); }
  .proof-row { grid-template-columns: 1fr 1fr; margin-top: 40px; gap: 20px 12px; }
  .proof-row div { gap: 10px; }
  .proof-row b { font-size: 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .course-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .course-card>img { height: 130px; }
  .course-card>div { padding: 15px; }
  .course-card h3 { font-size: 16px; }
  .course-card p { font-size: 15px; min-height: 52px; }
  .course-card>div>a { right: 10px; bottom: 10px; width: 30px; height: 30px; }
  .course-card small { font-size: 14px; }
  .course-enroll-cta { flex-direction: column; gap: 12px; text-align: center; }
  .reach { width: calc(100% - 32px); max-width: none; padding: 60px 21px; margin: 15px auto; border-radius: 20px; }
  .reach-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .reach-cards article { padding: 18px; }
  .chips { gap: 6px; }
  .chips span { font-size: 14px; padding: 7px 9px; }
  .stories-grid { gap: 20px; }
  .quote-card { padding: 24px; }
  .quote-card blockquote { font-size: 18px; }
  .story-note { text-align: left; line-height: 1.5; }
  .faq-grid { gap: 20px; }
  .enquire { gap: 30px; }
  .enquiry-form { padding: 21px; }
  .enroll-dialog { width: min(440px, calc(100% - 24px)); max-height: min(88vh, 680px); max-height: min(88dvh, 680px); border-radius: 18px; }
  .enroll-dialog-head { padding: 17px 16px 13px; }
  .enroll-dialog-head h2 { font-size: 22px; }
  .enroll-popup-form { margin: 0 8px 8px; padding: 15px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer { grid-template-columns: 1fr; gap: 12px; padding: 32px 23px 20px; }
  .footer-reach { grid-column: auto; grid-template-columns: 1fr; gap: 22px; padding-bottom: 24px; }
  .footer-courses { grid-column: auto; }
  .footer-courses>div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
  .footer-contact { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-contact-details { width: 100%; grid-template-columns: 1fr; gap: 14px; }
  .footer>img { width: min(250px, 100%); }
  .footer>div { flex-wrap: wrap; }
  .footer>small { grid-column: auto; margin-top: 8px; }
  .footer>p { margin: 0; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none!important; } }
@media(max-width: 1000px) {
  .about-layout { grid-template-columns: minmax(0, 1fr) minmax(310px, 380px); gap: 24px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { align-items: flex-start; flex-direction: column; }
  .footer-contact-details { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-contact-item { overflow-wrap: anywhere; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .legacy-stats { grid-template-columns: repeat(2, 1fr); }
  .network-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media(max-width: 760px) {
  .about-section { padding: var(--section-space) 20px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-sidebar { position: static; grid-row: 1; }
  .about-content { grid-row: 2; }
}
@media(max-width: 520px) {
  .section-nav { display: none; }
  .network-section { padding: var(--section-space) 16px; }
  .network-heading { margin-bottom: 24px; }
  .network-heading p { font-size: 16px; }
  .network-grid { display: flex; gap: 12px; margin: 0 -16px; padding: 2px 16px 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .network-grid::-webkit-scrollbar { display: none; }
  .network-logo { flex: 0 0 min(76%, 300px); min-height: 112px; padding: 16px; border-radius: 12px; scroll-snap-align: start; }
  .network-logo img { height: 78px; }
  .legacy-section { padding: var(--section-space) 16px; }
  .legacy-inner>p { margin: 10px auto 20px; font-size: 16px; }
  .legacy-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .legacy-stats article { min-height: 116px; padding: 18px; border-radius: 12px; }
  .legacy-stats article::before { left: 18px; }
  .legacy-stats strong { font-size: 34px; }
  .legacy-stats span { font-size: 14px; }
  .about-section { padding-left: 16px; padding-right: 16px; }
  .about-block h2, .gallery-heading h2 { font-size: 25px; }
  .about-intro p { font-size: 16px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .benefit-grid>div { padding: 9px; gap: 8px; }
  .benefit-grid i { width: 32px; height: 34px; }
  .benefit-grid b, .benefit-grid small { white-space: normal; font-size: 14px; }
  .about-learning { grid-template-columns: 1fr; gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .gallery-grid img { aspect-ratio: 1 / 1; }
  .about-form { padding: 22px 18px; }
  .about-form h3 { font-size: 25px; }
  .about-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .about-form .form-row label { min-width: 0; }
}
.flagship-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.course-slider-controls { display: none; }
@media (max-width: 680px) {
  .course-slider-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px 8px; margin-top: 2px; }
  .course-slider-hint { grid-column: 1 / -1; margin: 0 0 6px; text-align: center; color: var(--blue); font-size: 14px; font-weight: 600; }
  .course-slider-hint span { margin-left: 5px; }
  .course-slider-prev, .course-slider-next { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #c9dfee; border-radius: 50%; background: #fff; color: var(--blue); font-size: 20px; cursor: pointer; }
  .course-slider-prev:disabled, .course-slider-next:disabled { opacity: .35; cursor: default; }
  .course-slider-dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; min-width: 0; }
  .course-slider-dots button { display: grid; place-items: center; width: 22px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .course-slider-dots button::after { content: ""; width: 7px; height: 7px; border-radius: 10px; background: #b5cadb; }
  .course-slider-dots button[aria-pressed="true"]::after { width: 16px; background: var(--blue); }
}
.course-slider-controls[hidden] { display: none; }
.more-courses[hidden] { display: none; }
.more-courses { margin-top: 36px; }
.more-courses-heading { margin: 0 0 24px; color: var(--navy); font-size: 24px; line-height: 1.3; }
.extra-course-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.course-category-cover { display: grid; align-content: center; min-height: 205px; padding: 28px; background: linear-gradient(135deg, #0f2b4d, #1e68b8); color: #fff; font: 700 26px/1.3 Manrope, Arial, sans-serif; }
.courses-toggle-row { display: flex; justify-content: center; margin-top: 30px; }
.courses-toggle { cursor: pointer; }
.courses-toggle:hover { background: var(--pale); }
@media (min-width: 1001px) and (max-width: 1200px) {
  .extra-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .extra-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .extra-course-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .flagship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.flagship-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.flagship-card>img { height: 205px; flex-shrink: 0; }
.course-card > img.course-image-logo { object-fit: contain; padding: 24px; background: #fff; }
.flagship-card>div>a { position: static; display: inline-flex; align-items: center; justify-content: center; width: 100%; height: auto; min-height: 42px; margin-top: auto; padding: 10px 14px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; transition: background .2s; }
.flagship-card>div>a:hover { background: var(--navy); }
.flagship-card>div>a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.flagship-card:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.flagship-card>div { display: flex; flex: 1; flex-direction: column; align-items: stretch; min-height: 248px; padding: 20px 22px 25px; }
.flagship-card>div>a::before, .flagship-card>div>a::after { content: none; display: none; }
.flagship-card h3 { min-height: 52px; margin: 10px 0 8px; font-size: 19px; line-height: 1.35; }
.flagship-card h3 span { color: var(--blue); white-space: nowrap; font-size: max(14px, .8em); }
.flagship-card p { max-width: 100%; min-height: 42px; }
.flagship-card .course-eligibility { min-height: 0; margin: 9px 0 18px; padding-right: 0; color: #536d86; font-size: 14px; }
.flagship-card .course-eligibility b { color: var(--navy); }
@media(max-width: 680px) {
  .flagship-card>img { height: 170px; }
  .flagship-card>div { min-height: 230px; }
  .flagship-card h3 { min-height: 58px; font-size: 16px; }
  .flagship-grid { display: flex; grid-template-columns: none; gap: 14px; margin: 0 -23px; padding: 0 23px 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .flagship-grid::-webkit-scrollbar { display: none; }
  .flagship-grid .flagship-card { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
}
.board-section { background: #fff; }
.board-heading { align-items: end; margin-bottom: 30px; }
.board-heading h2 { max-width: 620px; }
.board-heading p { max-width: 360px; }
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.board-card { overflow: hidden; border: 1px solid #dce8f2; border-radius: 16px; background: #fff; box-shadow: 0 9px 25px #153d5c0a; transition: transform .2s ease, box-shadow .2s ease; }
.board-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px #153d5c14; }
.board-card>img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: center top; background: #eaf3fa; }
.board-card>div { min-height: 142px; padding: 18px 18px 20px; }
.board-card h3 { margin: 0; color: var(--navy); font: 700 17px/1.35 Manrope, Arial, sans-serif; }
.board-card>div>span { display: inline-block; margin-top: 5px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.board-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
@media(max-width: 1000px) {
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-slide { flex-basis: calc((100% - 14px) / 2); }
  .location-slide { flex-basis: calc((100% - 14px) / 2); }
}
@media(max-width: 680px) {
  .board-heading { align-items: start; }
  .review-slide { flex-basis: 100%; }
  .location-carousel { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 7px; }
  .location-track { gap: 11px; }
  .location-slide { flex-basis: 100%; border-radius: 12px; }
  .location-slide figcaption { padding: 10px 13px; }
  .location-control { width: 34px; height: 34px; font-size: 17px; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .board-card { border-radius: 12px; }
  .board-card>img { height: 190px; }
  .board-card>div { min-height: 145px; padding: 14px 12px 16px; }
  .board-card h3 { font-size: 14px; }
  .board-card p { font-size: 14px; }
}
.why-ilamed { position: relative; overflow: hidden; padding-top: 76px; padding-bottom: 78px; background: linear-gradient(125deg, #f1f9ff 0%, #fff 52%, #f7fbff 100%); }
.why-ilamed::before { position: absolute; top: -155px; right: -125px; width: 420px; height: 420px; border: 1px solid #dcecf8; border-radius: 50%; box-shadow: 0 0 0 35px #f4faff, 0 0 0 36px #e7f2fa, 0 0 0 72px #f8fbfe, 0 0 0 73px #edf5fa; content: ""; pointer-events: none; }
.why-ilamed-badge, .why-ilamed>h2, .why-ilamed-intro, .why-ilamed-content, .why-ilamed-cta { position: relative; z-index: 1; }
.why-ilamed-badge { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; width: fit-content; height: auto; margin: 0 0 16px; padding: 8px 13px; border: 1px solid #d5e7f4; border-radius: 30px; background: #eaf5ff; color: var(--blue); text-align: center; text-transform: uppercase; }
.why-ilamed-badge span { font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.why-ilamed-badge strong { color: var(--navy); font-size: 14px; line-height: 1; }
.why-ilamed-badge small { color: var(--blue); font-size: 14px; font-weight: 800; line-height: 1; }
.why-ilamed>h2 { max-width: var(--content-width); margin: 0 auto; color: var(--navy); font: 700 clamp(37px, 4.5vw, 58px)/1.08 Manrope, Arial, sans-serif; letter-spacing: -.05em; }
.why-ilamed-intro { max-width: var(--content-width); margin: 17px auto 30px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.why-ilamed-intro strong, .why-ilamed-list strong { color: var(--blue); font-weight: 800; }
.why-ilamed-content { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr); align-items: start; gap: 28px; width: 100%; max-width: var(--content-width); margin: 0 auto; }
.why-ilamed-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.why-ilamed-list li { position: relative; min-width: 0; min-height: 75px; padding: 15px 14px 14px 43px; border: 1px solid #d9e8f3; border-radius: 13px; background: #ffffffd9; box-shadow: 0 5px 17px #173d5c08; color: var(--ink); font-size: 14px; line-height: 1.6; }
.why-ilamed-list li::before { position: absolute; top: 14px; left: 13px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #e8f5ff; color: #168fd4; content: "✓"; font-size: 14px; font-weight: 800; }
.why-ilamed-video { position: sticky; top: 110px; width: 100%; overflow: hidden; aspect-ratio: 16 / 9; border: 5px solid #fff; border-radius: 18px; background: #101923; box-shadow: 0 18px 40px #163b591f; }
.why-ilamed-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.why-ilamed-cta { display: flex; width: fit-content; min-width: 180px; margin: 28px auto 0; }
@media(max-width: 1000px) {
  .why-ilamed-content { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 18px; }
  .why-ilamed-list { gap: 8px; }
  .why-ilamed-list li { padding: 13px 10px 12px 38px; font-size: 14px; }
  .why-ilamed-list li::before { left: 10px; }
}
@media(max-width: 760px) {
  .why-ilamed { padding-top: 56px; padding-bottom: 58px; }
  .why-ilamed-content { grid-template-columns: 1fr; gap: 22px; }
  .why-ilamed-intro { margin: 14px auto 24px; font-size: 16px; }
  .why-ilamed-video { position: relative; top: auto; max-width: 600px; margin: 0 auto; }
  .why-ilamed-list li { font-size: 14px; }
}
@media(max-width: 520px) {
  .why-ilamed { padding-top: 42px; padding-bottom: 46px; }
  .why-ilamed-badge { margin-bottom: 14px; }
  .why-ilamed>h2 { font-size: 38px; }
  .why-ilamed-list { grid-template-columns: 1fr; }
  .why-ilamed-list li { min-height: 0; padding: 13px 12px 13px 43px; font-size: 14px; }
  .why-ilamed::before { right: -305px; opacity: .6; }
}

.hero-slider { position: relative; width: 100%; aspect-ratio: 12 / 5; overflow: hidden; background: #102b4a; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none; transition: opacity .65s ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; }
.hero-slider-control { position: absolute; z-index: 3; top: 50%; display: grid; width: 46px; height: 46px; transform: translateY(-50%); place-items: center; border: 1px solid #ffffffa8; border-radius: 50%; background: #0f2b4d66; color: #fff; font-size: 23px; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.hero-slider-control:hover { background: #0f2b4dcc; }
.hero-slider-prev { left: 22px; }
.hero-slider-next { right: 22px; }
.hero-slider-pagination { position: absolute; z-index: 3; right: 0; bottom: 17px; left: 0; display: flex; justify-content: center; gap: 8px; }
.hero-slider-pagination button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #ffffff75; cursor: pointer; transition: width .2s ease, background .2s ease; }
.hero-slider-pagination button[aria-pressed="true"] { width: 27px; border-radius: 8px; background: #fff; }
.hero-slider-control:focus-visible, .hero-slider-pagination button:focus-visible { outline: 3px solid #2d9cdb; outline-offset: 3px; }
@media(max-width: 680px) {
  .hero-slider { aspect-ratio: 4 / 3; }
  .hero-slider-control { width: 38px; height: 38px; font-size: 19px; }
  .hero-slider-prev { left: 12px; }
  .hero-slider-next { right: 12px; }
  .hero-slider-pagination { bottom: 12px; }
}
@media(prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .mobile-header-enroll { animation: none; }
}
/* Keep mobile cards readable, with navigation in its own row. */
@media(max-width: 680px) {
  html { scroll-padding-top: 82px; }
  .main-nav { top: 100%; border-radius: 0 0 18px 18px; }
  .enquiry-form input, .enquiry-form select, .enquiry-form textarea { font-size: 16px; }
  .footer-contact-details { grid-template-columns: 1fr; }
  .footer-social-links a, .menu-toggle { width: 44px; height: 44px; }
  .mobile-actions a { min-height: 44px; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
.review-pagination button, .location-pagination button, .hero-slider-pagination button { position: relative; }
.review-pagination button::before, .location-pagination button::before, .hero-slider-pagination button::before { content: ""; position: absolute; inset: -10px -3px; }
@media(max-width: 680px) {
  .review-carousel, .location-carousel { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 16px 8px; }
  .review-viewport, .location-viewport { grid-column: 1 / -1; grid-row: 1; }
  .review-prev, .location-prev { grid-column: 1; grid-row: 2; }
  .review-next, .location-next { grid-column: 3; grid-row: 2; }
  .review-pagination, .location-pagination { grid-column: 2; grid-row: 2; flex-wrap: wrap; gap: 10px 7px; }
  .review-control, .location-control { width: 44px; height: 44px; }
  .review-slide img { max-height: none; }
  .flagship-grid { scroll-padding-inline: 23px; padding-top: 6px; padding-bottom: 18px; }
  .flagship-card:hover { transform: none; }
}
@media(max-width: 520px) {
  .network-grid { scroll-padding-inline: 16px; }
}
.thank-you-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 28px; background: radial-gradient(ellipse at 12% 8%, #d9edfc 0, transparent 38%), linear-gradient(135deg, #f7fbff, #eaf5ff); }
.thank-you-card { width: min(100%, 620px); padding: clamp(30px, 6vw, 62px); border: 1px solid #d5e6f3; border-radius: 24px; background: #ffffffed; box-shadow: 0 24px 70px #153d5c18; text-align: center; }
.thank-you-brand { display: inline-flex; align-items: center; justify-content: center; width: 240px; max-width: 100%; margin-bottom: 25px; }
.thank-you-brand img { width: 100%; height: auto; }
.thank-you-check { display: grid; width: 66px; height: 66px; margin: 0 auto 20px; place-items: center; border: 7px solid #e4f3ff; border-radius: 50%; background: var(--blue); color: #fff; font: 700 26px/1 Arial,sans-serif; }
.thank-you-card .section-kicker { margin: 0 0 12px; }
.thank-you-card h1 { margin: 0; color: var(--navy); font: 700 clamp(31px, 7vw, 44px)/1.15 Manrope, Arial, sans-serif; letter-spacing: -.045em; }
.thank-you-copy { max-width: 450px; margin: 17px auto 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.thank-you-countdown { margin: 22px 0 0; color: #526d87; font-size: 14px; }
.thank-you-countdown strong { color: var(--blue); }
.thank-you-home { margin-top: 23px; }
.form-honeypot { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }

/* Responsive layout: wide desktops, laptops, tablets, and small phones.
   Carousel slide counts retain the 1000px / 680px thresholds in script.js. */
.section > *, .about-layout > *, .footer > *, .footer-contact-details > * {
  min-width: 0;
}
.footer-contact-item, .footer-courses a, .chips span {
  overflow-wrap: anywhere;
}

@media (min-width: 1800px) {
  :root { --content-width: 1640px; --section-space: 88px; }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .about-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flagship-grid, .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intro-grid, .training-grid, .stories-grid, .faq-grid, .enquire { gap: 40px; }
  .footer-contact { align-items: flex-start; flex-direction: column; }
  .footer-contact-details { width: 100%; }
}

@media (min-width: 681px) and (max-width: 1000px) {
  .section, .footer { padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
  .site-header { gap: 18px; }
  .brand img { width: 160px; }
  .main-nav { gap: 12px; font-size: 14px; }
  .nav-cta { padding: 13px 16px; font-size: 14px; white-space: nowrap; }
  .nav-cta span { margin-left: 6px; }
  .section-heading, .review-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading p { max-width: 620px; }
  .intro-grid, .training-grid, .stories-grid, .faq-grid, .enquire { gap: 28px; }
  .about-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .about-form { padding: 22px 18px; }
  .about-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .about-learning, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer > div:last-of-type { flex-wrap: wrap; }
  .footer-reach { grid-template-columns: 1fr; gap: 24px; }
  .footer-courses > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 681px) and (max-width: 760px) {
  .site-header { gap: 12px; }
  .brand img { width: 130px; }
  .main-nav { gap: 9px; }
  .nav-cta { padding: 12px; }
  .about-layout { grid-template-columns: 1fr; }
  .intro-grid, .training-grid, .stories-grid, .faq-grid, .enquire { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-contact-details { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 680px) {
  :root { --page-gutter: 20px; }
  html { scroll-padding-top: 78px; }
  .enquiry-form input, .enquiry-form select, .enquiry-form textarea { font-size: 16px; }
  .gallery-heading { flex-wrap: wrap; gap: 12px; }
  .section-heading p, .about-intro p { max-width: 100%; }
}

@media (max-width: 380px) {
  .section, .footer { padding-left: 16px; padding-right: 16px; }
  .section h2, .legacy-inner h2, .why-ilamed > h2 { font-size: 32px; }
  .review-heading h2, .network-heading h2 { font-size: 28px; }
  .benefit-grid, .board-grid, .course-grid:not(.flagship-grid) { grid-template-columns: 1fr; }
  .benefit-grid b, .benefit-grid small { font-size: 14px; }
  .board-card > img { height: auto; aspect-ratio: 4 / 3; }
  .board-card > div { min-height: 0; }
  .flagship-grid { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .flagship-card > div { padding: 18px 16px; }
  .legacy-stats article { padding: 16px 12px; }
  .footer-courses > div { grid-template-columns: 1fr; }
}

@media (max-height: 600px) and (orientation: landscape) {
  .about-sidebar, .why-ilamed-video { position: static; }
  .enroll-dialog { max-height: 92vh; max-height: 92dvh; }
}

/* Shared vertical rhythm for all main content sections. */
@media (max-width: 900px) {
  :root { --section-space: 56px; }
}
@media (max-width: 680px) {
  :root { --section-space: 40px; }
}

@media (max-width: 680px) {
  .legacy-inner h2 { font-size: clamp(36px, 10vw, 49px); }
}

/* Alternate main content backgrounds from About through Enquiry. */
.faq { background: var(--section-background); }


/* Clear the mobile action bar, including when the chat panel is open.
   Override the widget's dynamically injected positioning rules. */
@media (max-width: 680px) {
  body .telecrm-chat-widget-main-container {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    right: max(16px, env(safe-area-inset-right)) !important;
  }
}

@media (max-width: 680px) {
  .mobile-actions { gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-actions a { flex-direction: row; gap: 8px; min-height: 46px; border: 1px solid var(--blue); border-radius: 10px; background: #fff; color: var(--blue); font-size: 14px; font-weight: 700; }
  .mobile-actions a[href="#enroll-dialog"] { background: var(--blue); color: #fff; }
  .mobile-actions a[href="#enroll-dialog"]:hover { background: #15579d; }
  .mobile-actions a[href^="tel:"]:hover { background: var(--pale); }
  .mobile-actions svg { display: none; }
}
