/* style/faq.css */

/* Global styles for the FAQ page scope */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for good contrast on light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for the main content */
}

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

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #0A2463 0%, #0A2463 70%, #1a3c7c 100%); /* Deep blue gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.1), transparent 70%); /* Subtle gold accent */
    pointer-events: none;
}

.page-faq__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for emphasis */
    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 40px;
    color: #e0e0e0;
}

.page-faq__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1.1em;
}

.page-faq__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Categories Section */
.page-faq__categories {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    position: relative;
}

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

.page-faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-faq__category-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eeeeee;
}

.page-faq__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-faq__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-faq__card-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-faq__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    min-height: 70px; /* Ensure consistent card height */
}

.page-faq__link-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0A2463; /* Dark blue button */
    color: #FFD700; /* Gold text */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #0A2463;
}

.page-faq__link-button:hover {
    background-color: #FFD700;
    color: #0A2463;
    border-color: #FFD700;
}

/* Contact CTA Section */
.page-faq__contact-cta {
    background-color: #0A2463; /* Dark blue background */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-faq__contact-cta .page-faq__section-title {
    color: #FFD700; /* Gold title */
    margin-bottom: 30px;
}

.page-faq__contact-cta .page-faq__section-title::after {
    background-color: #e6c200;
}

.page-faq__contact-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

.page-faq__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700; /* Gold border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__button--secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-2px);
}

.page-faq__contact-note {
    margin-top: 25px;
    font-size: 0.95em;
    color: #cccccc;
}

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

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

    .page-faq__section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

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

    .page-faq__category-card {
        padding: 25px;
    }

    .page-faq__card-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-faq__hero {
        padding: 60px 0;
    }
    .page-faq__hero-title {
        font-size: 2em;
    }
    .page-faq__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faq__categories, .page-faq__contact-cta {
        padding: 40px 0;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
}