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

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

.page-faq__hero {
    background: linear-gradient(135deg, #1A237E 0%, #3f478a 100%); /* Adjusted gradient for better contrast */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFC107; /* Highlight title with auxiliary color */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

.page-faq__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
}

.page-faq__btn--primary {
    background-color: #FFC107; /* Auxiliary color for primary button */
    color: #1A237E; /* Main color for text on primary button */
    border: 2px solid #FFC107;
}

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

.page-faq__btn--secondary {
    background-color: transparent;
    color: #1A237E; /* Main color for secondary button text */
    border: 2px solid #1A237E;
}

.page-faq__btn--secondary:hover {
    background-color: #1A237E;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-faq__link {
    color: #1A237E;
    text-decoration: underline;
    font-weight: bold;
}

.page-faq__link:hover {
    color: #FFC107;
}

.page-faq__section {
    padding: 60px 0;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #1A237E;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq__accordion {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-faq__accordion-header {
    background-color: #ffffff;
    color: #1A237E;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-faq__accordion-icon {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.page-faq__accordion-icon::before, .page-faq__accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #1A237E;
    transition: transform 0.3s ease;
}

.page-faq__accordion-icon::before {
    width: 12px;
    height: 2px;
}

.page-faq__accordion-icon::after {
    width: 2px;
    height: 12px;
}

.page-faq__accordion-header.active .page-faq__accordion-icon::after {
    transform: rotate(90deg) scaleY(0);
}

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

.page-faq__accordion-content p {
    padding: 15px 0;
    margin-bottom: 10px;
    border-top: 1px dashed #eee;
}

.page-faq__accordion-content p:first-child {
    border-top: none;
}

.page-faq__accordion-content .page-faq__link {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 15px;
}

.page-faq__section--related {
    background-color: #e8eaf6; /* Lighter shade of main color */
}

.page-faq__related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-faq__related-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-faq__related-item:hover {
    transform: translateY(-5px);
}

.page-faq__related-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.page-faq__related-title {
    font-size: 1.8em;
    color: #1A237E;
    margin-bottom: 15px;
}

.page-faq__related-description {
    color: #666;
    margin-bottom: 25px;
}

.page-faq__cta {
    background-color: #1A237E;
    color: #ffffff;
    padding: 80px 0;
}

.page-faq__cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-faq__cta-content {
    flex: 1;
    max-width: 600px;
}

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

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

.page-faq__cta-image {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-faq__hero-title {
        font-size: 2.5em;
    }

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

    .page-faq__accordion-header {
        font-size: 1.1em;
        padding: 18px 20px;
    }

    .page-faq__cta-title {
        font-size: 2.2em;
    }

    .page-faq__cta-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-faq__cta-content {
        max-width: 100%;
    }

    .page-faq__cta-image {
        max-width: 80%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero {
        padding: 60px 0;
    }

    .page-faq__hero-title {
        font-size: 2em;
    }

    .page-faq__hero-description {
        font-size: 1em;
    }

    .page-faq__section {
        padding: 40px 0;
    }

    .page-faq__section-title {
        font-size: 1.8em;
    }

    .page-faq__btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-faq__related-list {
        grid-template-columns: 1fr;
    }

    .page-faq__cta {
        padding: 60px 0;
    }

    .page-faq__cta-title {
        font-size: 1.8em;
    }

    .page-faq__cta-description {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 1.8em;
    }

    .page-faq__section-title {
        font-size: 1.5em;
    }

    .page-faq__accordion-header {
        font-size: 1em;
        padding: 15px 18px;
    }

    .page-faq__cta-title {
        font-size: 1.6em;
    }
    .page-faq__container {
        padding: 0 15px;
    }
}