/* Homepage polish: retain the existing Bootstrap grid and section structure. */
body.home {
  --brand-green: #52751d;
  --text-green: #253724;
  color: var(--text-green);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.home p { line-height: 1.75; }
.home .section-heading { color: var(--text-green); line-height: 1.3; }
.home .section-subheading {
  color: var(--brand-green) !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 2.4px;
  margin-bottom: 12px;
}
.home .section-subheading a { color: inherit !important; }
.home .trans-main .section-subheading { color: #d9efa6 !important; }
.home #navigation { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.home .navbar-light .navbar-nav > .nav-item > .nav-link {
  color: #f5f8ef !important;
  transition: color .2s ease;
}
.home .navbar-light .navbar-nav > .nav-item > .nav-link:hover {
  color: #d9efa6 !important;
}
.home .dropdown-menu {
  border: 1px solid #e2e8db;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(22, 43, 16, .12);
}
.home .dropdown-item:hover { background-color: #eef4e6; }
.home .sidenav { z-index: 1040; background: #20351d; }
.home .navbar-toggler { border-color: rgba(255, 255, 255, .5); background: #edf4df; }

.home .card-body .btn-filter,
.home span.navbar-text,
.home .submit_btn {
  background: #d6edaa !important;
  color: #243d17 !important;
  border: 1px solid transparent !important;
  border-radius: 8px;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(21, 44, 13, .12) !important;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.home .card-body .btn-filter:hover,
.home span.navbar-text:hover,
.home .submit_btn:hover { background: #e5f4c7 !important; box-shadow: 0 6px 16px rgba(21, 44, 13, .18) !important; }
.home .trans-main .badge a { color: #fff !important; text-underline-offset: 5px; }
.home .trans-main .card-body .section-heading { text-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.home #expertise p { color: #566151; }
.home #dark-background { background: #f3f6ef !important; }

.home #home-products { margin-bottom: 24px; }
.home #home-products .gfg1 {
  overflow: hidden;
  border-radius: 12px;
  background-position: center;
  box-shadow: 0 4px 18px rgba(32, 53, 29, .09);
  transition: box-shadow .2s ease;
}
.home #home-products a:hover .gfg1 { box-shadow: 0 8px 24px rgba(32, 53, 29, .2); }
.home #home-products .overlay {
  background-image: linear-gradient(to top, rgba(13, 29, 14, .92), rgba(13, 29, 14, .35) 30%, transparent 62%);
}
.home #home-products .second-txt {
  left: 20px;
  right: 20px;
  bottom: 16px;
  margin: 0;
  color: #fff;
  font-weight: 500;
  line-height: 1.45;
}
.home #dark-background .card {
  border: 1px solid #e2e8dc;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(32, 53, 29, .05);
}
.home #dark-background .card-title { line-height: 1.5; }
.home .nav-pills .nav-link { color: #435638; background: #f0f4e9; padding: 10px 22px; }
.home .nav-pills .nav-link.active { background: var(--brand-green); color: #fff; }
.home #pills-tabContent img { max-width: 100%; height: auto; }

.home .modal-content { border: 1px solid #e2e8dc; border-radius: 16px; box-shadow: 0 18px 60px rgba(13, 29, 14, .2); }
.home .form-label { font-size: 14px; font-weight: 500; color: #3b4c33; }
.home .form-control {
  border: 1px solid #cbd5c3;
  border-radius: 8px !important;
  padding: 11px 12px;
  background: #fbfcf9;
  font-size: 15px;
}
.home .form-control:focus { border-color: #6c8a3c; box-shadow: 0 0 0 3px rgba(108, 138, 60, .16); background: #fff; }
.home .footer-area { border-top: 1px solid #e0e7d8; }
.home .footer-menu a:hover { color: var(--brand-green) !important; }
.home a:focus-visible,
.home button:focus-visible { outline: 3px solid #82ac39; outline-offset: 4px; }

@media (max-width: 767px) {
  .home .trans-sections { padding-top: 38px !important; padding-bottom: 28px !important; }
  .home #expertise p { text-align: left; }
  .home #home-products { margin-bottom: 18px; }
  .home .modal-content { width: 95% !important; }
  .home .modal-body { padding: 12px 20px 24px !important; }
  .home .section-heading { line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { transition: none !important; }
}
