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

.faq-header {
    margin-bottom: 3rem;
}

.faq-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.accordion-button {
    background: #f4f8fd !important;
}

.accordion-body {
    background: #f4f8fd !important;
}

.faq-accordion {
    border: none;
}

.faq-item {
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid #ddf1fd;
    border-bottom: 1px solid #ddf1fd;
    border-radius: 0 !important;
}

.faq-button {
    background: #f6fafe !important;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    color: #003451;
    text-align: left;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: none;
}

.faq-button:not(.collapsed) {
    background: white;
    box-shadow: none;
}

.faq-button:focus {
    box-shadow: none;
    border: none;
}

.faq-button::after {
    display: none;
}

.faq-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-button:not(.collapsed) .faq-icon {
    transform: translateY(-50%) rotate(45deg);
}

.faq-button:not(.collapsed) .faq-icon i {
    color: #3b82f6;
}

.faq-body {
    padding: 0 2rem 1.5rem 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #003451;
    background: white;
}

.accordion-collapse {
    border: none;
}

/* Animation for smooth transitions */
.accordion-collapse {
    transition: height 0.35s ease;
}

.faq-button {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.faq-icon i {
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Focus states for accessibility */
.faq-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Hover states */
.faq-button:hover {
    background-color: #f8f9fa;
}

.faq-button:not(.collapsed):hover {
    background-color: white;
}

/* Media Queries */
@media (max-width: 767.98px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-subtitle {
        font-size: 0.8rem;
    }

    .faq-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        padding-right: 3rem;
    }

    .faq-icon {
        right: 1.5rem;
        width: 20px;
        height: 20px;
        font-size: 14px;
    }

    .faq-body {
        padding: 0 1.5rem 1.25rem 1.5rem;
        font-size: 0.9rem;
    }

    .faq-item {
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .faq-title {
        font-size: 2.25rem;
    }

    .faq-button {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1200px) {
    .faq-section {
        padding: 100px 0;
    }

    .faq-subtitle {
        font-size: 1.15rem;
    }
}
