/* FAQs Page Styles */

body {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../images/background-faq.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.faqs-section {
    padding: 80px 0;
    background: transparent !important;
}

.faqs-background-wrapper {
    position: relative;
    margin-bottom: 60px;
}

.faqs-background-image {
    display: none;
}

.faqs-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(26, 26, 26, 0.75);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:nth-child(even) {
    background: rgba(255, 255, 255, 0.75);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
    background: rgba(26, 26, 26, 0.75);
    transition: var(--transition);
}

.faq-item:nth-child(even) .faq-question {
    background: rgba(255, 255, 255, 0.75);
}

.faq-question:hover {
    background: rgba(42, 42, 42, 0.75);
}

.faq-item:nth-child(even) .faq-question:hover {
    background: rgba(245, 245, 245, 0.75);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-item:nth-child(even) .faq-question h3 {
    color: var(--primary-color);
}

.faq-question i {
    color: #ffffff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item:nth-child(even) .faq-question i {
    color: var(--secondary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(42, 42, 42, 0.75);
}

.faq-item:nth-child(even) .faq-answer {
    background: rgba(245, 245, 245, 0.75);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    padding-top: 10px;
}

.faq-item:nth-child(even) .faq-answer p {
    color: var(--text-light);
}

.faq-answer a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.faq-answer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.still-have-questions {
    text-align: center;
    background: rgba(245, 245, 245, 0.75);
    padding: 60px 40px;
    border-radius: 10px;
    margin-top: 60px;
}

.still-have-questions h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.still-have-questions p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .still-have-questions {
        padding: 40px 20px;
    }

    .still-have-questions h2 {
        font-size: 1.6rem;
    }

    .faqs-background-image {
        background-attachment: scroll;
        opacity: 0.1;
    }
}
