/* style/faq.css */

/* General FAQ page styling */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark gray for general text on light background */
    line-height: 1.6;
    background-color: #f5f5f5; /* Light gray background for the page */
}

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

/* Hero Section */
.page-faq__hero {
    position: relative;
    height: 400px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #0A192F; /* Fallback background color */
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Darken image for better text contrast */
}

.page-faq__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.7), rgba(255, 215, 0, 0.2));
    z-index: 2;
}

.page-faq__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF; /* White text on dark background */
    max-width: 800px;
}

.page-faq__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
    font-size: 1.2em;
    font-weight: 300;
}

/* Section Styling */
.page-faq__section {
    padding: 60px 0;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #0A192F; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Accordion Container */
.page-faq__accordion-container {
    background-color: #FFFFFF;
}

.page-faq__accordion-item {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: #0A192F; /* Dark blue for question headers */
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #f0f0f0;
}

.page-faq__accordion-header.active {
    background-color: #FFD700; /* Gold background when active */
    color: #0A192F; /* Dark blue text on gold background */
    border-bottom: none;
}

.page-faq__accordion-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    object-fit: contain;
}

.page-faq__accordion-toggle {
    margin-left: auto;
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active .page-faq__accordion-toggle {
    transform: rotate(45deg);
}

.page-faq__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #fcfcfc;
}

.page-faq__accordion-content.active {
    max-height: 500px; /* Max height to allow transition */
    padding: 20px 25px;
}

.page-faq__accordion-content p {
    margin-bottom: 10px;
    color: #444444; /* Slightly lighter dark gray for answer text */
}

.page-faq__accordion-content strong {
    color: #0A192F;
}

/* Call to Action Section */
.page-faq__cta-section {
    background-color: #0A192F;
    color: #FFFFFF; /* White text on dark blue background */
    text-align: center;
    padding: 80px 0;
}

.page-faq__cta-content {
    max-width: 900px;
}

.page-faq__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for CTA title */
    margin-bottom: 25px;
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-faq__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button background */
    color: #0A192F; /* Dark blue text on gold button */
    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 5px 15px rgba(255, 215, 0, 0.4);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq__hero-title {
        font-size: 2.8em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__accordion-header {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-faq__accordion-content {
        padding: 15px 20px;
    }
    .page-faq__cta-title {
        font-size: 2.2em;
    }
    .page-faq__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero {
        height: 300px;
    }
    .page-faq__hero-title {
        font-size: 2.2em;
    }
    .page-faq__section {
        padding: 40px 0;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__accordion-header {
        font-size: 1em;
        padding: 15px;
    }
    .page-faq__accordion-icon {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }
    .page-faq__accordion-content {
        padding: 10px 15px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq__hero {
        height: 250px;
    }
    .page-faq__hero-title {
        font-size: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 0.9em;
    }
    .page-faq__section {
        padding: 30px 0;
    }
    .page-faq__section-title {
        font-size: 1.5em;
    }
    .page-faq__accordion-header {
        font-size: 0.9em;
        padding: 12px;
    }
    .page-faq__accordion-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    .page-faq__accordion-content {
        padding: 8px 12px;
    }
    .page-faq__cta-title {
        font-size: 1.5em;
    }
    .page-faq__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}