/* General Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #0b2f40;
    color: white;
}

/* Header */
.top-bar {
    background-color: #775729;
    padding: 20px;
    display: flex;
    align-items: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.top-bar img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    margin-right: 15px;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.section {
  padding: 40px 20px;
  color: white;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
 .section {
  min-height: 100vh; /* allows content to grow beyond */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

}

html {
  scroll-behavior: smooth;
}

.scroll-container {
  scroll-snap-type: y mandatory;
}

.section {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 80px 20px 40px;
  box-sizing: border-box;
}
.top-bar h1 {
    font-size: 20px;
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* Navigation Bar */
.nav-bar {
    background-color: white;
    border-radius: 30px;
    width: fit-content;
    margin: -30px auto 0;
    display: flex;
    padding: 19px 80px;
    gap: 150px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.nav-bar a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-bar a:hover {
    color: #775729;
}

@media (max-width: 1200px) {
    .nav-bar {
        gap: 80px;
        padding: 15px 40px;
    }
}

@media (max-width: 900px) {
    .nav-bar {
        gap: 40px;
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px 30px;
        width: 90%;
        border-radius: 15px;
        margin: 10px auto;
    }

    .top-bar {
        flex-direction: column;
        text-align: center;
        padding-bottom: 50px;
    }

    .top-bar img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Blue Divider */
.blue-strip {
    background-color: #0b2f40;
    height: 50px;
    width: 100%;
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

.volunteer-section {
    background-color: #12435a; /* matches menu background */
    background-image: url('Screenshot 2025-05-25 074648.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
      animation: fadeLeft 1s ease-in-out;
}

.volunteer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* subtle overlay */
    z-index: 1;
}

.volunteer-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 25px;
    z-index: 3;
    position: relative;
    max-width: 900px;
    margin: 0 auto 30px auto;
      animation: fadeLeft 1s ease-in-out;
}

.volunteer-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    line-height: 1.7;
    z-index: 3;
    position: relative;
    font-weight: 300;
      animation: fadeLeft 1s ease-in-out;
}

.volunteer-section p.strong-call-to-action {
    font-size: 1.2em;
    margin-top: 40px;
    font-weight: 600;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .volunteer-section {
        padding: 60px 15px;
        padding-bottom: 100px;
    }

    .volunteer-section h2 {
        font-size: 2.2em;
    }

    .volunteer-section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .volunteer-section h2 {
        font-size: 1.8em;
    }

    .volunteer-section p {
        font-size: 0.9em;
    }
}

/* Volunteer Form Section */
.volunteer-form-section {
    background-color: #775729;
    padding: 40px 30px;
    margin: 0 auto;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
    text-align: center;
}

.volunteer-form-section h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 700;
}

.form-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.volunteer-form-section input[type="text"],
.volunteer-form-section input[type="email"],
.volunteer-form-section textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background-color: #D3C7B6;
    color: #333;
    font-size: 1em;
    border-radius: 8px;
    box-sizing: border-box;
}

.volunteer-form-section input::placeholder,
.volunteer-form-section textarea::placeholder {
    color: #888;
}

.volunteer-form-section textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background-color: #0b2f40;
    color: #fff;
    padding: 15px 60px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.submit-button:hover {
    background-color: #2a3e4c;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .volunteer-form-section {
        max-width: 600px;
        padding: 30px 20px;
    }
}

@media (max-width: 550px) {
    .volunteer-form-section {
        width: 90%;
        padding: 25px 15px;
    }
    .volunteer-form-section h3 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .submit-button {
        padding: 12px 40px;
        font-size: 1.1em;
    }
}

/* Footer */
.footer {
    background-color: #86868D;
    color: #222;
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    align-items: center;
    font-family: 'Fredoka', sans-serif;
    border-top: 0px solid #a856ec;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left h3 {
    color: #FFFFFF;
    margin-bottom: 22px;
    font-weight: bold;
    font-size: 24px;
}

.footer-left p {
    margin: 8px 0;
    font-size: 14px;
    color: #222;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.footer-left i {
    margin-right: 10px;
    color: #222;
}

.footer-left a {
    color: #222;
    text-decoration: none;
}

.footer-right {
    text-align: center;
    flex-shrink: 0;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.footer-brand {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 26px;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-left {
        margin-bottom: 20px;
    }

    .footer-left p {
        justify-content: center;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-left h3 {
        font-size: 20px;
    }

    .footer-left p {
        font-size: 12px;
    }

    .footer-brand {
        font-size: 22px;
    }
}
/* Apply Coming Soon font only to specific volunteer paragraph content */
.coming-soon-font {
    font-family: 'Coming Soon', sans-serif;
}
