/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f9fafc;
  color: #333;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: all 0.4s ease;
}

/* NAVBAR SCROLL EFFECT */
.navbar.scrolled {
  padding: 10px 50px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  color: #2f3c7e;
  cursor: pointer;
  transition: 0.3s;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-container img {
  height: 45px;
  transition: 0.4s ease;
}

.logo-container img:hover {
  transform: rotate(-5deg) scale(1.1);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links li {
  position: relative;
}

/* LINK STYLE */
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  position: relative;
  transition: 0.3s ease;
  padding: 5px 0;
}

/* HOVER COLOR */
.nav-links a:hover {
  color: #ff6b35;
}

/* ANIMATED UNDERLINE */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  left: 0;
  bottom: -5px;
  background: linear-gradient(to right, #ff6b35, #ff9f1c);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* DONATE BUTTON */
.donate-btn {
  background: linear-gradient(135deg, #ff6b35, #ff9f1c);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 30px;
  transition: 0.4s ease;
  box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

/* DONATE BUTTON HOVER */
.donate-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255,107,53,0.5);
}

/* FLOAT ANIMATION */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0px);
  }
}

.logo-container {
  animation: float 3s ease-in-out infinite;
}
/* HERO */
#home {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('hero.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 50px;
}

.hero-content p {
  margin-top: 10px;
  font-size: 18px;
}

/* SECTIONS */
section {
  padding: 80px 60px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2f3c7e;
}

/* ABOUT */
#about p {
  max-width: 800px;
  margin: auto;
  text-align: center;
  line-height: 1.6;
}

/* ABOUT BUTTON CENTER */
#about .btn-primary {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

/* WORK */
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 280px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  color: #ff6b35;
}

/* REMOVE GAP FIX */
#work {
  padding-bottom: 20px;
}

#impact {
  padding-top: 20px;
}

/* IMPACT */
.impact-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.impact-box {
  background: #2f3c7e;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 150px;
  text-align: center;
}

.count {
  font-size: 30px;
  font-weight: bold;
}

/* GALLERY */
.gallery {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.gallery img {
  width: 350px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* BUTTON */
.btn-primary {
  background: #ff6b35;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  position: center;
}

/* MISSION */
.mission-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.mission-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 180px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.08);
}

.mission-box img {
  height: 40px;
  margin-bottom: 10px;
}
/* MISSION SECTION CENTER */
#mission {
  text-align: center;
}

#mission .mission-text {
  max-width: 850px;
  margin: 15px auto;
  line-height: 1.8;
  font-size: 18px;
}

/* CENTER BUTTON */
#mission .btn-primary {
  display: inline-block;
  margin: 30px auto;
}

/* DONATE */
.donate-section {
  background: linear-gradient(135deg, #ff6b35, #ff9f1c);
  color: #fff;
  text-align: center;
}

/* CONTACT */
.contact-info {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background: #f1f3f6;
}

.info-box {
  text-align: center;
}

/* CONTACT SECTION CENTER */
#contact {
  text-align: center;
}

#contact p {
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.7;
}
/* FOOTER */
footer {
  background: #2f3c7e;
  color: #fff;
  text-align: center;
  padding: 15px;
}

/* CENTER VIEW WORK BUTTON */
.btn-primary {
  display: block;
  width: fit-content;
  margin: 30px auto;
}