/* Global Styles */
body {
    font-family: 'sans-serif', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    scroll-behavior: smooth;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    padding: 20px;
    background-image: url('../Images/FAQ.jpg'); /* Background image for both container and section */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; /* Ensure it's centered */
}

.section {
    border-radius: 8px;
    padding: 15px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-container {
    width: 100%; /* Ensure it spans full width */
    padding: 0; /* No inner padding needed here */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    width: calc(100% - 40px); /* Full width minus left/right gap */
    margin: 0 auto; /* Center it horizontally */
    background: #e0f7fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.faq-item:hover {
    background-color: #b2ebf2;
    transform: scale(1.02);
}

.faq-question {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer; /* Indicate clickable */
}

.faq-answer {
    margin: 10px 0 0;
    display: none; /* Initially hide the answer */
    padding-top: 10px; /* Add padding above answer */
    width: 100%; /* Make sure it takes full width */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.toggle {
    margin-left: 10px; /* Space between question text and +/- */
    font-size: 1.5em; /* Increase toggle size */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    transition: background-color 0.3s;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }
}