/* style/faq.css */

/* Base Styles for .page-faq */
.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light backgrounds */
    background-color: #f8f9fa; /* Light background */
}

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #007BFF, #4da3ff); /* Gradient using main color and its lighter variant */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff; /* White text for dark background */
    position: relative;
    overflow: hidden;
}

.page-faq__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 193, 7, 0.1); /* Auxiliary color with transparency */
    border-radius: 50%;
    transform: rotate(45deg);
    z-index: 0;
}

.page-faq__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 193, 7, 0.15); /* Auxiliary color with transparency */
    border-radius: 50%;
    transform: rotate(-30deg);
    z-index: 0;
}

.page-faq__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.page-faq__hero-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #e0e0e0; /* Slightly off-white for description */
    position: relative;
    z-index: 1;
}

/* Container for content */
.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.page-faq__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap; /* Prevents text wrapping */
}

.page-faq__btn--primary {
    background-color: #FFC107; /* Auxiliary color */
    color: #000000; /* Black text for auxiliary button */
    border: 2px solid #FFC107;
}

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

.page-faq__btn--secondary {
    background-color: #007BFF; /* Main color */
    color: #ffffff; /* White text for main button */
    border: 2px solid #007BFF;
    margin-top: 15px; /* Spacing for secondary buttons */
}

.page-faq__btn--secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

/* FAQ Content Section */
.page-faq__content {
    padding: 60px 0;
    background-color: #ffffff; /* White background for main content */
}

.page-faq__faq-list {
    display: grid;
    gap: 30px;
}

.page-faq__faq-item {
    background-color: #f0f8ff; /* Light blue background for FAQ items */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-faq__faq-question {
    background-color: #007BFF; /* Main color for question header */
    color: #ffffff;
    padding: 20px 25px;
    margin: 0;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #0056b3;
}

.page-faq__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-question::after {
    transform: rotate(45deg);
}

.page-faq__faq-answer {
    padding: 25px;
    background-color: #ffffff;
    color: #333333;
    display: none; /* Hidden by default, toggled by JS */
    border-top: 1px solid #eeeeee;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    display: block; /* Show when active */
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #555555;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555555;
}

.page-faq__faq-answer li {
    margin-bottom: 8px;
}

.page-faq__sub-question {
    font-size: 1.2em;
    color: #007BFF; /* Main color for sub-questions */
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Contact Us Section */
.page-faq__contact-us {
    text-align: center;
    padding: 60px 20px;
    background-color: #007BFF; /* Main color as background */
    color: #ffffff;
    border-radius: 10px;
    margin-top: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-faq__contact-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq__hero-title {
        font-size: 2.2em;
    }
    .page-faq__faq-question {
        font-size: 1.3em;
    }
    .page-faq__contact-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero {
        padding: 60px 15px;
    }
    .page-faq__hero-title {
        font-size: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__content {
        padding: 40px 0;
    }
    .page-faq__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-faq__faq-answer {
        padding: 20px;
    }
    .page-faq__sub-question {
        font-size: 1.1em;
    }
    .page-faq__contact-us {
        padding: 40px 15px;
    }
    .page-faq__contact-title {
        font-size: 1.5em;
    }
}

@media (max-width: 576px) {
    .page-faq__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-faq__faq-question {
        font-size: 1em;
    }
}