:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --page-bg-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000; /* Main title color */
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;

    /* RGB values for hover effects if needed */
    --primary-color-rgb: 47, 107, 255;
}

/* General styling for the FAQ page content */
.page-faq {
    background-color: var(--page-bg-color, #F4F7FB); /* Using custom background color */
    color: var(--text-main-color, #1F2D3D); /* Using custom text color */
    padding-bottom: 50px; /* Add some padding at the bottom */
}

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

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding-top: 10px; /* Small padding-top to avoid header overlap, relying on body padding for main offset */
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't spill */
}

.page-faq__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text */
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-faq__hero-content {
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--custom-color-1776249996415, #000000); /* Using custom text color */
}

.page-faq__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main-color, #1F2D3D);
}

/* Section Titles */
.page-faq__section-title,
.page-faq__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

/* Accordion Section */
.page-faq__accordion-section {
    margin-bottom: 50px;
}

.page-faq__accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__accordion-item {
    background-color: var(--card-bg-color, #FFFFFF); /* Using custom card background */
    border: 1px solid var(--border-color, #D6E2FF); /* Using custom border color */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-faq__accordion-item[open] {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-faq__accordion-question {
    display: block;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--custom-color-1776249996415, #000000);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color, #2F6BFF);
}

.page-faq__accordion-item[open] .page-faq__accordion-question::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg); /* No rotation needed for minus */
}

.page-faq__accordion-question:hover {
    background-color: rgba(var(--primary-color-rgb, 47, 107, 255), 0.05); /* Light hover effect */
}

.page-faq__accordion-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-faq__accordion-answer a.page-faq__link {
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: 500;
}

.page-faq__accordion-answer a.page-faq__link:hover {
    text-decoration: underline;
}

/* Buttons */
.page-faq__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF; /* White text on button */
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-faq__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-faq__button--register {
    margin-top: 10px;
}

/* Contact CTA Section */
.page-faq__contact-cta-section {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--card-bg-color, #FFFFFF); /* Using custom card background */
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-faq__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main-color, #1F2D3D);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq__container {
        padding: 0 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-faq__description {
        font-size: 1rem;
    }

    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .page-faq__accordion-question {
        padding: 15px 20px;
        font-size: 1.05rem;
    }

    .page-faq__accordion-question::after {
        right: 20px;
        font-size: 1.3rem;
    }

    .page-faq__accordion-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    .page-faq__button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Ensure content images are responsive and not too small */
    .page-faq img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min width for content images */
        min-height: 200px; /* Enforce min height for content images */
    }
}

@media (max-width: 480px) {
    .page-faq__hero-content {
        padding: 15px 0;
    }
    .page-faq__hero-image-wrapper {
        margin-bottom: 15px;
    }
}

/* Ensure all images within .page-faq adhere to min size and responsiveness */
.page-faq__accordion-answer img,
.page-faq__content-area img {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    height: auto;
    min-width: 200px; /* All content images must be at least 200px */
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}