@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* ==================================================
   BASIC SETUP
================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;

    color:white;

    font-family:"Poppins", sans-serif;

    overflow-x:hidden;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(139,92,246,.15),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 40%,
            rgba(0,212,255,.10),
            transparent 25%
        ),
        radial-gradient(
            circle at 50% 80%,
            rgba(255,79,216,.08),
            transparent 25%
        ),
        #050816;
}

/* ==================================================
   MAIN PAGE
================================================== */

.program-page{
    width:min(1000px, 90%);

    margin:0 auto;

    padding:50px 0 100px;
}

/* ==================================================
   BACK BUTTON
================================================== */

.back-home{
    display:inline-block;

    margin-bottom:35px;

    padding:11px 22px;

    color:white;

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

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;

    transition:.3s ease;
}

.back-home:hover{
    transform:translateY(-3px);

    background:rgba(0,212,255,.25);

    border-color:#00d4ff;

    box-shadow:
        0 0 20px rgba(0,212,255,.30);
}

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

.program-intro{
    padding:35px;

    text-align:center;

    background:rgba(17,24,39,.55);

    border:1px solid rgba(255,255,255,.10);
    border-top:4px solid #00d4ff;
    border-radius:24px;

    backdrop-filter:blur(10px);

    box-shadow:
        0 0 45px rgba(0,212,255,.12);
}

.program-image{
    display:block;

    width:100%;
    height:280px;

    margin-bottom:30px;

    object-fit:cover;
    object-position:center;

    border-radius:16px;
}

.program-label{
    margin-bottom:12px;

    color:#72e8ff;

    font-size:.88rem;
    font-weight:800;

    letter-spacing:2px;
    text-transform:uppercase;
}

.program-intro h1{
    margin-bottom:15px;

    font-size:clamp(2.4rem, 6vw, 4.5rem);
    font-weight:800;
    line-height:1.3;

    background:linear-gradient(
        90deg,
        #00d4ff,
        #8b5cf6,
        #ff4fd8,
        #00ff9d
    );

    background-size:350%;

    background-clip:text;
    -webkit-background-clip:text;

    color:transparent;
    -webkit-text-fill-color:transparent;

    animation:programGradient 10s linear infinite;
}

.program-intro h2{
    margin-bottom:20px;

    font-size:clamp(1.4rem, 4vw, 2rem);
}

.program-intro > p:last-of-type{
    max-width:760px;

    margin:0 auto;

    color:#d7ddf2;

    font-size:1.05rem;
    line-height:1.8;
}

/* ==================================================
   PROGRAM HIGHLIGHTS
================================================== */

.program-highlights{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;

    gap:12px;

    margin-top:28px;
}

.program-highlights span{
    padding:9px 17px;

    color:#dffaff;

    font-size:.9rem;
    font-weight:700;

    background:rgba(0,212,255,.10);

    border:1px solid rgba(0,212,255,.35);
    border-radius:999px;
}

/* ==================================================
   INFORMATION SECTIONS
================================================== */

.program-section{
    margin-top:35px;

    padding:40px;

    background:rgba(17,24,39,.55);

    border:1px solid rgba(255,255,255,.10);
    border-radius:22px;

    backdrop-filter:blur(10px);

    box-shadow:
        0 0 35px rgba(139,92,246,.08);
}

.program-section h2{
    margin-bottom:25px;

    font-size:clamp(1.8rem, 4vw, 2.7rem);
    line-height:1.2;

    background:linear-gradient(
        90deg,
        #00d4ff,
        #8b5cf6,
        #ff4fd8
    );

    background-clip:text;
    -webkit-background-clip:text;

    color:transparent;
    -webkit-text-fill-color:transparent;
}

.program-section > p{
    margin-bottom:20px;

    color:#d7ddf2;

    font-size:1.02rem;
    line-height:1.85;
}

.program-section > p:last-child{
    margin-bottom:0;
}

/* ==================================================
   HOW IT WORKS
================================================== */

.information-grid{
    display:grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:20px;
}

.information-card{
    padding:26px;

    background:rgba(5,8,22,.45);

    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;

    transition:.3s ease;
}

.information-card:hover{
    transform:translateY(-6px);

    box-shadow:
        0 0 30px rgba(0,212,255,.18);
}

.card-number{
    display:flex;
    align-items:center;
    justify-content:center;

    width:45px;
    height:45px;

    margin-bottom:18px;

    color:white;

    font-weight:800;

    background:linear-gradient(
        135deg,
        #00d4ff,
        #8b5cf6
    );

    border-radius:50%;

    box-shadow:
        0 0 18px rgba(0,212,255,.30);
}

.information-card h3{
    margin-bottom:12px;

    font-size:1.2rem;
}

.information-card p{
    color:#cbd5e8;

    line-height:1.7;
}

/* ==================================================
   CURRICULUM
================================================== */

.curriculum-list{
    display:grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:20px;
}

.lesson-card{
    position:relative;
    padding:26px;

    background:rgba(5,8,22,.45);

    border:1px solid rgba(255,255,255,.10);
    border-top:4px solid #00d4ff;
    border-radius:18px;

    transition:.3s ease;
}

.lesson-thumbnail{
    position:absolute;

    top:18px;
    right:18px;

    width: 110pxpx;
    height:62px;

    object-fit:cover;
    object-position:center;

    border-radius:10px;

    border:1px solid rgba(255,255,255,.18);

    box-shadow:0 0 16px rgba(0,212,255,.25);

    pointer-events:none;
}

/* Class 1: Green */

.lesson-card:nth-child(1){
    border-top-color:#00ff9d;
}


/* Class 2: Pink */

.lesson-card:nth-child(2){
    border-top-color:#ff4fd8;
}


/* Class 3: Purple */

.lesson-card:nth-child(3){
    border-top-color:#8b5cf6;
}


/* Class 4: Orange */

.lesson-card:nth-child(4){
    border-top-color:#ff8a00;
}


/* Class 5: Baby Blue */

.lesson-card:nth-child(5){
    border-top-color:#4fa3d9;
}

.lesson-card:hover{
    transform:translateY(-6px);

    box-shadow:
        0 0 30px rgba(139,92,246,.18);
}

.lesson-number{
    margin-bottom:8px;

    color:#72e8ff;

    font-size:.82rem;
    font-weight:800;

    letter-spacing:1.5px;
    text-transform:uppercase;
}

.lesson-card h3{
    margin-bottom:12px;

    font-size:1.3rem;
}

.lesson-card p:last-child{
    color:#cbd5e8;

    line-height:1.7;
}

/* ==================================================
   MOTION CARD
================================================== */

.motion-card{
    margin-top:28px;

    padding:28px;

    text-align:center;

    background:linear-gradient(
        135deg,
        rgba(0,212,255,.12),
        rgba(139,92,246,.15),
        rgba(255,79,216,.12)
    );

    border:1px solid rgba(255,255,255,.13);
    border-radius:18px;
}

.motion-card h3{
    margin-bottom:12px;

    font-size:1.5rem;

    color:#72e8ff;
}

.motion-card p{
    color:#d7ddf2;

    line-height:1.75;
}

/* ==================================================
   QUOTE
================================================== */

.program-section blockquote{
    margin-top:30px;

    padding:25px;

    color:#72e8ff;

    font-size:clamp(1.2rem, 3vw, 1.7rem);
    font-weight:700;
    line-height:1.6;
    text-align:center;

    background:rgba(0,212,255,.07);

    border-left:4px solid #00d4ff;
    border-radius:12px;
}

/* ==================================================
   ENROLLMENT SECTION
================================================== */

.enrollment-section{
    margin-top:40px;

    padding:50px 35px;

    text-align:center;

    background:linear-gradient(
        145deg,
        rgba(0,212,255,.13),
        rgba(139,92,246,.18),
        rgba(255,79,216,.13)
    );

    border:1px solid rgba(255,255,255,.14);
    border-radius:24px;

    box-shadow:
        0 0 45px rgba(139,92,246,.18);
}

.enrollment-section h2{
    margin-bottom:18px;

    font-size:clamp(2rem, 5vw, 3.2rem);
    line-height:1.2;
}

.enrollment-section > p{
    max-width:700px;

    margin:0 auto 22px;

    color:#d7ddf2;

    line-height:1.8;
}

.program-price{
    color:white !important;

    font-size:2.6rem;
    font-weight:800;

    text-shadow:
        0 0 8px rgba(0,212,255,.9),
        0 0 18px rgba(139,92,246,.7),
        0 0 28px rgba(255,79,216,.5);
}

/* ==================================================
   ENROLL BUTTON
================================================== */

.enroll-button{
    padding:15px 30px;

    color:white;

    font-family:"Poppins", sans-serif;
    font-size:1rem;
    font-weight:800;

    background:linear-gradient(
        90deg,
        #00d4ff,
        #8b5cf6,
        #ff4fd8
    );

    background-size:300%;

    border:none;
    border-radius:999px;

    cursor:pointer;

    box-shadow:
        0 0 22px rgba(139,92,246,.45);

    transition:.3s ease;
}

.enroll-button:hover{
    transform:translateY(-4px);

    background-position:right center;

    box-shadow:
        0 0 38px rgba(255,79,216,.70);
}

.back-link{
    display:block;

    width:fit-content;

    margin:24px auto 0;

    color:#72e8ff;

    text-decoration:none;
}

.back-link:hover{
    text-decoration:underline;
}

/* ==================================================
   ANIMATION
================================================== */

@keyframes programGradient{
    0%{
        background-position:left center;
    }

    100%{
        background-position:right center;
    }
}

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

@media(max-width:800px){

    .lesson-card{
    padding-top:50px;
}

    .program-page{
        width:92%;

        padding-top:25px;
    }

    .program-intro,
    .program-section,
    .enrollment-section{
        padding:28px 22px;
    }

    .program-image{
        height:210px;
    }

    .information-grid{
        grid-template-columns:1fr;
    }

    .curriculum-list{
        grid-template-columns:1fr;
    }

}

@media(max-width:500px){

    .program-intro h1{
        font-size:2.3rem;
    }

    .program-intro h2{
        font-size:1.3rem;
    }

    .program-image{
        height:175px;
    }

    .enroll-button{
        width:100%;
    }

}