/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq__hero {
    background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-faq__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #F5B041;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-faq__hero-btn {
    display: inline-block;
    background-color: #F5B041;
    color: #0A2342;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-btn:hover {
    background-color: #e6a23d;
    transform: translateY(-2px);
}

.page-faq__hero-image-wrapper {
    position: absolute;
    bottom: -50px; /* Adjust to show part of the image */
    right: -100px;
    opacity: 0.15;
    z-index: 1;
    width: 500px;
    height: 500px;
}

.page-faq__hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-faq__content {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-faq__accordion {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-faq__accordion-item {
    border-bottom: 1px solid #eee;
}

.page-faq__accordion-item:last-child {
    border-bottom: none;
}

.page-faq__accordion-question {
    padding: 20px 30px;
    font-size: 1.3em;
    color: #0A2342;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    position: relative;
    font-weight: 600;
}

.page-faq__accordion-question::after {
    content: '+';
    font-size: 1.5em;
    color: #F5B041;
    transition: transform 0.3s ease;
    position: absolute;
    right: 30px;
}

.page-faq__accordion-question.active {
    background-color: #eef2f7;
    color: #F5B041;
}

.page-faq__accordion-question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-faq__accordion-answer {
    padding: 0 30px 20px;
    font-size: 1.05em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-answer.active {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 30px;
}

.page-faq__accordion-answer p {
    margin-bottom: 15px;
}

.page-faq__answer-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-faq__btn {
    display: inline-block;
    background-color: #0A2342;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-faq__btn:hover {
    background-color: #1A3F6C;
}

.page-faq__cta {
    background-color: #0A2342;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq__cta-text {
    max-width: 800px;
    margin-bottom: 40px;
}

.page-faq__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #F5B041;
    font-weight: bold;
}

.page-faq__cta-description {
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-faq__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-faq__btn--primary {
    background-color: #F5B041;
    color: #0A2342;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__btn--primary:hover {
    background-color: #e6a23d;
    transform: translateY(-2px);
}

.page-faq__btn--secondary {
    background-color: transparent;
    border: 2px solid #F5B041;
    color: #F5B041;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 1.1em;
}

.page-faq__btn--secondary:hover {
    background-color: #F5B041;
    color: #0A2342;
}

.page-faq__cta-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    opacity: 0.1;
    z-index: 1;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-faq__hero-title {
        font-size: 2.8em;
    }
    .page-faq__hero-description {
        font-size: 1.1em;
    }
    .page-faq__hero-image-wrapper {
        width: 400px;
        height: 400px;
        bottom: -30px;
        right: -80px;
    }
    .page-faq__cta-title {
        font-size: 2.2em;
    }
    .page-faq__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero {
        padding: 60px 0;
    }
    .page-faq__hero-title {
        font-size: 2.2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__hero-image-wrapper {
        display: none;
    }
    .page-faq__content {
        padding: 40px 0;
    }
    .page-faq__accordion-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-faq__accordion-question::after {
        right: 20px;
    }
    .page-faq__accordion-answer.active {
        padding: 15px 20px;
    }
    .page-faq__btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-faq__cta {
        padding: 60px 0;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 0.95em;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn--primary, .page-faq__btn--secondary {
        width: 100%;
        max-width: 300px;
        font-size: 1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 0.9em;
    }
    .page-faq__hero-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faq__accordion-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-faq__accordion-question::after {
        right: 15px;
    }
    .page-faq__accordion-answer.active {
        padding: 12px 15px;
    }
    .page-faq__cta-title {
        font-size: 1.5em;
    }
    .page-faq__cta-buttons {
        width: 90%;
    }
}