/* ============================================
   FAQ CSS - Knowledge Wave India
   Colors: #0A210F #14591D #99AA38 #392F5A #F6F8FF
   ============================================ */

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

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

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

.faq-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 320px;
    background: linear-gradient(135deg, #0A210F 0%, #14591D 50%, #392F5A 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.faq-placeholder::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: #99AA38;
    border-radius: 50%;
    opacity: 0.15;
}

.faq-placeholder::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 70px;
    height: 70px;
    background: #99AA38;
    border-radius: 50%;
    opacity: 0.1;
}

.faq-placeholder i {
    font-size: 80px;
    color: rgba(153, 170, 56, 0.7);
    position: relative;
    z-index: 1;
}

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

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

.main-title {
    font-size: 36px;
    font-weight: 800;
    color: #0A210F;
    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: #fff;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(153, 170, 56, 0.3);
    box-shadow: 0 4px 15px rgba(153, 170, 56, 0.08);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #0A210F;
    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: #99AA38;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item.active .faq-question {
    color: #99AA38;
}

.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: 35px; }
    .faq-image { flex: 0 0 auto; max-width: 250px; }
    .faq-placeholder { max-height: 250px; }
    .faq-placeholder i { font-size: 60px; }
    .main-title { font-size: 30px; }
}

@media (max-width: 767.98px) {
    .faq-section { padding: 45px 0; }
    .faq-image { max-width: 200px; }
    .faq-placeholder { max-height: 200px; }
    .faq-placeholder i { font-size: 48px; }
    .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: 160px; }
    .faq-placeholder { max-height: 160px; border-radius: 20px; }
    .faq-placeholder i { font-size: 40px; }
    .main-title { font-size: 22px; }
}