/* ==========================================================================
   Al Iman Quran Academy - Contact FAQs & Support CSS
   ========================================================================== */

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

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

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

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

.sbw-cnf-faq-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-cnf-faq-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a2923;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

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

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

/* 2-Col Layout */
.sbw-cnf-faq-row {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 40px;
    align-items: flex-start;
}

/* Left Support Box */
.sbw-cnf-faq-support-box {
    background: linear-gradient(135deg, var(--sbw-dark, #091D17) 0%, rgba(5, 131, 73, 0.95) 100%);
    border: 2px solid var(--sbw-secondary, #FFB606);
    border-radius: 28px;
    padding: 40px 30px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.sbw-cnf-faq-sb-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.sbw-cnf-faq-sb-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.sbw-cnf-faq-sb-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 28px;
}

.sbw-cnf-faq-sb-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    background-color: var(--sbw-secondary, #FFB606);
    color: #091D17;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    text-align: center;
    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-cnf-faq-sb-btn::before,
.sbw-cnf-faq-sb-btn::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-cnf-faq-sb-btn::before {
    left: 0;
    transform: translateX(-100%);
}

.sbw-cnf-faq-sb-btn::after {
    right: 0;
    transform: translateX(100%);
}

.sbw-cnf-faq-sb-btn:hover::before,
.sbw-cnf-faq-sb-btn:hover::after {
    transform: translateX(0);
}

.sbw-cnf-faq-sb-btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 131, 73, 0.4);
}

.sbw-cnf-faq-sb-btn .sbw-btn-text {
    width: 100%;
    text-align: center;
    display: block;
}

/* Right FAQ Accordions */
.sbw-cnf-faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sbw-cnf-faq-item {
    background: #ffffff;
    border: 1.5px solid rgba(5, 131, 73, 0.15);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sbw-cnf-faq-item.is-active {
    border-color: var(--sbw-primary, #058349);
    box-shadow: 0 10px 25px rgba(5, 131, 73, 0.12);
}

.sbw-cnf-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    cursor: pointer;
    user-select: none;
}

.sbw-cnf-faq-question {
    font-size: 17.5px;
    font-weight: 700;
    color: #1a2923;
    margin: 0;
    line-height: 1.35;
}

/* Morphing Plus to Minus Icon */
.sbw-cnf-faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sbw-cnf-faq-bar {
    position: absolute;
    background-color: var(--sbw-primary, #058349);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.sbw-cnf-faq-h {
    width: 16px;
    height: 2.5px;
}

.sbw-cnf-faq-v {
    width: 2.5px;
    height: 16px;
}

.sbw-cnf-faq-item.is-active .sbw-cnf-faq-v {
    transform: rotate(90deg);
    opacity: 0;
}

.sbw-cnf-faq-content {
    padding: 0 26px 22px 26px;
}

.sbw-cnf-faq-answer {
    font-size: 15px;
    color: #55635d;
    line-height: 1.65;
    margin: 0;
}

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

@media (max-width: 767px) {
    .sbw-cnf-faq-section {
        padding: 60px 0;
    }
    .sbw-cnf-faq-container {
        padding: 0 16px;
    }
    .sbw-cnf-faq-main-title {
        font-size: 28px;
    }
    .sbw-cnf-faq-toggle {
        padding: 18px 20px;
    }
    .sbw-cnf-faq-question {
        font-size: 16px;
    }
    .sbw-cnf-faq-content {
        padding: 0 20px 18px 20px;
    }
    .sbw-cnf-faq-sb-btn {
        text-align: center !important;
    }
    .sbw-cnf-faq-sb-btn .sbw-btn-text {
        text-align: center !important;
    }
}
