/* Layout to keep footer at the bottom */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

header {
  background-color: #009966;
  color: white;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 20px;
}

.header-top .logo img {
  height: 50px;
}

.site-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  line-height: 1.2;
  max-width: 600px;
}

.nav-top-bar {
  background-color: #90ee90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.donate-btn {
  background-color: #ff6600;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links > div {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-links .dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #77dd77;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

.nav-links .dropdown:hover ul {
  display: block;
}

.nav-links .dropdown ul li a {
  padding: 10px 20px;
  display: block;
  white-space: nowrap;
  font-size: 13px;
}

.social-icons a {
  color: inherit;
  margin-left: 10px;
  text-decoration: none;
  font-size: 16px;
}

.social-icons a.facebook { color: #3b5998; }
.social-icons a.instagram { color: #e4405f; }
.social-icons a.twitter { color: #55acee; }
.social-icons a.linkedin { color: #0077b5; }

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  animation: fadeInUp 1s ease forwards;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 25px;
}

.hero-btn {
  background-color: #2ebd8d;
  padding: 12px 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #009966;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 40px 20px;
  text-align: center;
}

.section h2 {
  font-size: 26px;
  color: #009966;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.project-box {
  background-color: #e0f7f1;
  padding: 20px;
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  padding: 10px;
  background-color: #2ebd8d;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #009966;
}

footer {
  background-color: #002b5b;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.95rem;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
}

.highlight {
  color: #009966;
  font-weight: bold;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.highlight-box {
  background-color: #e8f9f3;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.highlight-box i {
  font-size: 30px;
  color: #009966;
  margin-bottom: 10px;
}

/* Slider Section */
.slides img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }
}

.hero-slider-wrapper {
  display: flex;
  flex-direction: column;
}

.hero-slider-wrapper {
  display: flex;
  flex-direction: column;
}

.hero {
  height: 110vh; /* Shorter height so it fits on screen */
  background-image: url('images/hero-bg.png'); /* Make sure this path is correct */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5); /* Dark transparent overlay for contrast */
  padding: 30px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-btn {
  background-color: #2ebd8d;
  padding: 12px 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #009966;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 16px;
  }
}

.slider-section {
  height: 55vh;
  margin: 0;
  padding: 0;
}

.slider {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
}

/* Arrows and dots */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}

.arrow.prev { left: 10px; }
.arrow.next { right: 10px; }

.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background-color: #009966;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 999;
  background-color: #f1f1f1;
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: #1a1a1a;
  color: #eaeaea;
}

body.dark-mode .nav-top-bar,
body.dark-mode header,
body.dark-mode footer {
  background-color: #333;
  color: #eee;
}

body.dark-mode .slider,
body.dark-mode .highlight-box,
body.dark-mode .project-box {
  background-color: #2a2a2a;
}

body.dark-mode .dot.active {
  background-color: #ff6600;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
/* Projects Section */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-content: center;
  padding: 20px 0;
}

.project-box {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: white;
  padding: 30px 20px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.project-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.section {
  padding: 40px 20px; /* Reduce vertical padding */
  margin-bottom: 30px; /* Optional: reduce space between sections */
}
/* General section spacing */
.section {
  padding: 40px 20px;     /* Balanced padding */
  margin-bottom: 30px;    /* Controls gap between sections */
}

/* Specific spacing adjustments */
#gallery {
  margin-bottom: 10px !important; /* Less space below gallery */
  padding-bottom: 20px;           /* Optional: reduce padding if needed */
}

#contact {
  margin-top: 0 !important;       /* Remove top gap */
  padding-top: 20px;              /* Reduce space above contact */
}

/* Optional: tighter spacing on small screens */
@media (max-width: 768px) {
  .section {
    padding: 30px 15px;
    margin-bottom: 20px;
  }

  #gallery {
    padding-bottom: 15px;
  }

  #contact {
    padding-top: 15px;
  }
}
/* Global section spacing refinement */
.section {
  padding: 30px 20px;
  margin-bottom: 20px;
}

/* About Us section moved higher */
#about {
  padding-top: 20px;
  margin-top: 0;
}

/* Fine-tune Gallery and Contact spacing */
#gallery {
  margin-bottom: 10px !important;
  padding-bottom: 15px;
}

#contact {
  margin-top: 0 !important;
  padding-top: 15px;
}

/* Tighter layout on smaller screens */
@media (max-width: 768px) {
  .section {
    padding: 25px 15px;
    margin-bottom: 15px;
  }

  #about {
    padding-top: 15px;
  }

  #gallery {
    padding-bottom: 10px;
  }

  #contact {
    padding-top: 10px;
  }
}
/* Footer Container */
.main-footer {
  background-color: #002b5b;
  color: #ffffff;
  padding: 50px 20px 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
}

/* Flex layout */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

/* Footer sections */
.footer-section {
  flex: 1 1 250px;
  min-width: 240px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.footer-section p,
.footer-section a,
.footer-section li {
  font-size: 16px;
  line-height: 1.4;
  color: #dddddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #2ebd8d;
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

/* Social icons */
/* Social icons */
.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 15px;
  font-size: 24px;
  color: #ffffff; /* Default icon color */
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  transform: scale(1.2);
}

/* Icon specific colors */
.footer-socials a.facebook { color: #3b5998; } /* Facebook Blue */
.footer-socials a.instagram { color: #e4405f; } /* Instagram Pink */
.footer-socials a.twitter { color: #1da1f2; } /* Twitter Blue */
.footer-socials a.linkedin { color: #0077b5; } /* LinkedIn Blue */

/* Hover color change */
.footer-socials a:hover.facebook { color: #3b5998; }
.footer-socials a:hover.instagram { color: #e4405f; }
.footer-socials a:hover.twitter { color: #1da1f2; }
.footer-socials a:hover.linkedin { color: #0077b5; }


/* Bottom bar */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #444;
  font-size: 15px;
  color: #cccccc;
  margin-top: 30px;
}

/* SEPERDO Logo */
.footer-bottom .seperdo-logo {
  margin-top: 10px;
}

.footer-bottom img {
  max-width: 100px; /* Reduced size */
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-section {
    margin-bottom: 30px;
  }

  .footer-socials a {
    margin: 0 8px;
  }
}
.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-image {
  flex: 1;
  max-width: 400px;
}

.about-image img {
  width: 140%;
  height:500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

