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;
}

.facebook-icon {
    position: absolute;
    top: 5px;        
    right: 150px;     
    z-index: 9999;   
    display: inline-block;
}

.facebook-icon img {
    width: 30px;     
    height: 30px;    
    display: block;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .facebook-icon {
        top: 8px;    
        right: 22px; 
    }
    
    .facebook-icon img {
        width: 25px; 
        height: 25px;
    }
}

/* ===== 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;
  }
}

/* ===== Hero Sections ===== */
.hero-main {
  background: #00415a;
  padding: 80px 20px;
  text-align: center;
  color: white;
}
.hero-main h3 { font-size: clamp(22px, 5vw, 50px); }

.hero-image-section { 
  padding: 40px 20px; 
  text-align: center; 
}

/* Mobile Hero Image Adjustment */
.hero-card img {
  border-radius: 15px;
  transition: transform 0.4s ease;
  width: 900px; /* Desktop Size */
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media (max-width: 950px) {
  .hero-card img {
    width: 100%; /* Scale down on mobile */
    max-width: 600px;
  }
}

/* ===== Services ===== */
.services { background: #f2f2f2; padding: 60px 20px; text-align: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.icon { font-size: 40px; margin-bottom: 15px; }


/* ===== Management ===== */
.agencies { background: #f2f2f2; padding: 60px 20px; text-align: center; }
.agency-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.agency-card {
  background: #fff;
  padding: 20px;
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.agency-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}


/* ===== ABOUT SECTION ===== */
.about-section { 
  padding: 80px 60px; 
  background: linear-gradient(to bottom, #FFFFFF, #DBF7FF);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-image {
  flex: 0 0 35%;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
}

.about-content h2 {
  flex: 0 0 55%;
  text-align: left;
  font-size: 34px;
  color: #000;
  line-height: 1.3;
}

.about-content p {
  flex: 0 0 55%;
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}


.btn-primary-us {
  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-us:hover {
  background: #00415A;
  color: #00B8FF;
}

/* Mobile About Section Adjustment */
@media (max-width: 850px) {
  .about-container {
    flex-direction: column; 
    text-align: center;
  }
  .about-image { 
    flex: 0 0 auto;
    width: 60%;
    margin-bottom: 20px;
  }
  .about-content { 
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Center button on mobile */
  }
  .btn-about-us {
    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-about-us:hover {
	background: #00415A;
	color: #fff;
  }
}



/* ===== 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 a {
  text-decoration: none;
  color: #00b8ff;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s
}

.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 */
  }
}