.faq-section {
    padding: 100px 0;
    background-color: #ffffff;
    font-family: 'Manrope', sans-serif;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.faq-header p {
    color: #666;
    font-size: 16px;
}

/* Accordion Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-question {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    font-weight: 700;
    color: #333;
    font-size: 17px;
}

.faq-question i {
    font-size: 20px;
    transition: transform 0.3s;
    color: #ff6933;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: #f9f9f9;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* Active State */
.faq-item.active {
    border-color: #ff6933;
    box-shadow: 0 10px 20px rgba(255, 105, 51, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough to fit text */
    transition: max-height 0.4s ease-in-out;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg); /* Plus becomes an X */
}

/* --- Tablet View (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .faq-container {
        max-width: 700px;
    }

    .faq-header h2 {
        font-size: 28px;
    }
}

/* --- Mobile View (max-width: 768px) --- */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-header h2 {
        font-size: 24px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
        gap: 15px; /* Question aur icon ke beech gap */
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 14px;
    }
}

/* --- Extra Small Mobile (320px - 480px) --- */
@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 22px;
    }

    .faq-header p {
        font-size: 14px;
    }

    .faq-question {
        padding: 15px;
        font-size: 14px;
    }

    .faq-question i {
        font-size: 18px;
    }

    .faq-item {
        border-radius: 8px; /* Chhote screens par thode kam rounded corners */
    }
}