:root {
    --navy: #0b2345;
    --navy-deep: #07182f;
    --navy-soft: #12345f;
    --green: #4f9124;
    --green-dark: #3b7617;
    --green-soft: #eef6e8;
    --ink: #0e1d31;
    --muted: #64748b;
    --line: #dfe7ef;
    --surface: #ffffff;
    --tint: #f3f7f3;
    --tint-blue: #f5f8fc;
    --shadow: 0 24px 70px rgba(11, 35, 69, 0.10);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.nav-shell {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(11, 35, 69, 0.08);
}

.nav-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 0 1 370px;
}

.brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 25px rgba(11, 35, 69, 0.09);
    flex: 0 0 auto;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.brand-text {
    display: grid;
    gap: 0;
}

.brand-text strong {
    display: block;
    max-width: 310px;
    font-size: 12px;
    line-height: 1.28;
    color: var(--navy);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-text small {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex: 0 0 auto;
    white-space: nowrap;
}

.main-nav > a,
.nav-drop-trigger {
    border: 0;
    background: transparent;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: nowrap;
    color: #2b425d;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.main-nav > a:hover,
.nav-drop-trigger:hover,
.nav-drop-trigger[aria-expanded="true"] {
    color: var(--green-dark);
    background: var(--green-soft);
}

.nav-cta {
    margin-left: 8px;
    min-width: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 16px !important;
    padding-right: 16px !important;
    color: #fff !important;
    background: var(--navy) !important;
    box-shadow: 0 10px 24px rgba(11, 35, 69, 0.18);
}

.nav-cta:hover {
    background: var(--green) !important;
}

.chevron {
    margin-left: 4px;
    font-size: 12px;
}

.nav-dropdown {
    position: relative;
}

.mega-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: min(980px, 92vw);
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(11, 35, 69, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown:hover .mega-panel,
.nav-dropdown:focus-within .mega-panel,
.nav-dropdown.open .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-services {
    width: min(960px, 92vw);
}

.mega-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.mega-heading h3 {
    margin: 2px 0 0;
    font-size: 24px;
    line-height: 1.15;
    color: var(--navy);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
    max-height: 420px;
    overflow: auto;
    padding-right: 2px;
}

.mega-grid-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-link {
    display: block;
    padding: 12px 13px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f7f9fb;
    transition: .18s ease;
}

.mega-link:hover {
    background: var(--green-soft);
    border-color: rgba(79, 145, 36, 0.22);
    transform: translateY(-1px);
}

.mega-link-title {
    display: block;
    color: var(--navy);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

.mega-link-count {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: var(--navy);
}

/* Shared text */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 20px;
    background: currentColor;
}

.eyebrow-small {
    font-size: 9px;
    margin-bottom: 4px;
}

.eyebrow-light {
    color: #9bd06f;
}

.section {
    padding: 96px 0;
}

.section-white {
    background: #fff;
}

.section-tinted {
    background: linear-gradient(180deg, #f4f8f4 0%, #f8fafb 100%);
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading h2,
.catalog-intro h2,
.section-copy h2,
.values-grid h2,
.form-heading h2,
.contact-info h2,
.register-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading p,
.catalog-intro p,
.section-copy > p,
.contact-info > p,
.register-copy > p {
    max-width: 650px;
    color: var(--muted);
    margin: 13px 0 0;
}

.center-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.center-heading .eyebrow {
    justify-content: center;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 850;
}

.text-link:hover {
    color: var(--green-dark);
}

.strong-link {
    margin-top: 26px;
}

/* Buttons */
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 850;
    transition: .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 16px 28px rgba(11, 35, 69, 0.19);
}

.btn-primary:hover {
    background: var(--green);
}

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 14px 28px rgba(79, 145, 36, 0.22);
}

.btn-green:hover {
    background: var(--green-dark);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.btn-outline {
    border-color: var(--line);
    background: #fff;
    color: var(--navy);
}

.btn-outline:hover {
    border-color: #b8c9d9;
    background: #f8fafc;
}

.center-button {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.dark-center {
    margin-top: 30px;
}

.wide-btn,
.full-btn {
    width: 100%;
}

/* Home hero: full-width refinery image with readable text overlay */
.hero-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 690px;
    display: flex;
    align-items: center;
    background-color: #eef4f2;
    background-image: linear-gradient(90deg,
        rgba(246, 250, 248, .98) 0%,
        rgba(246, 250, 248, .95) 30%,
        rgba(246, 250, 248, .82) 43%,
        rgba(246, 250, 248, .28) 62%,
        rgba(246, 250, 248, .02) 100%),
        url("hero-safety-inspector.png");
    background-repeat: no-repeat;
    background-position: center, center;
    background-size: cover;
    padding: 78px 0 70px;
}

.hero-home::after {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    border: 1px solid rgba(79, 145, 36, 0.10);
    border-radius: 50%;
    right: -260px;
    top: -150px;
    box-shadow: 0 0 0 80px rgba(79, 145, 36, 0.035), 0 0 0 160px rgba(11, 35, 69, 0.025);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 760px);
    gap: 0;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kicker-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(79, 145, 36, 0.12);
}

.hero-copy h1 {
    max-width: 720px;
    margin: 16px 0 20px;
    color: var(--navy);
    font-size: clamp(48px, 6.2vw, 79px);
    line-height: .98;
    letter-spacing: -0.06em;
}

.hero-copy h1 span {
    color: var(--green);
}

.hero-lead {
    max-width: 660px;
    margin: 0;
    color: #52647a;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-trust {
    display: flex;
    gap: 34px;
    margin-top: 42px;
}

.hero-trust > div {
    display: grid;
    gap: 2px;
}

.hero-trust strong {
    color: var(--navy);
    font-size: 18px;
}

.hero-trust span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.hero-visual {
    display: none;
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    min-width: 0;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    height: clamp(420px, 42vw, 610px);
    max-height: 610px;
    overflow: hidden;
    border-radius: 28px 8px 28px 8px;
    background: #eaf2f6;
    box-shadow: 0 28px 70px rgba(11, 35, 69, .16);
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(11,35,69,.05), transparent 48%, rgba(79,145,36,.08));
}

.hero-safety-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.hero-card-main {
    position: relative;
    width: min(470px, 100%);
    padding: 26px;
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(11, 35, 69, .98), rgba(18, 52, 95, .94));
    box-shadow: 0 34px 100px rgba(11, 35, 69, .22);
    overflow: hidden;
}

.hero-card-main::before {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 26px;
}

.hero-card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    top: -140px;
    border-radius: 50%;
    background: rgba(79, 145, 36, 0.22);
    filter: blur(4px);
}

.hero-logo-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(0,0,0,.18);
    overflow: hidden;
}

.hero-logo-wrap img {
    width: 88%;
    height: 88%;
    object-fit: cover;
}

.hero-card-caption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 6px 0;
    color: #fff;
}

.hero-card-caption span {
    font-size: 28px;
    font-weight: 950;
    letter-spacing: .16em;
}

.hero-card-caption strong {
    text-align: right;
    max-width: 210px;
    font-size: 12px;
    font-weight: 700;
    color: #d4e4f3;
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(79, 145, 36, 0.18);
}

.orbit-one {
    width: 520px;
    height: 520px;
}

.orbit-two {
    width: 620px;
    height: 620px;
    border-color: rgba(11, 35, 69, 0.10);
}

.floating-card {
    position: absolute;
    z-index: 4;
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid rgba(11, 35, 69, 0.08);
    border-radius: 15px;
    box-shadow: 0 18px 45px rgba(11, 35, 69, .13);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--navy);
    font-size: 12px;
}

.floating-card small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.floating-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
}

.green-icon {
    background: var(--green);
}

.floating-card-top {
    left: -8px;
    top: 48px;
}

.floating-card-bottom {
    right: -4px;
    bottom: 28px;
}

.trust-bar {
    margin-top: -1px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 108px;
}

.trust-label {
    display: grid;
}

.trust-label strong {
    color: var(--navy);
    font-size: 15px;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.trust-items span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

/* Home cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    position: relative;
    min-height: 188px;
    display: flex;
    gap: 16px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(11,35,69,.035);
    overflow: hidden;
    transition: .18s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(79, 145, 36, .12);
    right: -40px;
    bottom: -46px;
}

.category-card:hover {
    border-color: rgba(79, 145, 36, .28);
    transform: translateY(-3px);
    box-shadow: 0 20px 36px rgba(11,35,69,.09);
}

.category-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 950;
    flex: 0 0 auto;
}

.category-count {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.category-card h3 {
    margin: 7px 0 13px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.18;
}

.category-arrow {
    display: inline-flex;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    display: grid;
    gap: 11px;
    margin-top: 25px;
}

.feature-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
}

.feature-row > span {
    display: grid;
    place-items: center;
    height: 34px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.feature-row strong {
    color: var(--navy);
    font-size: 14px;
}

.feature-row p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.safety-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(155deg, var(--navy-deep), var(--navy-soft));
    color: #fff;
    box-shadow: 0 28px 80px rgba(11, 35, 69, 0.20);
}

.safety-panel::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    right: -110px;
    top: -110px;
    border: 1px solid rgba(155, 208, 111, 0.22);
    box-shadow: 0 0 0 50px rgba(155, 208, 111, 0.03);
}

.panel-label {
    position: relative;
    z-index: 1;
    color: #8ca8c3;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.panel-headline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0 26px;
}

.panel-shield {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    background: rgba(255,255,255,.06);
    color: #a7d477;
    font-size: 23px;
    font-weight: 900;
}

.panel-headline strong,
.panel-headline span {
    display: block;
}

.panel-headline strong {
    font-size: 19px;
}

.panel-headline span {
    color: #a7bbcf;
    font-size: 11px;
    margin-top: 2px;
}

.panel-lines {
    position: relative;
    z-index: 1;
    display: grid;
}

.panel-lines > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-top: 1px solid rgba(255,255,255,.10);
}

.panel-lines span {
    color: #dce7f2;
    font-size: 12px;
}

.panel-lines b {
    color: #8fb56a;
    font-size: 10px;
}

.compact-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.course-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.course-preview-card {
    display: flex;
    flex-direction: column;
    padding: 21px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    min-height: 270px;
    transition: .18s ease;
}

.course-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(11,35,69,.08);
}

.course-preview-top,
.catalog-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.provider-pill,
.online-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
}

.provider-pill {
    background: var(--green-soft);
    color: var(--green-dark);
}

.online-pill {
    background: #edf3f8;
    color: #567087;
}

.course-preview-card h3,
.catalog-card h3 {
    margin: 15px 0 8px;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.25;
}

.course-preview-card p,
.catalog-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 17px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
}

.card-link:hover {
    color: var(--green-dark);
}

.services-home {
    background: linear-gradient(145deg, var(--navy-deep) 0%, #113a68 68%, #215a39 140%);
    color: #fff;
}

.light-heading h2 {
    color: #fff;
}

.light-heading p {
    color: #b9cadb;
    margin-left: auto;
    margin-right: auto;
}

.service-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.service-highlight {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 23px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 19px;
    background: rgba(255,255,255,.045);
    transition: .18s ease;
}

.service-highlight:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.075);
    border-color: rgba(155, 208, 111, .30);
}

.service-num {
    color: #9dc978;
    font-size: 10px;
    font-weight: 900;
}

.service-highlight h3 {
    margin: 45px 0 10px;
    font-size: 19px;
    line-height: 1.2;
}

.service-highlight p {
    margin: 0;
    color: #bacbdb;
    font-size: 11px;
}

.service-arrow {
    margin-top: auto;
    padding-top: 18px;
    color: #a7d477;
    font-weight: 900;
}

.faq-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}

.faq-list summary {
    list-style: none;
    padding: 17px 19px;
    cursor: pointer;
    color: var(--navy);
    font-size: 13px;
    font-weight: 850;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details p {
    margin: 0;
    padding: 0 19px 18px;
    color: var(--muted);
    font-size: 12px;
}

.final-cta {
    background: var(--navy);
    color: #fff;
}

.final-cta-inner {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.final-cta h2 {
    margin: 0;
    max-width: 690px;
    color: #fff;
    font-size: clamp(32px, 4.5vw, 55px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.final-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Inner hero */
.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 70px;
    background: linear-gradient(135deg, var(--navy-deep), #123b66 70%, #315b37 130%);
    color: #fff;
}

.inner-hero::after,
.course-hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 1px solid rgba(155,208,111,.20);
    right: -190px;
    top: -160px;
    box-shadow: 0 0 0 70px rgba(155,208,111,.035), 0 0 0 140px rgba(255,255,255,.025);
}

.inner-hero-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    margin-bottom: 26px;
    color: #9fb3c8;
    font-size: 11px;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    padding: 0 8px;
    color: #58708c;
}

.inner-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.inner-hero p {
    max-width: 760px;
    margin: 17px 0 0;
    color: #bfd0e0;
    font-size: 16px;
}

/* Catalogue */
.catalog-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 30px;
}

.catalog-intro h2 {
    font-size: clamp(30px, 4vw, 45px);
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 12px;
    margin-bottom: 12px;
}

.search-field,
.filter-field {
    position: relative;
}

.search-field span {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa0b5;
    font-size: 18px;
}

.search-field input,
.filter-field select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    outline: none;
}

.search-field input {
    padding-left: 42px;
}

.search-field input:focus,
.filter-field select:focus {
    border-color: rgba(79, 145, 36, .45);
    box-shadow: 0 0 0 4px rgba(79, 145, 36, .08);
}

.catalog-status {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 11px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.catalog-card {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(11, 35, 69, 0.025);
    transition: .18s ease;
}

.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(11, 35, 69, 0.08);
    border-color: rgba(79,145,36,.24);
}

.catalog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    color: #7890a5;
    font-size: 10px;
}

.empty-state {
    margin-top: 15px;
    padding: 28px;
    border: 1px dashed #c6d3df;
    border-radius: 16px;
    background: #f8fafc;
    display: grid;
    gap: 3px;
}

.empty-state strong {
    color: var(--navy);
}

.empty-state span {
    color: var(--muted);
    font-size: 12px;
}

.notice-card {
    margin-bottom: 45px;
    padding: 18px 20px;
    border-left: 4px solid var(--green);
    border-radius: 13px;
    background: var(--green-soft);
    color: #43576a;
    font-size: 12px;
}

/* Course / service detail */
.course-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 42px;
    background: linear-gradient(135deg, var(--navy-deep), #123b66 75%, #2f6037 130%);
    color: #fff;
}

.course-hero-inner {
    position: relative;
    z-index: 2;
}

.course-hero-grid,
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 55px;
    align-items: end;
}

.course-hero h1,
.service-detail-grid h1 {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.course-hero p,
.service-detail-grid > div:first-child > p {
    max-width: 780px;
    margin: 16px 0 0;
    color: #c4d4e4;
    font-size: 15px;
}

.course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 23px;
}

.course-badges span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    color: #d9e6f1;
    font-size: 10px;
    font-weight: 850;
}

.course-enquiry-card,
.service-callout {
    padding: 23px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
}

.enquiry-label,
.service-callout > span {
    color: #9cc873;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.course-enquiry-card h2 {
    margin: 12px 0 8px;
    font-size: 22px;
    line-height: 1.15;
}

.course-enquiry-card p {
    margin: 0 0 18px;
    color: #c2d2e2;
    font-size: 11px;
}

.mini-contact-link {
    display: block;
    margin-top: 11px;
    color: #dce8f2;
    font-size: 11px;
    text-align: center;
}

.course-detail-layout,
.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 55px;
    align-items: start;
}

.course-content {
    min-width: 0;
}

.content-block {
    padding-bottom: 38px;
    margin-bottom: 38px;
    border-bottom: 1px solid var(--line);
}

.content-block:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.content-block h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.15;
}

.content-block p {
    margin: 0 0 11px;
    color: var(--muted);
    font-size: 13px;
}

.outcome-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.outcome-list > div,
.check-points > div {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 11px;
    align-items: start;
}

.outcome-list span,
.check-points span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 900;
    font-size: 12px;
}

.outcome-list p,
.check-points p {
    margin: 0;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.detail-facts > div {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fbfc;
}

.detail-facts span,
.detail-facts strong {
    display: block;
}

.detail-facts span {
    color: #8296a9;
    font-size: 10px;
}

.detail-facts strong {
    margin-top: 3px;
    color: var(--navy);
    font-size: 12px;
}

.course-sidebar {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 12px;
}

.sidebar-card {
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(11,35,69,.035);
}

.sidebar-detail {
    display: grid;
    gap: 2px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.sidebar-detail:first-of-type {
    margin-top: 3px;
}

.sidebar-detail span {
    color: #8498ab;
    font-size: 10px;
}

.sidebar-detail strong {
    color: var(--navy);
    font-size: 12px;
}

.sidebar-cta {
    background: linear-gradient(145deg, #f6faef, #f7fbfb);
}

.sidebar-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    margin-bottom: 11px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
}

.sidebar-cta h3 {
    margin: 0;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.2;
}

.sidebar-cta p {
    color: var(--muted);
    font-size: 11px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.related-course {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    transition: .18s ease;
}

.related-course:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11,35,69,.07);
}

.related-course span {
    color: var(--green-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.related-course strong {
    margin-top: 13px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.22;
}

.related-course em {
    margin-top: auto;
    padding-top: 14px;
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
}

.service-large-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-card-large {
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: #fff;
    overflow: hidden;
    transition: .18s ease;
}

.service-card-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(11,35,69,.08);
    border-color: rgba(79,145,36,.24);
}

.service-card-index {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #d8e1ea;
    font-size: 42px;
    line-height: 1;
    font-weight: 950;
}

.service-card-large h3 {
    max-width: 500px;
    margin: 7px 0 9px;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.16;
}

.service-card-large p {
    max-width: 540px;
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.process-grid > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.process-grid span,
.process-grid strong,
.process-grid p {
    display: block;
}

.process-grid span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
}

.process-grid strong {
    margin-top: 22px;
    color: var(--navy);
    font-size: 15px;
}

.process-grid p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.service-callout {
    display: grid;
    gap: 10px;
}

.service-callout strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
}

.service-detail-hero {
    padding-bottom: 62px;
}

/* About */
.about-intro {
    align-items: start;
}

.about-card-stack {
    display: grid;
    gap: 11px;
}

.about-stat-card {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.about-stat-card span {
    display: block;
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
}

.about-stat-card strong {
    display: block;
    margin-top: 5px;
    color: var(--navy);
    font-size: 18px;
}

.about-stat-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.value-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.values-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.value-card {
    min-height: 220px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.value-card span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
}

.value-card h3 {
    margin: 48px 0 7px;
    color: var(--navy);
    font-size: 17px;
}

.value-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

/* Accreditation */
.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.accreditation-card {
    min-height: 220px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: .18s ease;
}

.accreditation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(11,35,69,.07);
}

.accreditation-mark {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
}

.accreditation-card h3 {
    margin: 35px 0 7px;
    color: var(--navy);
    font-size: 18px;
}

.accreditation-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.card-note {
    display: inline-block;
    margin-top: 15px;
    color: #879aae;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 850;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 13px;
}

.gallery-tile {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 19px;
    border: 1px solid rgba(11,35,69,.08);
    background: linear-gradient(145deg, #122f51, #1c5b46);
}

.gallery-tile::before,
.gallery-tile::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
}

.gallery-tile::before {
    width: 230px;
    height: 230px;
    right: -100px;
    top: -90px;
}

.gallery-tile::after {
    width: 160px;
    height: 160px;
    left: -80px;
    bottom: -90px;
}

.gallery-tile-1,
.gallery-tile-4 {
    grid-column: span 7;
}

.gallery-tile-2,
.gallery-tile-3,
.gallery-tile-5,
.gallery-tile-6 {
    grid-column: span 5;
}

.gallery-tile-2 {
    background: linear-gradient(145deg, #0b2345, #386a2c);
}

.gallery-tile-3 {
    background: linear-gradient(145deg, #21475d, #163b2c);
}

.gallery-tile-4 {
    background: linear-gradient(145deg, #2b4559, #214b31);
}

.gallery-tile-5 {
    background: linear-gradient(145deg, #0b2345, #274d73);
}

.gallery-tile-6 {
    background: linear-gradient(145deg, #244a42, #50732e);
}

.gallery-overlay {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
}

.gallery-content {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 25px;
    bottom: 25px;
    color: #fff;
}

.gallery-content span {
    color: #a6d078;
    font-size: 10px;
    font-weight: 900;
}

.gallery-content h3 {
    margin: 7px 0 2px;
    font-size: 24px;
}

.gallery-content p {
    margin: 0;
    color: #c0d1df;
    font-size: 11px;
}

/* Contact / forms */
.contact-layout,
.register-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 55px;
    align-items: start;
}

.contact-method {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-method > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.contact-method small,
.contact-method strong,
.contact-method a {
    display: block;
}

.contact-method small {
    color: #8296a9;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.contact-method a,
.contact-method strong {
    margin-top: 3px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 850;
}

.contact-method a:hover {
    color: var(--green-dark);
}

.contact-form {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.form-heading {
    margin-bottom: 22px;
}

.form-heading h2 {
    font-size: 31px;
}

.form-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.form-grid label {
    display: grid;
    gap: 6px;
}

.form-grid label span {
    color: var(--navy);
    font-size: 10px;
    font-weight: 850;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: none;
    background: #fbfcfd;
    padding: 11px 12px;
    color: var(--ink);
    font-size: 12px;
}

.form-grid input {
    min-height: 45px;
}

.form-grid textarea {
    min-height: 150px;
    resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
    border-color: rgba(79,145,36,.45);
    box-shadow: 0 0 0 4px rgba(79,145,36,.08);
}

.full-label {
    grid-column: 1 / -1;
}

.form-status {
    min-height: 18px;
    margin: 9px 0 0;
    color: var(--green-dark);
    font-size: 11px;
}

.check-points {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

/* Footer */
.site-footer {
    color: #b9c9d9;
    background: var(--navy-deep);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
    padding: 70px 0 38px;
}

.footer-logo {
    display: inline-block;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 17px;
    background: #fff;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand-title {
    margin: 16px 0 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
}

.footer-brand-col > p:not(.footer-brand-title) {
    max-width: 370px;
    margin: 0;
    color: #91a8bd;
    font-size: 11px;
}

.footer-col h4 {
    margin: 4px 0 14px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.footer-col a,
.footer-col span,
.social-note {
    display: block;
    margin: 7px 0;
    color: #aebfd0;
    font-size: 11px;
}

.footer-col a:hover {
    color: #a8d57b;
}

.footer-actions {
    margin-top: 19px;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 11px;
    background: rgba(79,145,36,.16);
    border: 1px solid rgba(79,145,36,.24);
    color: #d5e9bd;
    font-size: 11px;
    font-weight: 850;
}

.whatsapp-logo {
    width: 19px;
    height: 19px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
}

.social-note {
    max-width: 210px;
    color: #829ab0;
}

.social-list a {
    width: fit-content;
    opacity: .84;
}

.footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #8299af;
    font-size: 10px;
}

.floating-whatsapp {
    position: fixed;
    z-index: 60;
    right: 24px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    box-shadow: 0 16px 34px rgba(79,145,36,.30);
}

.floating-whatsapp:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* Error */
.error-page {
    min-height: 64vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f4f8fc, #f1f7ef);
}

.error-inner {
    padding: 90px 0;
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: clamp(80px, 16vw, 170px);
    line-height: .8;
    letter-spacing: -.07em;
    font-weight: 950;
}

.error-inner h1 {
    margin: 0;
    color: var(--navy);
    font-size: 42px;
}

.error-inner p {
    max-width: 560px;
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 13px;
}

.error-inner .hero-actions {
    justify-content: center;
}

/* Navigation safety breakpoint: prevents header crowding between desktop and mobile. */
@media (max-width: 1180px) {
    .nav-inner {
        position: relative;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        display: none;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        margin-left: 0;
        white-space: normal;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(11,35,69,.15);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-drop-trigger {
        width: 100%;
        text-align: left;
        padding: 12px;
    }

    .nav-cta {
        width: 100%;
        text-align: center !important;
        margin-left: 0;
    }

    .nav-dropdown {
        width: 100%;
    }

    .mega-panel {
        position: static;
        transform: none !important;
        width: 100%;
        margin-top: 5px;
        padding: 12px;
        display: none;
        box-shadow: none;
        border: 1px solid var(--line);
        border-radius: 14px;
    }

    .nav-dropdown.open .mega-panel {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mega-heading {
        display: block;
    }

    .mega-heading h3 {
        font-size: 18px;
    }

    .mega-heading .text-link {
        margin-top: 8px;
    }

    .mega-grid,
    .mega-grid-services {
        grid-template-columns: 1fr;
        max-height: 310px;
        gap: 7px;
    }

    .mega-resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .main-nav > a,
    .nav-drop-trigger {
        padding-left: 9px;
        padding-right: 9px;
    }

    .hero-grid {
        gap: 40px;
    }

    .course-preview-grid,
    .service-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-cards,
    .accreditation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .top-strip-inner {
        min-height: auto;
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        display: none;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(11,35,69,.15);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-drop-trigger {
        width: 100%;
        text-align: left;
        padding: 12px;
    }

    .nav-cta {
        width: 100%;
        text-align: center !important;
        justify-content: center;
        margin-left: 0;
    }

    .nav-dropdown {
        width: 100%;
    }

    .mega-panel {
        position: static;
        transform: none !important;
        width: 100%;
        margin-top: 5px;
        padding: 12px;
        display: none;
        box-shadow: none;
        border: 1px solid var(--line);
        border-radius: 14px;
    }

    .nav-dropdown.open .mega-panel {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mega-heading {
        display: block;
    }

    .mega-heading h3 {
        font-size: 18px;
    }

    .mega-heading .text-link {
        margin-top: 8px;
    }

    .mega-grid,
    .mega-grid-services {
        grid-template-columns: 1fr;
        max-height: 310px;
        gap: 7px;
    }

    .hero-grid,
    .split-section,
    .faq-layout,
    .values-grid,
    .contact-layout,
    .register-layout,
    .course-detail-layout,
    .service-detail-layout,
    .course-hero-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(46px, 10vw, 70px);
    }

    .hero-visual {
        min-height: 470px;
    }

    .course-hero-grid,
    .service-detail-grid {
        gap: 30px;
    }

    .course-sidebar {
        position: static;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-large-grid {
        grid-template-columns: 1fr;
    }

    .gallery-tile-1,
    .gallery-tile-4,
    .gallery-tile-2,
    .gallery-tile-3,
    .gallery-tile-5,
    .gallery-tile-6 {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    :root {
        --container: 1180px;
    }

    .container {
        width: min(100% - 28px, var(--container));
    }

   .nav-inner {
        min-height: 80px;
    }

    .brand {
        min-width: 0;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 13px;
    }

    .brand-text small {
        display: none;
    }

    .brand-text strong {
        max-width: 210px;
        font-size: 10px;
        line-height: 1.25;
        letter-spacing: 0.07em;
    }

    .hero-home {
        padding: 62px 0 48px;
    }

    .hero-copy h1 {
        font-size: 47px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-trust {
        gap: 16px;
        justify-content: space-between;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-card-main {
        width: min(370px, 100%);
        padding: 18px;
    }

    .floating-card {
        min-width: 188px;
        padding: 10px 11px;
    }

    .floating-card-top {
        left: -2px;
        top: 14px;
    }

    .floating-card-bottom {
        right: -2px;
        bottom: 2px;
    }

    .hero-card-caption {
        padding-top: 14px;
    }

    .hero-card-caption span {
        font-size: 22px;
    }

    .trust-bar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .trust-items {
        justify-content: flex-start;
        gap: 9px 15px;
    }

    .section {
        padding: 70px 0;
    }

    .category-grid,
    .catalog-grid,
    .course-preview-grid,
    .service-highlight-grid,
    .values-cards,
    .accreditation-grid,
    .related-grid,
    .process-grid,
    .service-large-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .split-heading,
    .catalog-intro,
    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-toolbar,
    .detail-facts,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-label {
        grid-column: auto;
    }

    .inner-hero {
        padding: 56px 0 52px;
    }

    .inner-hero h1 {
        font-size: 44px;
    }

    .course-hero,
    .service-detail-hero {
        padding: 48px 0 55px;
    }

    .course-hero h1,
    .service-detail-grid h1 {
        font-size: 40px;
    }

    .course-detail-layout,
    .service-detail-layout {
        gap: 35px;
    }

    .contact-form {
        padding: 20px;
    }

    .gallery-tile-1,
    .gallery-tile-4,
    .gallery-tile-2,
    .gallery-tile-3,
    .gallery-tile-5,
    .gallery-tile-6 {
        grid-column: span 12;
    }

    .gallery-tile {
        min-height: 230px;
    }

    .footer-main {
        padding-top: 55px;
    }

    .footer-bottom {
        padding: 16px 0 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        right: 16px;
        bottom: 16px;
    }
}

/* V4 additions */
.mega-route-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.mega-route-row a,
.mega-resource-grid a {
    display: grid;
    gap: 5px;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--tint-blue);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mega-route-row a:hover,
.mega-resource-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 145, 36, .45);
    background: var(--green-soft);
}

.mega-route-row strong,
.mega-resource-grid strong {
    color: var(--navy);
    font-size: 14px;
}

.mega-route-row span,
.mega-resource-grid span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.mega-resources {
    width: min(920px, 92vw);
}

.mega-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 18px;
}

.route-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.route-card {
    display: grid;
    gap: 8px;
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 35px rgba(11, 35, 69, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.route-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 145, 36, .45);
    box-shadow: 0 22px 50px rgba(11, 35, 69, .11);
}

.route-icon,
.mission-card > span,
.process-card > span,
.industry-card > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.route-card strong {
    font-size: 19px;
    color: var(--navy);
}

.route-card small {
    color: var(--muted);
    line-height: 1.55;
}

.mission-grid,
.industry-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mission-card,
.process-card,
.industry-card,
.blog-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 35px rgba(11, 35, 69, .06);
}

.mission-card h3,
.process-card h3,
.industry-card h3,
.blog-card h3 {
    margin: 18px 0 8px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.2;
}

.mission-card p,
.process-card p,
.industry-card p,
.blog-card p {
    margin: 0;
    color: var(--muted);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.industry-card > span {
    background: var(--green);
}

.logo-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

.logo-pill-grid span {
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 10px 25px rgba(11, 35, 69, .05);
}

.blog-tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

.article-content {
    max-width: 850px;
}

.article-content h2 {
    margin: 8px 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    color: var(--navy);
}

.article-content h3 {
    margin: 32px 0 12px;
    color: var(--navy);
    font-size: 25px;
}

.article-content p {
    color: #4b6078;
    font-size: 17px;
}

.article-lead {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.article-checklist {
    display: grid;
    gap: 10px;
}

.article-checklist > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--tint-blue);
}

.article-checklist span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 800;
}

.article-checklist p {
    margin: 4px 0 0;
    font-size: 15px;
}

.article-aside {
    position: sticky;
    top: 115px;
}

.side-card {
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--tint);
}

.side-card a {
    padding: 10px 0;
    color: var(--navy);
    font-weight: 700;
    border-bottom: 1px solid rgba(11, 35, 69, .08);
}

.side-card a:last-child {
    border-bottom: 0;
}

.notice-card {
    margin-top: 24px;
    padding: 20px 22px;
    border-left: 4px solid var(--green);
    border-radius: 0 16px 16px 0;
    background: var(--green-soft);
}

.notice-card strong {
    display: block;
    color: var(--navy);
    margin-bottom: 5px;
}

.notice-card p {
    margin: 0;
    color: #4b6078;
}

.faq-search {
    width: 100%;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: #fff;
}

.faq-search:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(79,145,36,.12);
}

.gallery-tile-image {
    overflow: hidden;
}

.gallery-tile-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-tile-image:hover img {
    transform: scale(1.04);
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr) minmax(190px, .55fr);
}

.catalog-toolbar .field-wrap {
    position: relative;
}

/* Keep the awarding-body select aligned with search and category controls;
   place its visible label above the control instead of in the grid row. */
.catalog-toolbar .field-wrap label {
    display: none;
}

.catalog-toolbar {
    margin-top: 20px;
}

.catalog-toolbar .field-wrap select,
.catalog-toolbar .field-wrap input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.footer-social-list {
    margin-top: 12px;
}

.footer-social-list a {
    display: inline-flex;
    width: auto;
    min-width: 74px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
}

@media (max-width: 1080px) {
    .mega-route-row,
    .route-card-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mega-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mission-grid,
    .industry-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }
}

@media (max-width: 760px) {
    .mega-route-row,
    .mega-resource-grid,
    .route-card-grid,
    .mission-grid,
    .process-grid,
    .industry-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }
}


/* Trust, feedback, client and online-learning sections */
.value-grid,
.feedback-grid,
.verification-grid,
.media-slot-grid,
.contact-route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.value-card,
.feedback-card,
.verification-card,
.media-slot,
.contact-route {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 35px rgba(11, 35, 69, .06);
}

.value-icon,
.verification-card > span,
.media-slot > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 900;
}

.value-card h3,
.verification-card h3 {
    margin: 18px 0 8px;
    color: var(--navy);
    font-size: 20px;
}

.value-card p,
.verification-card p,
.media-slot small,
.contact-route small,
.feedback-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.feedback-card {
    position: relative;
    min-height: 210px;
}

.feedback-mark {
    display: block;
    color: var(--green);
    font-size: 46px;
    font-weight: 950;
    line-height: .8;
    margin-bottom: 16px;
}

.feedback-meta {
    display: grid;
    gap: 3px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.feedback-meta strong {
    color: var(--navy);
    font-size: 12px;
}

.feedback-meta span {
    color: #8a9bad;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.client-logo-slot {
    min-height: 95px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 20px;
    border: 1px dashed #b7c4d1;
    border-radius: 16px;
    background: rgba(255,255,255,.70);
    text-align: center;
}

.client-logo-slot strong {
    color: var(--navy);
    font-size: 13px;
}

.client-logo-slot span {
    color: #8998a8;
    font-size: 10px;
}

.corporate-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
}

.corporate-cta-row p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.online-route-panel {
    padding: 4px 0;
}

.online-route-list {
    display: grid;
    gap: 11px;
    margin-top: 24px;
}

.online-route-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.online-route-list > div:last-child {
    border-bottom: 0;
}

.online-route-list > div > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.online-route-list strong,
.online-route-list small {
    display: block;
}

.online-route-list strong {
    color: var(--navy);
    font-size: 13px;
}

.online-route-list small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.online-benefit-panel {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(145deg, #0b2345, #173b5c);
    color: #fff;
    box-shadow: 0 24px 70px rgba(11,35,69,.17);
}

.online-benefit-head {
    display: grid;
    gap: 6px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.online-benefit-head span {
    color: #a6d078;
    font-size: 10px;
    letter-spacing: .14em;
    font-weight: 900;
}

.online-benefit-head strong {
    font-size: 20px;
}

.benefit-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.benefit-line:last-child {
    border-bottom: 0;
}

.benefit-line span {
    color: #c7d8e8;
    font-size: 11px;
}

.benefit-line b {
    color: #fff;
    font-size: 11px;
    text-align: right;
}

.media-slot {
    min-height: 165px;
    display: grid;
    align-content: end;
    gap: 7px;
    background:
        radial-gradient(circle at 88% 15%, rgba(79,145,36,.12), transparent 28%),
        linear-gradient(145deg, #f5f8fb, #edf4eb);
}

.media-slot strong {
    color: var(--navy);
    font-size: 17px;
}

.contact-route {
    display: grid;
    gap: 6px;
    text-decoration: none;
}

.contact-route:hover {
    transform: translateY(-2px);
    border-color: rgba(79,145,36,.35);
}

.contact-route span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.contact-route strong {
    color: var(--navy);
    font-size: 17px;
}

@media (max-width: 1080px) {
    .value-grid,
    .feedback-grid,
    .verification-grid,
    .media-slot-grid,
    .contact-route-grid,
    .client-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .corporate-cta-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .value-grid,
    .feedback-grid,
    .verification-grid,
    .media-slot-grid,
    .contact-route-grid,
    .client-logo-grid {
        grid-template-columns: 1fr;
    }
}


.course-glance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.course-glance-grid > div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--tint);
}

.course-glance-grid span {
    display: block;
    color: #8395a7;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 850;
}

.course-glance-grid strong {
    display: block;
    margin-top: 5px;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.45;
}

.course-planning-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.course-planning-list > div {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 13px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.course-planning-list > div > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.course-planning-list strong {
    color: var(--navy);
    font-size: 13px;
}

.course-planning-list p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .course-glance-grid {
        grid-template-columns: 1fr;
    }
}


/* V10 completion polish */
.sector-grid, .visual-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.sector-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 35px rgba(11,35,69,.06);
    text-decoration: none;
}
.sector-card strong { color: var(--ink); font-size: 1.12rem; }
.sector-card span { color: var(--muted); line-height: 1.6; }
.visual-card { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 34px rgba(11,35,69,.07); }
.visual-card img { display:block; width:100%; aspect-ratio: 16/10; object-fit: cover; }
.visual-card figcaption { padding: 15px 18px 18px; font-weight: 700; color: var(--ink); }
.empty-state { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
@media (max-width: 900px) { .sector-grid, .visual-gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .sector-grid, .visual-gallery-grid { grid-template-columns: 1fr; } }

/* Header sizing refinement: balanced logo, readable brand and evenly spaced navigation. */
.nav-inner{min-height:82px;gap:16px}
.brand{flex:0 1 330px;gap:10px}
.brand-mark{width:50px;height:50px;border-radius:11px}
.brand-mark img{padding:2px;object-fit:contain}
.brand-text strong{font-size:11px;line-height:1.35;letter-spacing:.045em;max-width:260px}
.main-nav{gap:3px}
.main-nav > a,.nav-drop-trigger{font-size:13px;padding:9px 9px}
.nav-cta{min-width:96px;padding:10px 13px}
@media(max-width:1280px) and (min-width:1181px){.nav-inner{gap:10px}.brand{flex-basis:280px}.brand-text strong{font-size:10px;max-width:220px}.main-nav{gap:0}.main-nav > a,.nav-drop-trigger{font-size:12px;padding:8px 6px}}
@media(max-width:640px){.nav-inner{min-height:72px}.brand{flex:0 1 auto;gap:9px}.brand-mark{width:44px;height:44px}.brand-text strong{font-size:10px;line-height:1.25;max-width:210px;letter-spacing:.03em}}

/* Online learning route section: improve readability and spacing */
.online-route-panel .eyebrow { display:inline-block; margin-bottom:12px; }
.online-route-panel h2 { max-width: 640px; margin: 0 0 16px; font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: -.025em; }
.online-route-panel > p { max-width: 650px; font-size: 16px; line-height: 1.75; margin: 0; color: var(--muted); }
.online-route-list { gap: 9px; margin-top: 20px; }
.online-route-list > div {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  column-gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 35, 69, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.online-route-list > div:last-child { border-bottom: 1px solid var(--line); }
.online-route-list > div:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 130, 94, .35);
  box-shadow: 0 16px 32px rgba(11, 35, 69, .09);
}
.online-route-list > div > span { width: 34px; height: 34px; font-size: 11px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); }
.online-route-list strong { font-size: 14px; line-height: 1.4; }
.online-route-list small { margin-top: 3px; font-size: 12px; line-height: 1.5; }
.online-route-panel .hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top: 24px; }
.online-route-panel .hero-actions .btn { min-height: 46px; padding: 12px 18px; white-space: normal; line-height: 1.35; }
.online-benefit-panel { align-self: center; min-width: 0; }
.benefit-line { align-items: flex-start; flex-wrap: wrap; }
.benefit-line span, .benefit-line b { line-height: 1.5; }
@media (max-width: 700px) {
  .online-route-panel h2 { font-size: 30px; }
  .online-route-panel > p { font-size: 15px; }
  .online-route-list > div { grid-template-columns: 32px minmax(0, 1fr); gap: 9px; padding: 10px 11px; }
  .online-route-list strong { font-size: 13px; }
  .online-route-list small { font-size: 12px; }
  .online-route-panel .hero-actions { align-items: stretch; flex-direction: column; }
  .online-route-panel .hero-actions .btn { width: 100%; justify-content: center; }
  .online-benefit-panel { padding: 22px; }
}

/* Compact navigation dropdown cards and prevent text overflow */
.mega-panel {
    padding: 18px;
    box-sizing: border-box;
}

.mega-courses {
    width: min(900px, 92vw);
}

.mega-resources {
    width: min(780px, 92vw);
}

.mega-route-row {
    gap: 8px;
    margin: 14px 0;
}

.mega-route-row a,
.mega-resource-grid a {
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 12px;
    overflow-wrap: anywhere;
    word-break: normal;
}

.mega-route-row strong,
.mega-resource-grid strong {
    font-size: 13px;
    line-height: 1.3;
}

.mega-route-row span,
.mega-resource-grid span {
    font-size: 11px;
    line-height: 1.35;
}

.mega-services .mega-route-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-resource-grid {
    gap: 9px;
    padding-top: 14px;
}

@media (max-width: 760px) {
    .mega-panel,
    .mega-courses,
    .mega-services,
    .mega-resources {
        width: 100%;
        max-width: 100%;
        padding: 12px;
    }
    .mega-services .mega-route-row {
        grid-template-columns: 1fr;
    }
}


/* Restore Services dropdown cards to their original spacious layout */
.mega-services {
    width: min(960px, 92vw);
    padding: 24px;
}

.mega-services .mega-route-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.mega-services .mega-route-row a {
    padding: 14px 15px;
    gap: 5px;
    overflow-wrap: normal;
    word-break: normal;
}

.mega-services .mega-route-row strong {
    font-size: 14px;
    line-height: inherit;
}

.mega-services .mega-route-row span {
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .mega-services {
        width: 100%;
        max-width: 100%;
        padding: 12px;
    }
    .mega-services .mega-route-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .mega-services .mega-route-row a {
        padding: 11px 12px;
    }
}


/* Text-fit fix only: preserve the existing dropdown design, sizes, spacing and layout */
.mega-panel,
.mega-panel * {
    box-sizing: border-box;
}
.mega-route-row,
.mega-resource-grid,
.mega-grid,
.mega-grid-services {
    min-width: 0;
}
.mega-route-row > a,
.mega-resource-grid > a,
.mega-grid > a,
.mega-grid-services > a,
.mega-panel .mega-link {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}
.mega-route-row strong,
.mega-route-row span,
.mega-resource-grid strong,
.mega-resource-grid span,
.mega-panel .mega-link-title,
.mega-panel .mega-link > span {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}


/* Course catalogue filters: keep long category/provider names readable without
   overflowing the controls, while preserving the existing visual design. */
.catalog-toolbar {
    min-width: 0;
}
.catalog-toolbar .filter-field,
.catalog-toolbar .field-wrap {
    min-width: 0;
}
.catalog-toolbar .filter-field select,
.catalog-toolbar .field-wrap select {
    min-width: 0;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.35;
    padding: 12px 36px 12px 12px;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #65758b 50%),
                      linear-gradient(135deg, #65758b 50%, transparent 50%);
    background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.catalog-toolbar select option {
    font-size: 13px;
    line-height: 1.35;
}
@media (max-width: 420px) {
    .catalog-toolbar .filter-field select,
    .catalog-toolbar .field-wrap select {
        font-size: 12px;
        padding-left: 10px;
        padding-right: 32px;
        background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
    }
    .catalog-toolbar select option {
        font-size: 12px;
    }
}


/* Ensure catalogue filters actually hide non-matching cards. The cards use
   display:flex, which can override the browser's default [hidden] styling. */
.catalog-card[hidden],
.empty-state[hidden] {
    display: none !important;
}


/* Fix: keep the safety-panel checkmark centered inside its badge. */
.panel-headline .panel-shield {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
}


@media (max-width: 760px) {
    .hero-image-frame { height: min(105vw, 480px); border-radius: 22px 8px 22px 8px; }
    .hero-safety-image { object-position: 56% center; }
}

/* Full-background hero responsive adjustments */
@media (max-width: 900px) {
  .hero-home { min-height: 640px; background-position: center, 68% center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
}
@media (max-width: 600px) {
  .hero-home { min-height: 720px; padding: 64px 0 52px; background-position: center, 68% center; }
  .hero-home { background-image: linear-gradient(90deg, rgba(246,250,248,.97) 0%, rgba(246,250,248,.91) 58%, rgba(246,250,248,.64) 100%), url("hero-safety-inspector.png"); }
  .hero-copy h1 { font-size: clamp(42px, 11vw, 58px); }
  .hero-trust { gap: 20px; flex-wrap: wrap; }
}


/* Final hero background layout: image spans the full hero, no separate image card */
.hero-home {
    background-image: linear-gradient(90deg, rgba(246,250,248,.97) 0%, rgba(246,250,248,.92) 30%, rgba(246,250,248,.72) 46%, rgba(246,250,248,.20) 66%, rgba(246,250,248,.03) 100%), url("hero-safety-inspector.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, 72% center;
}
.hero-home .hero-visual { display: none !important; }
.hero-home .hero-grid { grid-template-columns: minmax(0, 760px); }
@media (max-width: 760px) {
    .hero-home { background-position: center, 68% center; padding: 58px 0 48px; }
    .hero-home .hero-copy { max-width: 100%; }
    .hero-home .hero-copy h1 { font-size: clamp(42px, 10vw, 62px); }
    .hero-home .hero-lead { color: #30445e; }
    .hero-home .hero-trust { gap: 20px; flex-wrap: wrap; }
}


/* Catalogue refresh: clean, reference-led cards with proper vector icons */
.catalogue-landing{position:relative;isolation:isolate;overflow:hidden;padding:44px 0 48px;background:radial-gradient(ellipse at 50% 8%,#fff 0%,#fbfdfc 53%,#f0f8f8 100%)}
.catalogue-landing:before{content:"";position:absolute;z-index:-1;left:-120px;top:-180px;width:300px;height:300px;border:32px solid rgba(37,139,72,.055);border-radius:50%;pointer-events:none}
.catalogue-landing:after{content:"";position:absolute;z-index:-1;right:-120px;top:160px;width:260px;height:260px;border:2px solid rgba(37,139,72,.12);border-radius:50%;pointer-events:none}
.catalogue-landing-inner{max-width:1160px;padding:0 14px}
.catalogue-kicker{display:flex;align-items:center;justify-content:center;gap:12px;width:max-content;max-width:100%;margin:0 auto 13px;padding:8px 15px;border-radius:99px;background:#f1f8f0;color:#187633;font-size:12px;font-weight:800;letter-spacing:1.4px}
.catalogue-kicker span{width:24px;height:3px;background:#21823b;border-radius:4px}
.catalogue-landing h1{text-align:center;margin:0;color:#0b2143;font-size:clamp(34px,4.3vw,54px);line-height:1.04;letter-spacing:-1.6px;font-weight:800}
.catalogue-landing h1 em{font-style:normal;color:#1b7837}
.catalogue-lead{text-align:center;max-width:780px;margin:21px auto 31px;color:#6482a2;font-size:16px;line-height:1.6}
.catalogue-orbit{display:none}
.pathway-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pathway-card{position:relative;display:flex;align-items:center;gap:22px;min-height:154px;padding:20px;border:1px solid #dfedf5;border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(16,49,79,.045);text-decoration:none;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.pathway-card:after{content:"";position:absolute;right:-21px;bottom:-40px;width:78px;height:78px;border:5px solid rgba(57,164,112,.15);border-radius:50%;pointer-events:none}
.pathway-card:hover{transform:translateY(-3px);border-color:#9ed7a0;box-shadow:0 13px 28px rgba(16,49,79,.09)}
.pathway-icon,.pathway-card.blue .pathway-icon{flex:0 0 76px;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;font-size:0;color:#167637;background:#e0f2dc}
.pathway-icon svg{width:40px;height:40px;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.pathway-card.blue .pathway-icon{color:#102f59;background:#d9f0ff}
.pathway-copy{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:10px;padding:0}
.pathway-count{order:0;padding:5px 10px;border-radius:99px;background:#edf7ec;color:#187337;font-size:10px;font-weight:800;letter-spacing:.45px;white-space:nowrap}
.pathway-copy strong{order:1;color:#102d57;font-size:17px;line-height:1.25;font-weight:750}
.pathway-link{order:2;display:flex;align-items:center;gap:10px;margin-top:2px;color:#5d7d9e;font-size:13px;font-weight:500}
.pathway-link b{font-size:18px;color:#168337;font-weight:700}
.pathway-number{position:absolute;right:13px;top:10px;color:#dcebe1;font-size:10px;font-weight:800;opacity:0}
.catalogue-bottom{display:flex;align-items:center;justify-content:center;gap:26px;margin:20px auto 0}
.catalogue-bottom>span{display:block;height:1px;width:min(14vw,155px);background:#cfe3d4}
.catalogue-bottom a{display:inline-flex;align-items:center;gap:14px;padding:15px 30px;border-radius:40px;background:#082449;color:#fff;text-decoration:none;font-size:14px;font-weight:700;box-shadow:0 8px 20px rgba(8,36,73,.12)}
.catalogue-bottom a b{font-size:18px}
@media(max-width:900px){.pathway-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.catalogue-landing h1{letter-spacing:-1px}.catalogue-lead br{display:none}.pathway-card{gap:16px;min-height:138px;padding:17px}.pathway-icon,.pathway-card.blue .pathway-icon{flex-basis:62px;width:62px;height:62px}.pathway-icon svg{width:34px;height:34px}}
@media(max-width:580px){.catalogue-landing{padding:34px 0}.catalogue-landing-inner{padding:0 14px}.catalogue-landing h1{font-size:34px;letter-spacing:-.8px}.catalogue-lead{font-size:14px;margin:17px auto 23px;padding:0 5px}.pathway-grid{grid-template-columns:1fr;gap:11px}.pathway-card{min-height:112px;padding:16px;gap:16px}.pathway-icon,.pathway-card.blue .pathway-icon{flex-basis:60px;width:60px;height:60px}.pathway-icon svg{width:32px;height:32px}.pathway-copy{gap:7px}.pathway-copy strong{font-size:16px}.pathway-count{font-size:9px;padding:4px 8px}.catalogue-bottom{gap:12px}.catalogue-bottom>span{width:30px}.catalogue-bottom a{padding:13px 22px}}


/* Course catalogue: refined, airy, icon-led layout */
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
.category-card{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;column-gap:17px;row-gap:0;min-height:158px;padding:20px;border:1px solid #dfedf5;border-radius:15px;background:linear-gradient(145deg,#fff 0%,#fcfefd 100%);box-shadow:0 8px 24px rgba(16,49,79,.045);text-decoration:none;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.category-card:before{content:"";position:absolute;right:-22px;bottom:-40px;width:78px;height:78px;border:5px solid rgba(57,164,112,.15);border-radius:50%;pointer-events:none}
.category-card:hover{transform:translateY(-3px);border-color:#9ed7a0;box-shadow:0 13px 28px rgba(16,49,79,.09)}
.category-number{position:absolute;right:13px;top:10px;color:#dcebe1;font-size:10px;font-weight:800;opacity:0}
.category-icon{grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e0f2dc;color:#167637}
.category-card:nth-child(even) .category-icon{background:#d9f0ff;color:#102f59}
.category-icon svg{width:36px;height:36px;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.category-card>div{grid-column:2;grid-row:1 / span 2;display:flex;align-items:flex-start;flex-direction:column;min-width:0;padding-top:2px}
.category-count{display:inline-flex;align-items:center;padding:5px 9px;margin:0 0 9px;border-radius:99px;background:#edf7ec;color:#187337;font-size:10px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;white-space:nowrap}
.category-card h3{margin:0 0 13px;color:#102d57;font-size:17px;line-height:1.3;font-weight:750;letter-spacing:-.2px}
.category-arrow{display:flex;align-items:center;gap:9px;color:#5d7d9e;font-size:13px;font-weight:500}
.category-arrow span{color:#168337;font-size:18px;font-weight:700}
@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.category-card{min-height:142px;grid-template-columns:56px minmax(0,1fr);column-gap:14px;padding:17px}.category-icon{width:56px;height:56px}.category-icon svg{width:32px;height:32px}.category-card h3{font-size:16px}}
@media(max-width:580px){.category-grid{grid-template-columns:1fr;gap:11px;margin-top:22px}.category-card{min-height:116px;grid-template-columns:58px minmax(0,1fr);column-gap:15px;padding:16px}.category-icon{width:58px;height:58px}.category-card h3{font-size:16px;margin-bottom:8px}.category-count{margin-bottom:7px;font-size:9px}.category-arrow{font-size:12px}}

/* Industry sub-page cards */
.industry-card-link{display:block;color:inherit;border-radius:16px;transition:transform .18s ease,box-shadow .18s ease}
.industry-card-link:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(11,35,69,.10)}
.industry-card-link:focus-visible{outline:3px solid var(--green);outline-offset:4px}
.section-note{margin-top:22px;color:var(--muted);font-size:13px}


/* SSCS course cards only — reference-inspired split image layout.
   All selectors are scoped to catalogue pages to preserve the rest of the site. */
.course-catalog-page .catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.course-catalog-page .catalog-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
    min-height: 218px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #d9e4ef;
    border-radius: 16px;
    background: linear-gradient(110deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 7px 20px rgba(11,35,69,.09);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.course-catalog-page .catalog-card::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0 auto 0 0;
    width: 4px;
    background: #4f9124;
}
.course-catalog-page .catalog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79,145,36,.5);
    box-shadow: 0 16px 32px rgba(11,35,69,.14);
}
.course-catalog-page .course-card-visual {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    overflow: hidden;
    background: #eaf1f8;
    clip-path: polygon(27% 0,100% 0,100% 100%,0 100%);
}
.course-catalog-page .course-card-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform .45s ease;
}
.course-catalog-page .catalog-card:hover .course-card-visual img {
    transform: scale(1.08);
}
.course-catalog-page .course-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 69%;
    min-width: 0;
    padding: 17px 13px 15px 19px;
}
.course-catalog-page .catalog-card-top,
.course-catalog-page .catalog-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 11px;
}
.course-catalog-page .course-provider,
.course-catalog-page .provider-pill {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 5px 9px;
    border: 1px solid #d7e6f8;
    border-radius: 20px;
    background: #e7f0fc;
    color: #0b3c79;
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
}
.course-catalog-page .catalog-mode,
.course-catalog-page .online-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    padding: 5px 9px;
    border: 1px solid #dcebd3;
    border-radius: 20px;
    background: #eff6e9;
    color: #3b7617;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
}
.course-catalog-page .catalog-mode::before,
.course-catalog-page .online-pill::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4f9124;
}
.course-catalog-page .catalog-card h3 {
    margin: 0 0 8px;
    color: #0b2345;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 850;
}
.course-catalog-page .catalog-category,
.course-catalog-page .catalog-meta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 4px 8px;
    border: 1px solid #e0eaf5;
    border-radius: 20px;
    background: #edf4fc;
    color: #244c78;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 750;
}
.course-catalog-page .catalog-meta > span:nth-child(2),
.course-catalog-page .catalog-meta > span:nth-child(3) {
    display: none;
}
.course-catalog-page .course-card-content > p:not(.catalog-category) {
    margin: 0 0 10px;
    color: #5d6f84;
    font-size: 10px;
    line-height: 1.45;
}
.course-catalog-page .course-card-link,
.course-catalog-page .card-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 30px;
    margin-top: auto;
    padding: 0 9px 0 12px;
    border: 1px solid #0b2345;
    border-radius: 20px;
    background: #0b2345;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 9px rgba(11,35,69,.18);
}
.course-catalog-page .course-card-link span,
.course-catalog-page .card-link span {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4f9124;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}
.course-catalog-page .course-card-link:hover,
.course-catalog-page .card-link:hover {
    background: #3b7617;
    border-color: #3b7617;
    color: #fff;
}
@media (max-width: 1050px) {
    .course-catalog-page .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .course-catalog-page .catalog-card { min-height: 218px; }
}
@media (max-width: 650px) {
    .course-catalog-page .catalog-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
    .course-catalog-page .catalog-card { min-height: 205px; }
    .course-catalog-page .course-card-content { width: 69%; padding: 16px 10px 14px 17px; }
    .course-catalog-page .catalog-card h3 { font-size: 13px; }
    .course-catalog-page .course-card-visual { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
    .course-catalog-page .catalog-card,
    .course-catalog-page .course-card-visual img { transition: none; }
    .course-catalog-page .catalog-card:hover { transform: none; }
}


/* Course catalogue card imagery */
.course-preview-card .course-card-image-wrap {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 14px; margin: 0 0 16px; background: #eef2f3;
}
.course-preview-card .course-card-image {
  display: block; width: 100%; height: 100%; object-fit: cover;
  object-position: center; transition: transform .35s ease;
}
.course-preview-card:hover .course-card-image { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .course-preview-card .course-card-image { transition: none; }
}


/* Expanded searchable FAQ */
.faq-search-label { display: block; margin: 1.1rem 0 .45rem; color: var(--ink, #172b45); font-size: .9rem; font-weight: 650; }
.faq-result-count { margin: .45rem 0 0; color: var(--muted, #64748b); font-size: .84rem; }
.faq-group { margin: 0 0 1.8rem; }
.faq-group-title { margin: 1.2rem 0 .8rem; color: var(--navy, #0b2345); font-size: 1.12rem; }
.faq-empty { padding: 1rem 1.1rem; border: 1px solid rgba(11,35,69,.14); border-radius: 12px; color: var(--muted, #64748b); background: #fff; }
.faq-list details[hidden], .faq-group[hidden], .faq-empty[hidden] { display: none !important; }


/* Compact searchable FAQ: keep the page short until visitors request the full list. */
.faq-more-wrap { grid-column: 2; margin-top: 4px; }
.faq-more-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid var(--navy, #0b2345); border-radius: 999px; background: var(--navy, #0b2345); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.faq-more-button:hover { transform: translateY(-1px); background: #173d67; }
.faq-more-button:focus-visible { outline: 3px solid rgba(79,145,36,.35); outline-offset: 3px; }
.faq-result-count { min-height: 1.2em; }
.faq-group-title { font-size: 1rem; margin-top: .65rem; }
.faq-group { margin-bottom: 1rem; }
@media (max-width: 760px) { .faq-more-wrap { grid-column: 1; } .faq-more-button { width: 100%; } }


/* FAQ pagination: show a fixed-size page of questions instead of expanding the page. */
.faq-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.faq-pagination[hidden] { display: none !important; }
.faq-page-button { min-width: 38px; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line, #dbe3eb); border-radius: 9px; background: #fff; color: var(--navy, #0b2345); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.faq-page-button:hover:not(:disabled) { border-color: var(--navy, #0b2345); background: #f3f6fa; }
.faq-page-button.is-current { border-color: var(--navy, #0b2345); background: var(--navy, #0b2345); color: #fff; }
.faq-page-button:disabled { opacity: .42; cursor: not-allowed; }
.faq-page-ellipsis { padding: 0 2px; color: var(--muted, #64748b); }
@media (max-width: 480px) { .faq-pagination { gap: 5px; } .faq-page-button { min-width: 34px; min-height: 36px; padding: 7px 9px; font-size: .82rem; } }


/* Course detail hero photography: consistent SSCS visual treatment. */
.course-page-visual { width: min(100%, 760px); margin: 18px 0 24px; overflow: hidden; border-radius: 18px; background: #eaf0f5; box-shadow: 0 12px 30px rgba(8, 31, 58, .12); }
.course-page-visual img { display: block; width: 100%; height: clamp(190px, 29vw, 330px); object-fit: cover; object-position: center; }
.course-hero .course-page-visual { width: 100%; max-width: 620px; margin: 0 0 22px; }
.course-hero .course-page-visual img { height: clamp(180px, 24vw, 290px); }
@media (max-width: 760px) { .course-page-visual { margin: 14px 0 20px; border-radius: 14px; } .course-page-visual img { height: 210px; } .course-hero .course-page-visual img { height: 195px; } }


/* Compact course detail header: keep every qualification page aligned with the concise awarding-body header. */
.course-hero .breadcrumb { margin-bottom: 14px; }
.course-hero .course-hero-grid { gap: 34px; align-items: center; }
.course-hero .course-page-visual { width: min(100%, 440px); max-width: 440px; margin: 0 0 14px; border-radius: 16px; }
.course-hero .course-page-visual img { height: clamp(145px, 17vw, 205px); }
.course-hero .course-hero-grid > div:first-child > .eyebrow { margin-bottom: 8px; }
.course-hero p { margin-top: 11px; font-size: 14px; }
.course-hero .course-badges { margin-top: 15px; }
.course-hero .course-enquiry-card { padding: 19px; }
.course-hero .course-enquiry-card h2 { font-size: 20px; }
@media (max-width: 760px) {
    .course-hero { padding: 30px 0 34px; }
    .course-hero .course-hero-grid { gap: 22px; }
    .course-hero .course-page-visual { width: 100%; max-width: 100%; margin-bottom: 12px; }
    .course-hero .course-page-visual img { height: 175px; }
    .course-hero h1 { font-size: clamp(30px, 8vw, 40px); }
    .course-hero .course-enquiry-card { padding: 18px; }
}


/* Unified compact hero styling for the newer course-detail template. */
.page-hero.compact-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 42px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-deep), #123b66 75%, #2f6037 130%);
}
.page-hero.compact-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    top: -175px;
    border: 1px solid rgba(155,208,111,.20);
    border-radius: 50%;
    box-shadow: 0 0 0 65px rgba(155,208,111,.035), 0 0 0 130px rgba(255,255,255,.025);
    pointer-events: none;
}
.page-hero.compact-hero > .container { position: relative; z-index: 1; }
.page-hero.compact-hero .breadcrumbs {
    margin: 0 0 14px;
    color: #9fb3c8;
    font-size: 11px;
}
.page-hero.compact-hero .breadcrumbs a { color: #dce8f2; }
.page-hero.compact-hero .course-page-visual {
    width: min(100%, 440px);
    margin: 0 0 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.page-hero.compact-hero .course-page-visual img {
    width: 100%;
    height: clamp(145px, 17vw, 205px);
    object-fit: cover;
}
.page-hero.compact-hero h1 {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.page-hero.compact-hero p {
    max-width: 760px;
    margin: 11px 0 0;
    color: #c4d4e4;
    font-size: 14px;
}
.page-hero.compact-hero .eyebrow { color: #a8d47d; }
@media (max-width: 760px) {
    .page-hero.compact-hero { padding: 30px 0 34px; }
    .page-hero.compact-hero .course-page-visual { width: 100%; }
    .page-hero.compact-hero .course-page-visual img { height: 175px; }
    .page-hero.compact-hero h1 { font-size: clamp(30px, 8vw, 40px); }
}

/* Empty provider catalogue state uses the site's existing panel and button language. */
.provider-empty-state{max-width:760px;padding:28px;border:1px solid var(--line);border-radius:18px;background:#f7faff;box-shadow:0 8px 20px rgba(11,35,69,.04)}
.provider-empty-state h3{margin:0 0 8px;color:var(--navy)}
.provider-empty-state p{margin:0 0 18px;color:var(--muted);line-height:1.7}


/* Course catalogue pagination */
.course-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 28px 0 8px;
}

.course-pagination[hidden] {
    display: none;
}

.course-page-button {
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.course-page-button:hover:not(:disabled) {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-1px);
}

.course-page-button.is-current {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.course-page-button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.course-page-ellipsis {
    display: inline-flex;
    min-width: 20px;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 560px) {
    .course-pagination {
        gap: 5px;
    }

    .course-page-button {
        min-width: 34px;
        min-height: 36px;
        padding: 0 8px;
        font-size: 12px;
    }
}


/* International training navigation card and country pages */
.international-resource-card { grid-column: 1 / -1; }
.international-resource-link { position: relative; display: grid; gap: 5px; padding: 15px 18px; border: 1px solid rgba(79,145,36,.25); border-radius: 15px; background: linear-gradient(110deg, #f5f8f2 0%, #ffffff 72%); transition: .18s ease; }
.international-resource-link:hover { border-color: rgba(79,145,36,.55); background: var(--green-soft); transform: translateY(-1px); }
.international-resource-kicker { color: var(--green-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.international-resource-link strong { color: var(--navy); font-size: 16px; }
.international-resource-link > span:not(.international-resource-kicker):not(.international-resource-arrow) { color: var(--muted); font-size: 12px; line-height: 1.5; }
.international-resource-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--green-dark); font-size: 20px; font-weight: 800; }
.international-country-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.international-country-card { display: flex; flex-direction: column; gap: 10px; min-height: 205px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 35px rgba(11,35,69,.07); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.international-country-card:hover { transform: translateY(-4px); border-color: rgba(79,145,36,.45); box-shadow: 0 22px 50px rgba(11,35,69,.11); }
.international-country-card .country-code { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 36px; border-radius: 10px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.international-country-card h3 { margin: 4px 0 0; color: var(--navy); font-size: 20px; }
.international-country-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.international-country-card .card-link { margin-top: auto; }
.international-content-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.8fr); gap: 28px; align-items: start; }
.international-info-panel { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #f7f9fb; }
.international-info-panel h3 { margin-top: 0; color: var(--navy); }
.international-info-panel ul { padding-left: 20px; color: var(--muted); line-height: 1.8; }
.international-faq-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.international-faq-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.international-faq-item h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; }
.international-faq-item p { margin: 0; color: var(--muted); line-height: 1.7; }
@media (max-width: 760px) { .international-country-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .international-country-card { padding: 17px; min-height: 190px; } .international-content-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .international-country-grid { grid-template-columns: 1fr; } }

/* International country page spacing refinement */
.international-content-grid .section-copy > .btn { margin-top: 12px; margin-bottom: 16px; }


/* Homepage: continuous training and qualification provider marquee */
.provider-marquee {
    overflow: hidden;
    padding: 46px 0 42px;
    background: #ffffff;
    border-top: 1px solid rgba(11, 35, 69, .06);
    border-bottom: 1px solid rgba(11, 35, 69, .06);
}
.provider-marquee-heading {
    margin-bottom: 24px;
    text-align: center;
}
.provider-marquee-heading .eyebrow { color: var(--green-dark); }
.provider-marquee-heading h2 {
    margin: 5px 0 4px;
    color: var(--navy);
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.2;
    letter-spacing: -.035em;
}
.provider-marquee-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.provider-marquee-lane {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.provider-marquee-lane + .provider-marquee-lane { margin-top: 8px; }
.provider-marquee-track {
    display: flex;
    width: max-content;
    animation: provider-marquee-scroll 48s linear infinite;
    will-change: transform;
}
.provider-marquee-lane-reverse .provider-marquee-track {
    animation-name: provider-marquee-scroll-reverse;
    animation-duration: 54s;
}
.provider-marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
    padding-right: 18px;
}
.provider-wordmark {
    display: inline-flex;
    min-width: 142px;
    height: 68px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid #e5ebf1;
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 7px 22px rgba(11, 35, 69, .045);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}
.provider-wordmark:hover,
.provider-wordmark:focus-visible {
    color: var(--green-dark);
    border-color: rgba(79, 145, 36, .48);
    box-shadow: 0 12px 28px rgba(11, 35, 69, .10);
    transform: translateY(-2px);
    outline: none;
}
.provider-nebosh { letter-spacing: .08em; }
.provider-iosh { letter-spacing: .12em; }
.provider-oshaa { letter-spacing: .04em; }
.provider-wso { font-size: 25px; letter-spacing: .08em; }
.provider-aosh { font-size: 18px; }
.provider-ictqual { color: #315f88; }
.provider-othm { letter-spacing: .12em; }
.provider-qualifi { font-size: 18px; letter-spacing: .05em; }
.provider-proqual { font-size: 21px; }
.provider-qualcert { font-size: 19px; }
.provider-licqual { font-size: 19px; }
.provider-rsph { letter-spacing: .08em; }
.provider-irca { letter-spacing: .12em; }
.provider-iso { font-size: 24px; letter-spacing: .12em; }
.provider-marquee-lane:hover .provider-marquee-track,
.provider-marquee-lane:focus-within .provider-marquee-track { animation-play-state: paused; }
@keyframes provider-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes provider-marquee-scroll-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}
@media (max-width: 600px) {
    .provider-marquee { padding: 34px 0 30px; }
    .provider-marquee-heading { padding: 0 20px; margin-bottom: 18px; }
    .provider-wordmark { min-width: 118px; height: 58px; padding: 0 16px; font-size: 17px; }
    .provider-wso, .provider-iso { font-size: 21px; }
    .provider-marquee-group { gap: 12px; padding-right: 12px; }
    .provider-marquee-track { animation-duration: 42s; }
    .provider-marquee-lane-reverse .provider-marquee-track { animation-duration: 48s; }
}
@media (prefers-reduced-motion: reduce) {
    .provider-marquee-track { animation: none; }
    .provider-marquee-lane { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .provider-marquee-group[aria-hidden="true"] { display: none; }
}


/* Homepage animated statistics */
.stats-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 4.5vw, 62px) 0;
    color: #ffffff;
    background: linear-gradient(118deg, #081d39 0%, #0b2345 58%, #12345b 100%);
    isolation: isolate;
}
.stats-showcase::before,
.stats-showcase::after {
    position: absolute;
    z-index: -1;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.stats-showcase::before { top: -220px; right: 8%; box-shadow: 0 0 0 32px rgba(255,255,255,.025), 0 0 0 64px rgba(255,255,255,.02); }
.stats-showcase::after { bottom: -270px; left: -120px; box-shadow: 0 0 0 34px rgba(79,145,36,.06), 0 0 0 68px rgba(79,145,36,.035); }
.stats-showcase-heading { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.stats-showcase-heading .eyebrow { color: #a8d27c; }
.stats-showcase-heading h2 { margin: 9px 0 9px; color: #fff; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.2; }
.stats-showcase-heading p { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.72); line-height: 1.75; }
.stats-showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats-showcase-card { position: relative; min-height: 164px; padding: 22px 17px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.065); text-align: center; backdrop-filter: blur(8px); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.stats-showcase-card::before { position: absolute; top: 0; left: 50%; width: 56px; height: 3px; border-radius: 0 0 4px 4px; background: #75ad43; content: ""; transform: translateX(-50%); }
.stats-showcase-card:hover { transform: translateY(-6px); border-color: rgba(117,173,67,.65); background: rgba(255,255,255,.095); }
.stats-showcase-number { display: block; margin-bottom: 9px; color: #a9d57b; font-size: clamp(32px, 3.2vw, 42px); font-weight: 800; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-showcase-card h3 { margin: 0 0 6px; color: #fff; font-size: 15px; }
.stats-showcase-card p { max-width: 270px; margin: 0 auto; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; }
@media (max-width: 760px) {
    .stats-showcase { padding: 42px 0; }
    .stats-showcase-heading { margin-bottom: 22px; }
    .stats-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; max-width: 560px; margin: 0 auto; }
    .stats-showcase-card { min-height: 145px; padding: 19px 12px; }
    .stats-showcase-number { margin-bottom: 8px; font-size: 34px; }
    .stats-showcase-card h3 { font-size: 14px; }
    .stats-showcase-card p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .stats-showcase-card { transition: none; }
}

/* Gallery: uniform two-column layout for all eight category cards */
.gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.gallery-grid > .gallery-tile {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 10;
}

.gallery-grid > .gallery-tile-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-grid > .gallery-tile {
        aspect-ratio: 4 / 5;
    }

    .gallery-grid > .gallery-tile .gallery-content {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}



/* Student sign-in prompt on the Study Materials page */
.study-login-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: -12px 0 28px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
    border-radius: 14px;
    background: var(--tint-blue);
}
.study-login-prompt > div { display: grid; gap: 3px; }
.study-login-prompt strong { color: var(--navy); font-size: 15px; }
.study-login-prompt span { color: var(--muted); font-size: 13px; }
.study-login-prompt .btn { flex: 0 0 auto; white-space: nowrap; }
.study-login-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.study-login-actions .btn-secondary { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:11px 16px; border:1px solid var(--green); border-radius:8px; color:var(--green-dark); background:#fff; font-weight:800; text-decoration:none; white-space:nowrap; }
.study-login-actions .btn-secondary:hover { background:var(--tint-green); }
@media (max-width: 620px) {
    .study-login-prompt { align-items: stretch; flex-direction: column; margin-top: 0; }
    .study-login-actions { flex-direction:column; align-items:stretch; }
    .study-login-actions .btn { width:100%; text-align:center; }
    .study-login-prompt .btn { justify-content: center; }
}
