/* Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #171925;
    color: #E5E7EB;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Branding */
.navbar-brand {
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand svg {
    fill: #54B0E4;
}

.navbar-brand span {
    font-weight: bold;
}

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 15px;
    background-color: #1f222f;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* FAQ Heading and Subheading */
.faq-heading {
    font-size: 2.5rem;
    color: #54B0E4;
    text-align: center;
    margin-bottom: 10px;
}

.faq-subheading {
    font-size: 1rem;
    text-align: center;
    color: #9497A9;
    margin-bottom: 20px;
}

/* FAQ Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}

.faq-tab {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #2e3a4a;
    color: #E5E7EB;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-tab:hover {
    background-color: #54B0E4;
    color: #ffffff;
}

.faq-tab.active {
    background-color: #54B0E4;
    color: #171925;
}

/* FAQ Accordion */
.faq-accordion {
    margin-top: 20px;
}

.faq-accordion-item {
    background-color: #2e3a4a;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.faq-accordion-item h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #E5E7EB;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.faq-accordion-item h3:hover {
    color: #54B0E4;
}

.faq-accordion-item h3.active {
    color: #54B0E4;
}

.faq-accordion-item p {
    font-size: 0.9rem;
    color: #9497A9;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-accordion-item p.open {
    max-height: 200px;
    padding-top: 10px;
}

/* Arrows */
.arrow {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    fill: #E5E7EB;
}

.arrow.rotate {
    transform: rotate(180deg);
    fill: #54B0E4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-container {
        padding: 15px;
    }

    .faq-heading {
        font-size: 2rem;
    }

    .faq-tab {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .faq-accordion-item h3 {
        font-size: 0.9rem;
    }

    .faq-accordion-item p {
        font-size: 0.8rem;
    }
}
