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("Head.jpg") 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;
}


/* ===== Contacts ===== */
.contacts { background: #f2f2f2; padding: 60px 20px; text-align: center; }
.contacts-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}


.contacts-card h3 {
  color: rgba(0, 0, 0, 0.65);
  font-size: 18px;
}

.contacts-card h2 {
  color: #00415a;
  font-size: 15px;
}


.contacts-card {
  background: #fff;
  padding: 15px;
  width: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);

}
.contacts-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0px;
}


/* ===== Responsive Form Styling ===== */
.form-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  background: #f9f9f9;
}

.form-container {
  width: 100%;
  max-width: 800px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input, textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

textarea {
  width: 100%;
  height: 150px;
  margin-bottom: 15px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background-color: #00415a;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
}

.cf-turnstile {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}


/* ===== 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;
}

.contact-info-left a {
  text-decoration: none;
  color: #00b8ff;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s
}

.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 */
  }
}