/* General Styling */
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  padding-top: 250px; 
}

/* Fix navbar to the top */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease; /* Smooth slide */
}

/* Top Header */
.top-header {
  background: linear-gradient(90deg, #224a13, #4a9618);
  color: #fff;
  font-size: 14px;
  transition: background 0.3s ease-in-out;
}

.top-header .contact-info {
  font-weight: 400;
}

.top-header .social-icons a {
  color: #fff;
  margin-left: 10px;
  font-size: 16px;
  transition: color 0.3s;
}

.top-header .social-icons a:hover {
  color: #a8df65 !important;
}

/* Logo Section */
.logo-header {
  background-color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.logo-header .logo {
  max-width: 120px; /* Default max width for other logos */
  transition: transform 0.3s ease, width 0.3s;
}

/* Larger logo1 */
.logo-header .logo1 {
  max-width: 150px;
  transition: transform 0.3s ease, width 0.3s;
}

.logo-header .logo2 {
  max-width: 250px;
  transition: transform 0.3s ease, width 0.3s;
}

/* Adjust position when scrolled */
.logo-header.scrolled .logo1 {
  max-width: 120px;
}

.logo-header .logo1,
.logo-header .logo2,
.logo-header .logo3,
.logo-header .logo4,
.logo-header .logo5 {
  opacity: 1;
  transition: all 0.5s ease;
}

.logo-header.scrolled .logo1,
.logo-header.scrolled .logo2 {
  transform: translateX(-200px);
}

.logo-header.scrolled .logo3,
.logo-header.scrolled .logo4,
.logo-header.scrolled .logo5 {
  transform: translateX(200px);
}

/* Navbar Styles */
.navbar {
  width: 100%;
  background: linear-gradient(135deg, #1f1c2c, #2c5f2d);
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow effect */
  transition: background 0.3s ease, padding 0.3s ease;
}

/* Logo and Navigation Links */
.navbar .nav-link {
  font-weight: 500;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-link:hover {
  color: #1f8c33;
  transform: scale(1.1);
}

/* Dropdowns */
.navbar .nav-item.dropdown .dropdown-menu {
  background-color: #f5f5dc;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.navbar .nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
}

.navbar .nav-item.dropdown .dropdown-toggle::after {
  font-family: "FontAwesome";
}

.navbar .nav-item .dropdown-item {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.navbar .nav-item .dropdown-item:hover {
  background-color: #a8df65;
  transform: translateX(10px);
}

/* Responsive adjustments for mobile */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar .nav-link {
    font-size: 18px;
    padding: 10px 0;
  }
}

/* When scrolled, apply a darker background to navbar */
.navbar.scrolled {
  background: linear-gradient(135deg, #1f1c2c, #2c5f2d);
}

/* Hero-section */
.hero {
  position: relative;
  min-height: 100vh;
  background: url("../images/forest-bg.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(255, 252, 225);
  padding: 50px 15px;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title,
.hero-subtitle,
.btn-explore {
  opacity: 0;
}

.hero-title {
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  /* animation: fadeIn 1.5s ease-in-out; */
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  max-width: 700px;
  margin: 10px auto;
  /* animation: slideInFromBottom 1.5s ease-in-out; */
}

.btn-explore {
  background-color: #a8df65;
  color: #2c5f2d;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  margin-top: 20px;
  display: inline-block;
  /* animation: fadeIn 2s ease-in-out; */
}

.btn-explore:hover {
  background-color: #2c5f2d;
  color: #fff;
}

/* Floating Leaves */
.floating-leaves img {
  position: absolute;
  width: 80px;
  opacity: 0.7;
  animation: floatAnimation 4s infinite alternate ease-in-out;
}

.leaf1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.leaf2 {
  top: 50%;
  right: 15%;
  animation-delay: 1s;
}
.leaf3 {
  bottom: 10%;
  left: 50%;
  animation-delay: 2s;
}

@keyframes floatAnimation {
  from {
    transform: translateY(0px) rotate(0deg);
  }
  to {
    transform: translateY(-20px) rotate(15deg);
  }
}

/* @keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0px); }
}

@keyframes slideInFromBottom {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
} */

/* Gallery Section Styling */
.gallery-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #eaf7ea 30%, #cdeac0 100%);
  text-align: center;
}

.gallery-title {
  font-size: 38px;
  font-weight: bold;
  color: #2c5f2d;
}

.gallery-subtitle {
  font-size: 18px;
  max-width: 600px;
  margin: 10px auto;
  color: #3d6b3d;
}

.gallery-grid {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.gallery-item img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(80%);
}

@media (max-width: 768px) {
  .gallery-grid {
    flex-direction: column;
  }

  .gallery-item {
    width: 100%;
  }
}

/* Image Slider Styling */
.image-slider-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #cdeac0 30%, #a8dba8 100%);
  text-align: center;
}

.slider-title {
  font-size: 38px;
  font-weight: bold;
  color: #2c5f2d;
  margin-bottom: 20px;
}

.carousel {
  max-width: 900px;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
}

.slider-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.carousel-caption h3 {
  font-size: 22px;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 16px;
  margin-bottom: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

@media (max-width: 768px) {
  .slider-img {
    height: 300px;
  }
  .carousel-caption {
    padding: 10px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  font-family: Verdana, sans-serif;
  overflow-x: hidden;
}

/* Full-Width Slider */
.full-slider {
  position: relative;
  width: 100vw;
  height: 60vh;
  overflow: hidden;
}
.mySlides {
  position: absolute;
  width: 100%;
  height: 60vh;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.mySlides img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}
.active-slide {
  opacity: 1;
}

/* Navigation Buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  transition: background 0.6s ease;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Dots */
.dot-container {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background 0.6s ease;
}
.active-dot {
  background: rgba(255, 255, 255, 0.9);
}

/* About Us Section */
.aboutus-section {
  background: linear-gradient(135deg, #f2f2f2 30%, #d4e7c5 100%);
  padding: 100px 20px;
  text-align: center;
}

.aboutus-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

/* Left Side - Image */
.aboutus-image {
  flex: 1;
  max-width: 500px;
}

.aboutus-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.aboutus-container:hover .aboutus-image img {
  transform: scale(1.05);
}

/* Right Side - Text */
.aboutus-content {
  flex: 1;
  text-align: left;
}

.aboutus-title {
  font-size: 38px;
  font-weight: bold;
  color: #2c5f2d;
}

.aboutus-text {
  font-size: 18px;
  max-width: 600px;
  margin-top: 10px;
  line-height: 1.6;
  color: #2c5f2d;
}

.btn-aboutus {
  background: #2c5f2d;
  color: #fff;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 30px;
  margin-top: 20px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-aboutus:hover {
  background: #4caf50;
  color: #fff;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .aboutus-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .aboutus-content {
    text-align: center;
  }

  .aboutus-image {
    max-width: 100%;
  }
}

/* About Section Styling */
.about-section {
  background: linear-gradient(135deg, #eaf7ea 30%, #cdeac0 100%);
  padding: 100px 20px;
  text-align: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text-content {
  flex: 1;
  text-align: left;
}

.about-title {
  font-size: 38px;
  font-weight: bold;
  color: #2c5f2d;
}

.about-text {
  font-size: 18px;
  max-width: 600px;
  margin-top: 10px;
  line-height: 1.6;
  color: #3d6b3d;
}

.btn-learn-more {
  background: #2c5f2d;
  color: #fff;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 30px;
  margin-top: 20px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-learn-more:hover {
  background: #a8df65;
  color: #2c5f2d;
  transform: scale(1.05);
}

.about-image {
  flex: 1;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Styling */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about-text-content {
    text-align: center;
  }

  .about-image {
    max-width: 100%;
  }
}


/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #1b3c1b 30%, #4caf50 100%);
  color: #88e09b;
  padding: 100px 20px;
  text-align: center;
}

.stats-heading {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 40px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out;
}

/* Responsive Grid Layout */
.stats-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}

/* Stat Item */
.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Icons */
.stat-item img {
  width: 80px;
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out;
}

.stat-item:hover img {
  transform: scale(1.1);
}

/* Numbers */
.stat-item h3 {
  font-size: 40px;
  font-weight: normal;
}

/* Description */
.stat-item p {
  font-size: 18px;
  margin-top: 5px;
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-heading {
    font-size: 32px;
  }
}

/* Projects Section */
.projects-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #eaf7ea 30%, #cdeac0 100%);
  color: #fff;
}

/* Section Title */
.section-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 40px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Project Card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Image Effects */
.project-card img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out, filter 0.3s ease-in-out;
}

.project-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* Project Info Overlay */
.project-info {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: 100%;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

/* Project Title */
.project-info h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Project Description */
.project-info p {
  font-size: 16px;
  margin: 0;
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}


/* Contact Section Styling */
.contact-section {
  padding: 80px 20px;
  background: beige;
  text-align: center;
}

.section-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #2c5f2d;
}

/* Contact Cards */
.contact-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Card Header */
.contact-card-header {
  background: #2c5f2d;
  color: #fff;
  padding: 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Profile Image */
.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.contact-card-header h3 {
  font-size: 24px;
  margin: 0;
}

.contact-card-header p {
  font-size: 16px;
}

/* Contact Card Body */
.contact-card-body {
  padding: 20px;
  text-align: left;
  color: #333;
}

.contact-card-body p {
  font-size: 16px;
  margin: 10px 0;
}

.contact-card-body strong {
  font-weight: bold;
}

/* Contact Card Footer */
.contact-card-footer {
  padding: 20px;
  background: #eaf7ea;
  text-align: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.btn-contact {
  background-color: #2c5f2d;
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: #a8df65;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-card {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .contact-card-header h3 {
    font-size: 22px;
  }

  .contact-card-body p {
    font-size: 14px;
  }

  .btn-contact {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* Footer Styling */
.footer {
  position: relative;
  background: url('../images/footer-bg.png') no-repeat center center/cover;
  height: 400px; /* Adjust height as needed */
  color: #fff;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; /* Ensures no extra scrollbar */
  width: 100%;
}

/* Overlay Effect */
.footer-overlay {
  background: rgba(0, 0, 0, 0.7); /* Dark overlay */
  width: 100%;
  height: 100%; /* Matches footer height */
  display: flex;
  align-items: center;
  padding: 50px 0;
  box-sizing: border-box; /* Ensures padding doesn't increase size */
}

/* Footer Content */
.footer h4 {
  font-weight: 600;
  color: #a8df65;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0; /* Remove unwanted spacing */
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #a8df65;
  text-decoration: underline;
}

.footer-contact li i {
  color: #a8df65;
  margin-right: 10px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #a8df65;
  transform: scale(1.2);
}

/* Copyright Section */
.footer-bottom {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: #a8df65;
  width: 100%;
}
