:root {
    --primary-color: #113B7A; /* Deep Navy Blue */
    --secondary-color: #1D5FD1; /* Royal Blue */
    --text-main-color: #F3F8FF; /* Off-white for main text */
    --text-secondary-color: #AFC4E8; /* Light blue for secondary text */
    --card-bg-color: #10233F; /* Dark blue for card background */
    --border-color: #244D84; /* Medium blue for borders */
    --glow-color: #4FA8FF; /* Light blue for glow effects */
    --gold-color: #F2C14E; /* Gold accent */
    --divider-color: #1B3357; /* Darker blue for dividers */
    --deep-navy-color: #08162B; /* Very dark navy for body background */
    
    /* Button specific gradient */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Main text color for the page, suitable for dark body background */
    background-color: var(--deep-navy-color); /* Assuming body background is deep navy */
}

/* HERO Section for FAQ page */
.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background-color: var(--deep-navy-color);
}

.page-faq__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width on desktop for flex */
}

.page-faq__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-faq__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-faq__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* H1 font-size clamp for responsiveness */
    font-weight: 700;
    color: var(--gold-color); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-faq__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--text-main-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-faq__cta-button:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%); /* Reverse gradient on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Content area for FAQ sections */
.page-faq__content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--deep-navy-color); /* Consistent dark background */
    border-radius: 10px;
}

.page-faq__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--divider-color);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-faq__faq-list {
    margin-top: 30px;
}

details.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color); /* Dark card background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

details.page-faq__faq-item[open] {
    border-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

details.page-faq__faq-item summary.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main-color);
    font-weight: 600;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
    display: none;
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
    background: rgba(29, 95, 209, 0.1); /* Light hover effect */
}

.page-faq__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-faq__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
    color: var(--secondary-color);
}

details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 25px 25px;
    background: rgba(16, 35, 63, 0.8); /* Slightly lighter dark background for answer */
    border-radius: 0 0 10px 10px;
    color: var(--text-secondary-color);
    font-size: 1em;
}

.page-faq__faq-answer p {
    margin-bottom: 1em;
}

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__faq-answer a {
    color: var(--gold-color); /* Links in answers */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-faq__faq-answer a:hover {
    color: var(--glow-color);
}

/* Call to Action Section */
.page-faq__cta-section {
    background: var(--card-bg-color); /* Dark background for CTA */
    padding: 60px 20px;
    text-align: center;
    margin: 60px auto;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-faq__cta-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(242, 193, 78, 0.6);
}

.page-faq__cta-description {
    font-size: 1.2em;
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure buttons adapt */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.page-faq__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-faq__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-navy-color); /* Dark text on gold background for contrast */
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__hero-image img {
        border-radius: 6px;
    }
    .page-faq__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faq {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-faq__hero-section {
        padding-top: 10px !important; /* Fixed header offset handled by body, small top padding here */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-faq__hero-image {
        margin-bottom: 20px;
    }

    .page-faq__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }
    
    .page-faq__main-title {
        font-size: clamp(1.6em, 6vw, 2.2em); /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

    .page-faq__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-faq__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__content-area {
        margin: 30px 15px;
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }

    details.page-faq__faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
    }

    details.page-faq__faq-item summary.page-faq__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-faq__faq-qtext {
        font-size: 1em;
    }

    .page-faq__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }

    details.page-faq__faq-item .page-faq__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95em;
    }

    .page-faq__cta-section {
        padding: 40px 15px;
        margin: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-faq__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsive adaptation */
    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: clamp(1.4em, 7vw, 1.8em);
    }
    .page-faq__section-title {
        font-size: 1.6em;
    }
    .page-faq__cta-title {
        font-size: 1.6em;
    }
}