/* Import Poppins font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}

/* Header - Mobile Responsive */
.top-bar {
  background-color: #009444;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  flex-wrap: wrap;
}

.top-bar .left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar .left span {
  margin-right: 20px;
}

.top-bar .right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar .search {
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
  margin-right: 15px;
  font-family: "Poppins", sans-serif;
  min-width: 150px;
}

.top-bar i {
  margin-left: 15px;
  cursor: pointer;
  transition: color 0.3s;
}

.top-bar i:hover {
  color: #ffc107;
}

.lang {
  cursor: pointer;
}
/* Navbar Base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 5%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
  flex-wrap: wrap;
  position: sticky;
  z-index: 10;
}

/* Logo Container */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* Buttons Section */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-right: 30px;
}

/* All Buttons */
.nav-buttons button {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
}

/* Dashboard Button (Text Only) */
.dashboard {
  background: linear-gradient(90deg, #2a7a4f, #4caf50);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
}

.dashboard:hover {
  background-color: #388e3c; /* Slightly darker green */
}

/* Login Button (Orange from logo) */
.blue {
  background: linear-gradient(90deg, #2a7a4f, #4caf50);
  color: white;
  padding: 10px 38px;
  font-size: 14px;
  border-radius: 8px;
}

.blue:hover {
  background-color: #d44e14; /* Slightly darker orange */
}

/* Profile Button (Dark Green) */
.profile {
  background: linear-gradient(90deg, #2a7a4f, #4caf50);
  color: white;
  padding: 10px 29px;
  font-size: 14px;
  border-radius: 8px;
}

.profile:hover {
  background-color: #007a36;
}

/* Hover Lift Effect */
.nav-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Make button content flex for icon + text */
.nav-buttons button {
  display: flex;
  align-items: center;
  gap: 6px; /* space between icon and text */
  cursor: pointer;
  border: none;
}

/* Optional: adjust icon size */
.nav-buttons button i {
  font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
  }

  .logo img {
    max-width: 140px;
    margin-bottom: 10px;
  }

  .nav-buttons {
    justify-content: center;
    gap: 10px;
  }

  .dashboard {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Banner Section */
      .banner {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
      }
      
      .banner-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
      }
      
      .banner-slide.active {
        opacity: 1;
      }
      
      .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
/* About Section - Mobile Responsive */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 60px 80px;
  background: #f9f9f9;
  font-family: "Poppins", sans-serif;
}

.about-content {
  flex: 1 1 500px;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2.2rem;
  color: #2a7a4f;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.about-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
}

.benefits {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
  color: #444;
  font-family: "Poppins", sans-serif;
}

.benefits li {
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.about-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.about-buttons button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #2a7a4f 0%, #3b8b5b 50%, #4caf50 100%);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Poppins", sans-serif;
  flex: 1;
  min-width: 200px;
}

.about-buttons button:hover {
  background-color: #1f5c38;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-image {
  flex: 1 1 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Why Isha Crowd Fund Section - Mobile Responsive */
.why-ishacrowdfund {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

.why-ishacrowdfund::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.why-ishacrowdfund .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.why-ishacrowdfund h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2a7a4f;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #7f8c8d;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  background: linear-gradient(135deg, #aaafbe 0%, #c8ffe2 100%);
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1c3faa, #009444);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #1c3faa, #009444);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.feature-box:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  border-radius: 50%;
}

.icon-wrapper i {
  font-size: 2.2rem;
  color: #ffffff;
  transition: all 0.4s ease;
}

.feature-box:hover .icon-wrapper i {
  transform: scale(1.1);
}

.feature-box h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
  font-family: "Poppins", sans-serif;
}

.feature-box p {
  font-size: 1rem;
  color: black;
  line-height: 1.6;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

/* Gallery Section - Mobile Responsive */
.gallery {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  font-family: "Poppins", sans-serif;
}

.gallery h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #2a7a4f;
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
}

.gallery p {
  font-size: 1.3rem;
  color: #7f8c8d;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
  margin-left: 60px;
  margin-right: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  aspect-ratio: 1 / 1;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  font-family: "Poppins", sans-serif;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-family: "Poppins", sans-serif;
}

.gallery-overlay p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid #3498db;
  color: #3498db;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Section - Mobile Responsive */
.footer {
  background: linear-gradient(135deg, #1c3faa 0%, #009444 100%);
  color: #fff;
  padding: 60px 20px 20px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
}

.footer h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffc107;
  border-radius: 2px;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #fff;
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
}

.footer h4:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: #ffc107;
  border-radius: 2px;
}

/* Footer About Section */
.footer-about p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}
.footer-links {
  margin-left: 90px;
}
/* Footer Links Section */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
}

.footer-links a:before {
  content: "▸";
  color: #ffc107;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #ffc107;
}

.footer-links a:hover:before {
  transform: translateX(3px);
}
/* Footer Contact Section */
.footer-contact p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}

/* Font Awesome Icons */
.footer-contact p.email::before {
  content: "\f0e0"; /* Envelope icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffc107;
  width: 20px;
  text-align: center;
}

.footer-contact p.phone::before {
  content: "\f095"; /* Phone icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffc107;
  width: 20px;
  text-align: center;
}

.footer-contact p.address::before {
  content: "\f3c5"; /* Map-marker icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffc107;
  width: 20px;
  text-align: center;
}

/* Footer Social Section */
.footer-social {
  text-align: left;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
  background: #ffc107;
  color: #333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

/* ========== COMPREHENSIVE MOBILE RESPONSIVE DESIGN ========== */

/* Large Tablets and Small Laptops (1024px and below) */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 30px;
    margin-right: 30px;
  }

  .why-ishacrowdfund h2 {
    font-size: 2.4rem;
  }

  .gallery h2 {
    font-size: 2.4rem;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  /* Header & Navigation */
  .top-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 10px;
  }

  .top-bar .left,
  .top-bar .right {
    justify-content: center;
    width: 100%;
  }

  .top-bar .search {
    min-width: 200px;
    margin: 5px 0;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  .nav-buttons {
    justify-content: center;
    width: 100%;
  }

  .nav-buttons button {
    flex: 1;
    min-width: 140px;
  }

  /* Banner */
  .banner {
    height: 300px;
  }

  /* About Section */
  .about {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
  }

  .about-content,
  .about-image {
    flex: 1 1 100%;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-buttons {
    justify-content: center;
  }

  .about-buttons button {
    min-width: 180px;
  }

  /* Why Isha Crowd Fund Section */
  .why-ishacrowdfund {
    padding: 60px 20px;
    margin: 10px;
  }

  .why-ishacrowdfund h2 {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
  }

  .feature-box {
    padding: 30px 20px;
  }

  .icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .icon-wrapper i {
    font-size: 1.8rem;
  }

  .feature-box h3 {
    font-size: 1.3rem;
  }

  .feature-box p {
    font-size: 0.95rem;
  }

  /* Gallery Section */
  .gallery {
    padding: 40px 20px;
  }

  .gallery h2 {
    font-size: 2rem;
  }

  .gallery p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }

  .gallery-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .footer {
    padding: 40px 20px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer h3:after,
  .footer h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links li:hover {
    transform: none;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-social {
    text-align: center;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  /* Base adjustments */
  body {
    font-size: 14px;
  }

  /* Header */
  .top-bar {
    font-size: 12px;
    padding: 8px 10px;
  }

  .top-bar .left span {
    margin-right: 10px;
  }

  .logo {
    font-size: 24px;
  }

  .nav-buttons {
    gap: 5px;
  }

  .nav-buttons button {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 120px;
  }

  /* Banner */
  .banner {
    height: 200px;
  }

  /* About Section */
  .about {
    padding: 30px 15px;
    gap: 25px;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-content p {
    font-size: 0.9rem;
  }

  .about-buttons {
    gap: 10px;
  }

  .about-buttons button {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 160px;
  }

  /* Why Isha Crowd Fund Section */
  .why-ishacrowdfund {
    padding: 40px 15px;
  }

  .why-ishacrowdfund h2 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .feature-box {
    padding: 25px 15px;
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .icon-wrapper i {
    font-size: 1.5rem;
  }

  .feature-box h3 {
    font-size: 1.2rem;
  }

  .feature-box p {
    font-size: 0.9rem;
  }

  /* Gallery Section */

  /* Gallery Section - Mobile Responsive */
  .gallery {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    font-family: "Poppins", sans-serif;
  }

  .gallery h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #2a7a4f;
    position: relative;
    display: inline-block;
    font-family: "Poppins", sans-serif;
    line-height: 1.2;
  }

  .gallery p {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    margin-left: 60px;
    margin-right: 60px;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    aspect-ratio: 1 / 1;
  }

  .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.1);
  }

  .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-family: "Poppins", sans-serif;
  }

  .gallery-item:hover .gallery-overlay {
    transform: translateY(0);
  }

  .gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: "Poppins", sans-serif;
  }

  .gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-family: "Poppins", sans-serif;
  }

  .gallery-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  /* Footer */
  .footer {
    padding: 30px 15px 15px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer h3 {
    font-size: 1.5rem;
  }

  .footer h4 {
    font-size: 1.1rem;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .footer-about p,
  .footer-contact p {
    font-size: 14px;
  }
}

/* Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
  .nav-buttons {
    flex-direction: column;
    width: 100%;
  }

  .nav-buttons button {
    width: 100%;
  }

  .about-buttons {
    flex-direction: column;
  }

  .about-buttons button {
    width: 100%;
  }

  .gallery-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .top-bar .search {
    min-width: 150px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .feature-box:hover {
    transform: none;
  }

  .gallery-item:hover {
    transform: none;
  }

  .nav-buttons button:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/*Register page css*/
/* ===== Registration Page Styles (Unique: reg-) ===== */

/* ===== Registration Page Styles ===== */
.reg-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(45deg, #11998e, #38ef7d);
}

/* Container */
.reg-container {
  background: #e8e2e2;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 732px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 70px;
  margin-bottom: 70px;
}

.reg-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.reg-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4caf50, #2a7a4f);
}

/* Title */
.reg-title {
  text-align: center;
  margin-bottom: 30px;
  color: #2a7a4f;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.reg-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #2a7a4f);
  border-radius: 2px;
}

/* Form Groups */
.reg-form-group {
  margin-bottom: 20px;
  position: relative;
}

.reg-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #34495e;
  font-size: 14px;
  transition: color 0.3s;
}

.reg-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 2px solid #e1e8ed;
  font-size: 15px;
  transition: all 0.3s;
  background-color: #f8fafc;
  border-color: #4caf50;
}

.reg-input:focus {
  outline: none;
  border-color: #4caf50;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.reg-input:valid {
  border-color: #4caf50;
}

/* Password strength indicator */
.password-strength {
  height: 4px;
  margin-top: 8px;
  border-radius: 2px;
  background-color: #e1e8ed;
  overflow: hidden;
  transition: all 0.3s;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s, background-color 0.3s;
}

/* Submit Button */
.reg-submit-btn {
  width: 100%;
  background: linear-gradient(90deg, #2a7a4f 0%, #3b8b5b 50%, #4caf50 100%);
  color: white;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(42, 122, 79, 0.2);
  position: relative;
  overflow: hidden;
}

.reg-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 122, 79, 0.3);
}

.reg-submit-btn:active {
  transform: translateY(0);
}

.reg-submit-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.reg-submit-btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

/* Back Button */
/* Back Button above container */
.reg-back-btn {
  background: #6c757d;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 20px;
  transition: 0.3s;
}

.reg-back-btn:hover {
  background: #5a6268;
}

/* Terms and Conditions */
.reg-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 14px;
  color: #7f8c8d;
}

.reg-terms input {
  margin-top: 3px;
}

.reg-terms a {
  color: #4caf50;
  text-decoration: none;
}

.reg-terms a:hover {
  text-decoration: underline;
}

/* Social Login */
.reg-social {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.reg-social::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e8ed;
}

.reg-social-text {
  display: inline-block;
  background: white;
  padding: 0 15px;
  color: #7f8c8d;
  font-size: 14px;
  position: relative;
}

.reg-social-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.reg-social-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e1e8ed;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.reg-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.reg-social-btn.google {
  color: #db4437;
}

.reg-social-btn.facebook {
  color: #4267b2;
}

/* Popup */
.reg-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.reg-popup-content {
  background: #fff;
  padding: 35px 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  animation: regFadeIn 0.4s ease-out;
  max-width: 400px;
  width: 90%;
}

.reg-popup-icon {
  font-size: 60px;
  color: #4caf50;
  margin-bottom: 15px;
}

.reg-popup-title {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.reg-popup-message {
  color: #7f8c8d;
  margin-bottom: 25px;
  line-height: 1.5;
}

.reg-close-btn {
  background: linear-gradient(90deg, #4caf50, #2a7a4f);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.reg-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

/* Popup Animation */
@keyframes regFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  .reg-container {
    padding: 30px 25px;
  }

  .reg-social-buttons {
    flex-direction: column;
  }
}

/*Login page css*/
/* ===== Login Page Styles ===== */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(45deg, #11998e, #38ef7d);
}

.login-container {
  background: #e8e2e2;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 500%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
  margin-bottom: 70px;
}

.login-title {
  text-align: center;
  margin-bottom: 30px;
  color: #2a7a4f;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.login-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #2a7a4f);
  border-radius: 2px;
}

.login-form-group {
  margin-bottom: 20px;
  position: relative;
}

.login-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #34495e;
  font-size: 14px;
}

.login-optional {
  font-size: 12px;
  color: #666;
}

.login-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 2px solid #e1e8ed;
  font-size: 15px;
  background-color: #f8fafc;
  transition: all 0.3s;
  border-color: #4caf50;
}

.login-input:focus {
  outline: none;
  border-color: #4caf50;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.login-submit-btn {
  width: 100%;
  background: linear-gradient(90deg, #2a7a4f 0%, #3b8b5b 50%, #4caf50 100%);
  color: white;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(42, 122, 79, 0.2);
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 122, 79, 0.3);
}

.login-back-btn {
  background: #6c757d;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 20px;
  transition: 0.3s;
}

.login-back-btn:hover {
  background: #5a6268;
}

/* Responsive */
@media (max-width: 480px) {
  .login-container {
    padding: 30px 25px;
  }
}

/*Dashboard page css*/
/* Dashboard Page Styles */
.dashboard-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(45deg, #11998e, #38ef7d);
}

.dashboard-title {
  text-align: center;
  margin-bottom: 30px;
  color: #2a7a4f;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.dashboard-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #2a7a4f);
  border-radius: 2px;
}

.profile-card {
  background: #e8e2e2;
  border-radius: 16px;

  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.profile-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 16px;
  border-bottom: 1px solid #e1e8ed;
}

.profile-item:last-child {
  border-bottom: none;
}

.profile-label {
  font-weight: 600;
  color: #34495e;
}

.profile-value {
  color: #2a7a4f;
}

@media (max-width: 480px) {
  .profile-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
.impact-gallery {
  text-align: center;
  padding: 50px 20px;
  background: #f9f9f9;
}

.impact-gallery h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #2a7a4f;
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
}

.impact-gallery p {
  font-size: 1.3rem;
  color: #7f8c8d;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.impact-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
  margin-left: 60px;
  margin-right: 60px;
}
.impact-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 1 / 1; /* keeps square shape */
}

.impact-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover effect: zoom + lift */
.impact-gallery-item:hover img {
  transform: scale(1.1) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ========== ENHANCED MOBILE RESPONSIVE DESIGN ========== */

/* Large Tablets and Small Laptops (1024px and below) */
@media (max-width: 1024px) {
  .features-grid,
  .impact-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .footer-links {
    margin-right: 98px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 30px;
    margin-right: 30px;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .features-grid,
  .gallery-grid,
  .impact-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Registration and Login forms */
  .reg-container,
  .login-container {
    margin: 20px;
    padding: 25px;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .features-grid,
  .gallery-grid,
  .impact-gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Form containers */
  .reg-container,
  .login-container {
    margin: 10px;
    padding: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .reg-title,
  .login-title {
    font-size: 24px;
  }
}

/* Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
  .reg-container,
  .login-container {
    padding: 15px;
  }

  .reg-title,
  .login-title {
    font-size: 22px;
  }
}
