/* Header Background */
.header-background {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
    background-color: #0d0e10;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    filter: brightness(0.5) blur(5px);
    background-image: url("../../images/backgrounds/FaqPage/faqHeader.webp");
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: #b8b8b8;
}

/* FAQ Section */
.faq {
    padding: 5rem 2rem;
    background-color: #08080C;
    color: white;
    text-align: center;
}


.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Intro */
.faq-intro {
    margin-bottom: 3rem;
}
.faq-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.faq-intro p {
    font-size: 1.1rem;
    color: #b8b8b8;
    max-width: 600px;
    margin: 0 auto;
}

.faq-card {
    background: rgba(31, 31, 31, 0.23);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.21);
    transition: all 0.3s ease;
}

.faq-card.active {
    background: rgba(51, 51, 51, 0.5);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.25rem;
    margin: 0;
}

.faq-question i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-card.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-card.active .faq-answer {
    max-height: 200px;
    padding-top: 1rem;
}

.faq-answer p {
    font-size: 1rem;
    color: #b8b8b8;
    margin: 0;
}



/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Mobile Styles */
@media (max-width: 768px) {
    /* Header Background */
    .header-background {
        min-height: 50vh;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* FAQ Section */
    .faq {
        padding: 2rem 1rem;
    }

    .faq-intro h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .faq-intro p {
        font-size: 1rem;
    }

    /* FAQ Cards */
    .faq-card {
        padding: 0.75rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-question i {
        font-size: 1.1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

}
