/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & Layout */
body, html {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    width: 100%;
    height: 100px;
    padding: 10px;
    background-color: #f0f0f0;
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

/* Centered Header Content */
.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px; /* Matches .content-container width */
    width: 100%;
}

/* Logo Centered */
header .logo {
    max-height: 100px; /* Set logo height to 100px */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px; /* Adds 5px space from the top */
}

/* Hide logo on index.html when .no-logo class is applied */
.no-logo .logo {
    display: none;
}


/* Navigation Links */
.nav-left,
.nav-right {
    display: flex;
    gap: 15px;
}

header a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

header a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #fff;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Main Content */
.centered-container, .content-container {
    margin: 100px auto 0; /* Center content horizontally and add space for header */
    max-width: 800px;
    width: 100%;
    overflow: hidden; /* Hide overflow to remove scrollbar */
    overflow-y: auto;
    height: auto; /* Adjusted height for header and footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.centered-container img, .content-container img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}



/* Center-align the heading */
h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    width: 100%;
}

/* FAQ Section Styling */
.faq-category {
    margin-bottom: 20px;
    text-align: left; /* Align FAQ text to the left inside the container */
    width: 100%;
}

h2 {
    font-size: 1.5em;
    color: #0050ef;
    margin-bottom: 10px;
}

.faq-item {
    margin-bottom: 15px;
}

.question {
    font-weight: bold;
    color: #333;
}

.answer {
    margin-left: 15px;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container, .centered-container, .header-content {
        max-width: 95%;
    }
}