/* =========================================================
   PIMS COURSE DETAIL PAGE
   Visual & Engaging Design
========================================================= */

:root {

    --detail-navy: #082947;
    --detail-navy-dark: #061e34;

    --detail-green: #087f5b;
    --detail-green-dark: #0f4c3a;
    --detail-green-soft: #eaf6f1;

    --detail-orange: #f47b20;
    --detail-orange-dark: #dc6816;
    --detail-orange-soft: #fff2e8;

    --detail-heading: #0b2341;
    --detail-text: #667085;
    --detail-muted: #98a2b3;

    --detail-border: #dfe7e3;

    --detail-light: #f7f9fa;
    --detail-white: #ffffff;

}



/* =========================================================
   BREADCRUMB
========================================================= */

.detail-breadcrumb-section {

    padding: 20px 0;

    background: #ffffff;

    border-bottom:
        1px solid #edf1ef;

}


.detail-breadcrumb {

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: var(--detail-muted);

    font-size: 10px;

}


.detail-breadcrumb a {

    color: #697683;

    text-decoration: none;

    transition:
        color .2s ease;

}


.detail-breadcrumb a:hover {

    color: var(--detail-green);

}


.detail-breadcrumb span:last-child {

    color: var(--detail-heading);

    font-weight: 600;

}



/* =========================================================
   HERO
========================================================= */

.detail-hero {

    padding:
        30px 0 0;

    background:
        #ffffff;

}


.detail-hero-image {

    position: relative;

    min-height: 510px;

    overflow: hidden;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;

    border-radius:
        21px 21px 0 0;

}


.detail-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,26,45,.91) 0%,
            rgba(5,26,45,.70) 45%,
            rgba(5,26,45,.18) 100%
        );

}


.detail-hero-content {

    position: relative;

    z-index: 2;

    max-width: 720px;

    padding:
        60px 55px;

}


.detail-eyebrow {

    display: inline-flex;

    margin-bottom: 13px;

    color: #ffc18f;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;

}


.detail-hero-content h1 {

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(44px, 5vw, 64px);

    line-height: 1.06;

    letter-spacing: -2.5px;

}


.detail-hero-content p {

    max-width: 620px;

    margin-top: 18px;

    color:
        rgba(255,255,255,.76);

    font-size: 14px;

    line-height: 1.8;

}



/* =========================================================
   HERO BUTTONS
========================================================= */

.detail-hero-actions {

    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;

    gap: 11px;

}


.detail-primary-btn,
.detail-outline-btn {

    min-height: 45px;

    padding:
        0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        .2s ease;

}


.detail-primary-btn {

    background:
        var(--detail-orange);

    color: #ffffff;

}


.detail-primary-btn:hover {

    background:
        var(--detail-orange-dark);

    color: #ffffff;

    transform:
        translateY(-2px);

}


.detail-outline-btn {

    border:
        1px solid
        rgba(255,255,255,.45);

    background:
        rgba(255,255,255,.05);

    color:
        #ffffff;

}


.detail-outline-btn:hover {

    background:
        #ffffff;

    color:
        var(--detail-navy);

}



/* =========================================================
   FACT BAR
========================================================= */

.detail-facts {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    border-radius:
        0 0 17px 17px;

    background:
        var(--detail-navy);

    color:
        #ffffff;

}


.detail-fact {

    min-width: 0;

    padding:
        22px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-right:
        1px solid
        rgba(255,255,255,.10);

}


.detail-fact:last-child {

    border-right: 0;

}


.detail-fact-icon {

    width: 38px;
    height: 38px;

    flex:
        0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.09);

    color:
        #7bd6b6;

}


.detail-fact-icon svg {

    width: 18px;
    height: 18px;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;

}


.detail-fact span,
.detail-fact strong {

    display: block;

}


.detail-fact span {

    margin-bottom: 3px;

    color:
        rgba(255,255,255,.52);

    font-size: 8px;

    letter-spacing: .4px;

    text-transform: uppercase;

}


.detail-fact strong {

    color:
        #ffffff;

    font-size: 11px;

    line-height: 1.4;

}



/* =========================================================
   PAGE NAVIGATION
========================================================= */

.detail-nav-section {

    position: sticky;

    top: 0;

    z-index: 30;

    padding:
        17px 0;

    background:
        rgba(255,255,255,.96);

    border-bottom:
        1px solid #e6ece9;

    backdrop-filter:
        blur(8px);

}


.detail-nav {

    display: flex;

    justify-content: center;

    gap: 32px;

    overflow-x: auto;

}


.detail-nav a {

    flex-shrink: 0;

    position: relative;

    padding:
        5px 0;

    color:
        #5e6c7a;

    text-decoration: none;

    font-size: 11px;
    font-weight: 600;

}


.detail-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -18px;

    width: 0;

    height: 2px;

    background:
        var(--detail-green);

    transition:
        width .2s ease;

}


.detail-nav a:hover {

    color:
        var(--detail-green);

}


.detail-nav a:hover::after {

    width: 100%;

}



/* =========================================================
   GENERAL SECTION
========================================================= */

.detail-section {

    scroll-margin-top:
        90px;

}


.section-number {

    display: block;

    margin-bottom: 10px;

    color:
        var(--detail-orange);

    font-size: 10px;
    font-weight: 800;

}


.section-label {

    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 9px;

    color:
        var(--detail-orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;

}


.section-label::before {

    content: "";

    width: 20px;
    height: 2px;

    background:
        var(--detail-orange);

}



/* =========================================================
   PROGRAM OVERVIEW
========================================================= */

.overview-section {

    padding:
        90px 0;

    background:
        #ffffff;

}


.overview-grid {

    display: grid;

    grid-template-columns:
        .78fr 1.22fr;

    gap: 70px;

    align-items: center;

}


.overview-image {

    position: relative;

}


.overview-image::before {

    content: "";

    position: absolute;

    left: -18px;
    bottom: -18px;

    width: 110px;
    height: 110px;

    border-radius: 18px;

    background:
        var(--detail-green-soft);

}


.overview-image img {

    position: relative;

    z-index: 2;

    width: 100%;
    height: 360px;

    display: block;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 16px 38px
        rgba(11,35,65,.08);

}


.overview-number {

    position: absolute;

    z-index: 3;

    left: -15px;
    top: -15px;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        var(--detail-orange);

    color:
        #ffffff;

    font-size: 10px;
    font-weight: 800;

    box-shadow:
        0 10px 22px
        rgba(244,123,32,.18);

}


.overview-content h2 {

    margin:
        0 0 20px;

    color:
        var(--detail-heading);

    font-size: 37px;

    line-height: 1.1;

}


.overview-content h2 strong {

    color:
        var(--detail-green);

}



/* =========================================================
   WHAT YOU'LL LEARN
========================================================= */

.learning-detail {

    padding:
        90px 0;

    background:
        #f5f8f7;

}


.learning-detail-grid {

    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    gap: 70px;

    align-items: center;

}


.learning-detail-content h2 {

    margin:
        0 0 22px;

    color:
        var(--detail-heading);

    font-size: 38px;

    line-height: 1.1;

}


.learning-detail-content h2 strong {

    color:
        var(--detail-green);

}


.learning-detail-image {

    position: relative;

}


.learning-detail-image::before {

    content: "";

    position: absolute;

    right: -18px;
    top: -18px;

    width: 120px;
    height: 120px;

    border-radius: 18px;

    background:
        var(--detail-orange-soft);

}


.learning-detail-image img {

    position: relative;

    z-index: 2;

    width: 100%;
    height: 350px;

    display: block;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 16px 36px
        rgba(11,35,65,.08);

}


.learning-image-tag {

    position: absolute;

    z-index: 4;

    left: 20px;
    bottom: 20px;

    padding:
        12px 15px;

    border-radius: 10px;

    background:
        rgba(7,31,52,.92);

    color:
        #ffffff;

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.15);

}


.learning-image-tag strong,
.learning-image-tag span {

    display: block;

}


.learning-image-tag strong {

    font-size: 11px;

}


.learning-image-tag span {

    margin-top: 2px;

    color:
        rgba(255,255,255,.65);

    font-size: 9px;

}



/* =========================================================
   QUOTE BAND
========================================================= */

.detail-quote {

    padding:
        38px 0;

    background:
        linear-gradient(
            120deg,
            #06233d,
            #0b3a50
        );

    color:
        #ffffff;

}


.detail-quote-inner {

    display: grid;

    grid-template-columns:
        55px
        1fr
        auto;

    align-items: center;

    gap: 24px;

}


.quote-mark {

    color:
        var(--detail-orange);

    font-size: 55px;

    line-height: 1;

}


.detail-quote p {

    margin: 0;

    color:
        #ffffff;

    font-size: 16px;

    font-weight: 500;

    line-height: 1.55;

}


.quote-source {

    color:
        rgba(255,255,255,.55);

    font-size: 10px;

    font-weight: 700;

}



/* =========================================================
   WHO SHOULD ATTEND
========================================================= */

.audience-detail {

    padding:
        90px 0;

    background:
        #ffffff;

}


.detail-section-heading {

    max-width: 650px;

    margin-bottom: 35px;

}


.detail-section-heading h2 {

    margin: 0;

    color:
        var(--detail-heading);

    font-size: 38px;

    line-height: 1.12;

}


.detail-section-heading h2 strong {

    color:
        var(--detail-green);

}


.audience-detail-grid {

    display: grid;

    grid-template-columns:
        .82fr 1.18fr;

    align-items: stretch;

    gap: 25px;

}


.audience-detail-image {

    overflow: hidden;

    border-radius: 17px;

}


.audience-detail-image img {

    width: 100%;
    height: 100%;

    min-height: 330px;

    display: block;

    object-fit: cover;

    transition:
        transform .35s ease;

}


.audience-detail-image:hover img {

    transform:
        scale(1.03);

}


.audience-detail-box {

    display: grid;

    grid-template-columns:
        70px 1fr;

    align-items: start;

    gap: 24px;

    padding:
        32px;

    border:
        1px solid #e1e8e5;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #f2f8f5,
            #ffffff
        );

}


.audience-icon {

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--detail-green-soft);

    color:
        var(--detail-green);

}


.audience-icon svg {

    width: 25px;
    height: 25px;

    stroke-width: 1.7;

}



/* =========================================================
   KEY BENEFITS
========================================================= */

.benefits-detail {

    padding:
        90px 0;

    background:
        linear-gradient(
            135deg,
            #edf6f2,
            #f7faf9
        );

}


.benefits-detail-grid {

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    align-items: center;

    gap: 70px;

}


.benefits-detail-content h2 {

    margin:
        0 0 22px;

    color:
        var(--detail-heading);

    font-size: 38px;

    line-height: 1.1;

}


.benefits-detail-content h2 strong {

    color:
        var(--detail-green);

}


.benefits-detail-image {

    position: relative;

}


.benefits-detail-image::after {

    content: "";

    position: absolute;

    right: -18px;
    bottom: -18px;

    width: 120px;
    height: 120px;

    border-radius: 18px;

    background:
        rgba(8,127,91,.09);

    z-index: 0;

}


.benefits-detail-image img {

    position: relative;

    z-index: 2;

    width: 100%;
    height: 350px;

    display: block;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 16px 36px
        rgba(11,35,65,.09);

}



/* =========================================================
   ASSESSMENT
========================================================= */

.assessment-detail {

    padding:
        90px 0;

    background:
        #ffffff;

}


.assessment-detail-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    align-items: center;

    gap: 70px;

}


.assessment-detail-image {

    position: relative;

}


.assessment-detail-image::before {

    content: "";

    position: absolute;

    left: -18px;
    top: -18px;

    width: 120px;
    height: 120px;

    border-radius: 18px;

    background:
        var(--detail-orange-soft);

}


.assessment-detail-image img {

    position: relative;

    z-index: 2;

    width: 100%;
    height: 350px;

    display: block;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 16px 36px
        rgba(11,35,65,.08);

}


.assessment-detail-content h2 {

    margin:
        0 0 22px;

    color:
        var(--detail-heading);

    font-size: 38px;

    line-height: 1.1;

}


.assessment-detail-content h2 strong {

    color:
        var(--detail-orange);

}



/* =========================================================
   RICH HTML CONTENT
========================================================= */

.detail-rich-content {

    color:
        #536272;

    font-size: 14px;

    line-height: 1.8;

}


.detail-rich-content p {

    margin-bottom: 15px;

}


.detail-rich-content p:last-child {

    margin-bottom: 0;

}


.detail-rich-content strong,
.detail-rich-content b {

    color:
        var(--detail-heading);

    font-weight: 700;

}


.detail-rich-content h2,
.detail-rich-content h3,
.detail-rich-content h4 {

    margin:
        23px 0 10px;

    color:
        var(--detail-heading);

}


.detail-rich-content h2 {

    font-size: 20px;

}


.detail-rich-content h3 {

    font-size: 18px;

}


.detail-rich-content h4 {

    font-size: 16px;

}



/* =========================================================
   RICH LISTS
========================================================= */

.detail-rich-content ul,
.detail-rich-content ol {

    margin:
        16px 0;

    padding: 0;

    list-style: none;

}


.detail-rich-content li {

    position: relative;

    margin-bottom: 9px;

    padding-left: 23px;

}


.detail-rich-content ul li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color:
        var(--detail-green);

    font-size: 11px;

    font-weight: 800;

}


.detail-rich-content ol {

    counter-reset:
        detail-counter;

}


.detail-rich-content ol li {

    counter-increment:
        detail-counter;

    padding-left: 28px;

}


.detail-rich-content ol li::before {

    content:
        counter(detail-counter) ".";

    position: absolute;

    left: 0;

    color:
        var(--detail-orange);

    font-size: 11px;

    font-weight: 800;

}



/* =========================================================
   RICH TABLES
========================================================= */

.detail-rich-content table {

    width: 100%;

    display: block;

    overflow-x: auto;

    margin:
        22px 0;

    border-collapse: collapse;

    font-size: 12px;

}


.detail-rich-content th,
.detail-rich-content td {

    padding:
        11px 13px;

    border:
        1px solid #dfe7e3;

    text-align: left;

}


.detail-rich-content th {

    background:
        var(--detail-navy);

    color:
        #ffffff;

}



/* =========================================================
   FAQ
========================================================= */

.detail-faq-section {

    padding:
        90px 0;

    background:
        #f5f8f7;

}


.detail-faq-heading {

    max-width: 650px;

    margin-bottom: 35px;

}


.detail-faq-heading h2 {

    margin: 0;

    color:
        var(--detail-heading);

    font-size: 38px;

    line-height: 1.1;

}


.detail-faq-heading h2 strong {

    color:
        var(--detail-green);

}


.detail-faq-heading > p {

    margin-top: 12px;

    color:
        var(--detail-text);

    font-size: 13px;

    line-height: 1.7;

}


.detail-faq-list {

    display: grid;

    gap: 9px;

    max-width: 950px;

}


.detail-faq-item {

    overflow: hidden;

    border:
        1px solid #dfe7e3;

    border-radius: 10px;

    background:
        #ffffff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}


.detail-faq-item.open {

    border-color:
        rgba(8,127,91,.25);

    box-shadow:
        0 8px 22px
        rgba(11,35,65,.05);

}


.detail-faq-question {

    width: 100%;

    padding:
        16px 18px;

    display: grid;

    grid-template-columns:
        1fr 35px;

    align-items: center;

    gap: 15px;

    border: 0;

    background:
        transparent;

    color:
        var(--detail-heading);

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    text-align: left;

}


.detail-faq-toggle {

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid #dce5e1;

    border-radius: 50%;

    color:
        var(--detail-green);

    transition:
        .2s ease;

}


.detail-faq-toggle svg {

    width: 14px;
    height: 14px;

    transition:
        transform .2s ease;

}


.detail-faq-item.open
.detail-faq-toggle {

    background:
        var(--detail-orange);

    border-color:
        var(--detail-orange);

    color:
        #ffffff;

}


.detail-faq-item.open
.detail-faq-toggle svg {

    transform:
        rotate(45deg);

}


.detail-faq-answer {

    display: grid;

    grid-template-rows:
        0fr;

    transition:
        grid-template-rows .25s ease;

}


.detail-faq-answer-inner {

    overflow: hidden;

    padding:
        0 18px;

    color:
        var(--detail-text);

    font-size: 13px;

    line-height: 1.75;

    transition:
        padding .25s ease;

}


.detail-faq-item.open
.detail-faq-answer {

    grid-template-rows:
        1fr;

}


.detail-faq-item.open
.detail-faq-answer-inner {

    padding:
        0 18px 18px;

}



/* =========================================================
   FINAL CTA
========================================================= */

.detail-final-cta {

    position: relative;

    overflow: hidden;

    padding:
        65px 0;

    background:
        linear-gradient(
            120deg,
            #071f34,
            #0b3848
        );

    color:
        #ffffff;

}


.detail-final-cta::before {

    content: "";

    position: absolute;

    left: -150px;
    bottom: -210px;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.05);

}


.detail-final-cta::after {

    content: "";

    position: absolute;

    right: -140px;
    top: -170px;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.04);

}


.detail-final-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .6fr);

    gap: 70px;

    align-items: center;

}


.detail-final-grid > div:first-child > span {

    display: block;

    margin-bottom: 8px;

    color:
        #ffc18f;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;

}


.detail-final-grid h2 {

    margin: 0;

    color:
        #ffffff;

    font-size: 32px;

    line-height: 1.2;

}


.detail-final-grid h2 strong {

    display: block;

    color:
        #64d8b0;

}


.detail-final-grid p {

    margin: 0;

    color:
        rgba(255,255,255,.65);

    font-size: 13px;

    line-height: 1.7;

}


.detail-final-btn {

    margin-top: 17px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding:
        12px 17px;

    border-radius: 8px;

    background:
        var(--detail-orange);

    color:
        #ffffff;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;

}


.detail-final-btn:hover {

    background:
        var(--detail-orange-dark);

    color:
        #ffffff;

    transform:
        translateY(-2px);

}


.detail-final-btn span {

    transition:
        transform .2s ease;

}


.detail-final-btn:hover span {

    transform:
        translateX(4px);

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .overview-grid,
    .learning-detail-grid,
    .audience-detail-grid,
    .benefits-detail-grid,
    .assessment-detail-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .detail-facts {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .detail-fact:nth-child(2) {

        border-right: 0;

    }


    .detail-fact:nth-child(-n+2) {

        border-bottom:
            1px solid
            rgba(255,255,255,.10);

    }


    .overview-image,
    .learning-detail-image,
    .benefits-detail-image,
    .assessment-detail-image {

        max-width: 700px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .detail-breadcrumb-section {

        padding:
            16px 0;

    }


    .detail-hero {

        padding-top:
            15px;

    }


    .detail-hero-image {

        min-height:
            470px;

        border-radius:
            16px 16px 0 0;

    }


    .detail-hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(5,26,45,.91),
                rgba(5,26,45,.68)
            );

    }


    .detail-hero-content {

        padding:
            45px 25px;

    }


    .detail-hero-content h1 {

        font-size:
            38px;

        letter-spacing:
            -1.7px;

    }


    .detail-hero-content p {

        font-size:
            13px;

    }


    .detail-facts {

        grid-template-columns:
            1fr;

    }


    .detail-fact {

        border-right:
            0;

        border-bottom:
            1px solid
            rgba(255,255,255,.10);

    }


    .detail-fact:last-child {

        border-bottom:
            0;

    }


    .detail-nav {

        justify-content:
            flex-start;

        gap:
            23px;

    }


    .overview-section,
    .learning-detail,
    .audience-detail,
    .benefits-detail,
    .assessment-detail,
    .detail-faq-section {

        padding:
            65px 0;

    }


    .overview-image img,
    .learning-detail-image img,
    .audience-detail-image img,
    .benefits-detail-image img,
    .assessment-detail-image img {

        height:
            280px;

        min-height:
            0;

    }


    .overview-content h2,
    .learning-detail-content h2,
    .detail-section-heading h2,
    .benefits-detail-content h2,
    .assessment-detail-content h2,
    .detail-faq-heading h2 {

        font-size:
            30px;

    }


    .detail-quote-inner {

        grid-template-columns:
            35px 1fr;

    }


    .quote-source {

        display:
            none;

    }


    .detail-quote p {

        font-size:
            14px;

    }


    .audience-detail-box {

        grid-template-columns:
            1fr;

        padding:
            25px 20px;

    }


    .detail-final-grid {

        grid-template-columns:
            1fr;

        gap:
            25px;

    }


    .detail-final-grid h2 {

        font-size:
            27px;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .detail-hero-content h1 {

        font-size:
            33px;

    }


    .detail-hero-image {

        min-height:
            430px;

    }


    .detail-primary-btn,
    .detail-outline-btn {

        width:
            100%;

    }


    .overview-content h2,
    .learning-detail-content h2,
    .detail-section-heading h2,
    .benefits-detail-content h2,
    .assessment-detail-content h2,
    .detail-faq-heading h2 {

        font-size:
            27px;

    }


    .detail-final-grid h2 {

        font-size:
            24px;

    }

}