/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

/* Header Styling */
/* Style for the header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2c2cc1; /* Adjust color as needed */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0; /* Adjust padding as needed */
    text-align: center;
}

/* Add top padding to body to prevent content overlap with the header */
body {
    padding-top: 70px; /* Adjust this value based on header height */
    margin: 0;
}

/* Optional: Add padding to specific sections for consistent spacing */
section {
    padding: 2rem 1rem; /* Add more or less padding as needed */
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* Example styles for search box */
.search-box {
    display: none; /* Hide initially, toggle with JavaScript */
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    
}

/* FAQ Section Styling */
main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 2rem;
}

.faq-section h2 {
    font-size: 2rem;
    color: #0073e6;
    margin-bottom: 1rem;
    text-align: left;
}

/* FAQ Styling */
.faq {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    font-size: 1.2rem;
    color: #0073e6;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    padding: 1rem;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f5;
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none; /* Hidden by default */
    color: #555;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: #f4f4f9;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer a {
    color: #f4f4f9;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styling */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
}
