/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for dark background */
    background-color: #1A202C;
    line-height: 1.6;
}

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

/* Hero Section */
.page-faq-hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a455a 100%); /* Dark gradient for hero */
    padding: 80px 0;
    text-align: center;
    color: #FFD700; /* Gold for title */
    border-bottom: 2px solid #FFD700;
}

.page-faq-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700;
}

.page-faq-hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Buttons */
.page-faq-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.page-faq-btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1A202C; /* Dark text */
    border: 2px solid #FFD700;
}

.page-faq-btn-primary:hover {
    background-color: transparent;
    color: #FFD700;
}

.page-faq-btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-faq-btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
}

/* Section styling */
.page-faq-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-faq-section:last-of-type {
    border-bottom: none;
}

.page-faq-section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

/* Accordion Styling */
.page-faq-accordion {
    margin-top: 30px;
}

.page-faq-accordion-item {
    background-color: #2a3345; /* Slightly lighter dark background for items */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq-accordion-header {
    font-size: 1.8em;
    color: #FFD700;
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #313a4e; /* Even lighter dark background for header */
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-faq-accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-faq-accordion-header.active {
    background-color: #3a455a;
}

.page-faq-accordion-header.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-faq-accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #e5dfd3;
}

.page-faq-accordion-content.active {
    max-height: 2000px; /* Adjust based on max content height */
    padding: 30px;
}

.page-faq-question-block {
    margin-bottom: 30px;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.1);
    padding-bottom: 20px;
}

.page-faq-question-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-faq-question-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-faq-question-block p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-faq-question-block strong {
    color: #FFD700;
}

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

/* Detail Pages List */
.page-faq-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-faq-detail-item {
    background-color: #2a3345;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq-detail-item-title {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-faq-detail-item-title a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq-detail-item-title a:hover {
    color: #FFC000;
}

.page-faq-detail-item-description {
    color: #f0f0f0;
    margin-bottom: 25px;
}

/* CTA Section */
.page-faq-cta {
    background-color: #1a202c;
    padding: 80px 0;
    text-align: center;
}

.page-faq-cta-content {
    background-color: #313a4e;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
}

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

.page-faq-cta-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

    .page-faq-btn {
        padding: 10px 20px;
        margin: 5px;
    }

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

    .page-faq-accordion-header {
        font-size: 1.4em;
        padding: 18px 20px;
    }

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

    .page-faq-question-title {
        font-size: 1.2em;
    }

    .page-faq-detail-item-title {
        font-size: 1.4em;
    }

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

    .page-faq-cta-description {
        font-size: 1.1em;
    }

    .page-faq-cta-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-faq-hero-title {
        font-size: 2em;
    }

    .page-faq-hero-description {
        font-size: 0.9em;
    }

    .page-faq-btn {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }

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

    .page-faq-accordion-header {
        font-size: 1.2em;
        padding: 15px;
    }

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

    .page-faq-question-title {
        font-size: 1.1em;
    }

    .page-faq-detail-item-title {
        font-size: 1.2em;
    }

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

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

    .page-faq-cta-content {
        padding: 20px;
    }
}