html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  background: #f4f7fa;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.navbar {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 5rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  animation: fadeInDownSlow 1.5s ease forwards;
}

@keyframes fadeInDownSlow {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-navbar {
  animation: fadeInDownSlow 1.5s ease forwards;
}

.navbar-logo img {
  height: 38px;
  width: auto;
}

.navbar-logo span {
  color: #2e7d32;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.navbar-links {
  display: flex;
  gap: 2.2rem;
}

.navbar-links a {
  color: #ffffff ;
  text-decoration: none;
  font-size: 3rem !important;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: #388e3c;
}

.nav-link-hover {
  transition: color 0.2s, background 0.2s;
}

.navbar .nav-link.nav-link-hover:hover,
.navbar .nav-link.nav-link-hover.active {
  color: #388e3c !important;
  background: transparent !important;
  text-decoration-color: #388e3c !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 8px !important;
}

.navbar-auth {
  display: flex;
  gap: 1rem;
}

.btn-auth {
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-auth:hover {
  background: #388e3c;
}

.btn-signup {
  background: #fff;
  color: #2e7d32;
  border: 1.5px solid #2e7d32;
}

.btn-signup:hover {
  background: #e8f5e9;
}

.navbar-padding {
  padding-left: 8rem !important;
  padding-right: 8rem !important;
}

@media (max-width: 991.98px) {
  .navbar-padding {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .nav-link {
  color: #fff !important;
  font-size: 0.9rem !important; /* Increase as desired */
}
  
}

footer {
  position: relative;
  background-image: url('footer.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  z-index: 1;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7); /* Black overlay */
  z-index: 2;
  pointer-events: none;
}

footer > .container,
footer > .d-flex {
  position: relative;
  z-index: 3;
}

/* About Section Animations */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section-1 .col-md-6:first-child {
  animation: fadeInLeft 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
.about-section-1 .col-md-6:last-child {
  animation: fadeInRight 1.2s cubic-bezier(.77,0,.18,1) 0.4s both;
}
.about-section-2 .col-md-6:first-child {
  animation: fadeInRight 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
.about-section-2 .col-md-6:last-child {
  animation: fadeInLeft 1.2s cubic-bezier(.77,0,.18,1) 0.4s both;
}
.about-section-2 .card {
  animation: fadeInUp 1s cubic-bezier(.77,0,.18,1) both;
}

/* Optional: stagger cards for more effect */
.about-section-2 .card:nth-child(1) { animation-delay: 0.5s; }
.about-section-2 .card:nth-child(2) { animation-delay: 0.7s; }
.about-section-2 .card:nth-child(3) { animation-delay: 0.9s; }
.about-section-2 .card:nth-child(4) { animation-delay: 1.1s; }