
/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {
    --primary_colour_orange: #F1A239;
    --darker_orange: #E3922B;
    --white: white;
    --dark: #131922;
    --dark_grey: #2B3038;
    --stats_grey: #1F242D;
    --light_blue: #D3EDFD;
    --cream: #fbeac8;
    --peach: #F9D5A6;
    --darker_white: #F5F5F1;
    --even_darker_white: #F4F6F7;
    --border_grey: #E3E8F0;
    --text_grey: #545F74;
    --darker_grey: #95A2B6;
    --main_font: "Manrope", Arial, Helvetica, sans-serif;
}

/* ============================================================
   SHARED STYLES
   ============================================================ */

/* --- Page Width --- */

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
}

a:focus-visible {
    outline: 3px solid var(--primary_colour_orange);
    outline-offset: 3px;
}

/* --- Section Labels (the cream pills with the orange dot) --- */

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background-color: var(--cream);
    color: var(--dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary_colour_orange);
}

.eyebrow {
    color: var(--primary_colour_orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow.small {
    font-size: 12px;
    letter-spacing: 0.12em;
}

/* --- Section Titles --- */

.section-title {
    margin-top: 16px;
    color: var(--dark);
    font-size: clamp(28px, 3.4vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-title.big {
    font-size: clamp(32px, 4.6vw, 46px);
    line-height: 1.1;
}

.section-intro {
    max-width: 640px;
    margin-top: 16px;
    color: var(--text_grey);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Icon Boxes --- */

.page1 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #cdebd6;
    color: var(--dark);
}

.page2 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #d9cbec;
    color: var(--dark);
}

.page3 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #ecdbc2;
    color: var(--dark);
}

.page4 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #ebb3b3;
    color: var(--dark);
}

.page5 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #D3EDFD;
    color: var(--dark);
}

.page6 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #e4def7;
    color: var(--dark);
}

.page7 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #f3f4d0;
    color: var(--dark);
}

.page8 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #c3ffe1;
    color: var(--dark);
}

.page9 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #d4c8f4;
    color: var(--dark);
}

.page10 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #c5f7fd;
    color: var(--dark);
}

.page11 .icon-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #ffb1b1;
    color: var(--dark);
}

.icon-box svg {
    width: 18px;
    height: 18px;
}

.icon-box.large {
    width: 62px;
    height: 62px;
    border-radius: 16px;
}

.icon-box.large svg {
    width: 22px;
    height: 22px;
}

.icon-box.small {
    width: 42px;
    height: 42px;
    border-radius: 11px;
}

.icon-box.small svg {
    width: 17px;
    height: 17px;
}

.icon-box.dark {
    background-color: var(--dark);
    color: var(--white);
}

/* --- Number Boxes --- */

.page1 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #cdebd6;
    font-size: 12px;
    font-weight: 800;
}

.page2 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #d9cbec;
    font-size: 12px;
    font-weight: 800;
}

.page3 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #ecdbc2;
    font-size: 12px;
    font-weight: 800;
}

.page4 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #ebb3b3;
    font-size: 12px;
    font-weight: 800;
}

.page5 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #b4d3f2;
    font-size: 12px;
    font-weight: 800;
}

.page6 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #e4def7;
    font-size: 12px;
    font-weight: 800;
}

.page7 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #f3f4d0;
    font-size: 12px;
    font-weight: 800;
}

.page8 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #c3ffe1;
    font-size: 12px;
    font-weight: 800;
}

.page9 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #d4c8f4;
    font-size: 12px;
    font-weight: 800;
}

.page10 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #c5f7fd;
    font-size: 12px;
    font-weight: 800;
}

.page11 .number-box {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: #ffb1b1;
    font-size: 12px;
    font-weight: 800;
}

.number-box.round {
    border-radius: 50%;
}

/* --- Buttons --- */

.orange-btn,
.dark-btn {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.orange-btn {
    background-color: var(--primary_colour_orange);
    color: var(--dark);
}

.orange-btn:hover {
    background-color: var(--darker_orange);
    padding: 0 22px;
}

.dark-btn {
    background-color: var(--dark_grey);
    color: var(--white);
}

.dark-btn:hover {
    background-color: #3A404A;
    padding: 0 22px;
}

html{
    scroll-behavior: smooth;
    max-width: 100%;
    max-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    color: rgb(17, 17, 19);
    background-color: #eaeded;
    max-width: 100%;
    max-height: 100%;
   overflow-x: hidden; 
}

header {
    background-color: #131921;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    padding: 76px clamp(16px, 6vw, 120px) 80px;
    background-color: var(--dark);
    background-image: radial-gradient(300px 320px at 97% 25%, rgba(255, 255, 255, 0.09), transparent);
    color: var(--white);
    font-family: var(--main_font);
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.hero-text {
    max-width: 730px;
}

/* --- Back Link --- */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #CCD5E1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--white);
}

.back-link svg {
    width: 14px;
    height: 14px;
}

/* --- Title and Intro --- */

.hero .icon-box {
    margin: 36px 0 28px;
}

.hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-intro {
    color: #CAD3DF;
    font-size: 17px;
    line-height: 1.8;
}

/* --- Quick Facts Box --- */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 110px);
    gap: 8px;
    flex-shrink: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    background-color: var(--stats_grey);
}

.stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 80px;
    padding: 8px;
    border-radius: 14px;
    background-color: var(--dark_grey);
    text-align: center;
}

.stat strong {
    color: var(--primary_colour_orange);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.stat span {
    color: #8490A4;
    font-size: 12px;
    line-height: 1.3;
    text-transform: capitalize;
}

/* ============================================================
   COURSE DIRECTORY SECTION
   ============================================================ */

.directory {
    padding: 80px clamp(16px, 6vw, 120px);
    background-color: var(--white);
    color: var(--dark);
    font-family: var(--main_font);
}

.directory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px 24px;
    margin-bottom: 40px;
}

.course-count {
    flex-shrink: 0;
    padding: 11px 16px;
    border-radius: 999px;
    background-color: var(--even_darker_white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* --- Course List --- */

.course-list {
    border: 1px solid var(--border_grey);
    border-radius: 20px;
}

.course-top, .course-bottom, .course-mid, .course-alone {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 30px;
    transition: all 0.3s ease;
}

.course-mid:hover {
    background-color: #60677115;
}

.course-bottom:hover {
    background-color: #60677115;
    border-radius: 0 0 20px 20px;
}

.course-top:hover {
    background-color: #60677115;
    border-radius: 20px 20px 0px 0px;
}

.course-alone:hover {
    background-color: #60677115;
    border-radius: 20px;
}

.no-course:hover {
    background-color: #60677115;
    border-radius: 20px;
}

/* puts a line between each course, but not above the first one */
.course1 + .course2 {
    border-top: 1px solid var(--border_grey);
}

.course-info {
    flex: 1;
    min-width: 0;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--darker_grey);
    font-size: 12px;
    font-weight: 600;
}

.course-tag {
    padding: 6px 10px;
    border-radius: 15px;
    background-color: var(--cream);
    color: var(--dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-soon{
    padding: 6px 10px;
    border-radius: 15px;
    background-color: #fb7f7f74;
    color: black;
    font-size: 10px;
    text-transform: uppercase;
}

.coming-soon-title {
    padding: 6px 10px;
    border-radius: 15px;
    background-color: #ff9900;
    color: black;
    font-size: 12px;
    text-transform: uppercase;
    margin: 20px 0px;
    letter-spacing: 1px;
}

.course-title {
    margin: 6px 0 4px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.course-text {
    color: var(--text_grey);
    font-size: 14px;
    line-height: 1.6;
}

/* --- Course Record Link --- */

.course-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    color: var(--darker_grey);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.course-link svg {
    width: 15px;
    height: 15px;
}

.directory-note {
    margin-top: 18px;
    color: #768398;
    font-size: 13px;
}

/* ============================================================
   PATHWAYS AND PLACEMENT SECTION
   ============================================================ */

.pathways-section {
    padding: 92px clamp(16px, 6vw, 120px);
    background-color: var(--darker_white);
    color: var(--dark);
    font-family: var(--main_font);
}

.two-cards {
    display: grid;
    grid-template-columns: 11fr 9fr;
    gap: 30px;
}

.card {
    padding: 34px 36px 36px;
    border-radius: 20px;
}

.card-title {
    margin-top: 18px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.card-text {
    margin-top: 12px;
    color: var(--text_grey);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Specialist Pathways Card --- */

.pathways-card {
    border: 1px solid #EBEEF0;
    background-color: var(--white);
}

.pathway-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.pathway {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 0 15px;
    border-radius: 14px;
    background-color: var(--even_darker_white);
    font-size: 15px;
    font-weight: 700;
    text-transform: capitalize;
}

/* --- Industry Placement Card --- */

.placement-card {
    background-color: var(--primary_colour_orange);
}

.placement-card .card-title {
    margin-top: 26px;
}

.placement-card .card-text {
    color: rgba(19, 25, 34, 0.65);
}

.placement-label {
    margin-top: 28px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.chip {
    padding: 9px 16px;
    border-radius: 999px;
    background-color: var(--peach);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */

.skills-section {
    padding: 92px clamp(16px, 6vw, 120px);
    background-color: var(--white);
    color: var(--dark);
    font-family: var(--main_font);
}

.skills-inner {
    display: grid;
    grid-template-columns: 1fr 1.9fr;
    align-items: start;
    gap: 48px;
}

.skills-inner .section-intro {
    margin-top: 22px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.skill {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 0 17px;
    border: 1px solid var(--border_grey);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-transform: capitalize;
}

/* ============================================================
   JOBS SECTION
   ============================================================ */

.jobs-section {
    padding: 92px clamp(16px, 6vw, 120px);
    background-color: var(--even_darker_white);
    color: var(--dark);
    font-family: var(--main_font);
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-top: 48px;
}

/* --- Job Cards --- */

.job {
    padding: 24px;
    border: 1px solid #EBEFF3;
    border-radius: 18px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.job:hover {
    transform: translateY(-8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.331);
}

.job-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-number {
    color: #CCD5E1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.job h3 {
    margin: 28px 0 10px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: capitalize;
}

.job p {
    color: var(--text_grey);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   KEEP EXPLORING SECTION
   ============================================================ */

.explore {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px 32px;
    margin-top: 44px;
    padding: 36px;
    border-radius: 22px;
    background-color: var(--dark);
    color: var(--white);
}

.explore-no-courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px 32px;
    margin: 44px;
    padding: 36px;
    border-radius: 22px;
    background-color: var(--dark);
    color: var(--white);
}

.explore-title {
    margin: 10px 0 6px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.explore-text {
    color: #AFB7C3;
    font-size: 14px;
}

.explore-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================================
   RESPONSIVE SECTION
   ============================================================ */

/* --- Tablets and small laptops (≤1100px) --- */

@media (max-width: 1100px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .two-cards,
    .skills-inner {
        grid-template-columns: 1fr;
    }

    .skills-inner {
        gap: 32px;
    }

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

/* --- Phones (≤768px) --- */

@media (max-width: 768px) {
    .hero {
        padding: 48px clamp(16px, 6vw, 120px) 56px;
    }

    .hero-intro {
        font-size: 16px;
    }

    .stats {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .directory,
    .pathways-section,
    .skills-section,
    .jobs-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .directory-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    /* the "Course record" link drops under the course text */
    .course {
        flex-wrap: wrap;
        gap: 14px 16px;
        padding: 22px 20px;
    }

    .course-info {
        flex-basis: calc(100% - 62px);
    }

    .course-link {
        margin-left: 62px;
    }

    .card {
        padding: 28px 22px;
    }

    .card-title {
        font-size: 24px;
    }

    .skill-grid,
    .job-grid {
        grid-template-columns: 1fr;
    }

    .explore {
        padding: 30px 24px;
    }
}


/* NO COURSE PAGE */

.no-course {
  display: flex;
  flex-direction: column;
  align-items: center;   
  text-align: center;
  padding: 60px 40px;
  background: #f4f6f8;   
  border-radius: 20px;
  transition: all 0.3s ease;
}

.no-course .icon-box {
  margin-bottom: 24px;     
}

.no-course .course-title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
}

.no-course .course-text-none {
  max-width: 520px;
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}