/* General Layout */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* FAQ Container */
.faq-container {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
}

/* FAQ Section */
.faq {
    max-width: 800px;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.faq h2 {
    font-size: 2.8rem;
    text-align: center;
    color: #ffd700;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* FAQ Item */
.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #f8f9fa;
}

/* Question Styling */
.question {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0.5rem 0;
}

.question::after {
    content: "›";
    font-size: 1.2rem;
    color: #ffd700;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.faq-item.open .question::after {
    transform: rotate(90deg);
}

/* Answer Styling */
.answer {
    font-size: 1.1rem;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.faq-item.open .answer {
    max-height: 500px; /* Set a high max-height to accommodate any answer length */
}
/* Scroll-to-Top Button */
/* Scroll-to-Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ffd700;
    color: #333;
    font-size: 1.5rem;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #e5ac00;
}



/* Responsive Styles */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 2.4rem;
    }
    
    .question {
        font-size: 1.3rem;
    }
    
    .answer {
        font-size: 1rem;
    }
}
