/* ==========================================================================
   Al Iman Quran Academy - Contact Us Hero Banner CSS
   ========================================================================== */

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

.sbw-cnh-section {
    position: relative;
    padding: 120px 0 100px 0;
    background-color: var(--sbw-dark, #091D17);
    color: #ffffff;
    overflow: hidden;
}

.sbw-cnh-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 40%, rgba(5, 131, 73, 0.35) 0%, rgba(9, 29, 23, 0.95) 85%);
    pointer-events: none;
    z-index: 1;
}

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

.sbw-cnh-row {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
}

/* Left Column: Content & Buttons */
.sbw-cnh-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 182, 6, 0.12);
    border: 1px solid var(--sbw-secondary, #FFB606);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.sbw-cnh-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--sbw-secondary, #FFB606);
    box-shadow: 0 0 10px var(--sbw-secondary, #FFB606);
    animation: sbwCnhPulseGlow 1.8s infinite ease-in-out;
}

@keyframes sbwCnhPulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.sbw-cnh-badge-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sbw-secondary, #FFB606);
    letter-spacing: 1.2px;
}

.sbw-cnh-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px 0;
}

.sbw-cnh-title span {
    color: var(--sbw-secondary, #FFB606);
}

.sbw-cnh-desc {
    font-size: 17.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 680px;
}

/* Action Buttons Bar */
.sbw-cnh-btns {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.sbw-cnh-btn-primary,
.sbw-cnh-btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: color 0.6s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.2, 1, 0.3, 1), transform 0.4s ease;
}

.sbw-cnh-btn-primary {
    background-color: var(--sbw-secondary, #FFB606);
    color: #091D17;
}

.sbw-cnh-btn-primary::before,
.sbw-cnh-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 51%;
    background-color: var(--sbw-primary, #058349);
    z-index: -1;
    transition: transform 0.65s cubic-bezier(0.2, 1, 0.3, 1);
}

.sbw-cnh-btn-primary::before {
    left: 0;
    transform: translateX(-100%);
}

.sbw-cnh-btn-primary::after {
    right: 0;
    transform: translateX(100%);
}

.sbw-cnh-btn-primary:hover::before,
.sbw-cnh-btn-primary:hover::after {
    transform: translateX(0);
}

.sbw-cnh-btn-primary:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 131, 73, 0.45);
}

.sbw-cnh-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid var(--sbw-secondary, #FFB606);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.sbw-cnh-btn-secondary::before,
.sbw-cnh-btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 51%;
    background-color: var(--sbw-secondary, #FFB606);
    z-index: -1;
    transition: transform 0.65s cubic-bezier(0.2, 1, 0.3, 1);
}

.sbw-cnh-btn-secondary::before {
    left: 0;
    transform: translateX(-100%);
}

.sbw-cnh-btn-secondary::after {
    right: 0;
    transform: translateX(100%);
}

.sbw-cnh-btn-secondary:hover::before,
.sbw-cnh-btn-secondary:hover::after {
    transform: translateX(0);
}

.sbw-cnh-btn-secondary:hover {
    color: #091D17 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 182, 6, 0.45);
}

.sbw-btn-anim .sbw-btn-text {
    position: relative;
    z-index: 2;
}

/* Right Column: Glassmorphic Info Showcase Card with Active Diagonal Shine */
.sbw-cnh-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(5, 131, 73, 0.3) 100%);
    border: 2px solid var(--sbw-secondary, #FFB606);
    border-radius: 32px;
    padding: 40px 32px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 182, 6, 0.25);
}

.sbw-cnh-shine {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
    animation: sbwCnhDiagonalShine 4s infinite ease-in-out;
}

@keyframes sbwCnhDiagonalShine {
    0% {
        left: -60%;
    }
    30% {
        left: 130%;
    }
    100% {
        left: 130%;
    }
}

.sbw-cnh-card-badge {
    position: relative;
    z-index: 2;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sbw-secondary, #FFB606);
    letter-spacing: 1.5px;
    background: rgba(255, 182, 6, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.sbw-cnh-card-title {
    position: relative;
    z-index: 2;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.sbw-cnh-info-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sbw-cnh-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sbw-cnh-info-item:hover {
    transform: translateX(6px);
    border-color: var(--sbw-secondary, #FFB606);
}

.sbw-cnh-info-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 182, 6, 0.15);
    border: 1.5px solid var(--sbw-secondary, #FFB606);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sbw-cnh-info-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sbw-cnh-info-lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.sbw-cnh-info-val {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

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

@media (max-width: 767px) {
    .sbw-cnh-section {
        padding: 70px 0 50px 0;
    }
    .sbw-cnh-container {
        padding: 0 16px;
    }
    .sbw-cnh-title {
        font-size: 32px;
    }
    .sbw-cnh-desc {
        font-size: 15px;
    }
    .sbw-cnh-btns {
        flex-direction: column;
        width: 100%;
    }
    .sbw-cnh-btn-primary,
    .sbw-cnh-btn-secondary {
        width: 100%;
    }
    .sbw-cnh-card {
        padding: 28px 18px;
        border-radius: 24px;
    }
}
