/* style/faq.css */

/* Base styles for the FAQ page */
.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 15px;
}

/* Hero Section */
.page-faq__hero-section {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%); /* Dark blue gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFCC00; /* Auxiliary color for emphasis */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Content Section - FAQ List */
.page-faq__content-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-faq__faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    border: 1px solid #e0e0e0;
}

.page-faq__question {
    font-size: 2.2em;
    color: #003366; /* Primary color */
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFCC00; /* Auxiliary color for accent */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.page-faq__question:hover {
    color: #004d99;
}

.page-faq__question::after {
    content: '+';
    font-size: 1.2em;
    font-weight: bold;
    color: #FFCC00;
    transition: transform 0.3s ease;
}

.page-faq__question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq__answer-group {
    margin-top: 25px;
    border-top: 1px dashed #e0e0e0;
    padding-top: 25px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.7s ease-out;
}

.page-faq__answer-group.active {
    max-height: 1000px; /* Adjust based on content length */
    transition: max-height 0.7s ease-in;
}

.page-faq__sub-question {
    font-size: 1.6em;
    color: #004d99; /* Slightly lighter primary for sub-questions */
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.page-faq__sub-question:hover {
    color: #0066cc;
}

.page-faq__sub-question::after {
    content: '+';
    font-size: 1em;
    font-weight: bold;
    color: #FFCC00;
    transition: transform 0.3s ease;
}

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

.page-faq__answer {
    font-size: 1.1em;
    color: #555;
    padding-left: 20px;
    margin-top: 15px;
    border-left: 3px solid #FFCC00;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.7s ease-out;
}

.page-faq__answer.active {
    max-height: 1000px; /* Adjust based on content length */
    transition: max-height 0.7s ease-in;
}

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

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

.page-faq__image--inline {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Call to Action Section */
.page-faq__cta-section {
    background-color: #003366; /* Primary color */
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-faq__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.page-faq__cta-image {
    max-width: 100%;
    width: 600px; /* Max width for the image */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.page-faq__cta-title {
    font-size: 2.8em;
    color: #FFCC00; /* Auxiliary color */
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.page-faq__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__button--primary {
    background-color: #FFCC00; /* Auxiliary color */
    color: #003366; /* Primary color for text */
}

.page-faq__button--primary:hover {
    background-color: #e6b800; /* Darker auxiliary */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__button--secondary {
    background-color: #004d99; /* Lighter primary */
    color: #FFCC00; /* Auxiliary color for text */
    border: 2px solid #FFCC00;
}

.page-faq__button--secondary:hover {
    background-color: #0066cc; /* Even lighter primary */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-faq__main-title {
        font-size: 2.8em;
    }
    .page-faq__question {
        font-size: 1.8em;
    }
    .page-faq__sub-question {
        font-size: 1.4em;
    }
    .page-faq__cta-title {
        font-size: 2.2em;
    }
    .page-faq__button--large {
        font-size: 1.1em;
        padding: 15px 35px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section,
    .page-faq__content-section,
    .page-faq__cta-section {
        padding: 40px 0;
    }
    .page-faq__main-title {
        font-size: 2.4em;
    }
    .page-faq__subtitle {
        font-size: 1.1em;
    }
    .page-faq__question {
        font-size: 1.6em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .page-faq__sub-question {
        font-size: 1.3em;
    }
    .page-faq__faq-item {
        padding: 20px;
    }
    .page-faq__answer-group {
        margin-top: 20px;
        padding-top: 20px;
    }
    .page-faq__answer {
        padding-left: 15px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 1em;
    }
    .page-faq__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-faq__button--large {
        font-size: 1.1em;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 2em;
    }
    .page-faq__question {
        font-size: 1.4em;
    }
    .page-faq__sub-question {
        font-size: 1.2em;
    }
    .page-faq__faq-item {
        padding: 15px;
    }
    .page-faq__cta-title {
        font-size: 1.6em;
    }
    .page-faq__cta-description {
        font-size: 0.95em;
    }
    .page-faq__button--large {
        font-size: 1em;
        padding: 12px 25px;
    }
}