/* ================= BASE ================= */
.edu-full-page {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ================= HERO ================= */
.edu-hero-full {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    padding: 40px 0;
}

.edu-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.edu-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: 14px;
}

.edu-hero-left h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.edu-hero-subtitle {
    font-size: 20px;
    max-width: 520px;
    opacity: 0.9;
}

.edu-hero-image img {
    width: 100%;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

/* ================= SECTIONS ================= */
.edu-section {
    padding: 50px 0;
}

.light-bg {
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.section-title.white {
    color: #fff;
}

/* ================= ABOUT SECTION – FINAL FIX ================= */

.edu-about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    overflow: hidden; /* IMPORTANT */
}

.edu-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

/* LEFT CONTENT */
.edu-about-text h2 {
    font-size: 36px;
    margin-bottom: 18px;
    color: #0f172a;
}

.edu-about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 14px;
    color: #374151;
}

/* RIGHT IMAGE WRAPPER */
.edu-about-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: #eef2ff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* IMAGE ITSELF */
.edu-about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* POSTER SAFE MODE */
    display: block;
}

/* MOBILE FIX */
@media (max-width: 900px) {
    .edu-about-grid {
        grid-template-columns: 1fr;
    }

    .edu-about-image {
        min-height: 280px;
        margin-top: 30px;
    }
}



/* ================= PROGRAMS ================= */
.edu-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.edu-course-card {
    background: #fff;
    padding: 38px 30px;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.35s ease;
}

.edu-course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 65px rgba(0,0,0,0.15);
}

.edu-course-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #86a8f3, #857efc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
}

.edu-course-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ================= IMAGE STRIP ================= */
/* ================= POSTER SLIDER ================= */

.edu-poster-slider {
    padding: 70px 0;
    background: #f8fafc;
}

.poster-slider {
    position: relative;
    overflow: hidden;
}

.poster-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

/* 3 posters visible */
.poster-slide {
    flex: 0 0 33.3333%;
    padding: 14px;
}

/* IMPORTANT: no crop */
.poster-slide img {
    width: 100%;
    height: 260px;
    object-fit: contain; /* 🔥 FIX */
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

/* arrows */
.poster-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
}

.poster-btn.prev { left: 10px; }
.poster-btn.next { right: 10px; }

/* responsive */
@media (max-width: 900px) {
    .poster-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 600px) {
    .poster-slide {
        flex: 0 0 100%;
    }

    .poster-slide img {
        height: 240px;
    }
}


/* ================= WHY CHOOSE ================= */
.gradient-bg {
    background: linear-gradient(135deg, #2563eb, #9333ea);
    padding: 40px 0;
}

.section-subtitle.white {
    max-width: 720px;
    margin: 0 auto 50px;
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* EXACT 3 x 2 GRID */
.edu-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* CARD */
.edu-why-card {
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(6px);
    padding: 42px 32px;
    border-radius: 26px;
    text-align: center;
    color: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.edu-why-card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 22px 55px rgba(0,0,0,0.35);
}

/* ICON */
.edu-why-icon {
    font-size: 52px;
    display: block;
    margin-bottom: 20px;
}

/* TITLE */
.edu-why-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* SUBTITLE */
.edu-why-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .edu-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .edu-why-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= CTA ================= */
.edu-final-cta {
    background: linear-gradient(135deg, #0f766e, #064e3b);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.edu-btn {
    display: inline-block;
    margin-top: 20px;
    background: #25D366;
    color: #fff;
    padding: 16px 40px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .edu-hero-grid,
    .edu-about-grid {
        grid-template-columns: 1fr;
    }

    .edu-hero-left h1 {
        font-size: 36px;
    }
}

