/* css/styles.css */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Links */
a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation Bar */
nav {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

nav .logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ffcc;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav .nav-links li a {
    font-size: 1rem;
    color: #ffffff;
    transition: color 0.3s;
}

nav .nav-links li a:hover {
    color: #00ffcc;
}

nav .menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* FAQs Section */
.faqs-section {
    padding: 80px 20px;
    background-color: #121212;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    flex: 1; /* Ensures footer stays at the bottom */
}

.faqs-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.faqs-section h1 {
    text-align: center;
    color: #00ffcc;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Accordion Styles */
.accordion {
    border-top: 1px solid #333;
}

.accordion-item {
    border-bottom: 1px solid #333;
}

.accordion-button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1.2rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-button:hover,
.accordion-button:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-button[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg); /* Changes '+' to 'x' */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0 15px;
}

.accordion-content p {
    padding: 15px 0;
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 20px 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-container p {
    font-size: 0.9rem;
}

/* Responsive Design */

/* Mobile Menu */
@media (max-width: 768px) {
    nav .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        height: 100vh;
        width: 200px;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: flex-start;
        padding-top: 30px;
        transition: right 0.3s ease-in-out;
    }

    nav .nav-links.active {
        right: 0;
    }

    nav .nav-links li {
        width: 100%;
        padding: 10px 20px;
    }

    nav .nav-links li a {
        width: 100%;
        display: block;
        font-size: 1.1rem;
    }

    nav .menu-toggle {
        display: block;
    }
}

/* Smaller Screens */
@media (max-width: 480px) {
    .faqs-section h1 {
        font-size: 2rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 12px;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .accordion-icon {
        font-size: 1.2rem;
    }

    .accordion-content p {
        font-size: 0.9rem;
    }
}
