/* style/faq.css */
/* Page-specific styles for FAQ */

.page-faq {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #1A1A2E; /* Main dark blue background */
    line-height: 1.6;
}

.page-faq a {
    color: #E94560; /* Accent red for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq a:hover {
    color: #FF6B81; /* Lighter red on hover */
}

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

.page-faq__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-faq__btn--primary {
    background-color: #E94560; /* Accent red */
    color: #FFFFFF;
    border: 2px solid #E94560;
}

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

.page-faq__btn--secondary {
    background-color: transparent;
    color: #E94560;
    border: 2px solid #E94560;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-faq__btn--secondary:hover {
    background-color: #E94560;
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Hero Section */
.page-faq__hero-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #301934 100%); /* Dark gradient */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #E94560;
}

.page-faq__hero-title {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.page-faq__hero-subtitle {
    font-size: 1.25rem;
    color: #B0B0B0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-faq__accordion {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-faq__accordion-header {
    background-color: #282840; /* Slightly lighter dark blue */
    color: #FFFFFF;
    padding: 25px 30px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #3C3C5A;
}

.page-faq__accordion-header::after {
    content: '+';
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-faq__accordion-content {
    background-color: #1F1F35; /* Even darker blue for content */
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-content.active {
    max-height: 1000px; /* Adjust based on max expected content height */
    padding: 30px;
}

/* Sub-Accordion for nested questions */
.page-faq__sub-accordion-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.page-faq__sub-accordion-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-faq__sub-accordion-header {
    color: #F0F0F0; /* Slightly lighter white for sub-headers */
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: color 0.3s ease;
}

.page-faq__sub-accordion-header:hover {
    color: #E94560;
}

.page-faq__sub-accordion-header::after {
    content: '›';
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-faq__sub-accordion-header.active::after {
    transform: rotate(90deg);
}

.page-faq__sub-accordion-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__sub-accordion-content.active {
    max-height: 500px; /* Adjust for sub-content height */
    padding: 15px;
}

.page-faq__sub-accordion-content p {
    margin-bottom: 15px;
    color: #B0B0B0;
}

.page-faq__sub-accordion-content ul,
.page-faq__sub-accordion-content ol {
    list-style-position: inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-faq__sub-accordion-content li {
    margin-bottom: 8px;
    color: #B0B0B0;
}

.page-faq__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Call to Action Section */
.page-faq__cta-section {
    background-color: #282840; /* Slightly lighter dark blue */
    padding: 80px 0;
    text-align: center;
    border-top: 2px solid #E94560;
}

.page-faq__cta-title {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-faq__cta-description {
    font-size: 1.1rem;
    color: #B0B0B0;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

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

    .page-faq__hero-subtitle {
        font-size: 1rem;
    }

    .page-faq__accordion-header {
        font-size: 1.2rem;
        padding: 20px 25px;
    }

    .page-faq__accordion-content.active {
        padding: 20px;
    }

    .page-faq__sub-accordion-header {
        font-size: 1.1rem;
        padding: 10px 0;
    }

    .page-faq__sub-accordion-content.active {
        padding: 10px;
    }

    .page-faq__cta-title {
        font-size: 2rem;
    }

    .page-faq__cta-description {
        font-size: 1rem;
    }
}

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

    .page-faq__hero-subtitle {
        font-size: 0.9rem;
    }

    .page-faq__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .page-faq__accordion-header {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-faq__accordion-header::after {
        font-size: 1.5rem;
    }

    .page-faq__accordion-content.active {
        padding: 15px;
    }

    .page-faq__sub-accordion-header {
        font-size: 1rem;
    }

    .page-faq__sub-accordion-content.active {
        padding: 8px;
    }

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

    .page-faq__cta-description {
        font-size: 0.9rem;
    }
}