/* ====== Base Styles ====== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff;
    color: #003366;
    line-height: 1.6;
}

/* ====== Header & Footer ====== */
header, footer {
    background-color: #004080;
    color: white;
    padding: 1rem 2rem;
    text-align: center;
}

/* ====== Navigation ====== */
nav {
    background-color: #0066cc;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover {
    text-decoration: underline;
}

/* ====== Container ====== */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 1rem 2rem;
}

/* ====== Hero Section ====== */
.hero {
    background-color: #007acc;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* ====== Buttons ====== */
.btn {
    background-color: #ff6600;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}
.btn:hover {
    background-color: #e65c00;
}

/* ====== Sections ====== */
section {
    margin-bottom: 3rem;
}

/* ====== Headings ====== */
h2 {
    color: #004080;
    border-bottom: 2px solid #004080;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* ====== Tables ====== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
table, th, td {
    border: 1px solid #004080;
}
th, td {
    padding: 0.75rem;
    text-align: left;
}
th {
    background-color: #cce6ff;
}

/* ====== Lists ====== */
ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

/* ====== Placeholders ====== */
.video-placeholder {
    background-color: #cce6ff;
    color: #004080;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}
.image-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* ====== Forms ====== */
form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

/* Align checkboxes and labels horizontally */
#volunteer div {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

#volunteer input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #004080;
    border-radius: 4px;
    font-size: 1rem;
}

form button {
    margin-top: 1rem;
    background-color: #004080;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}
form button:hover {
    background-color: #003366;
}

/* ====== Progress Bar ====== */
.progress-bar {
    background-color: #cce6ff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.progress-bar-fill {
    background-color: #007acc;
    height: 20px;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

/* ====== Scrolling Gallery ====== */
.scrolling-gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    display: flex;
    align-items: center;
}
.gallery-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.gallery-track {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
}
.gallery-track img {
    height: 200px;
    width: auto;
    max-width: none;
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-track img:hover {
    transform: scale(1.05);
}
.scroll-btn {
    background-color: #007acc;
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
    margin: 0 0.5rem;
    flex-shrink: 0;
}
.scroll-btn:focus {
    outline: 2px solid #ff6600;
}

/* ====== Testimonials ====== */
.testimonial {
    background-color: #e6f0ff;
    border-left: 5px solid #007acc;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-style: italic;
}

/* ====== Footer Links ====== */
.footer-links {
    margin-top: 1rem;
}
.footer-links a {
    color: #99ccff;
    margin: 0 0.5rem;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* ====== Responsive Styles ====== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
}
