/* ============================================================
   HOME (landing) page - Jamea Abdullah Ibne Masud Ra.
   index.css is loaded ONLY on the home page, so the container
   reset below is safe and does not affect other pages.
   ============================================================ */

/* let home sections run full width (break out of the layout container) */
.main > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.jaim-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.jaim-hero {
    background: linear-gradient(160deg, #0a5f2e 0%, #0c7c3c 55%, #0a6c34 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px 70px;
    border-bottom: 5px solid var(--jaim-gold);
}

.jaim-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.jaim-bismillah {
    font-family: 'Traditional Arabic', 'Amiri', 'Scheherazade New', serif;
    color: #efce6b;
    font-size: 26px;
    margin-bottom: 14px;
    direction: rtl;
}

.jaim-hero-bn {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #eafaef;
}

.jaim-hero-title {
    font-size: 46px;
    font-weight: 800;
    margin: 4px 0 14px;
    line-height: 1.1;
}

.jaim-hero-tagline {
    font-style: italic;
    font-size: 19px;
    color: #cde9d6;
    margin-bottom: 18px;
}

.jaim-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #e3f3e8;
    max-width: 660px;
    margin: 0 auto 30px;
}

.jaim-hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.jaim-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid transparent;
    transition: all .2s ease;
    cursor: pointer;
}

.jaim-btn-gold {
    background: var(--jaim-gold);
    color: #fff;
    border-color: var(--jaim-gold);
}

    .jaim-btn-gold:hover,
    .jaim-btn-gold:focus {
        background: var(--jaim-gold-dark);
        border-color: var(--jaim-gold-dark);
        color: #fff;
        text-decoration: none;
    }

.jaim-btn-ghost {
    background: #fff;
    color: var(--jaim-green);
    border-color: #fff;
}

    .jaim-btn-ghost:hover,
    .jaim-btn-ghost:focus {
        background: transparent;
        color: #fff;
        border-color: #fff;
        text-decoration: none;
    }

/* ============================================================
   STATS BAND
   ============================================================ */
.jaim-stats {
    background: #ecebe4;
    padding: 46px 20px;
}

.jaim-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.jaim-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(12, 124, 63, 0.10);
}

.jaim-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--jaim-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

.jaim-stat-number {
    font-size: 34px;
    font-weight: 800;
    color: var(--jaim-green);
    line-height: 1;
    margin-bottom: 8px;
}

.jaim-stat-label {
    color: #5d6b62;
    font-size: 15px;
}

/* ============================================================
   WAYS TO SUPPORT
   ============================================================ */
.jaim-support {
    background-color: #faf9f4;
    background-image: linear-gradient(135deg, rgba(12,124,63,0.04) 25%, transparent 25%, transparent 50%, rgba(12,124,63,0.04) 50%, rgba(12,124,63,0.04) 75%, transparent 75%, transparent);
    background-size: 36px 36px;
    padding: 60px 20px 70px;
}

.jaim-section-head {
    text-align: center;
    margin-bottom: 44px;
}

.jaim-section-title {
    color: var(--jaim-green);
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px;
}

.jaim-section-title:after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--jaim-gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

.jaim-section-sub {
    color: #6a766e;
    font-size: 16px;
    margin: 0;
}

.jaim-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1080px;
    margin: 0 auto;
}

.jaim-support-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .jaim-support-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(12, 124, 63, 0.14);
    }

.jaim-support-card.is-general {
    background: #fffdf4;
    border-color: #f1e6c4;
}

.jaim-support-title {
    color: var(--jaim-green);
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .jaim-support-title .jaim-emoji {
        font-size: 22px;
    }

.jaim-support-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1 1 auto;
}

    .jaim-support-list li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 12px;
        color: #4a554d;
        font-size: 14.5px;
        line-height: 1.5;
    }

        .jaim-support-list li i {
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--jaim-green);
            font-size: 16px;
        }

.jaim-support-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--jaim-gold);
    color: #fff;
    font-weight: 700;
    padding: 13px 14px;
    border-radius: 8px;
    transition: background .2s ease;
}

    .jaim-support-btn:hover,
    .jaim-support-btn:focus {
        background: var(--jaim-gold-dark);
        color: #fff;
        text-decoration: none;
    }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .jaim-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jaim-support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .jaim-hero-title {
        font-size: 32px;
    }

    .jaim-stats-grid {
        grid-template-columns: 1fr;
    }

    .jaim-support-grid {
        grid-template-columns: 1fr;
    }

    .jaim-btn {
        width: 100%;
        max-width: 280px;
    }
}
