/* General Reset */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  padding-bottom: 120px; /* space for sticky footer */
}

/* Top Header */
.top-header {
  background-color: #2e7d32;
  padding: 10px 0;
  color: #fff;
  font-size: 15px;
}

.top-header .contact-info i {
  margin-right: 5px;
  color: #fff;
}
.top-header .separator {
  margin: 0 10px;
}
.social-icons a {
  color: white;
  margin-left: 15px;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #a5d6a7;
}

/* Navbar */
.custom-navbar {
  background-color: #ffffff;
  min-height: 70px;
  padding-top: 2px;
  padding-bottom: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.custom-navbar .navbar-brand img {
  height: 70px;
  object-fit: contain;
}

.custom-navbar .nav-link {
  color: #2e7d32;
  font-weight: 500;
  padding: 12px 18px;
  transition: all 0.3s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .dropdown-item:hover {
  color: #1b5e20;
  background-color: #e8f5e9;
  border-radius: 5px;
}

/* Login button */
.login-btn {
  background-color: #2e7d32;
  color: white;
  margin-left: 15px;
  padding: 6px 16px;
  font-weight: 500;
  border-radius: 25px;
  transition: 0.3s;
}
.login-btn:hover {
  background-color: #1b5e20;
  color: white;
}

/* Dropdowns */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 220px;
  padding: 0;
  margin-top: 0;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.dropdown:hover > .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  top: 0;
  left: 100%;
  margin-left: 0;
}

.dropdown-item {
  padding: 10px 20px;
  color: #2e7d32;
  transition: all 0.3s ease;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #e8f5e9;
  color: #1b5e20;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel Fix */
.carousel-inner img {
  height: 400px;
  object-fit: cover;
}
/* Footer */
.footer {
  background: #fff;
  color: #444;
  font-size: 15px;
  border-top: 1px solid #eee;
}

.footer h5,
.footer h6 {
  font-weight: 600;
  margin-bottom: 20px;
}

.footer .dot {
  color: #2e7d32;
  font-size: 28px;
  line-height: 0;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer ul li i {
  color: #2e7d32;
  margin-right: 10px;
}

.footer ul li a {
  text-decoration: none;
  color: #444;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #2e7d32;
}
.footer .footer-social .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.footer .footer-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #81c784;
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  transition: 0.3s;
  font-size: 16px;
  text-decoration: none;
}

@media (max-width: 480px) {
  .footer .footer-social .social-icons {
    justify-content: flex-start;
  }
}


.footer .footer-social .social-icons a:hover {
  background: #4caf50;
  color: white;
}

.footer-bottom {
  background: #f8fbff;
  font-size: 14px;
  text-align: center;
  color: #666;
}

.footer-bottom p {
  margin: 0;
}


/* Sticky Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Ad content area */
.footer-content {
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sticky-footer.collapsed .footer-content {
  height: 0;
  overflow: hidden;
  padding: 0;
}


/* Toggle Button */
.footer-toggle {
  position: absolute;
  top: -18px;
  left: 20px;
  background-color: white;
  border: 1px solid #ccc;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  width: 38px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  z-index: 10001;
}

.footer-toggle i {
  font-size: 18px;
  color: #2e7d32;
  transition: transform 0.3s ease;
}

.sticky-footer.collapsed .footer-toggle i {
  transform: rotate(180deg);
}

/* Ad Image */
.footer-content img {
  max-width: 100%;
  height: 80px;
  border-radius: 6px;
}

/* End Of Google botom add*/

.feature-section {
  padding: 20px 0;
}

.feature-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  color: #222;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: #e8f5e9;
  z-index: 0;
  transition: height 0.4s ease;
  border-radius: 12px;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card * {
  position: relative;
  z-index: 2;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
  font-size: 36px;
  color: #2e7d32;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  transition: color 0.3s;
}

.feature-card:hover .icon,
.feature-card:hover h5,
.feature-card:hover p {
  color: #2e7d32;
}

@media (max-width: 768px) {
  .feature-section {
    padding: 50px 0;
  }

  .feature-card {
    padding: 24px 16px;
  }
}

.about-section {
  background-color: #f9f9f9;
}

.about-section h2 {
  font-weight: 700;
  font-size: 32px;
}

.about-section p {
  font-size: 15px;
  color: #333;
}

.about-section .badge {
  font-size: 14px;
  letter-spacing: 1px;
}

.about-section img {
  max-height: 400px;
  object-fit: cover;
}

