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.6rem !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;
}

.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #e8f5e9 0%, #f4f7fa 100%);
  animation: fadeInSection 1.2s cubic-bezier(.4,0,.2,1) both;
}
@keyframes fadeInSection {
  0% { opacity: 0; transform: translateY(60px);}
  100% { opacity: 1; transform: translateY(0);}
}
.contact-form-card {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.12);
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  animation: slideInUp 1.2s 0.2s cubic-bezier(.4,0,.2,1) both;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
@keyframes slideInUp {
  0% { opacity: 0; transform: translateY(80px);}
  100% { opacity: 1; transform: translateY(0);}
}
.contact-form-card h2 {
  color: #2e7d32;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.form-control:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 0.2rem rgba(46,125,50,.15);
}
.btn-contact {
  background: #198754 !important; /* Bootstrap green */
  color: #fff !important;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s;
  border: none;
}
.btn-contact:hover, .btn-contact:focus {
  background: #157347 !important;
  color: #fff !important;
}
.contact-success, .contact-error {
  display: none;
  margin-top: 1rem;
  font-size: 1rem;
  border-radius: 5px;
  padding: 0.75rem 1rem;
}
.contact-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #2e7d32;
}
.contact-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #c62828;
}