/* style/faq.css */

/* General Styling */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* White text for dark background */
    background-color: #0A244A; /* Main dark blue background */
}

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

.page-faq__title,
.page-faq__section-heading {
    color: #FFD700; /* Gold for headings */
    text-align: center;
    margin-bottom: 40px;
}

.page-faq__subtitle,
.page-faq__contact-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.page-faq__cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 15px 30px;
    background-color: #FFD700; /* Gold button */
    color: #0A244A; /* Dark blue text on gold */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-faq__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-faq__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-faq__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #0A244A;
}

.page-faq__action-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #0A244A;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq__action-button:hover {
    background-color: #e6c200;
}

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

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #0A244A 0%, #1A3C6B 100%); /* Dark blue gradient */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
}

.page-faq__hero-image-wrapper {
    position: relative;
    z-index: 0;
    max-width: 600px;
    width: 100%;
}

.page-faq__hero-image {
    opacity: 0.8;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Accordion Section */
.page-faq__accordion-section {
    padding: 60px 20px;
    background-color: #0A244A;
}

.page-faq__section-heading {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.page-faq__accordion-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__accordion-item {
    background-color: #1A3C6B; /* Slightly lighter dark blue for items */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-faq__accordion-item[open] {
    background-color: #2A4F8B;
}

.page-faq__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    outline: none;
    position: relative;
}

.page-faq__accordion-header::-webkit-details-marker {
    display: none;
}

.page-faq__accordion-question {
    margin: 0;
    color: #FFD700; /* Gold for questions */
    font-size: 1.3em;
    font-weight: bold;
}

.page-faq__accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.page-faq__accordion-icon::before,
.page-faq__accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-faq__accordion-icon::before {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.page-faq__accordion-icon::after {
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.page-faq__accordion-item[open] .page-faq__accordion-icon::after {
    transform: translateX(-50%) scaleY(0); /* Hide vertical bar when open */
}

.page-faq__accordion-content {
    padding: 0 20px 20px 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05em;
}

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

/* Contact Section */
.page-faq__contact-section {
    background-color: #1A3C6B;
    padding: 80px 20px;
    text-align: center;
}

.page-faq__contact-text {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-faq__hero {
        flex-direction: row;
        text-align: left;
        padding: 100px 40px;
    }

    .page-faq__hero-content {
        flex: 1;
        padding-right: 40px;
    }

    .page-faq__hero-image-wrapper {
        flex: 1;
        text-align: right;
    }

    .page-faq__hero-title {
        font-size: 3.5em;
        text-align: left;
    }

    .page-faq__subtitle {
        text-align: left;
        font-size: 1.2em;
    }

    .page-faq__cta-button {
        margin: 30px 0;
    }

    .page-faq__section-heading {
        font-size: 3em;
    }
}

@media (max-width: 767px) {
    .page-faq__title {
        font-size: 2.5em;
    }

    .page-faq__section-heading {
        font-size: 2em;
    }

    .page-faq__accordion-question {
        font-size: 1.1em;
    }
}