/* =========================================================
   HOMEPAGE
   Maahad Daarul Azhar
========================================================= */

.home-page {
    --home-navy: #13294B;
    --home-blue: #1E5EFF;
    --home-blue-dark: #1748C8;
    --home-gold: #C8A650;
    --home-white: #FFFFFF;
    --home-grey: #F6F8FB;
    --home-text: #24344D;
    --home-muted: #64748B;
    --home-border: #E4EAF2;

    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    background: var(--home-white);

    color: var(--home-text);

    font-family:
        "Plus Jakarta Sans",
        "Avenir Next",
        "Century Gothic",
        Arial,
        sans-serif;

    box-sizing: border-box;

    overflow-x: hidden;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.home-container {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(30, 94, 255, .18),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(200, 166, 80, .10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0D1D35 0%,
            #13294B 48%,
            #183968 100%
        );

    overflow: hidden;
}


/* Decorative glow */

.home-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 0 0 70px rgba(255,255,255,.015),
        0 0 0 140px rgba(255,255,255,.01);

    pointer-events: none;
}

.home-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -170px;
    bottom: -170px;

    border-radius: 50%;

    border: 1px solid rgba(200,166,80,.15);

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.home-hero-content {
    position: relative;

    z-index: 2;

    width: 680px;
    max-width: 100%;

    padding: 90px 0;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    color: #DCCB94;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.2px;
}

.home-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--home-gold);
}


.home-hero h1 {
    margin: 0;

    color: var(--home-white);

    font-size: clamp(48px, 6vw, 76px);

    font-weight: 300;

    line-height: 1.04;

    letter-spacing: -2.8px;
}

.home-hero h1 span {
    color: #DCCB94;

    font-weight: 500;
}


.home-hero p {
    max-width: 590px;

    margin: 28px 0 0;

    color: rgba(255,255,255,.72);

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;
}




/* =========================================================
   GENERAL SECTION
========================================================= */

.home-section {
    padding: 105px 0;
}

.home-about {
    background: #fff;
}

.home-programs {
    background: var(--home-grey);
}


.home-section-heading {
    margin-bottom: 45px;
}

.home-section-heading > span {
    display: block;

    margin-bottom: 9px;

    color: var(--home-blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.home-section-heading h2 {
    margin: 0;

    color: var(--home-navy);

    font-size: 34px;

    font-weight: 600;

    line-height: 1.2;

    letter-spacing: -.8px;
}


/* =========================================================
   ABOUT
========================================================= */

.home-about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, .75fr);

    gap: 80px;

    align-items: center;
}

.home-about-grid > div:first-child {
    max-width: 680px;
}

.home-about-grid p {
    margin: 0 0 20px;

    color: var(--home-muted);

    font-size: 14px;

    line-height: 1.9;
}

.home-about-grid p:last-child {
    margin-bottom: 0;
}


/* About card */

.home-about-card {
    position: relative;

    padding: 34px;

    background: #fff;

    border: 1px solid var(--home-border);

    border-radius: 16px;

    box-shadow:
        0 16px 40px rgba(19,41,75,.07);

    overflow: hidden;
}

.home-about-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            var(--home-blue),
            var(--home-gold)
        );
}

.home-about-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin-bottom: 22px;

    border-radius: 13px;

    background: #F0F5FF;

    color: var(--home-navy);

    font-size: 18px;

    font-weight: 700;
}

.home-about-card h3 {
    margin: 0 0 12px;

    color: var(--home-navy);

    font-size: 17px;

    font-weight: 700;

    line-height: 1.4;
}

.home-about-card p {
    margin: 0;

    color: var(--home-muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   PROGRAM GRID
========================================================= */

.home-program-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.home-program-card {
    position: relative;

    min-height: 255px;

    padding: 30px;

    background: #fff;

    border: 1px solid var(--home-border);

    border-radius: 15px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.home-program-card:hover {
    transform: translateY(-5px);

    border-color: rgba(30,94,255,.25);

    box-shadow:
        0 18px 40px rgba(19,41,75,.08);
}


.home-program-number {
    margin-bottom: 45px;

    color: var(--home-gold);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}

.home-program-card h3 {
    margin: 0 0 12px;

    color: var(--home-navy);

    font-size: 17px;

    font-weight: 700;
}

.home-program-card p {
    margin: 0;

    color: var(--home-muted);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   STAFF PORTAL
========================================================= */

.home-staff {
    padding: 85px 0;

    background: #fff;
}

.home-staff-card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 48px 52px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(30,94,255,.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #13294B,
            #183968
        );

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 20px 45px rgba(19,41,75,.16);
}

.home-staff-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -100px;
    bottom: -110px;

    border-radius: 50%;

    border: 1px solid rgba(200,166,80,.20);
}

.home-staff-card > div {
    position: relative;

    z-index: 1;
}

.home-staff-card span {
    display: block;

    margin-bottom: 8px;

    color: #DCCB94;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.6px;
}

.home-staff-card h2 {
    margin: 0 0 9px;

    color: #fff;

    font-size: 29px;

    font-weight: 600;

    letter-spacing: -.5px;
}

.home-staff-card p {
    max-width: 560px;

    margin: 0;

    color: rgba(255,255,255,.66);

    font-size: 13px;

    line-height: 1.7;
}




/* =========================================================
   FOOTER
========================================================= */

.home-footer {
    padding: 26px 0;

    background: #0D1D35;

    border-top: 1px solid rgba(255,255,255,.06);
}

.home-footer p {
    margin: 0;

    color: rgba(255,255,255,.48);

    font-size: 11px;

    line-height: 1.5;
}
/* =========================================================
   HOMEPAGE — BOLD LIGHT BUTTON SYSTEM
========================================================= */

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 42px;
    flex-wrap: wrap;
}


/* ---------------------------------------------------------
   BASE
--------------------------------------------------------- */

.home-button {
    height: 58px;
    min-width: 190px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 28px;
    box-sizing: border-box;

    border-radius: 12px;

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;

    line-height: 1;
    white-space: nowrap;
    text-decoration: none;

    /* SOLID LIGHT */
    background: #F8FAFC;

    color: #13294B;

    border: 1px solid #E2E8F0;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* ---------------------------------------------------------
   SEMUA BUTTON — SAMA
--------------------------------------------------------- */

.home-button-primary,
.home-button-registration,
.home-button-parent,
.home-button-secondary {

    background: #F8FAFC;

    color: #13294B;

    border-color: #E2E8F0;
}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.home-button:hover {

    background: #FFFFFF;

    border-color: #CBD5E1;

    color: #13294B;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.16);
}


/* ---------------------------------------------------------
   ACTIVE
--------------------------------------------------------- */

.home-button:active {

    transform: translateY(0);

    background: #F1F5F9;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.10);
}


/* ---------------------------------------------------------
   STAFF BUTTON — SECTION BAWAH
--------------------------------------------------------- */

.home-button-staff {

    background: #F8FAFC;

    color: #13294B;

    border: 1px solid #E2E8F0;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12);
}


.home-button-staff:hover {

    background: #FFFFFF;

    border-color: #CBD5E1;

    color: #13294B;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.16);
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

    .home-hero {
        min-height: 600px;
    }

    .home-about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .home-about-grid > div:first-child {
        max-width: 100%;
    }

    .home-program-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */




/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .home-container {
        width: calc(100% - 28px);
    }

    .home-hero {
        min-height: 580px;
    }

    .home-hero h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .home-hero p {
        font-size: 12px;
    }

    .home-section {
        padding: 62px 0;
    }

    .home-section-heading h2 {
        font-size: 25px;
    }

    .home-about-card {
        padding: 23px;
    }

    .home-about-card h3 {
        font-size: 16px;
    }

    .home-program-card {
        padding: 23px;
    }

    .home-staff-card {
        padding: 28px 22px;
    }

    .home-button-staff {
        width: 100%;
    }

}/* =========================================================
   LOGIN ALERT
========================================================= */

.login-alert {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(10, 20, 35, 0.48);
    backdrop-filter: blur(4px);
}

.login-alert__box {
    width: min(420px, 100%);

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 16px;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18);

    animation: loginAlertIn .2s ease-out;
}

.login-alert__icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff3f3;
    color: #dc2626;

    font-size: 20px;
    font-weight: 800;
}

.login-alert__content {
    flex: 1;
    min-width: 0;
}

.login-alert__title {
    margin-bottom: 4px;

    color: #13294B;

    font-size: 15px;
    font-weight: 700;
}

.login-alert__message {
    color: #64748B;

    font-size: 13px;
    line-height: 1.5;
}

.login-alert__close {
    min-width: 58px;
    height: 36px;

    padding: 0 14px;

    border: 0;
    border-radius: 8px;

    background: #1E5EFF;
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .18s ease,
        transform .18s ease;
}

.login-alert__close:hover {
    background: #1748C8;
}

.login-alert__close:active {
    transform: scale(.97);
}

@keyframes loginAlertIn {

    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}
/* =========================================================
   MOBILE — MAX WIDTH 768PX
========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       CONTAINER
    ----------------------------------------------------- */

    .home-container {
        width: min(
            100% - 32px,
            680px
        );
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .home-hero {
        min-height: 610px;
        align-items: center;
    }

    .home-hero-content {
        padding: 75px 0;
    }

    .home-eyebrow {
        margin-bottom: 16px;
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .home-eyebrow::before {
        width: 22px;
    }

    .home-hero h1 {
        font-size: 46px;
        line-height: 1.06;
        letter-spacing: -1.8px;
    }

    .home-hero p {
        margin-top: 21px;
        font-size: 13px;
        line-height: 1.75;
    }


    /* -----------------------------------------------------
       HERO BUTTONS
    ----------------------------------------------------- */

    .home-hero-actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 9px;

        margin-top: 27px;
    }

    
    /* -----------------------------------------------------
       SECTIONS
    ----------------------------------------------------- */

    .home-section {
        padding: 72px 0;
    }

    .home-section-heading {
        margin-bottom: 30px;
    }

    .home-section-heading > span {
        font-size: 9px;
    }

    .home-section-heading h2 {
        font-size: 27px;
    }


    /* -----------------------------------------------------
       ABOUT
    ----------------------------------------------------- */

    .home-about-grid {
        gap: 30px;
    }

    .home-about-grid p {
        font-size: 13px;
        line-height: 1.8;
    }

    .home-about-card {
        padding: 26px;
    }


    /* -----------------------------------------------------
       PROGRAM
    ----------------------------------------------------- */

    .home-program-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .home-program-card {
        min-height: auto;
        padding: 25px;
    }

    .home-program-number {
        margin-bottom: 30px;
    }


    /* -----------------------------------------------------
       STAFF
    ----------------------------------------------------- */

    .home-staff {
        padding: 60px 0;
    }

    .home-staff-card {
        flex-direction: column;
        align-items: flex-start;

        gap: 28px;

        padding: 32px 27px;

        border-radius: 15px;
    }

    .home-staff-card h2 {
        font-size: 26px;
    }

    .home-staff-card p {
        font-size: 12px;
    }

   


    /* -----------------------------------------------------
       LOGIN ALERT
    ----------------------------------------------------- */

    .login-alert {
        padding: 16px;
    }

    .login-alert__box {
        padding: 17px;

        border-radius: 14px;

        gap: 12px;
    }

    .login-alert__icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        font-size: 18px;
    }

    .login-alert__title {
        font-size: 14px;
    }

    .login-alert__message {
        font-size: 12px;
    }
    
        .home-page .home-button {
        background: #F8FAFC;
        color: #13294B !important;

        border: 1px solid #D8E0EA;

        box-shadow:
            0 4px 12px rgba(15, 35, 65, 0.10);
    }

    .home-page .home-button:hover {
        background: #FFFFFF;
        color: #13294B !important;
    }



    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .home-footer {
        padding: 22px 0;
    }

    .home-footer p {
        font-size: 10px;
    }


}



/* =========================================================
   MAHAD FLIPBOOK CONTENT — ADD TO EXISTING HOMEPAGE CSS
   All rules are scoped to .home-maahad to protect other pages.
========================================================= */
.home-maahad .home-hero { min-height: 650px; }
.home-maahad .home-hero-content { width: 760px; }
.home-maahad .home-hero h1 { max-width: 780px; }
.home-maahad .home-maahad-hero-meta { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:25px; color:rgba(255,255,255,.72); font-size:12px; line-height:1.6; }
.home-maahad .home-maahad-section-intro { max-width:760px; margin:14px 0 0; color:var(--home-muted); font-size:14px; line-height:1.8; }
.home-maahad .home-about-grid { grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:50px; }
.home-maahad .home-about-card .home-maahad-note { margin-top:18px; padding-top:14px; border-top:1px solid var(--home-border); }
.home-maahad .home-objective-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-maahad .home-info-panel { padding:clamp(22px,4vw,42px); background:#fff; border:1px solid var(--home-border); border-radius:16px; box-shadow:0 14px 36px rgba(19,41,75,.06); }
.home-maahad .home-check-list { margin:0; padding-left:22px; color:var(--home-text); }
.home-maahad .home-check-list li { padding:0 0 12px 5px; font-size:14px; line-height:1.75; }
.home-maahad .home-age-note { margin:14px 0 24px; padding:14px 16px; background:#FFF8E7; border-left:3px solid var(--home-gold); border-radius:8px; color:#624D1C; font-size:12px; line-height:1.7; }
.home-maahad .home-learning-phases { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.home-maahad .home-phase-label { grid-column:1/-1; margin-top:12px; padding:10px 14px; background:rgba(30,94,255,.08); border-radius:8px; color:var(--home-blue-dark); font-size:11px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; }
.home-maahad .home-phase-card { padding:22px 24px; background:#fff; border:1px solid var(--home-border); border-radius:12px; }
.home-maahad .home-phase-card h3 { margin:0 0 8px; color:var(--home-navy); font-size:18px; }
.home-maahad .home-phase-card p { margin:0; color:var(--home-muted); font-size:13px; line-height:1.8; }
.home-maahad .home-subject-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.home-maahad .home-subject-card { padding:28px; border:1px solid var(--home-border); border-radius:15px; background:#fff; }
.home-maahad .home-subject-kicker { display:block; margin-bottom:12px; color:var(--home-blue); font-size:10px; font-weight:800; letter-spacing:1.4px; }
.home-maahad .home-subject-card h3 { margin:0 0 12px; color:var(--home-navy); font-size:19px; line-height:1.45; }
.home-maahad .home-subject-card p { margin:0; color:var(--home-muted); font-size:13px; line-height:1.85; }
.home-maahad .home-subject-featured { grid-column:1/-1; background:linear-gradient(135deg,#13294B,#183968); border-color:#183968; }
.home-maahad .home-subject-featured h3 { color:#fff; }
.home-maahad .home-subject-featured p { color:rgba(255,255,255,.76); }
.home-maahad .home-subject-featured .home-subject-kicker { color:#DCCB94; }
.home-maahad .home-table-wrap { width:100%; overflow-x:auto; border:1px solid var(--home-border); border-radius:12px; background:#fff; -webkit-overflow-scrolling:touch; }
.home-maahad .home-data-table { width:100%; border-collapse:collapse; color:var(--home-text); font-size:12px; line-height:1.55; }
.home-maahad .home-data-table th,.home-maahad .home-data-table td { padding:13px 14px; text-align:left; vertical-align:top; border-bottom:1px solid var(--home-border); }
.home-maahad .home-data-table thead th { background:#13294B; color:#fff; font-size:11px; font-weight:700; }
.home-maahad .home-data-table tbody th { min-width:145px; color:var(--home-navy); font-weight:700; background:#F8FAFC; }
.home-maahad .home-data-table tbody tr:last-child th,.home-maahad .home-data-table tbody tr:last-child td { border-bottom:0; }
.home-maahad .home-schedule-table { min-width:760px; }
.home-maahad .home-schedule-table td { min-width:150px; }
.home-maahad .home-fee-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr); gap:20px; align-items:start; }
.home-maahad .home-fee-card { min-width:0; overflow:hidden; border:1px solid var(--home-border); border-radius:15px; background:#fff; box-shadow:0 12px 30px rgba(19,41,75,.05); }
.home-maahad .home-fee-card-heading { padding:24px 24px 18px; }
.home-maahad .home-fee-card-heading h3 { margin:0 0 6px; color:var(--home-navy); font-size:18px; }
.home-maahad .home-fee-card-heading p { margin:0; color:var(--home-muted); font-size:12px; }
.home-maahad .home-fee-card .home-data-table th:nth-child(1),.home-maahad .home-fee-card .home-data-table td:nth-child(1) { width:48px; text-align:center; }
.home-maahad .home-fee-card .home-data-table th:last-child,.home-maahad .home-fee-card .home-data-table td:last-child { text-align:right; white-space:nowrap; }
.home-maahad .home-table-total th { background:#F1F5F9!important; color:var(--home-navy); font-weight:800; }
.home-maahad .home-monthly-fee { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; padding:20px 24px; border-top:1px solid var(--home-border); font-size:13px; }
.home-maahad .home-monthly-fee strong { color:var(--home-navy); white-space:nowrap; }
.home-maahad .home-fee-note { margin:8px 24px 24px; color:var(--home-muted); font-size:11px; line-height:1.7; }
.home-maahad .home-needs-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.home-maahad .home-need-item { display:flex; align-items:flex-start; gap:12px; min-width:0; padding:17px; background:#fff; border:1px solid var(--home-border); border-radius:11px; }
.home-maahad .home-need-item > span { display:flex; align-items:center; justify-content:center; flex:0 0 25px; width:25px; height:25px; border-radius:50%; background:#EAF1FF; color:var(--home-blue); font-weight:800; }
.home-maahad .home-need-item strong,.home-maahad .home-need-item small { display:block; }
.home-maahad .home-need-item strong { color:var(--home-navy); font-size:12px; line-height:1.5; }
.home-maahad .home-need-item small { margin-top:4px; color:var(--home-muted); font-size:11px; }
.home-maahad .home-support-card { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:clamp(26px,4vw,42px); border-radius:16px; background:linear-gradient(135deg,#13294B,#183968); }
.home-maahad .home-support-kicker { display:block; margin-bottom:10px; color:#DCCB94; font-size:10px; font-weight:800; letter-spacing:1.5px; }
.home-maahad .home-support-card h2 { margin:0 0 10px; color:#fff; font-size:28px; }
.home-maahad .home-support-card p { max-width:680px; margin:0; color:rgba(255,255,255,.75); font-size:13px; line-height:1.8; }
.home-maahad .home-facility-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-maahad .home-facility-card { padding:25px; background:#fff; border:1px solid var(--home-border); border-radius:13px; }
.home-maahad .home-facility-card > span { display:block; margin-bottom:15px; font-size:28px; }
.home-maahad .home-facility-card h3 { margin:0 0 8px; color:var(--home-navy); font-size:16px; }
.home-maahad .home-facility-card p { margin:0; color:var(--home-muted); font-size:12px; line-height:1.8; }
.home-maahad .home-location-panel { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-top:20px; padding:24px; border:1px solid var(--home-border); border-radius:13px; background:#fff; }
.home-maahad .home-location-panel strong { color:var(--home-navy); }
.home-maahad .home-location-panel p { margin:8px 0 0; color:var(--home-muted); font-size:12px; line-height:1.8; }
.home-maahad .home-portal-actions { display:flex; flex-wrap:wrap; gap:10px; }
.home-maahad .home-portal-actions .home-button { min-width:155px; }
@media (max-width:960px) {
 .home-maahad .home-about-grid,.home-maahad .home-fee-grid { grid-template-columns:1fr; gap:25px; }
 .home-maahad .home-objective-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-maahad .home-needs-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px) {
 .home-maahad .home-hero { min-height:0; }
 .home-maahad .home-hero-content { width:100%; padding:70px 0 58px; }
 .home-maahad .home-hero h1 { font-size:clamp(37px,9vw,48px); letter-spacing:-1.6px; }
 .home-maahad .home-maahad-hero-meta { display:grid; gap:8px; font-size:11px; }
 .home-maahad .home-objective-grid,.home-maahad .home-learning-phases,.home-maahad .home-subject-grid,.home-maahad .home-needs-grid,.home-maahad .home-facility-grid { grid-template-columns:1fr; }
 .home-maahad .home-phase-label,.home-maahad .home-subject-featured { grid-column:1; }
 .home-maahad .home-phase-card,.home-maahad .home-subject-card,.home-maahad .home-facility-card { padding:21px; }
 .home-maahad .home-data-table { font-size:11px; }
 .home-maahad .home-data-table th,.home-maahad .home-data-table td { padding:11px 10px; }
 .home-maahad .home-fee-card-heading { padding:20px 18px 15px; }
 .home-maahad .home-monthly-fee { padding:17px 18px; font-size:12px; }
 .home-maahad .home-fee-note { margin:8px 18px 20px; }
 .home-maahad .home-support-card,.home-maahad .home-location-panel { flex-direction:column; align-items:flex-start; }
 .home-maahad .home-support-card h2 { font-size:24px; }
 .home-maahad .home-location-panel { padding:20px; }
 .home-maahad .home-portal-actions { width:100%; flex-direction:column; }
 .home-maahad .home-portal-actions .home-button { width:100%; }
}
@media (max-width:480px) {
 .home-maahad .home-section { padding:58px 0; }
 .home-maahad .home-section-heading h2 { font-size:25px; }
 .home-maahad .home-check-list li { font-size:13px; }
 .home-maahad .home-info-panel { padding:20px 17px; }
 .home-maahad .home-fee-card .home-data-table th,.home-maahad .home-fee-card .home-data-table td { padding:10px 8px; }
 .home-maahad .home-fee-card .home-data-table { font-size:10px; }
 .home-maahad .home-support-card { padding:24px 20px; }
}
