/* =========================================================
   ENHANCEMENT ACCORDION
   ADNI Islamic School

   Purpose:
   - Accordion teaser layout
   - Image + short description
   - Explore Programme button
   - Responsive desktop / tablet / mobile

   Full programme content belongs on dedicated pages.
   ========================================================= */


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

.enhancement-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 24px;

    background:
        linear-gradient(
            135deg,
            rgba(39, 52, 128, 0.96),
            rgba(39, 52, 128, 0.86)
        );

    overflow: hidden;
}

.enhancement-hero-inner {
    width: 100%;
    max-width: 850px;

    text-align: center;
}

.enhancement-eyebrow,
.enhancement-section-label {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    color: #c5a253;
}

.enhancement-hero h1 {
    margin: 0 auto 22px;

    max-width: 850px;

    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.08;

    color: #ffffff;
}

.enhancement-hero h1 span {
    display: block;
    color: #c5a253;
}

.enhancement-hero p {
    max-width: 680px;
    margin: 0 auto 32px;

    font-size: 17px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.88);
}

.enhancement-hero-btn,
.enhancement-cta-btn,
.programme-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    text-decoration: none;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.enhancement-hero-btn {
    padding: 13px 24px;

    border-radius: 999px;

    background: #c5a253;
    color: #ffffff;
}

.enhancement-hero-btn:hover,
.enhancement-cta-btn:hover,
.programme-explore-btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   INTRODUCTION
========================================================= */

.enhancement-intro {
    padding: 90px 0 55px;

    background: #ffffff;
}

.enhancement-intro-inner {
    max-width: 780px;
    margin: 0 auto;

    text-align: center;
}

.enhancement-intro h2 {
    margin: 0 0 18px;

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;

    color: #273480;
}

.enhancement-intro p {
    max-width: 700px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.85;

    color: #5f6470;
}


/* =========================================================
   PROGRAMMES SECTION
========================================================= */

.enhancement-programmes {
    padding: 45px 0 90px;

    background: #f8fafc;
}

.enhancement-programmes .program-accordion {
    max-width: 1080px;
    margin: 0 auto;
}


/* =========================================================
   ACCORDION ITEM
========================================================= */

.enhancement-programmes .program-item {
    margin-bottom: 18px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(39, 52, 128, 0.09);
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(39, 52, 128, 0.06);
}

.enhancement-programmes .program-item:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ACCORDION HEADER
========================================================= */

.enhancement-programmes .program-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 24px 28px;

    border: 0;
    background: transparent;

    text-align: left;

    cursor: pointer;
}

.enhancement-programmes .program-left {
    display: flex;
    align-items: center;

    gap: 18px;

    min-width: 0;
}

.enhancement-programmes .program-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(39, 52, 128, 0.07);

    font-size: 22px;

    color: #273480;
}

.enhancement-programmes .program-number {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;

    color: #c5a253;
}

.enhancement-programmes .program-header h3 {
    margin: 0;

    font-size: clamp(18px, 2vw, 22px);
    font-weight: 750;
    line-height: 1.35;

    color: #273480;
}

.enhancement-programmes .program-header .arrow {
    flex: 0 0 auto;

    font-size: 18px;

    color: #273480;

    transition: transform 0.3s ease;
}

.enhancement-programmes .program-item.active .program-header .arrow {
    transform: rotate(180deg);
}


/* =========================================================
   ACCORDION CONTENT
========================================================= */

.enhancement-programmes .program-content {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.45s ease;
}

.enhancement-programmes .program-content-inner {
    padding: 0 28px 30px;
}


/* =========================================================
   PROGRAMME TEASER
========================================================= */

.programme-teaser {
    display: grid;

    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);

    gap: 32px;

    align-items: center;

    padding-top: 4px;
}

.programme-teaser-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    background: #e9edf5;
}

.programme-teaser-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.programme-teaser:hover .programme-teaser-image img {
    transform: scale(1.03);
}

.programme-teaser-content {
    padding: 8px 8px 8px 0;
}

.programme-teaser-label {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;

    color: #c5a253;
}

.programme-teaser-content h4 {
    margin: 0 0 15px;

    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.2;

    color: #273480;
}

.programme-teaser-content p {
    margin: 0 0 13px;

    font-size: 15px;
    line-height: 1.8;

    text-align: justify;

    color: #5f6470;
}

.programme-explore-btn {
    margin-top: 9px;

    padding: 11px 19px;

    border-radius: 999px;

    background: #273480;
    color: #ffffff;
}

.programme-explore-btn:hover {
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(39, 52, 128, 0.18);
}


/* =========================================================
   CTA
========================================================= */

.enhancement-cta {
    padding: 90px 0;

    background: #ffffff;
}

.enhancement-cta-box {
    max-width: 820px;
    margin: 0 auto;

    padding: 55px 35px;

    text-align: center;

    background: #f8fafc;

    border: 1px solid rgba(197, 162, 83, 0.22);
    border-radius: 22px;

    box-shadow: 0 12px 35px rgba(39, 52, 128, 0.06);
}

.enhancement-cta-box h2 {
    margin: 0 0 15px;

    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;

    color: #273480;
}

.enhancement-cta-box p {
    max-width: 650px;
    margin: 0 auto 25px;

    font-size: 15px;
    line-height: 1.8;

    color: #5f6470;
}

.enhancement-cta-btn {
    padding: 12px 22px;

    border-radius: 999px;

    background: #273480;
    color: #ffffff;
}

.enhancement-cta-btn:hover {
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(39, 52, 128, 0.18);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .enhancement-hero {
        min-height: 500px;
        padding: 90px 22px;
    }

    .programme-teaser {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .programme-teaser-image {
        height: 300px;
    }

    .programme-teaser-content {
        padding: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .enhancement-hero {
        min-height: 470px;
        padding: 80px 20px;
    }

    .enhancement-hero h1 {
        font-size: 38px;
    }

    .enhancement-hero p {
        font-size: 15px;
    }

    .enhancement-intro {
        padding: 65px 0 40px;
    }

    .enhancement-intro h2 {
        font-size: 31px;
    }

    .enhancement-intro p {
        font-size: 15px;
    }

    .enhancement-programmes {
        padding: 35px 0 65px;
    }

    .enhancement-programmes .program-header {
        padding: 20px;
    }

    .enhancement-programmes .program-left {
        gap: 13px;
    }

    .enhancement-programmes .program-icon {
        flex-basis: 46px;

        width: 46px;
        height: 46px;

        font-size: 19px;
    }

    .enhancement-programmes .program-header h3 {
        font-size: 17px;
    }

    .enhancement-programmes .program-content-inner {
        padding: 0 20px 24px;
    }

    .programme-teaser-image {
        height: 230px;
    }

    .programme-teaser-content h4 {
        font-size: 25px;
    }

    .programme-teaser-content p {
        font-size: 14px;
        line-height: 1.75;
    }

    .enhancement-cta {
        padding: 65px 0;
    }

    .enhancement-cta-box {
        padding: 40px 24px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .enhancement-hero h1 {
        font-size: 33px;
    }

    .enhancement-programmes .program-header {
        padding: 18px 16px;
    }

    .enhancement-programmes .program-left {
        align-items: flex-start;
    }

    .enhancement-programmes .program-number {
        font-size: 10px;
    }

    .enhancement-programmes .program-header h3 {
        font-size: 16px;
    }

    .programme-teaser-image {
        height: 210px;
    }

}
