/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
  transition: background-color 0.4s, color 0.4s;
  padding-top: 80px;
}

body.dark-mode {
  background: #1a1a1a;
  color: #f0f0f0;
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #1E6C8B;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: #1E6C8B;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: padding 0.3s, background 0.3s;
}

.navbar.shrink {
  padding: 0.5rem 2rem;
}

.navbar .logo {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  font-weight: bold;
}

/* logo image adjustments */
.navbar .logo img {
  height: 50px;
  width: auto;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 2rem;
}

.banner {
  width: 100%;
  height: 300px; /* or any height you want */
  background: url('Logo-01.jpg') no-repeat center center / cover;
  background-color: #1E6C8B; /* fallback if image is missing */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.banner h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.banner p {
  font-size: 1.2rem;
  max-width: 600px;
}


/* SECTION */
.section {
  padding: 3rem 2rem;
  margin: 2rem auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 1000px;
  transition: background-color 0.4s, color 0.4s;
}

body.dark-mode .section {
  background: #292929;
}

h2 {
  color: #1E6C8B;
  margin-bottom: 1rem;
  text-align: center;
}

body.dark-mode h2 {
  color: #FFD700;
}

ul {
  list-style: disc inside;
  margin-top: 1rem;
}

/* BUTTON */
.button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #FFD700;
  color: #1E6C8B;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.button:hover {
  background: #FFC300;
  transform: translateY(-3px);
}

/* CTA BANNER */
.cta-banner {
  background: #1E6C8B;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  margin: 2rem 0;
  border-radius: 1rem;
}

/* TESTIMONIALS */
.testimonial-carousel {
  overflow: hidden;
  position: relative;
  height: 150px;
}

.testimonial {
  display: none;
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
}

.testimonial.active {
  display: block;
  animation: fadeTestimonial 1s ease;
}

@keyframes fadeTestimonial {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* CONTACT + NEWSLETTER FORMS */
.contact-form input,
.contact-form textarea,
.newsletter-form input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea,
body.dark-mode .newsletter-form input {
  background: #1f1f1f;
  color: #f0f0f0;
  border: 1px solid #555;
}

/* FOOTER */
.footer {
  background: #1E6C8B;
  color: #fff;
  text-align: center;
  padding: 2rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.footer .social-icons a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer .social-icons a:hover {
  color: #FFD700;
}

/* BACK TO TOP */
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1E6C8B;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.3s;
}

#backToTopBtn:hover {
  background: #FFD700;
  transform: translateY(-3px);
}

/* DARK MODE TOGGLE */
#darkModeToggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  background: transparent;
  border: none;
  color: #1E6C8B;
  z-index: 1001;
  cursor: pointer;
}

/* FADE IN CLASS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #1E6C8B;
    text-align: center;
  }

  .navbar ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 1rem;
  color: white;
  font-weight: bold;
  font-size: 2rem;
  user-select: none;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: background-color 0.3s;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.dots-container {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #717171;
}
.donation-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #fef9f5;
  color: #333;
}

.donation-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.donation-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.donate-button {
  background-color: #FFC300;
  color: white;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.donate-button i {
  margin-right: 0.5rem;
}

.donate-button:hover {
  background-color: #FFC300;
}


.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.form-and-profile {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.map-container {
  flex: 1 1 45%;
  min-height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#newsletter {
  background: url('https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&w=1350&q=80') no-repeat center center;
  background-size: cover;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  position: relative;
}

#newsletter::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  flex: 1 1 250px;
  font-size: 1rem;
}

.newsletter-form .button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background-color: #f39c12;
  color: white;
  cursor: pointer;
}

.newsletter-form .button:hover {
  background-color: #e67e22;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}


.footer {
  background-color: #111;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.social-icons {
  margin: 1rem 0;
}

.social-icons a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f39c12;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

