/* FAQ Section */

.faq-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-container {
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.faq-underline {
    width: 150px;
    height: 3px;
    background-color: #0066ff;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faq-item.active::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff4081;
    border-radius: 50%;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-number {
    font-weight: 600;
    color: #555;
    margin-right: 10px;
    min-width: 20px;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    flex-grow: 1;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 15px;
    }

    .faq-heading {
        font-size: 1.8rem;
    }

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

    .faq-answer {
        padding: 0 20px 0 30px;
    }
}

@media (max-width: 480px) {
    .faq-heading {
        font-size: 1.6rem;
    }

    .faq-question {
        padding: 15px 0;
    }

    .faq-number {
        margin-right: 5px;
    }

    .faq-answer {
        padding: 0 10px 0 25px;
    }

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