/* =========================================================
   AFTER SCHOOL & MENTORSHIP — after-school.css
   Requires: styles.css + page-template.css
========================================================= */

/* =========================================================
   INTRO STATS
========================================================= */

.intro-stats{

    display:flex;
    gap:0;
    margin-top:40px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:16px;
    overflow:hidden;

}

.intro-stat{

    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:24px 16px;
    text-align:center;
    border-right:1px solid rgba(0,0,0,.08);

}

.intro-stat:last-child{
    border-right:none;
}

.intro-stat-number{

    font-family:'Oswald',sans-serif;
    font-size:40px;
    font-weight:700;
    color:#111;
    line-height:1;
    margin-bottom:6px;

}

.intro-stat-label{

    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1.5px;
    color:#aaa;

}

/* =========================================================
   PROGRAM PILLARS SECTION
========================================================= */

.pillars-program-section{
    padding-bottom:120px;
}

.program-pillars-header{

    text-align:center;
    max-width:620px;
    margin:0 auto 80px;

}

.pillars-program-intro{

    font-size:17px;
    color:#666;
    line-height:1.8;
    margin-top:16px;

}

/* =========================================================
   INDIVIDUAL PILLAR ROW
========================================================= */

.program-pillar{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:72px;
    align-items:center;

    margin-bottom:100px;
    padding-bottom:100px;
    border-bottom:1px solid rgba(0,0,0,.07);

}

.program-pillar:last-child{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:none;
}

/* image on left, content on right */
.program-pillar--left .program-pillar-image{ order:1; }
.program-pillar--left .program-pillar-content{ order:2; }

/* content on left, image on right */
.program-pillar--right .program-pillar-content{ order:1; }
.program-pillar--right .program-pillar-image{ order:2; }

/* ── IMAGE BLOCK ── */

.program-pillar-image{

    position:relative;
    border-radius:24px;
    overflow:hidden;
    aspect-ratio:4/3;
    background:#f0e9c8;

}

.program-pillar-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;

}

.program-pillar:hover .program-pillar-image img{
    transform:scale(1.03);
}

/* PLACEHOLDER shown when image fails / not yet added */
.program-pillar-image.img-placeholder{

    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, rgba(223,177,38,.15) 0%, rgba(245,166,35,.08) 100%);
    border:2px dashed rgba(223,177,38,.35);

}

.program-pillar-image.img-placeholder::before{

    content:"📷  Replace with your image";
    font-size:14px;
    font-weight:600;
    color:rgba(0,0,0,.3);
    text-align:center;
    padding:20px;

}

.program-pillar-image.img-placeholder img{
    display:none;
}

/* IMAGE LABEL */

.program-pillar-image-label{

    position:absolute;
    bottom:0;
    left:0;
    right:0;
    padding:28px 20px 16px;
    background:linear-gradient(transparent, rgba(0,0,0,.55));

    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1.5px;
    color:#fff;

}

/* ── CONTENT BLOCK ── */

.program-pillar-number{

    font-family:'Oswald',sans-serif;
    font-size:80px;
    font-weight:700;
    line-height:1;
    color:rgba(223,177,38,.2);
    margin-bottom:-8px;

}

.program-pillar-title{

    font-family:'Oswald',sans-serif;
    font-size:38px;
    font-weight:600;
    line-height:1.1;
    color:#111;
    margin-bottom:18px;

}

.program-pillar-body{

    font-size:16px;
    line-height:1.9;
    color:#555;
    margin-bottom:24px;

}

/* BULLET LIST */

.program-pillar-list{

    list-style:none;
    padding:0;
    margin:0 0 32px;
    display:flex;
    flex-direction:column;
    gap:10px;

}

.program-pillar-list li{

    display:flex;
    align-items:flex-start;
    gap:12px;
    font-size:15px;
    color:#444;
    line-height:1.6;

}

.program-pillar-list li::before{

    content:"";
    flex-shrink:0;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#dfb126;
    margin-top:7px;

}

.program-btn{
    display:inline-block;
}

/* =========================================================
   CTA SECTION
========================================================= */

.program-cta-section{
    background:#111 !important;
    position:relative;
    overflow:hidden;
}

/* dot texture */
.program-cta-section::before{

    content:"";
    position:absolute;
    inset:0;
    opacity:.04;
    background-image:radial-gradient(circle, #fff 1px, transparent 1px);
    background-size:7px 7px;
    pointer-events:none;

}

/* gold glow orb */
.program-cta-section::after{

    content:"";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:700px;
    height:400px;
    background:radial-gradient(ellipse, rgba(223,177,38,.14) 0%, transparent 70%);
    pointer-events:none;

}

.program-cta-inner{

    position:relative;
    z-index:2;
    max-width:680px;
    margin:0 auto;
    text-align:center;

}

.program-cta-section .section-label{
    color:#dfb126;
}

.program-cta-title{

    font-family:'Oswald',sans-serif;
    font-size:56px;
    line-height:1.05;
    color:#fff;
    margin-bottom:20px;

}

.program-cta-body{

    font-size:17px;
    line-height:1.9;
    color:rgba(255,255,255,.55);
    margin-bottom:40px;

}

.program-cta-buttons{

    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;

}

/* override secondary-btn for dark background */
.program-cta-section .secondary-btn{

    border-color:rgba(255,255,255,.3);
    color:#fff;

}

.program-cta-section .secondary-btn:hover{

    border-color:#fff;
    background:rgba(255,255,255,.08);

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1100px){

    .program-pillar{
        gap:48px;
    }

    .program-pillar-number{
        font-size:60px;
    }

    .program-pillar-title{
        font-size:32px;
    }

}

@media(max-width:900px){

    .program-pillar,
    .program-pillar--left,
    .program-pillar--right{
        grid-template-columns:1fr;
        gap:36px;
    }

    /* always put image on top for all pillars on mobile */
    .program-pillar--left .program-pillar-image,
    .program-pillar--right .program-pillar-image{
        order:1;
    }

    .program-pillar--left .program-pillar-content,
    .program-pillar--right .program-pillar-content{
        order:2;
    }

    .program-pillar-image{
        aspect-ratio:16/9;
    }

    .program-pillar{
        margin-bottom:64px;
        padding-bottom:64px;
    }

}

@media(max-width:768px){

    .intro-stats{
        flex-direction:column;
    }

    .intro-stat{
        border-right:none;
        border-bottom:1px solid rgba(0,0,0,.08);
    }

    .intro-stat:last-child{
        border-bottom:none;
    }

    .program-pillars-header{
        margin-bottom:52px;
    }

    .program-cta-title{
        font-size:38px;
    }

    .program-cta-buttons{
        flex-direction:column;
        align-items:center;
    }

}