/* ==========================================================================
   Al Iman Quran Academy - Story, Vision & Mission CSS (Organic & Glassmorphic)
   ========================================================================== */

.sbw-abv-section * {
    font-family: 'Philosopher', sans-serif;
    box-sizing: border-box;
}

.sbw-abv-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--sbw-bg-light, #f7faf8);
    color: #1a2923;
    overflow: hidden;
}

.sbw-abv-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.sbw-abv-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px auto;
}

.sbw-abv-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sbw-primary, #058349);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.sbw-abv-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a2923;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.sbw-abv-main-title span {
    color: var(--sbw-primary, #058349);
}

.sbw-abv-desc {
    font-size: 16.5px;
    color: #55635d;
    line-height: 1.6;
    margin: 0;
}

/* 3 Organic Story Cards Grid */
.sbw-abv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sbw-abv-card {
    position: relative;
    background: #ffffff;
    border-radius: 32px 32px 32px 8px;
    padding: 38px 30px;
    border: 2px solid rgba(5, 131, 73, 0.12);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.sbw-abv-card:hover {
    transform: translateY(-8px);
    border-color: var(--sbw-primary, #058349);
    box-shadow: 0 22px 50px rgba(5, 131, 73, 0.18);
}

.sbw-abv-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.sbw-abv-icon {
    font-size: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sbw-abv-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.sbw-abv-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sbw-primary, #058349);
    background: rgba(5, 131, 73, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
}

.sbw-abv-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2923;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.sbw-abv-card-desc {
    font-size: 15px;
    color: #55635d;
    line-height: 1.65;
    margin: 0;
}

/* Responsive Queries */
@media (max-width: 991px) {
    .sbw-abv-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .sbw-abv-section {
        padding: 60px 0;
    }
    .sbw-abv-container {
        padding: 0 16px;
    }
    .sbw-abv-card {
        padding: 28px 20px;
        border-radius: 24px 24px 24px 8px;
    }
    .sbw-abv-main-title {
        font-size: 28px;
    }
}
