:root {
  --ink: #071820;
  --navy: #071e28;
  --teal: #092f3e;
  --teal-2: #0d4356;
  --sky: #6bc1e3;
  --gold: #f5b942;
  --orange: #ed7d1a;
  --paper: #f6f8f8;
  --white: #ffffff;
  --muted: #60717a;
  --line: rgba(7, 24, 32, 0.12);
  --dark-line: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(2, 17, 24, 0.14);
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 0.65em; line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.15rem; }
ul, ol { margin-top: 0; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; color: var(--white); background: rgba(7, 30, 40, 0.94); border-bottom: 1px solid var(--dark-line); backdrop-filter: blur(18px); }
.header-inner { min-width: 0; min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; }
.brand img { width: 210px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 0.92rem; font-weight: 650; }
.primary-nav > a, .nav-menu > summary { padding: 26px 0; color: rgba(255,255,255,.83); cursor: pointer; list-style: none; white-space: nowrap; }
.primary-nav > a:hover, .primary-nav > a[aria-current="page"], .nav-menu > summary:hover, .nav-menu > summary.active { color: var(--gold); }
.nav-menu { position: relative; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: "⌄"; margin-left: 5px; }
.nav-menu-panel { position: absolute; top: 64px; left: -20px; min-width: 250px; padding: 10px; background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.nav-menu-panel a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav-menu-panel a:hover { background: #eaf5f8; color: #07536d; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 4px; }
.call-link { color: var(--sky); font-weight: 750; font-size: 0.9rem; white-space: nowrap; }
.nav-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 1px solid var(--dark-line); border-radius: 10px; background: transparent; color: var(--white); }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 21px; border: 1px solid var(--gold); border-radius: 999px; background: linear-gradient(135deg, var(--gold), var(--orange)); color: #111820; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(237,125,26,.24); }
.button-small { min-height: 42px; padding: 10px 16px; font-size: .9rem; }
.button-outline { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: #08749a; font-weight: 800; }
.section-dark .text-link, .home-hero .text-link { color: var(--sky); }
.eyebrow { display: inline-block; margin-bottom: 14px; color: #08749a; font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.section-dark .eyebrow, .page-hero .eyebrow, .course-hero .eyebrow, .home-hero .eyebrow, .contact-hero .eyebrow, .article-header .eyebrow { color: var(--sky); }
.tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #e4f3f7; color: #0a607c; font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }

.breadcrumbs { padding-block: 18px; font-size: .84rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; opacity: .45; }
.breadcrumbs a:hover { color: #08749a; }

.home-hero, .page-hero, .course-hero, .contact-hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 80% 15%, rgba(107,193,227,.16), transparent 32%), linear-gradient(135deg, #02080b, var(--navy) 45%, #0b3c4e); }
.home-hero { display: grid; align-items: center; }
.hero-backdrop { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.home-hero-grid, .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: clamp(36px, 6vw, 78px); align-items: center; padding-block: clamp(70px, 10vw, 130px); }
.home-hero-grid { align-items: center; padding-block: clamp(56px, 6vw, 82px); }
.home-hero h1 { font-size: clamp(2.75rem, 4.15vw, 4.15rem); }
.page-hero .hero-grid, .course-hero .hero-grid, .contact-hero .hero-grid { min-height: 560px; padding-block: clamp(56px, 7vw, 88px); }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-copy p { max-width: 700px; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 1.6vw, 1.26rem); }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -16px; border: 1px solid rgba(107,193,227,.2); border-radius: calc(var(--radius) + 10px); transform: rotate(-2deg); }
.hero-media img { position: relative; width: 100%; height: clamp(430px, 43vw, 610px); object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.page-hero .hero-media img, .course-hero .hero-media img, .contact-hero .hero-media img { height: clamp(390px, 38vw, 520px); }
.media-note { position: absolute; right: -20px; bottom: 24px; max-width: 280px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(7,30,40,.88); backdrop-filter: blur(16px); }
.media-note strong, .media-note span { display: block; }
.media-note span { color: rgba(255,255,255,.7); font-size: .88rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero-proof span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.75); font-size: .78rem; }

.section { padding-block: clamp(72px, 9vw, 118px); }
.section-dark { background: var(--navy); color: var(--white); }
.section-muted { background: #eaf0f1; }
.section-accent { background: linear-gradient(135deg, #dff1f5, #f8f2df); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: rgba(255,255,255,.68); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.info-card { min-height: 250px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(7,24,32,.05); }
.section-dark .info-card { background: rgba(255,255,255,.05); border-color: var(--dark-line); }
.info-card p { color: var(--muted); }
.section-dark .info-card p { color: rgba(255,255,255,.66); }
.card-number { display: block; margin-bottom: 32px; color: var(--orange); font-weight: 900; letter-spacing: .12em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(42px, 7vw, 90px); align-items: center; }
.split-media img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-copy > p { color: var(--muted); font-size: 1.06rem; }
.section-dark .split-copy > p { color: rgba(255,255,255,.68); }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.section-dark .check-list li { border-color: var(--dark-line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #d8f2dd; color: #17692b; font-weight: 900; font-size: .78rem; }

.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.course-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(7,24,32,.06); }
.course-card > img { width: 100%; height: 280px; object-fit: cover; }
.course-card-body { padding: 25px; }
.course-card h2, .course-card h3 { margin-top: 14px; }
.course-card p { color: var(--muted); }
.course-card-meta, .card-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.course-card-meta { margin: 20px 0; padding: 14px 0; border-block: 1px solid var(--line); color: #42565f; font-size: .85rem; font-weight: 700; }
.card-actions { align-items: center; font-size: .9rem; }
.card-actions > a:last-child:not(.text-link) { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.process-list { counter-reset: step; padding: 0; margin: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(7,24,32,.16); }
.process-list strong { font-size: 1.16rem; }
.process-list span { color: var(--muted); }

.section-cta { padding-top: 0; }
.cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: clamp(34px, 6vw, 68px); border-radius: 28px; color: var(--white); background: radial-gradient(circle at right top, rgba(107,193,227,.2), transparent 35%), linear-gradient(135deg, #081d26, #0b3a4b); box-shadow: var(--shadow); }
.cta-panel > div:first-child { max-width: 710px; }
.cta-panel p { color: rgba(255,255,255,.7); }
.cta-panel .button-row { flex: 0 0 auto; margin: 0; }

.people-grid { display: grid; grid-template-columns: minmax(0, 760px); gap: 24px; }
.person-card { display: flex; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.person-card img { width: 150px; height: 150px; border-radius: 16px; object-fit: cover; }
.person-card p { margin: 0; color: var(--muted); }

.course-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.course-facts div { padding: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); }
.course-facts span, .course-facts strong { display: block; }
.course-facts span { margin-bottom: 4px; color: rgba(255,255,255,.58); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.course-facts strong { font-size: .9rem; }
.curriculum-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.curriculum-grid > div p { color: var(--muted); }
.module-list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.module-list li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.module-list span { color: var(--orange); font-weight: 900; letter-spacing: .1em; }
.course-enquiry-card { padding: 34px; border: 1px solid var(--dark-line); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.course-enquiry-card p { color: rgba(255,255,255,.68); }
.notice { display: flex; gap: 16px; margin-top: 34px; padding: 22px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: #fff4d8; }
.notice span { color: #655638; }
.section-dark .notice { background: rgba(245,185,66,.1); }
.section-dark .notice span { color: rgba(255,255,255,.72); }
.quote-panel { padding: clamp(30px, 5vw, 55px); border: 1px solid var(--dark-line); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.quote-panel p { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.35; }
.quote-panel span { color: var(--sky); }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.article-card > a img { width: 100%; height: 240px; object-fit: cover; }
.article-card > div { padding: 23px; }
.article-card h2 { margin-top: 14px; font-size: 1.45rem; }
.article-card p { color: var(--muted); }
.article-header { padding-block: 100px 70px; color: var(--white); background: linear-gradient(135deg, #02080b, var(--teal)); text-align: center; }
.article-header p { max-width: 720px; margin-inline: auto; color: rgba(255,255,255,.72); font-size: 1.15rem; }
.article-image { margin-top: -34px; }
.article-image img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content { padding-block: 70px; }
.article-content section { margin-bottom: 40px; }
.article-content h2 { font-size: 2rem; }
.article-content p, .prose p { color: #455860; font-size: 1.07rem; }
.prose h2 { margin-top: 2.1em; font-size: 1.8rem; }
.prose a { color: #08749a; text-decoration: underline; }

.contact-cards { display: grid; gap: 10px; margin-top: 30px; }
.contact-cards a { display: flex; min-width: 0; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); }
.contact-cards span { color: rgba(255,255,255,.6); }
.contact-cards strong { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: start; }
.contact-details address { margin-bottom: 20px; color: var(--muted); font-style: normal; }
.contact-details > img { margin-top: 30px; width: 100%; max-height: 360px; object-fit: cover; border-radius: 18px; }
.form-card { padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-card > p { color: var(--muted); }
.lead-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label:not(.consent) { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 800; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #bdc9cd; border-radius: 11px; background: #fbfcfc; padding: 12px 13px; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(107,193,227,.26); border-color: #3598bc; }
.lead-form [aria-invalid="true"] { border-color: #b52b2b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #455860; }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 25px; margin: 0; font-weight: 750; }
.form-status.success { color: #17692b; }
.form-status.error { color: #a72121; }

.site-footer { padding-top: 70px; color: rgba(255,255,255,.74); background: #041117; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .75fr 1.15fr 1fr; gap: 46px; }
.footer-grid h2 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-brand { display: inline-block; margin-bottom: 18px; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--sky); }
.footer-grid address { font-style: normal; }
.footer-actions { display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-block: 22px; border-top: 1px solid var(--dark-line); font-size: .82rem; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 80; padding: 12px 17px; border-radius: 999px; background: #1fbd5a; color: #06130a; box-shadow: 0 12px 34px rgba(0,0,0,.25); font-weight: 850; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }

.admin-body { min-height: 100vh; background: #e9eef0; }
.admin-shell { width: min(calc(100% - 32px), 1500px); margin-inline: auto; padding-block: 42px; }
.admin-login { width: min(100%, 520px); margin: 6vh auto 0; }
.admin-login > .brand { display: block; width: 240px; margin: 0 auto 28px; padding: 10px; border-radius: 14px; background: var(--navy); }
.admin-login h1, .admin-header h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.admin-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.admin-header p { max-width: 700px; color: var(--muted); }
.admin-header .button-outline { color: var(--ink); }
.admin-alert { padding: 14px 18px; border-radius: 10px; font-weight: 750; }
.admin-alert.success { background: #dff2e3; color: #165d27; }
.admin-alert.error { background: #f8dede; color: #842222; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.admin-table { width: 100%; min-width: 1150px; border-collapse: collapse; font-size: .86rem; }
.admin-table th, .admin-table td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { position: sticky; top: 0; background: var(--navy); color: var(--white); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td span { color: var(--muted); }
.admin-table a { color: #08749a; }
.status-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #eef1f2; font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.status-sent { background: #dff2e3; color: #165d27 !important; }
.status-not_sent { background: #f8dede; color: #842222 !important; }
.status-form { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.status-form select, .status-form button { min-height: 36px; border: 1px solid #b9c5c9; border-radius: 8px; padding: 6px 8px; }
.status-form button { background: var(--navy); color: var(--white); font-weight: 750; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .button { transition: none; } }

@media (max-width: 1120px) {
  .call-link { display: none; }
  .primary-nav { gap: 14px; font-size: .84rem; }
  .brand img { width: 175px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 68px; gap: 12px; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: 0; }
  .header-actions .button { display: none; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; height: calc(100vh - 68px); align-items: stretch; flex-direction: column; gap: 0; padding: 22px; overflow-y: auto; background: #061820; }
  .primary-nav.open { display: flex; }
  .primary-nav > a, .nav-menu > summary { display: block; padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: 1.08rem; }
  .nav-menu-panel { position: static; margin: 6px 0 10px; box-shadow: none; }
  .home-hero { min-height: auto; }
  .home-hero-grid, .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; padding-block: 64px; }
  .hero-media { max-width: 720px; }
  .split, .process-grid, .curriculum-grid, .contact-layout { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .cta-panel .button-row { margin-top: 8px; }
  .course-facts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  h1, .home-hero h1 { font-size: clamp(2.1rem, 10.5vw, 2.65rem); letter-spacing: -.025em; }
  .header-inner { width: calc(100% - 24px); }
  .brand img { width: 164px; }
  .home-hero-grid, .hero-grid { gap: 34px; padding-block: 44px; }
  .page-hero .hero-grid, .course-hero .hero-grid, .contact-hero .hero-grid { min-height: 0; }
  .hero-copy h1, .hero-copy p { max-width: 100%; overflow-wrap: anywhere; }
  .hero-media, .hero-media img { min-width: 0; }
  .hero-media img, .page-hero .hero-media img, .course-hero .hero-media img, .contact-hero .hero-media img { height: 360px; }
  .button-row { width: 100%; align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .media-note { position: relative; right: auto; bottom: auto; max-width: none; margin-top: 12px; }
  .card-grid, .course-grid, .people-grid, .article-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .course-card > img { height: 220px; }
  .person-card { align-items: flex-start; flex-direction: column; }
  .person-card img { width: 110px; height: 110px; }
  .process-list li { grid-template-columns: 90px 1fr; }
  .notice { flex-direction: column; }
  .contact-cards a { align-items: flex-start; flex-direction: column; gap: 3px; }
  .contact-cards strong { width: 100%; text-align: left; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { right: 12px; bottom: 12px; display: grid; width: 54px; height: 54px; padding: 0; place-items: center; font-size: 0; }
  .floating-whatsapp::before { content: "WA"; font-size: .82rem; letter-spacing: .03em; }
  .admin-header { align-items: flex-start; flex-direction: column; }
}

/* M CAD Solutions redesign: a precise, editorial training brand for engineers. */
:root {
  --ink: #101b2a;
  --navy: #0b1f33;
  --teal: #143650;
  --teal-2: #205374;
  --sky: #68b8d3;
  --gold: #d0a24b;
  --orange: #b87842;
  --paper: #f4f6f8;
  --white: #ffffff;
  --muted: #586676;
  --line: rgba(16, 27, 42, 0.13);
  --dark-line: rgba(255, 255, 255, 0.15);
  --radius: 16px;
  --shadow: 0 22px 70px rgba(4, 15, 27, 0.16);
  --container: 1240px;
}

body { background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3 { letter-spacing: -0.045em; }
.site-header { background: rgba(11, 31, 51, 0.94); border-bottom-color: rgba(104, 184, 211, 0.18); }
.header-inner { min-height: 82px; }
.brand img { width: 210px; }
.primary-nav { gap: 18px; font-size: .88rem; }
.primary-nav > a, .nav-menu > summary { padding-block: 29px; }
.primary-nav > a:hover, .primary-nav > a[aria-current="page"], .nav-menu > summary:hover, .nav-menu > summary.active { color: var(--gold); }
.call-link { color: var(--sky); }
.button { min-height: 52px; border: 1px solid var(--gold); border-radius: 9px; background: var(--gold); color: var(--navy); box-shadow: none; }
.button:hover { background: #ddb760; box-shadow: 0 14px 30px rgba(208, 162, 75, .22); }
.button-outline { border-color: rgba(255,255,255,.52); color: inherit; background: transparent; }
.button-outline:hover { border-color: var(--sky); background: rgba(104,184,211,.1); }
.eyebrow { color: #176f92; font-size: .72rem; letter-spacing: .18em; }
.tag { border-radius: 6px; background: #e5f0f5; color: #185f7a; }
.home-hero, .page-hero, .course-hero, .contact-hero { background: radial-gradient(circle at 78% 4%, rgba(104,184,211,.18), transparent 31%), radial-gradient(circle at 12% 90%, rgba(208,162,75,.09), transparent 30%), linear-gradient(135deg, #07121f, #0b2439 55%, #164762); }
.hero-backdrop { opacity: .18; background-size: 46px 46px; }
.home-hero-grid { padding-block: clamp(72px, 10vw, 138px); }
.home-hero h1 { max-width: 790px; font-size: clamp(3.1rem, 6vw, 6.1rem); line-height: .98; }
.hero-copy p { max-width: 660px; color: rgba(255,255,255,.75); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-proof { gap: 10px; margin-top: 40px; }
.hero-proof span { border-color: rgba(104,184,211,.28); background: rgba(104,184,211,.07); color: rgba(255,255,255,.82); }
.hero-media::before { inset: -12px; border-color: rgba(104,184,211,.34); border-radius: 20px; transform: rotate(1.5deg); }
.hero-media img { border-radius: 14px; box-shadow: 0 34px 90px rgba(0,0,0,.44); }
.media-note { right: -12px; bottom: 18px; border-color: rgba(208,162,75,.34); background: rgba(11,31,51,.94); }
.media-note strong { color: var(--gold); }
.section { padding-block: clamp(64px, 7vw, 96px); }
.section-muted { background: #e9eef3; }
.section-accent { background: linear-gradient(135deg, #e8f0f5, #f5f6f8); }
.section-heading { max-width: 820px; margin-bottom: 36px; }
.section-heading h2 { max-width: 760px; }
.section-heading p { max-width: 680px; font-size: 1.05rem; }
.card-grid { gap: 14px; }
.info-card { min-height: 260px; padding: 30px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(7,17,29,.05); }
.info-card:hover, .course-card:hover, .article-card:hover { transform: translateY(-4px); transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 18px 42px rgba(7,17,29,.11); }
.card-number { color: #247e9e; }
.section-dark { background: var(--navy); }
.section-dark .text-link, .home-hero .text-link { color: var(--sky); }
.section-dark .split-media img { border: 1px solid rgba(104,184,211,.24); }
.check-list li::before { background: var(--gold); color: var(--navy); }
.course-grid { gap: 18px; }
.course-card, .article-card { border-radius: 14px; }
.course-card > img, .article-card > a img { filter: saturate(.92) contrast(1.04); }
.course-card-body { padding: 28px; }
.course-card-meta { color: #445a6a; }
.text-link { color: #176f92; }
.process-list li { border-top-color: rgba(11,20,32,.14); }
.process-list strong { color: var(--navy); }
.cta-panel { border-radius: 16px; background: radial-gradient(circle at 90% 10%, rgba(104,184,211,.22), transparent 35%), linear-gradient(135deg, #0b1f33, #16425d); }
.site-footer { background: #050c14; }
.footer-grid a:hover { color: var(--gold); }
.floating-whatsapp { background: #25d366; color: #061b0d; }
.contact-cards a { border-color: rgba(104,184,211,.24); background: rgba(104,184,211,.07); }
.form-card { border-radius: 14px; }
.lead-form input, .lead-form select, .lead-form textarea { border-radius: 8px; background: #fcfdff; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline-color: rgba(104,184,211,.35); border-color: #2d83a3; }
.placement-highlight { padding-block: 54px; color: var(--white); background: radial-gradient(circle at 12% 20%, rgba(104,184,211,.16), transparent 28%), linear-gradient(125deg, #0b1f33, #153b56 62%, #1d536f); border-block: 1px solid rgba(104,184,211,.2); }
.placement-highlight-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.7fr); gap: clamp(34px, 7vw, 100px); align-items: center; }
.placement-stat { display: grid; align-content: center; min-height: 250px; padding: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.placement-stat strong { color: var(--gold); font-size: clamp(5rem, 11vw, 8.5rem); line-height: .82; letter-spacing: -.09em; }
.placement-stat span { margin-top: 18px; font-size: 1.2rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.placement-stat small { margin-top: 5px; font-weight: 650; }
.placement-highlight-copy h2 { max-width: 820px; margin: 10px 0 15px; color: var(--white); }
.placement-highlight-copy p { max-width: 800px; color: rgba(255,255,255,.76); }
.placement-highlight-copy .eyebrow { color: var(--gold); }
.placement-highlight-copy .text-link { color: var(--sky); border-bottom: 1px solid rgba(104,184,211,.7); }
.placement-disclaimer { margin-top: 20px; font-size: .8rem; }
.award-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.award-card { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--navy); box-shadow: var(--shadow); }
.award-card img { width: 100%; height: 420px; object-fit: contain; background: var(--navy); }
.award-card figcaption { min-height: 74px; padding: 20px 22px; background: var(--white); color: var(--muted); font-weight: 650; }
.achievement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.achievement-card { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.achievement-card strong { color: #176f92; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.06em; }
.achievement-card span { color: var(--muted); font-weight: 700; }
.social-more { margin-top: 24px; color: var(--muted); }
.social-more a { color: #176f92; font-weight: 800; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social a { color: var(--sky); font-weight: 800; }
.footer-review-link { color: var(--gold); font-weight: 850; }
.review-button.button-outline { border-color: #176f92; color: #176f92; }
.review-button.button-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.office-photo { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 18px; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.course-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.course-detail-card { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 12px 36px rgba(7,17,29,.06); }
.course-detail-card h2 { margin: 10px 0 20px; font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
.course-detail-card .check-list { margin-top: 0; }
.course-detail-card .check-list li { color: var(--muted); }
.role-note { margin-top: 20px; color: var(--muted); font-size: .82rem; }
.article-header { padding-block: 64px 86px; text-align: left; background: radial-gradient(circle at 78% 10%, rgba(104,184,211,.2), transparent 32%), linear-gradient(135deg, #07121f, #10334d); }
.article-header .narrow { max-width: 980px; }
.article-header h1 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.02; }
.article-header p { max-width: 790px; margin-inline: 0; font-size: clamp(1.06rem, 1.6vw, 1.25rem); }
.article-back { display: block; width: fit-content; margin-bottom: 42px; color: var(--sky); font-weight: 800; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: rgba(255,255,255,.58); font-size: .85rem; }
.article-image { max-width: 980px; }
.article-image img { max-height: 570px; }
.article-content { max-width: 850px; }
.article-content section { margin-bottom: 52px; }
.article-content h2 { margin-bottom: 14px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.25rem); }
.article-content p { line-height: 1.82; }
.article-takeaways { margin-bottom: 64px; padding: 30px; border: 1px solid rgba(104,184,211,.28); border-radius: 16px; background: #eef5f8; }
.article-takeaways h2 { margin-top: 0; }
.article-takeaways ul { display: grid; gap: 12px; margin: 0; padding-left: 20px; color: #334d5c; }
.article-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-grid-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-grid-related .article-card > div { min-height: 210px; }
.enquiry-path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.enquiry-path { display: flex; min-height: 230px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 10px 30px rgba(7,17,29,.05); }
.enquiry-path:hover { transform: translateY(-4px); border-color: rgba(23,111,146,.35); box-shadow: 0 18px 42px rgba(7,17,29,.11); }
.enquiry-path span { color: var(--navy); font-size: 1.22rem; font-weight: 900; }
.enquiry-path p { color: var(--muted); }
.enquiry-path strong { margin-top: auto; color: #176f92; }
.google-form-frame { width: 100%; min-height: 1120px; border: 0; border-radius: 10px; background: #f7f9fb; }
.people-grid:has(.person-profile) { grid-template-columns: 1fr; max-width: 1060px; }
.person-profile { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: clamp(28px, 4vw, 44px); align-items: start; padding: clamp(26px, 3.2vw, 36px); }
.person-profile > img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 14px; object-fit: cover; background: #eef1f4; }
.person-profile-copy h3 { margin: 0 0 10px; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.person-profile-copy > p { max-width: 760px; color: var(--muted); font-size: 1.04rem; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.expertise-tags span { padding: 7px 10px; border: 1px solid rgba(23,111,146,.2); border-radius: 6px; background: #edf5f8; color: #185f7a; font-size: .78rem; font-weight: 800; }
.profile-highlights { display: grid; gap: 8px; margin: 0 0 20px; padding-left: 20px; color: #405362; }
.modal-open { overflow: hidden; }
.enquiry-modal { width: min(780px, calc(100vw - 28px)); max-height: min(92vh, 900px); margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(104,184,211,.32); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 40px 120px rgba(2,10,18,.48); }
.enquiry-modal::backdrop { background: rgba(3,12,22,.76); backdrop-filter: blur(5px); }
.enquiry-modal-shell { max-height: min(92vh, 900px); overflow-y: auto; padding: clamp(22px, 4vw, 36px); }
.enquiry-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.enquiry-modal-head h2 { margin: 0 0 8px; font-size: clamp(1.75rem, 4vw, 2.65rem); }
.enquiry-modal-head p { max-width: 620px; margin: 0; color: var(--muted); }
.modal-close { display: grid; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #f2f5f7; color: var(--navy); cursor: pointer; place-items: center; font-size: 1.65rem; line-height: 1; }
.modal-close:hover { border-color: rgba(23,111,146,.42); background: #e8f1f5; }
.enquiry-context-group { display: grid; gap: 16px; margin: 0; padding: 20px; border: 1px solid rgba(23,111,146,.18); border-radius: 12px; background: #f4f8fa; }
.enquiry-context-group[hidden] { display: none; }
.enquiry-context-group legend { padding: 0 8px; color: var(--navy); font-weight: 900; }
.modal-submit-row { display: flex; align-items: center; gap: 18px; }
.modal-submit-row > span { color: var(--muted); font-size: .88rem; }
.modal-submit-row a { color: #176f92; font-weight: 800; }

@media (max-width: 900px) {
  .header-inner { min-height: 72px; }
  .primary-nav { height: calc(100vh - 72px); background: var(--navy); }
  .primary-nav > a, .nav-menu > summary { padding-block: 16px; }
  .home-hero-grid { padding-block: 66px; }
  .placement-highlight-grid, .award-grid, .course-detail-grid, .enquiry-path-grid { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .placement-stat { min-height: 0; }
}

@media (min-width: 901px) {
  .split { gap: clamp(34px, 5vw, 64px); }
  .section-dark .split-media img { max-height: 500px; }
}

@media (max-width: 760px) {
  .person-profile { grid-template-columns: 1fr; padding: 24px; }
  .person-profile > img { max-width: 190px; }
  .form-row { grid-template-columns: 1fr; }
  .enquiry-modal { width: calc(100vw - 20px); border-radius: 14px; }
  .enquiry-modal-shell { padding: 24px 18px; }
  .enquiry-modal-head { gap: 12px; }
  .modal-submit-row { align-items: stretch; flex-direction: column; }
}

@media (max-width: 640px) {
  .brand img { width: 164px; }
  .home-hero-grid { padding-block: 52px; }
  .home-hero h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  .section { padding-block: 54px; }
  .info-card { padding: 24px; }
  .award-card img { height: 340px; }
  .achievement-grid { grid-template-columns: 1fr; }
  .article-grid-related { grid-template-columns: 1fr; }
  .article-header { padding-block: 44px 70px; }
  .article-back { margin-bottom: 30px; }
  .person-profile { grid-template-columns: 1fr; padding: 22px; }
  .person-profile > img { max-width: 190px; }
  .enquiry-modal-shell { padding: 24px 18px; }
  .enquiry-modal-head { gap: 12px; }
  .modal-submit-row { align-items: stretch; flex-direction: column; }
}
