/* ============================================
   FAQ CSS - Knowledge Wave India
   Colors: #7AC74F #FDFFFC #F7B32B #FF2E00 #140F2D
   ============================================ */

.faq-section {
    padding: 80px 0;
    background: #FDFFFC;
}

.faq-row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* ========== FAQ IMAGE ========== */
.faq-image {
    flex: 0 0 280px;
    max-width: 280px;
}

.faq-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ========== FAQ CONTENT ========== */
.faq-content {
    flex: 1;
}

.sub-title {
    display: inline-block;
    color: #7AC74F;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 36px;
    font-weight: 800;
    color: #140F2D;
    margin: 0 0 12px;
    line-height: 1.2;
}

.desc {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

/* ========== FAQ LIST ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #FDFFFC;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(122, 199, 79, 0.4);
    box-shadow: 0 4px 15px rgba(122, 199, 79, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #140F2D;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.faq-question i {
    color: #7AC74F;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item.active .faq-question {
    color: #7AC74F;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .faq-section { padding: 60px 0; }
    .faq-row { flex-direction: column; align-items: center; gap: 30px; }
    .faq-image { flex: 0 0 auto; max-width: 220px; }
    .main-title { font-size: 30px; }
}

@media (max-width: 767.98px) {
    .faq-section { padding: 45px 0; }
    .faq-image { max-width: 180px; }
    .main-title { font-size: 26px; }
    .faq-question { font-size: 14px; padding: 14px 16px; }
    .faq-answer p { font-size: 13px; }
}

@media (max-width: 575.98px) {
    .faq-image { max-width: 150px; }
    .main-title { font-size: 22px; }
}