body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* ===== TOPBAR (Fixed height and text centered) ===== */
.topbar {
  background: #00415a;
  height: 40px; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  position: relative;
  z-index: 1001;
}

/* ===== NAVBAR (Moved up by reducing padding) ===== */
.navbar {
  background: #DBF7FF;
  padding: 20px 0; /* Reduced from 50px to bring it UP */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-logo {
  height: 70px; /* Controlled height for logo */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #010080;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00b8ff;
}

.btn-primary {
  background: transparent;
  color: #000;
  padding: 15px 45px;
  border: 2px solid #00415A;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #00415A;
  color: #00B8FF;
}


/* ===== MOBILE TOGGLE LOGIC ===== */
.menu-toggle { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #010080;
  transition: 0.3s;
}

.mobile-donate { display: none; }

@media (max-width: 992px) {
  .hamburger { display: flex; }
  .nav-button { display: none; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #DBF7FF;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-in-out;
  }

  .menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 20px 0;
  }

  .nav-links a { padding: 10px 0; width: 30%; text-align: center; }
  .mobile-donate { 
    background: transparent;
	color: #000;
	padding: 15px 45px;
	border: 2px solid #00415A;
	border-radius: 40px;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
	display: inline-block;
	transition: all 0.3s ease;
	
  }
  
  .mobile-donate:hover {
	background: #00415A;
	color: #fff;
  }
}


/* PAGE HERO - Responsive Background & Text */
.page-hero {
  position: relative;
  height: clamp(300px, 50vh, 0px);
  background: url("Thumbnail1.png") center center / cover no-repeat;
  display: flex;
}
.hero-overlay {
  width: 100%; height: 88.5%;
  background: rgba(0, 0, 0, 0.65);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 8vw, 4.5rem); /* Dynamic resizing */
  margin: 0;
  text-align: center;
}


/* ===== AWARENESS SECTIONS ===== */
.awareness {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.awareness h2 { 
  font-family: Arial;
  font-size: clamp(16px, 4vw, 22px); 
  line-height: 1.6;
  margin: 0;
}

.badge-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.badge {
  display: inline-block;
  background: #00415A;
  color: white;
  padding: 10px 20px;
  margin-top: -20px;
  position: relative;
  font-weight: bold;
  font-size: clamp(14px, 3vw, 18px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s ease;
}

.gallery img:hover { transform: scale(1.03); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  color: white;
  font-size: clamp(30px, 5vw, 60px);
  padding: 10px;
  transform: translateY(-50%);
  transition: 0.3s;
}

.prev { left: 5px; }
.next { right: 5px; }

/* ===== Footer ===== */
.footer { 
  background: #00415a; 
  color: white; 
  padding: 50px 20px 20px; 
  text-align: center; 
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two halves */
  align-items: center;
  gap: 50px;
}

.contact-info-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-left h3 {
  color: #00b8ff;
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-info-left p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-logo-center {
  display: flex;
  justify-content: center; /* Center the logo image */
}

.footer-logo-center img {
  max-width: 300px; /* Adjusted for better visibility */
  height: auto;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
}

/* Responsive Footer for Mobile */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* Stack columns */
    text-align: center;
  }
  .contact-info-left {
    text-align: center;
    order: 2; /* Put info below logo on mobile */
  }
  .footer-logo-center {
    order: 1; /* Put logo on top on mobile */
  }
}