* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1a2a3a;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  text-decoration: none;
}

.btn-primary {
  background-color: #1e4a76;
  color: white;
  box-shadow: 0 4px 12px rgba(30, 74, 118, 0.25);
}

.btn-primary:hover {
  background-color: #0f3b5e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 74, 118, 0.35);
}

.btn-outline {
  border: 2px solid #1e4a76;
  color: #1e4a76;
  background: transparent;
}

.btn-outline:hover {
  background-color: #1e4a76;
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  background: white;
  color: #1e4a76;
  border: 2px solid #1e4a76;
}

.btn-light:hover {
  background: #1e4a76;
  color: white;
  transform: scale(0.98);
}

.navbar {
  padding: 18px 0;
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
}

#donateNavBtn {
  color: white;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-placeholder {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e8f5 100%);
  padding: 8px 20px;
  border-radius: 40px;
  display: inline-block;
  color: #1e4a76;
}

.custom-logo {
  display: flex;
  align-items: center;
}

.custom-logo img {
  max-height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #2c3e50;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1e4a76;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1e4a76;
}

.hero {
  padding: 60px 0 70px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e6f0fa 100%);
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1.2;
}

.hero-content h1 {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1e4a76;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #4a5b6e;
  margin-bottom: 32px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 35px -12px rgba(30, 74, 118, 0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.pillars {
  padding: 80px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e4a76;
  margin-bottom: 56px;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.pillar-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 24px;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -12px rgba(30, 74, 118, 0.25);
  border-color: #1e4a76;
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e4a76;
}

.pillar-card p {
  color: #5a6e7c;
  font-size: 0.95rem;
}

.about-section {
  padding: 70px 0;
  background: #f8fafd;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e4a76;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: #2c3e50;
}

.about-image {
  flex: 1;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 30px -8px rgba(30, 74, 118, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.impact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e4a76 0%, #0f3b5e 100%);
  color: white;
  text-align: center;
}

.impact-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin: 48px 0 40px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 28px 36px;
  border-radius: 48px;
  min-width: 180px;
  transition: transform 0.2s, background 0.3s;
  cursor: pointer;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.02);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 8px;
}

.impact-cta {
  margin-top: 20px;
}

.newsletter-section {
  padding: 60px 0;
  background: white;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.newsletter-card {
  background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
  border-radius: 48px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #cbd5e1;
}

.newsletter-card h3 {
  font-size: 1.8rem;
  color: #1e4a76;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.newsletter-form input {
  padding: 14px 24px;
  border-radius: 60px;
  border: 2px solid #cbd5e1;
  font-size: 1rem;
  width: 280px;
  transition: border-color 0.2s;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #1e4a76;
}

.footer {
  background: #0a1c2c;
  color: #cbd5e6;
  padding: 48px 0 24px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 160px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #cbd5e6;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #6ea8d4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s ease;
}

.search-overlay.active {
  visibility: visible;
  opacity: 1;
}

.search-modal {
  background: white;
  max-width: 500px;
  width: 90%;
  border-radius: 48px;
  padding: 28px 24px;
  text-align: center;
  animation: fadeUp 0.2s ease;
}

.search-modal input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 60px;
  border: 2px solid #e2e8f0;
  font-size: 1rem;
  margin: 20px 0;
}

.search-modal input:focus {
  border-color: #1e4a76;
  outline: none;
}

.close-search {
  background: none;
  border: none;
  font-size: 1.6rem;
  float: right;
  cursor: pointer;
  color: #1e4a76;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-notify {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e4a76;
  color: white;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    background: white;
    padding: 20px 0;
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-grid {
    flex-direction: column;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .about-wrapper {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    justify-content: center;
  }
  .pillar-card {
    max-width: 100%;
  }
  .newsletter-form input {
    width: 100%;
  }
}