/* ============= FAQ SECTION ============= */
.faq-section {
    padding: 0;
    background: white;
    overflow: hidden;
}

.faq-background {
    background: #e7ecea;
    padding: 60px 0;
    position: relative;
}

.faq-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

/* ============= FAQ LEFT SIDE ============= */
.faq-left {
    position: relative;
}

.faq-title-wrapper {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.faq-green-border {
    width: 5px;
    min-height: 140px;
    background: var(--primary-color);
    border-radius: 0;
    flex-shrink: 0;
}

.faq-title-content {
    padding-left: 20px;
    flex: 1;
}

.faq-title {
    font-family: "Poppins", sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.faq-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* ============= FAQ RIGHT SIDE - ACCORDION ============= */
.faq-right {
    background: transparent;
    border-radius: 10px;
    padding: 0;
    border-left: 5px solid var(--primary-color);
    padding-left: 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item {
    background: white;
    border-bottom: 1px solid #d0d0d0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.faq-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.faq-item:last-child {
    border-bottom: 1px solid #d0d0d0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    gap: 20px;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-item.active .faq-question {
    background: white;
}

.faq-question-text {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    transform: rotate(0deg);
}

i{
  
    transition: transform 0.3s ease;

    transform: rotate(0deg);
}


.faq-item.active i {
    transform: rotate(-180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* ============= FAQ RESPONSIVE ============= */

/* Large Desktop */
@media (max-width: 1400px) {
    .faq-content {
        grid-template-columns: 380px 1fr;
        gap: 55px;
    }

    .faq-title {
        font-size: 36px;
    }

    .faq-subtitle {
        font-size: 15px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .faq-background {
        padding: 50px 0;
    }

    .faq-content {
        grid-template-columns: 350px 1fr;
        gap: 50px;
    }

    .faq-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .faq-subtitle {
        font-size: 15px;
    }

    .faq-question {
        padding: 16px 22px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 22px 18px 22px;
    }

    .faq-answer p {
        font-size: 13px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .faq-background {
        padding: 45px 0;
    }

    .faq-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .faq-green-border {
        min-height: 120px;
    }

    .faq-title {
        font-size: 30px;
    }

    .faq-subtitle {
        font-size: 14px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 18px 20px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .faq-background {
        padding: 40px 0;
    }

    .faq-content {
        gap: 30px;
    }

    .faq-title-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .faq-green-border {
        width: 100%;
        min-height: 5px;
        margin-bottom: 16px;
        display: none;
    }

    .faq-title-content {
        padding-left: 0;
    }

    .faq-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .faq-subtitle {
        font-size: 14px;
    }

    .faq-right {
        border-left: none;
        border-top: 5px solid var(--primary-color);
        padding-left: 0;
        padding-top: 0;
    }

    .faq-question {
        padding: 15px 18px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-icon {
        font-size: 13px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 16px 18px;
    }

    .faq-answer p {
        font-size: 13px;
    }
}

/* Mobile Medium */
@media (max-width: 480px) {
    .faq-background {
        padding: 35px 0;
    }

    .faq-title {
        font-size: 22px;
    }

    .faq-subtitle {
        font-size: 13px;
    }

    .faq-question {
        padding: 14px 16px;
        gap: 14px;
    }

    .faq-question-text {
        font-size: 13px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 14px 16px;
    }

    .faq-answer p {
        font-size: 12px;
    }
}

/* Mobile Small */
@media (max-width: 360px) {
    .faq-background {
        padding: 30px 0;
    }

    .faq-title {
        font-size: 20px;
    }

    .faq-subtitle {
        font-size: 12px;
    }

    .faq-question {
        padding: 12px 14px;
    }

    .faq-question-text {
        font-size: 12px;
    }

    .faq-item.active .faq-answer {
        padding: 0 14px 12px 14px;
    }

    .faq-answer p {
        font-size: 11px;
    }
}

/* ============= PRINT STYLES FOR FAQ ============= */
@media print {
    .faq-background {
        background: white;
        padding: 20px 0;
    }

    .faq-item.active .faq-answer {
        max-height: none;
    }
}