/* ==========================================================================
   Al Iman Quran Academy - Section 8: Why Choose Our Islamic Institute CSS
   ========================================================================== */

.sbw-wcu-section {
    position: relative;
    width: 100%;
    padding: 95px 0 110px 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    font-family: 'Philosopher', sans-serif;
    color: var(--sbw-dark, #222222);
    box-sizing: border-box;
    overflow: hidden;
}

.sbw-wcu-section * {
    font-family: 'Philosopher', sans-serif;
}

/* Background Overlay */
.sbw-wcu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

/* Centered Container */
.sbw-wcu-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Split 2-Column Row */
.sbw-wcu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Left Column Content */
.sbw-wcu-left {
    flex: 1 1 48%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sbw-wcu-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sbw-muted, #6a6a6a);
    display: block;
    margin-bottom: 4px;
}

.sbw-wcu-main-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--sbw-dark, #222222);
    margin: 0;
}

.sbw-wcu-highlight {
    position: relative;
    display: inline-block;
    color: var(--sbw-dark, #222222);
}

.sbw-wcu-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 4px;
    background-color: var(--sbw-secondary, #FFB606);
    border-radius: 2px;
}

.sbw-wcu-desc {
    font-size: 16.5px;
    line-height: 1.65;
    color: #555555;
    margin: 0;
}

/* Animated Counter Stats Row */
.sbw-wcu-stats-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.sbw-wcu-stat-box {
    flex: 1 1 calc(50% - 20px);
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sbw-wcu-counter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 48px;
    font-weight: 800;
    color: var(--sbw-dark, #222222);
    line-height: 1;
}

.sbw-wcu-counter-icon {
    font-size: 32px;
    color: var(--sbw-primary, #058349);
}

.sbw-wcu-counter-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.sbw-wcu-counter-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--sbw-dark, #222222);
    line-height: 1;
}

.sbw-wcu-counter-suffix {
    font-size: 36px;
    font-weight: 800;
    color: var(--sbw-dark, #222222);
    margin-left: 2px;
}

.sbw-wcu-stat-underline {
    width: 100%;
    height: 4px;
    background-color: var(--sbw-secondary, #FFB606);
    border-radius: 2px;
    margin: 4px 0 6px 0;
}

.sbw-wcu-stat-sub {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sbw-muted, #6a6a6a);
    font-weight: 600;
    margin: 0;
}

/* Right Column 2x2 Feature Cards Grid */
.sbw-wcu-right {
    flex: 1 1 48%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.sbw-wcu-card {
    position: relative;
    border-radius: 18px;
    padding: 42px 22px 28px 22px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
    box-sizing: border-box;
    overflow: visible;
}

.sbw-wcu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(255, 182, 6, 0.25);
    border-color: var(--sbw-secondary, #FFB606);
}

/* Top Capsule Badge & Golden Mehrab Arch */
.sbw-wcu-capsule-wrapper {
    position: absolute;
    top: -30px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.sbw-wcu-arch-svg {
    position: absolute;
    top: -14px;
    width: 60px;
    height: 35px;
    z-index: 1;
    pointer-events: none;
}

.sbw-wcu-arch-svg path {
    stroke: var(--sbw-secondary, #FFB606);
    stroke-width: 3.5;
    fill: none;
    stroke-linecap: round;
}

.sbw-wcu-capsule {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--sbw-secondary, #FFB606);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 18px rgba(255, 186, 6, 0.35);
    border: 3px solid #ffffff;
    position: relative;
    z-index: 4;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.sbw-wcu-capsule img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.sbw-wcu-card:hover .sbw-wcu-capsule {
    background-color: var(--sbw-primary, #058349);
    transform: scale(1.08);
}

.sbw-wcu-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--sbw-dark, #222222);
    margin: 14px 0 0 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.sbw-wcu-card:hover .sbw-wcu-card-title {
    color: var(--sbw-primary, #058349);
}

.sbw-wcu-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sbw-muted, #6a6a6a);
    margin: 0;
}

/* Responsive Queries */
@media (max-width: 991px) {
    .sbw-wcu-row {
        flex-direction: column;
        gap: 50px;
    }
    .sbw-wcu-left {
        max-width: 100%;
    }
    .sbw-wcu-right {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .sbw-wcu-right {
        grid-template-columns: 1fr;
    }
    .sbw-wcu-main-title {
        font-size: 32px;
    }
}
