/* Universal Reset */
* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar */
#main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #132955; /* Navy */
    padding: 15px 20px;
    position: fixed; /* Fixed navbar for true stickiness */
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
}
.logo a{
    text-decoration: none;
    color: white;
}
.logo a:hover{
    color: white;
}

.logo {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 15px; /* This is the new, corrected line */
}


.nav-links li {
    display: flex;
    align-items: center;
}

/* Nav links color and hover effect */
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    padding-bottom: 3px;
}

/* Underline effect */
.nav-links a:not(.donate-btn-link)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #c7c4c4;
    transition: width 0.3s ease-in-out;
}

/* Nav links hover stays white */
.nav-links a:hover {
    color: white;
}

.nav-links a:not(.donate-btn-link):hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

/* Donate button */
.donate-btn {
    background-color: #000000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.donate-btn:hover {
    background-color: #0B369B;
}

/* Hamburger */
.hamburger {
    display: none;
    position: relative;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1101;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* Morph into X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Mobile styles */
@media (max-width: 700px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 220px;
        background-color: #0A3A9C;
        flex-direction: column;
        align-items: start;
        padding: 80px 20px 20px;
        gap: 15px;
        transition: right 0.3s ease;
        z-index: 1100;
        flex-wrap: wrap;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li button.donate-btn {
        width: 100%;
        margin-top: auto;
    }

    .hero {
        background-position: left bottom;
    }
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: bottom;
    height: 100vh;
    color: white;
    text-align: center;
    padding-top: 90px; /* offset for fixed navbar */
    scroll-margin-top: 80px;
}

.hero .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero-title-box {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 10px;
}

.hero-title-box h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.hero-buttons button {
    padding: 10px 20px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
}

.hero-buttons .learn-more-btn {
    background-color: #132955;
    color: white;
    border: none;
    transition: 0.3s ease;
}

.hero-buttons .learn-more-btn:hover {
    background-color: #0B369B;
}

.hero-buttons .donate-btn {
    background-color: #000000;
    color: white;
    border: none;
    transition: 0.3s ease;
}

.hero-buttons .donate-btn:hover {
    background-color: #0B369B;
}

/* Mission Section */
.mission {
    padding: 80px 20px;
    background-color: #f5f5f5;
    text-align: center;
    padding-top: 90px; /* offset for fixed navbar */
    scroll-margin-top: 80px;
    
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #132955;
    font-weight: 900; /* Add this line to make the text bold */
}

.mission p {
    font-size: 1.5rem; /* Increase this value from 1.2rem to make the text bigger */
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    line-height: 1.6;
}



/* EVENTS SECTION */
.events {
    padding: 80px 20px;
    text-align: center;
    background-color: #1a1a1a; /* Dark gray almost black */
}

.events h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #306be0;
    font-weight: 900;
}

.events p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
    line-height: 1.6;
}

/* EVENTS SECTION ICON */
.events-icon {
    font-size: 4rem; /* Makes the icon large */
    color: #ffffff; /* Matches the heading color */
    margin-bottom: 20px; /* Adds space between the icon and the text */
}

/* DONATE SECTION */
.donate {
    padding: 80px 20px;
    text-align: center;
    background-color: #f5f5f5; /* A light gray background for a clean look */
}

.donate h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #132955;
    font-weight: 900;
}

.donate p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px; /* Add margin to separate text from the button */
    color: #333;
    line-height: 1.6;
}

.donate-link {
    text-decoration: none; /* Removes the underline from the anchor tag */
}

.donate-btn {
    background-color: #000000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #0B369B
}

.donate-flag {
    width: 250px; /* Adjust the size as needed */
    height: auto;
    display: block;
    margin: 0 auto 20px; /* Centers the image and adds space below it */
}

/* MISSION SECTION - Updated Styles */
.mission {
    padding: 80px 20px;
    background-color: #f5f5f5;
    text-align: center; /* Still center align the overall container content */
    padding-top: 90px; /* offset for fixed navbar */
    scroll-margin-top: 80px;
}

.mission .container {
    max-width: 1200px; /* Adjust max-width if needed for wider layout */
    margin: 0 auto; /* Center the container */
}

.mission-content-wrapper {
    display: flex; /* Makes it a flex container */
    flex-direction: row; /* Arranges children in a row (default) */
    align-items: center; /* Vertically centers items in the flex container */
    justify-content: center; /* Horizontally centers the flex items */
    gap: 40px; /* Space between the logo and the text */
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    text-align: left; /* Reset text alignment for the content inside */
}

.mission-logo-placeholder {
    width: 350px; /* Adjust the logo size as needed */
    height: auto;
    flex-shrink: 0; /* Prevents the logo from shrinking */
    margin: 0; /* Remove previous auto margin */
    order: 2; /* Puts the logo after the text content in row layout */
}

.mission-text-content {
    flex: 1; /* Allows text content to take up available space */
    max-width: 600px; /* Limit text width for readability */
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #132955;
    font-weight: 900;
    text-align: left; /* Align heading to the left */
}

.mission p {
    font-size: 1.5rem; /* Increased size */
    max-width: none; /* Remove previous max-width as it's now controlled by parent */
    margin: 0; /* Remove previous auto margin */
    color: #333;
    line-height: 1.6;
    text-align: left; /* Align paragraph to the left */
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .mission-content-wrapper {
        flex-direction: column; /* Stack logo and text vertically */
        gap: 20px;
        text-align: center; /* Center align items when stacked */
    }

    .mission-logo-placeholder {
        order: 1; /* Put logo back on top when stacked */
        margin-bottom: 20px; /* Add space below logo */
    }

    .mission h2,
    .mission p {
        text-align: center; /* Center text when stacked */
    }
}
.donate-btn-link {
    text-decoration: none;
}

/* Contact Section */
#contact {
  background-color: white;
  padding: 60px 0;
  color: #333;
}

#contact h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
}

#contact .map-wrapper iframe {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contact .contact-info h3 {
  font-size: 2rem;
  margin-top: 30px;
  color: #000;
}

#contact .contact-info p {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

#contact .contact-info a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

#contact .contact-info a:hover {
  color: #000;
}

/* Responsiveness */
@media (max-width: 767px) {
  #contact .map-wrapper iframe {
    height: 200px;
  }

  #contact .contact-info {
    text-align: center;
  }
}

/* FOOTER */
footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}
/* New Mission Section */
.new-mission {
    background-color: #f5f5f5;
    padding: 80px 20px;
    scroll-margin-top: 80px;
    display: flex; /* Flexbox to center the whole section */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
}

/* New Mission Container */
.new-mission-container {
    max-width: 1200px; /* Ensure max width */
    width: 100%; /* Full width */
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* New Mission Content */
.new-mission-content {
    display: flex;
    justify-content: space-between; /* Align content properly */
    align-items: center; /* Vertically center */
    gap: 40px; /* Gap between logo and text */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure it takes up full width */
}

/* Mission Text */
.new-mission-text {
    max-width: 600px; /* Limit the width */
    text-align: left;
}

.new-mission h2 {
    font-size: 2.5rem;
    color: #132955;
    font-weight: 900;
    margin-bottom: 20px;
}

.new-mission p {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Mission Logo */
.new-mission-logo {
    flex-shrink: 0; /* Prevent shrinking */
    max-width: 350px; /* Limit logo size */
}

.new-mission-logo-img {
    width: 100%;
    height: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .new-mission-content {
        flex-direction: column; /* Stack logo and text vertically on mobile */
        text-align: center; /* Center everything */
    }

    .new-mission-logo {
        order: 1; /* Keep the logo above the text */
        margin-bottom: 20px; /* Add space between logo and text */
    }

    .new-mission-text {
        text-align: center; /* Center the text */
    }

    .new-mission h2, .new-mission p {
        text-align: center; /* Center the heading and paragraph */
    }
}
