/* Mobile CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #070707;
    overflow-x: hidden;
    position: relative;
    font-size: 14px; /* Smaller font size for better compactness */
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px; /* Reduced padding */
    background-color: #000;
    color: #fff;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 3px; /* Reduced gap for compactness */
    cursor: pointer;
    font-size: 24px; /* Smaller icon */
}

.menu-icon span {
    width: 28px;
    height: 4px;
    background-color: white;
    transition: 0.3s;
}

.menu-icon:hover span {
    background-color: #f39c12;
}

.logo {
    font-size: 20px; /* Smaller font */
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    width: 250px;
    background-color: #050505;
    padding-top: 60px;
    transition: transform 0.3s ease;
}

.side-nav.open {
    transform: translateX(250px);
}

.side-nav ul {
    list-style-type: none;
    padding: 0;
}

.side-nav ul li {
    padding: 10px 12px; /* Reduced padding */
    border-bottom: 2px solid white;
}

.side-nav ul li a {
    color: white;
    font-size: 14px; /* Smaller font size for mobile */
    display: block;
    text-decoration: none;
    padding: 6px 0; /* Reduced padding */
    transition: background-color 0.3s ease;
}

.side-nav ul li a:hover {
    background-color: #f39c12;
}

/* Header and Main Content Fade-in Animation */
header {
    animation: fadeInUp 1s ease-out;
}

.main-content {
    animation: fadeInUp 2s ease-out;
}

/* FAQ Section Styling */
.faq-section {
    padding: 30px 15px;
    max-width: 1000px;
    margin: auto;
}

.faq-section h1 {
    font-size: 2rem;
    text-align: center;
    background: linear-gradient(90deg, #f39c12, #ff5e00);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out;
}

/* FAQ Item Styling */
.faq-item {
    border-top: 1px solid #333;
    padding: 15px 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.faq-question {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem; /* Slightly smaller font size */
    font-weight: 600;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.faq-question:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f39c12, #ff5e00);
    bottom: 0;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}

.faq-question.active:before {
    width: 100%;
    left: 0;
}


/* Gradient color for FAQ question when expanded */
.faq-question.active {
    background: none;
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, #f39c12, #ff5e00);
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    color: #aaa;
}

.faq-answer.active {
    display: block;
    opacity: 1;
    max-height: 1000px; /* Ensure it expands fully */
}

.faq-answer p {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Mobile-specific media queries */
@media (max-width: 768px) {
    body {
        font-size: 13px; /* Smaller base font size for small screens */
    }

    .menu-icon {
        font-size: 22px; /* Smaller icon size */
    }

    .logo {
        font-size: 18px; /* Smaller logo font */
    }

    .faq-section h1 {
        font-size: 1.8rem; /* Adjusted heading size for mobile */
    }

    .faq-question {
        font-size: 1rem; /* Smaller font size for questions */
    }

    .faq-answer {
        font-size: 0.95rem; /* Slightly smaller font for answers */
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12px; /* Smallest font for very small screens */
    }

    .menu-icon {
        font-size: 20px; /* Very small menu icon */
    }

    .logo {
        font-size: 16px; /* Very small logo text */
    }

    .faq-section h1 {
        font-size: 1.6rem; /* Adjust heading size for very small screens */
    }

    .faq-question {
        font-size: 0.9rem; /* Smaller font for questions */
    }

    .faq-answer {
        font-size: 0.9rem; /* Smaller font for answers */
    }
}
