
/* =========================================
   KIS EDUCATION PAGE - REFINED DESIGN
========================================= */

.edu-hero,
.edu-intro,
.edu-approach,
.edu-islamic-section,
.edu-program-section,
.edu-admission-section {
    box-sizing: border-box;
}

.edu-hero *,
.edu-intro *,
.edu-approach *,
.edu-islamic-section *,
.edu-program-section *,
.edu-admission-section * {
    box-sizing: border-box;
}

/* =========================================
   HERO
========================================= */

.edu-hero {
    position: relative;
    min-height: 520px;
    height: 72vh;
    max-height: 680px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center 40%;
    overflow: hidden;
}

.kindergarten-hero {
    background-image: url('../img/kindergarten.jpg');
}

.edu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(4, 38, 29, .88) 0%,
        rgba(4, 38, 29, .62) 48%,
        rgba(4, 38, 29, .12) 100%
    );
}

.edu-hero-content {
    position: relative;
    z-index: 2;
    max-width: 590px;
    padding: 70px 0;
    color: #fff;
}

.edu-hero-content span {
    color: #e5bd58;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.edu-hero-content h1 {
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin: 20px 0;
}

.edu-hero-content p {
    max-width: 500px;
    color: #f1f5f3;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* =========================================
   GENERAL SECTION
========================================= */

.edu-intro,
.edu-approach,
.edu-islamic-section,
.edu-program-section {
    padding: 75px 0;
}

.edu-intro {
    background: #fff;
}

.edu-subtitle {
    display: inline-block;
    color: #0b7653;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.edu-intro h2,
.edu-islamic-section h2,
.edu-approach h2,
.edu-program-section h2 {
    color: #102f29;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
}

.edu-intro p,
.edu-islamic-section p,
.edu-approach .section-heading p,
.edu-program-section .section-heading p {
    color: #65716c;
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================
   IMAGE CONTROL
========================================= */

.edu-intro-image {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.09);
}

/* =========================================
   LEARNING APPROACH
========================================= */

.edu-approach,
.edu-program-section {
    background: #f5f8f5;
}

.edu-feature-card {
    height: 100%;
    min-height: 220px;
    padding: 27px 20px;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,.045);
    transition: transform .3s ease, box-shadow .3s ease;
}

.edu-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,.09);
}

.edu-feature-icon {
    font-size: 34px;
    margin-bottom: 14px;
}

.edu-feature-card h4 {
    color: #123c30;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.edu-feature-card p {
    color: #718078;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* =========================================
   ISLAMIC SECTION
========================================= */

.edu-islamic-section {
    background: #fff;
}

.edu-check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.edu-check-list li {
    position: relative;
    padding: 9px 0 9px 30px;
    color: #4e6258;
    font-size: 14px;
    line-height: 1.6;
}

.edu-check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #0b7653;
    font-weight: 800;
    font-size: 17px;
}

/* =========================================
   PROGRAM CARDS
========================================= */

.edu-program-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 22px rgba(0,0,0,.055);
    transition: transform .3s ease;
}

.edu-program-card:hover {
    transform: translateY(-5px);
}

.edu-program-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
}

.edu-program-content {
    padding: 22px;
}

.edu-program-content h4 {
    color: #123c30;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.edu-program-content p {
    color: #718078;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* =========================================
   ADMISSION CTA
========================================= */

.edu-admission-section {
    padding: 65px 20px;
    background: #073f30;
    color: #fff;
    text-align: center;
}

.edu-admission-section span {
    color: #e5bd58;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.edu-admission-section h2 {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    margin: 17px 0;
}

.edu-admission-section p {
    color: #d9e8e1;
    font-size: 14px;
    margin-bottom: 25px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .edu-hero {
        height: 550px;
        min-height: 480px;
    }

    .edu-intro,
    .edu-approach,
    .edu-islamic-section,
    .edu-program-section {
        padding: 60px 0;
    }

    .edu-intro-image {
        height: 320px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .edu-hero {
        height: 520px;
        min-height: 450px;
        background-position: center;
    }

    .edu-hero-overlay {
        background: rgba(4, 38, 29, .65);
    }

    .edu-hero-content {
        padding: 50px 15px;
    }

    .edu-hero-content h1 {
        font-size: 34px;
    }

    .edu-hero-content p {
        font-size: 14px;
    }

    .edu-intro,
    .edu-approach,
    .edu-islamic-section,
    .edu-program-section {
        padding: 48px 0;
    }

    .edu-intro-image {
        height: 250px;
        border-radius: 12px;
    }

    .edu-feature-card {
        min-height: auto;
        padding: 24px 18px;
    }

    .edu-program-card img {
        height: 190px;
    }

    .edu-admission-section {
        padding: 50px 15px;
    }
    

}

/* =================================
   KIS EDUCATION INTRO - NEW LAYOUT
================================= */

.kis-edu-intro {
    padding: 75px 0;
    background: #fff;
}

.kis-edu-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    max-width: 1140px;
    margin: auto;
}

.kis-edu-intro-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 18px;
}

.kis-edu-intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kis-edu-intro-content {
    max-width: 520px;
}

.kis-edu-intro-content h2 {
    color: #102f29;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin: 12px 0 20px;
}

.kis-edu-intro-content p {
    color: #65716c;
    font-size: 14px;
    line-height: 1.9;
}

@media(max-width: 767px) {

    .kis-edu-intro {
        padding: 45px 0;
    }

    .kis-edu-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kis-edu-intro-image {
        height: 260px;
    }

    .kis-edu-intro-content h2 {
        font-size: 29px;
    }

}

/* =================================
   PRIMARY SCHOOL HERO
================================= */

.primary-hero {
    background-image: url('../img/primary.jpg');
    background-position: center 40%;
    background-size: cover;
}

/* =================================
   PRIMARY SCHOOL RESPONSIVE
================================= */

@media (max-width: 576px) {
    .primary-hero {
        background-position: center;
    }
}

