/* ===== FAQs Page Styles ===== */

/* Hero Section */
.faqs-hero {
    position: relative;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 60px;
    overflow: hidden;
}

.faqs-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 748px;
    background: linear-gradient(135deg, #00529a, #00a8ab);
    opacity: 0.12;
    z-index: 0;
}

.faqs-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 748px;
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

/* Hero Title */
.faqs-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.faqs-title {
    font-size: 48px;
    font-weight: 700;
    color: #00293c;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faqs-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #535965;
    line-height: 1.5;
}

/* FAQ Accordion Container */
.faqs-accordion-wrapper {
    position: relative;
    z-index: 2;
    max-width: 994px;
    margin: 60px auto 0;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* FAQ Item Wrapper */
.faq-item {
    background: none;
}

.faq-question-btn {
    background: #FFF;
    border-radius: 16px;
    box-shadow: 0 80px 106.667px 0 rgba(28, 39, 115, 0.02), 0 26.667px 62.469px 0 rgba(28, 39, 115, 0.02), 0 13.333px 33.975px 0 rgba(28, 39, 115, 0.02);
}

/* FAQ Question Button */
.faq-question-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 28px 32px;
    border: none;
    cursor: pointer;
    gap: 16px;
    text-align: right;
    direction: rtl;
    transition: background-color 0.2s ease;
}

.faq-question-btn:hover {
    background: rgba(0, 41, 61, 0.02);
}

/* Question Text */
.faq-question-text {
    flex: 1;
    font-size: 20px;
    font-weight: 500;
    color: #00293c;
    line-height: 1.6;
    text-align: right;
}

/* Arrow Icon */
.faq-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-arrow svg {
    width: 24px;
    height: 24px;
}

.faq-question-btn:not(.collapsed) .faq-arrow {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer-body {
    padding: 24px 32px 0;
    direction: rtl;
    text-align: right;
}

.faq-answer-body p,
.faq-answer-body {
    font-size: 16px;
    font-weight: 400;
    color: #535965;
    line-height: 1.5;
    margin: 0;
    max-width: 838px;
}

/* Empty State */
.faqs-empty {
    text-align: center;
    padding: 80px 24px;
    color: #535965;
    font-size: 18px;
}

/* ===== Responsive Styles ===== */

@media (max-width: 992px) {
    .faqs-title {
        font-size: 40px;
    }

    .faqs-subtitle {
        font-size: 16px;
    }

    .faqs-accordion-wrapper {
        gap: 20px;
        margin-top: 48px;
    }

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

@media (max-width: 768px) {
    .faqs-hero {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .faqs-hero::before,
    .faqs-hero::after {
        height: 500px;
    }

    .faqs-title {
        font-size: 32px;
    }

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

    .faqs-accordion-wrapper {
        gap: 16px;
        margin-top: 40px;
    }

    .faq-question-btn {
        padding: 20px 24px;
    }

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

    .faq-answer-body {
        padding: 0 24px 20px;
        font-size: 14px;
    }

    .faq-answer-body p,
    .faq-answer-body {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faqs-hero {
        padding-top: 48px;
        padding-bottom: 32px;
    }

    .faqs-title {
        font-size: 28px;
    }

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

    .faqs-accordion-wrapper {
        gap: 12px;
        margin-top: 32px;
    }

    .faq-question-btn {
        padding: 18px 20px;
        gap: 12px;
    }

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

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