/* FAQ Section Design */
.faq {
    text-align: center;
    padding: 30px 10px;  /* Smaller padding */
    max-width: 1200px;  /* Reduced section width */
    margin: auto;
    background: linear-gradient(to bottom, #f9fafb, #edf2f7);  /* Subtle gradient background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);  /* Lighter shadow */
}

.faq h2 {
    font-size: 1.8em;  /* Smaller font size for the title */
    font-weight: 600;
    margin-bottom: 30px;  /* Smaller margin below title */
    color: #0077b6;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 10px;  /* Less gap between questions */
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);  /* Subtle shadow */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;  /* Reduced padding for a compact design */
    cursor: pointer;
    background-color: #f9fafb;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e7edf3;
}

.faq-question h3 {
    font-size: 1.2em;  /* Smaller question font */
    color: #333;
}

.faq-question i {
    font-size: 1em;  /* Smaller icons */
    color: #0077b6;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 15px;  /* Smaller padding for the answer */
    background-color: #f5f7fa;
    text-align: left;
    font-size: 1em;  /* Smaller font size */
    line-height: 1.5;  /* Reduced line height */
    border-top: 1px solid #ddd;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i.fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 1.6em;
    }

    .faq-question h3 {
        font-size: 1em;
    }

    .faq-answer {
        font-size: 0.9em;
    }
}

