/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header */
/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #007BFF;
  padding: 12px 20px;
  position: relative;
  z-index: 1000;
}

/* Logo */
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

/* Always show the menu icon */
.menu-icon {
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* Navigation Links */
.nav-links {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 60px;
  right: 20px;
  width: 200px;
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  text-align: center;
  padding: 10px 0;
}

.nav-links li a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links li a:hover {
  color: #ffd700;
}


/* Hero Section */
/* Hero Section Background and Layout */
/* === HERO SECTION === */
.hero {
  position: relative;
  background: url("images/annie-spratt-cVEOh_JJmEE-unsplash.jpg") no-repeat center center/cover;
  height: 100vh; /* Full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 18, 51, 0.5); /* Overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: floatUp 2s ease forwards;
  opacity: 0;
}

/* Heading animation */
.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: slideInLeft 1.2s ease forwards;
}

/* Paragraph and button */
.hero-content p,
.hero-content .hero-btn {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 1s;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #3e61ff;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: #642ccc;
  transform: scale(1.05);
}

/* === KEYFRAMES === */
@keyframes slideInLeft {
  0% {
    transform: translateX(-60px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero {
    height: auto;
    padding: 80px 20px;
  }
}




/* Mission Section */
/* Mission Section Container */
.mission {
  background-color: #f8f9fc;
  padding: 60px 30px;
}

.mission-content {
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Horizontal layout for desktop */
/* Full-bleed section layout */
.mission {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #f8f9fc;
}

.mission-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

.mission-content h2 {
  font-size: 2rem;
  color: #1e3a8a;
  text-align: center;
  padding: 40px 20px 20px;
  margin: 0;
}

/* Mission Gallery layout */
.mission-gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Default (Mobile First) stacked layout */
.mission-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

/* Image full width on mobile */
.mission-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Text box styling */
.text-box {
  padding: 20px;
  text-align: left;
}

.text-box p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

.toggle-btn {
  background-color: #1e3a8a;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #12285d;
}

/* ======== DESKTOP LANDSCAPE STYLE ======== */
@media (min-width: 769px) {
  .mission-gallery {
    gap: 30px;
  }

  .mission-item {
    flex-direction: row;
    align-items: stretch;
    height: 320px;
  }

  .mission-item img {
    width: 50%;
    height: 100%;
    object-fit: cover;
  }

  .text-box {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .text-box p {
    font-size: 1.05rem;
  }

  .toggle-btn {
    align-self: flex-start;
    margin-top: 10px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mission-content h2 {
    font-size: 1.5rem;
    padding: 30px 10px 10px;
  }

  .text-box {
    padding: 15px;
  }

  .text-box p {
    font-size: 0.95rem;
  }

  .toggle-btn {
    width: 100%;
  }
}





/* Footer */
/* Footer Base */
.site-footer {
  background-color: #1e3a8a;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left & Right Columns */
.footer-column {
  flex: 1 1 300px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Contact Info */
.contact-info p {
  margin-bottom: 8px;
  color: #cbd5e1;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  border-top: 1px solid #ffffff33;
  padding-top: 15px;
  color: #cbd5e1;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

  .footer-column {
    flex: 1 1 45%;
  }

  .footer-column h4 {
    font-size: 1rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding-top: 10px;
  }
}


.footer-socials {
  margin-top: 10px;
  text-align: center;
}

.footer-socials a {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.3rem;
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #ffffff;
}




/* About Us Section remains same as before except this: */

/* Replace only the icon styling with this: */
.youtube-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 64px; /* You can adjust size here */
    color: #ff0000; /* YouTube red */
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.youtube-icon:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}


/* Text Area */
.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
}

.donate-header-btns {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #2848d6;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.donate-header-btns:hover {
  background-color: #2848d6;
}


/* Responsive Design */
@media (max-width: 768px) {
    .about-us {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        margin-top: 20px;
    }
}

/* What We Do Section */
.what-we-do {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.what-we-do h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Donate Today Button */
.donate-btn {
    background-color: #2848d6; /* red background */
    color: #fff;               /* white text */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-btn:hover {
    background-color: #2848d6;
    transform: scale(1.05);
}

/* Extra What We Do Section */
.we-do-extra {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.we-do-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.we-do-text {
  flex: 1;
  min-width: 300px;
}

.we-do-text h2 {
  font-size: 28px;
  color: #2848d6;
  margin-bottom: 20px;
}

.extra-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.we-do-image {
  flex: 1;
  min-width: 280px;
}

.we-do-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 10px;
  object-fit: cover;
}



/* Why What We Do Matters Section */
.why-we-do {
  padding: 60px 20px;
  background-color: #f2f2f2; /* light grey */
}

.why-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-text {
  flex: 1;
  min-width: 300px;
}

.why-text h2 {
  color: #285fd6;
  margin-bottom: 20px;
  font-size: 28px;
}

.why-text p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

.why-image {
  flex: 1;
  min-width: 280px;
}

.why-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 10px;
  object-fit: cover;
}

.our-goals {
  padding: 60px 20px;
  background-color: #fff;
  margin-top: 60px;
}

.goals-container {
  max-width: 1100px;
  margin: 0 auto;
}

.our-goals h2 {
  color: #007BFF;
  text-align: left;
  margin-bottom: 40px;
  font-size: 28px;
}

.goal-box {
  position: relative;
  background-color: #007BFF;
  color: #fff;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.goal-box:hover {
  transform: translateY(-5px);
}

.goal-content {
  padding: 30px 25px;
}

.goal-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.goal-content p {
  font-size: 16px;
  line-height: 1.7;
}

.milestones-section {
  padding: 60px 20px;
  background-color: #f9f9f9; /* Light background for visual break */
  text-align: center;
  margin-top: 60px;
}

.milestones-container {
  max-width: 900px;
  margin: 0 auto;
}

.milestones-container h2 {
  font-size: 30px;
  color: #007BFF;
  margin-bottom: 30px;
}

.milestones-container p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.milestones-container .year {
  font-weight: bold;
  font-size: 18px;
  color: #d62828;
  margin-top: 10px;
  margin-bottom: 10px;
}



/* Contact Form Section Styling */
.contact-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    color: #555;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    width: 150px;
    padding: 12px 20px;
    margin: 0 auto;
    background-color: #2848d6;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #2848d6;
    transform: scale(1.05);
}

/* Our Mission and Vision Section */
.our-mission-vision {
  padding: 3rem 1rem;
  background: #f9f9f9;
  margin: 2rem 0;
  border-radius: 10px;
}

.our-mission-vision h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #2a2a2a;
}

.mission-vision-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.mission-vision-container > div {
  flex: 1 1 300px;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  min-width: 280px;
}

.mission-vision-container h3 {
  margin-bottom: 1rem;
  color: #00397b;
  font-weight: 600;
}

.mission-vision-container p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.video-thumb {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.youtube-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: #ff0000;
  cursor: pointer;
  animation: pop 1.5s infinite;
  z-index: 2;
}

.team-gallery {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f9fc;
}

.team-gallery h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 40px;
  font-weight: 700;
}

.team-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 40px;
}

.team-member {
  max-width: 320px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px 20px 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-5px);
}

.profile-pic {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #1e3a8a;
}

.team-member h3 {
  font-size: 1.3rem;
  color: #1e3a8a;
  margin-bottom: 5px;
  font-weight: 700;
}

.role {
  font-weight: 600;
  color: #555;
  margin-bottom: 15px;
  font-size: 1rem;
}

.bio {
  font-size: 0.96rem;
  color: #444;
  line-height: 1.7;
  text-align: justify;
  padding: 0 5px;
}
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 90%;
  }
}

/* ===== Image Gallery Section ===== */
/* Base styles for gallery */
.image-gallery {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.image-gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1e3a8a;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* All gallery items including video */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Play icon overlay for videos */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  pointer-events: none;
  opacity: 0.8;
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive behavior */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


.gallery-item.video-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery-item.video-item video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  opacity: 0.8;
  pointer-events: none; /* Prevent interfering with video click */
}


/* Responsive: On mobile show as full-width landscape blocks */
@media (max-width: 768px) {
  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
  }
}

