/* FAQ Section Styles */
.faq-section {
    padding: 60px 40px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/homezen1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; /* Change text color to white for better contrast */
    text-align: center;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white; /* Ensure heading is white */
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent white background for readability */
    -webkit-backdrop-filter: blur(5px); /* Optional: add a slight blur to the faq-item background */
    backdrop-filter: blur(5px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px; /* Reduced from 30px to make it more compact */
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question-header {
    font-size: 1.4rem;
    color: #5A3E36; /* Dark brown for questions */
    margin-top: 0;
    margin-bottom: 5px; /* Set to 5px as requested */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Change + to X or similar */
}

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed to fit content */
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.faq-item ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    margin-bottom: 10px;
    color: #333;
}

.faq-item ul li {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Responsive styles for FAQ section */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 20px;
    }

    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        color: white; /* Ensure heading is white on mobile */
    }

    .faq-item {
        padding: 10px; /* Adjusted for mobile, reduced from 20px */
    }

    .faq-item h3 {
        font-size: 1.2rem;
    }

    .faq-item p, .faq-item ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-section h2 {
        font-size: 1.8rem;
    }

    .faq-item {
        padding: 8px; /* Adjusted for very small screens, reduced from 15px */
    }

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

    .faq-item p, .faq-item ul li {
        font-size: 0.85rem;
    }
}
