/* ==========================================================================
   OUR PROGRAMMES PAGE STYLESHEET - KUSUM FOUNDATION
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
    --primary-green: #0D2E2C;
    --secondary-green: #133833;
    --accent-gold: #E8A246;
    --accent-gold-dark: #C88A34;
    --cream-bg: #FAF6ED;
    --card-white: #FFFFFF;
    --text-dark: #0D2E2C;
    --text-body: #324B46;
    --text-light: #F4EFEB;
    --text-white: #FFFFFF;
    --border-light: #E2DAD0;
    --font-heading: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1140px;
}

/* --- BASE STYLES --- */
body.programmes-page {
    background-color: var(--cream-bg);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.65;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.prog-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- 1. SITE HEADER --- */
.prog-site-header {
    background-color: #FAF6ED;
    border-bottom: 1px solid #EAE2D3;
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.prog-site-header.scrolled {
    background-color: rgba(250, 246, 237, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.prog-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.prog-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.prog-brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.prog-brand-text {
    display: flex;
    flex-direction: column;
}

.prog-brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.prog-brand-subtext {
    font-size: 0.6rem;
    font-weight: 600;
    color: #48635E;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.prog-desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.prog-nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--primary-green);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: all 0.25s ease;
}

.prog-nav-link:hover,
.prog-nav-link.active {
    color: var(--secondary-green);
    font-weight: 600;
}

.prog-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-green);
    border-radius: 2px;
}

.prog-header-contact {
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    color: var(--primary-green);
}

.prog-header-contact strong {
    font-weight: 600;
    margin-right: 5px;
}

.prog-header-contact a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.prog-header-contact a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Mobile Toggle */
.prog-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.prog-hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
}

.prog-mobile-drawer {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    background-color: #FAF6ED;
    border-bottom: 1px solid #EAE2D3;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.prog-mobile-drawer.open {
    display: block;
    animation: fadeInSlideDown 0.3s ease forwards;
}

.prog-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prog-mobile-nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(13, 46, 44, 0.08);
}

.prog-mobile-nav-link.active {
    color: var(--accent-gold);
}

/* --- 2. HERO SECTION --- */
.prog-hero-section {
    position: relative;
    background: #1F5955;
    padding: 100px 24px 110px 24px;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
}

.prog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.prog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.prog-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.prog-hero-desc {
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto;
}

/* --- 3. PROGRAMME FEATURE SECTIONS --- */
.prog-feature-section {
    padding: 85px 24px;
    position: relative;
    overflow: hidden;
}

/* Light Section (1 & 3) */
.prog-light-section {
    background-color: var(--cream-bg);
}

/* Dark Section (2 & 4) */
.prog-dark-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFFFFF;
}

.prog-dark-section.prog-art-section {
    background-image: url('Images/Art-&-Craft-bg.png');
}

.prog-dark-section.prog-ageing-section {
    background-image: url('Images/Healthy-Ageing-BG.png');
}

.prog-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.prog-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.prog-grid.prog-grid-reverse {
    grid-template-columns: 380px 1fr;
}

/* Content Area */
.prog-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.prog-heading {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary-green);
    margin-bottom: 18px;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.prog-dark-section .prog-heading {
    color: #FFFFFF;
}

.prog-desc {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 24px;
}

.prog-dark-section .prog-desc {
    color: rgba(255, 255, 255, 0.88);
}

.prog-subheading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-gold-dark);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.prog-dark-section .prog-subheading {
    color: var(--accent-gold);
}

/* Custom Tree / Node List */
.prog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 28px;
}

.prog-list::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    background-color: rgba(13, 46, 44, 0.25);
}

.prog-dark-section .prog-list::before {
    background-color: rgba(232, 162, 70, 0.4);
}

.prog-list-item {
    position: relative;
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.5;
}

.prog-dark-section .prog-list-item {
    color: rgba(255, 255, 255, 0.92);
}

.prog-list-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-green);
    border: 2px solid var(--cream-bg);
    box-shadow: 0 0 0 1px rgba(13, 46, 44, 0.3);
}

.prog-dark-section .prog-list-item::before {
    background-color: var(--accent-gold);
    border: 2px solid #0D2E2C;
    box-shadow: 0 0 0 1px rgba(232, 162, 70, 0.5);
}

/* Image Arched Frames */
.prog-image-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prog-arch-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(13, 46, 44, 0.1));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.prog-feature-section:hover .prog-arch-img {
    transform: translateY(-4px);
    filter: drop-shadow(0 16px 35px rgba(13, 46, 44, 0.16));
}

/* --- 4. SUMMARY SECTION ("Four Areas. One Purpose.") --- */
.prog-summary-section {
    padding: 95px 24px 105px 24px;
    background-color: var(--cream-bg);
    text-align: center;
    border-top: 1px solid #EAE2D3;
}

.prog-summary-content {
    max-width: 760px;
    margin: 0 auto;
}

.prog-summary-title {
    font-family: var(--font-heading);
    font-size: 2.45rem;
    font-weight: 700;
    color: var(--secondary-green);
    margin-bottom: 20px;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.prog-summary-text {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 14px;
}

.prog-summary-note {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 22px;
}

.prog-summary-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-green);
    letter-spacing: 0.01em;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeInSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
    .prog-grid,
    .prog-grid.prog-grid-reverse {
        grid-template-columns: 1fr 300px;
        gap: 36px;
    }

    .prog-heading {
        font-size: 1.95rem;
    }
}

@media (max-width: 768px) {
    .prog-container {
        padding: 0 16px;
    }

    .prog-desktop-nav,
    .prog-header-contact {
        display: none;
    }

    .prog-mobile-toggle {
        display: flex;
    }

    .prog-hero-section {
        padding: 70px 16px 80px 16px;
    }

    .prog-hero-title {
        font-size: 2.1rem;
    }

    .prog-feature-section {
        padding: 60px 16px;
    }

    .prog-grid,
    .prog-grid.prog-grid-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Image first on mobile */
    .prog-grid .prog-image-wrap,
    .prog-grid.prog-grid-reverse .prog-image-wrap {
        order: 1;
    }

    .prog-grid .prog-content,
    .prog-grid.prog-grid-reverse .prog-content {
        order: 2;
    }

    .prog-arch-img,
    .prog-grid.prog-grid-reverse .prog-arch-img {
        max-width: 340px;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        border-radius: 0;
    }

    .prog-heading {
        font-size: 1.65rem;
    }

    .prog-summary-section {
        padding: 70px 16px 80px 16px;
    }

    .prog-summary-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .prog-container {
        padding: 0 12px;
    }

    .prog-hero-title {
        font-size: 1.8rem;
    }

    .prog-heading {
        font-size: 1.45rem;
    }

    .prog-summary-title {
        font-size: 1.6rem;
    }
}


