/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibri', Candara, Segoe, "Segoe UI", Optima, sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
    background: #fff;
}

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

a {
    color: #0C6B83;
    text-decoration: underline;
}

a:hover {
    color: #0A5A70;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #0C6B83;
    outline-offset: 2px;
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0C6B83;
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ===== VARIABLES ===== */
:root {
    --teal: #0C6B83;
    --teal-dark: #0A5A70;
    --teal-darker: #074A5E;
    --dark: #2d2d2d;
    --text: #444;
    --text-light: #555;
    --light-bg: #f7f7f7;
    --border: #e0e0e0;
    --max-width: 960px;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    background: linear-gradient(135deg, #074A5E 0%, #0C6B83 40%, #0E7D96 70%, #0C6B83 100%);
    text-align: center;
    padding: 60px 20px 65px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-banner h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1080px !important;
    margin: 0 auto;
    padding: 0;
}

.container a{
    color: #0C6B83;
    text-decoration: underline;
}

/* ===== SECTION HEADINGS ===== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 16px;
}

.section-text {
    margin: 0 auto;
    margin-bottom: 12px;
}

.section-text:last-child {
    margin-bottom: 0;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
    display: inline-block;
    background: var(--teal);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--teal-dark);
    color: #fff;
}

.cta-center {
    text-align: center;
    margin-top: 24px;
}

/* ===== PATHWAY SECTION ===== */
.pathway-section {
    padding: 45px 0 35px;
}

.pathway-section .section-title {
    margin-bottom: 14px;
}

.pathway-section .section-text {
    text-align: left;

    margin: 0 auto;
}

.pathway-section .cta-center {
    margin-top: 28px;
}

/* ===== MASTERY COURSE SECTION ===== */
.mastery-course {
    padding: 40px 0 40px;
}

.mastery-course-grid {
    display: flex;
    gap: 30px;
    align-items: center;
}

.mastery-course-image {
    flex: 0 0 480px;
    max-width: 480px;
}

.mastery-course-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.mastery-course-content {
    flex: 1;
}

.mastery-course-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.3;
}

.mastery-course-content p {
}

/* ===== DELIVERY SECTION ===== */
.delivery-section {
    padding: 40px 0;

    margin: 0 auto;
}

.delivery-section .section-title {
    margin-bottom: 20px;
}

.delivery-section .section-text {
    margin: 0 auto;
    margin-bottom: 14px;
}

/* ===== GAIN A QUALIFICATION ===== */
.qualification-section {
    padding: 40px 0;
}

.qualification-section .section-title {
    margin-bottom: 8px;
}

.qualification-intro {
    text-align: center;
    margin-bottom: 28px;
    max-width: 60ch;
    margin-inline: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 10px;
    list-style: none;
}

.step-card {
    border-left: none;
    padding: 18px 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 0px 4px 6px rgba(0, 0, 0, 0.06);
}

.step-card h3 {
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 10px;
}

.step-card a {
    color: var(--teal);
}

/* ===== LEARNING PLAN ===== */
.learning-plan-section {
    padding: 40px 0;
}

.learning-plan-section .section-title {
    margin-bottom: 12px;
}

.learning-plan-text {
    text-align: center;
    margin-bottom: 10px;
    max-width: 60ch;
    margin-inline: auto;
}

/* ===== WHAT IT COVERS ===== */
.what-it-covers {
    margin-top: 30px;
}

.what-it-covers h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.covers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    list-style: none;
}

.covers-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.covers-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.covers-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.covers-item p {
    line-height: 1.1rem;
    max-width: 180px;
}

/* ===== SCHOOL SUPPORT HUB ===== */
.support-hub-section {
    padding: 45px 0 40px;

    margin: 0 auto;
}

.support-hub-section .section-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 16px;
}

.support-hub-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.support-hub-content {
    flex: 1;
}

.support-hub-content p {
    margin-bottom: 14px;
}

.support-hub-content ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 18px;
}

.support-hub-content ul li {
    margin-bottom: 3px;
}

.support-hub-content .hub-link {
    color: #000000;
}

.underline-text {
    color: #000000;
    text-decoration: underline;
}

.support-hub-image {
    flex: 0 0 515px;
    max-width: 515px;
}

.support-hub-image img {
    width: 100%;
    height: 348px;
    object-fit: cover;
    border-radius: 8px;
}

.support-hub-content .cta-btn--fixed {
    width: 220px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 4px;
}

/* ===== ENROL CTA ===== */
.enrol-cta {
    text-align: center;
    padding: 35px 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 40px 0 50px;
}

.faq-section .section-title {
    margin-bottom: 8px;
}

.faq-intro {
    text-align: center;
    margin-bottom: 28px;
    max-width: 60ch;
    margin-inline: auto;
}

.faq-intro a {
    color: var(--teal);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(117, 117, 117, 0.8);
    border-radius: 4px;
    margin-bottom: 10px;
    background: #f4f4f4;
    overflow: hidden;
}

.faq-item[aria-expanded="true"] {
    background: #ffffff;
}

.faq-item[aria-expanded="true"] .faq-question,
.faq-item[aria-expanded="true"] .faq-answer {
    background: #ffffff;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 56px 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    position: relative;
    font-family: inherit;
    line-height: 1.4;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #cccccc;
    background: #cccccc;
}

.faq-question::before {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    z-index: 1;
    line-height: 1;
}

.faq-item[aria-expanded="true"] .faq-question::before {
    display: none;
}

.faq-item[aria-expanded="true"] .faq-question::after {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    max-width: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 20px 45px;
    }

    .hero-banner h1 {
        font-size: 28px;
    }

    .mastery-course-grid {
        flex-direction: column;
    }

    .mastery-course-image {
        flex: none;
        max-width: 100%;
    }

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

    .covers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .support-hub-grid {
        flex-direction: column;
    }

    .support-hub-image {
        flex: none;
        max-width: 100%;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .faq-answer {
        transition: none;
    }
}

/* Remove Divi's sidebar divider pseudo-element */
.container::before {
    content: none !important;
}

.principal-section {
}

.learning-plan-section h2.section-title {
    color: #189EBF;
    text-align: center;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.learning-plan-section h3.section-subtitle {
    color: #189EBF;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    margin-bottom: 24px;
}

.learning-plan-section .learning-plan-grid {
    display: flex;
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.learning-plan-section .learning-plan-grid-item {
    border-radius: 8px;
    background: #177F99;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    color: #fff;
    padding: 24px;
    flex-basis: 250px;
}

.learning-plan-section .learning-plan-grid-item h3 {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 20px;
}

.learning-plan-section .learning-plan-grid-item p {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 111.111% */
    padding: 0;
    margin: 0 0 1rem;
}

.learning-plan-section .learning-plan-grid-item p:last-child {
    margin-bottom: 0;
}