* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: #122127;
  background: #f6fff7;
}

.navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: rgba(12, 76, 49, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(206, 251, 187, 0.28);
  box-shadow: 0 8px 22px rgba(9, 42, 30, 0.2);
  transition: all 0.25s ease;
}

.navbar.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: rgba(10, 66, 43, 0.9);
  box-shadow: 0 12px 24px rgba(8, 33, 24, 0.3);
}

.navbar-brand,
.nav-link {
  color: #ecfff7 !important;
}

.navbar-brand {
  letter-spacing: 0.2px;
  font-size: 1.06rem;
}

.nav-link {
  border-radius: 999px;
  padding: 0.42rem 0.85rem !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: #b9ff85 !important;
  background: rgba(217, 255, 196, 0.12);
  transform: translateY(-1px);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-cta-btn {
  border-radius: 999px;
  padding: 0.48rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: linear-gradient(135deg, #7ce16e, #38b45d);
  font-weight: 700;
}

.nav-cta-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #6ad65d, #2da051);
}

.hero-section {
  min-height: 92vh;
  padding-top: 90px;
  background:
    linear-gradient(120deg, rgba(29, 125, 73, 0.9), rgba(12, 92, 56, 0.85)),
    radial-gradient(circle at 20% 30%, rgba(185, 255, 133, 0.35), transparent 35%);
  color: #ffffff;
}

.hero-badge {
  background: rgba(185, 255, 133, 0.2);
  color: #f2ffe5;
  border: 1px solid rgba(216, 255, 233, 0.35);
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  color: #15322a;
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #efffec 0%, #f6fff8 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #114535;
}

.section-subtitle {
  color: #45625a;
  max-width: 680px;
  margin: 0 auto;
}

.stat-card {
  height: 100%;
  padding: 1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #cdf0ca;
  box-shadow: 0 7px 16px rgba(27, 93, 57, 0.08);
}

.stat-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: #12663f;
}

.stat-card p {
  margin: 0;
  color: #43645d;
  font-size: 0.95rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #caebc8;
  border-radius: 14px;
  padding: 1.3rem;
  box-shadow: 0 8px 20px rgba(11, 40, 33, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11, 40, 33, 0.13);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #0f643f;
}

.service-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #355650;
}

.feature-card {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid #cdeeca;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 78, 49, 0.08);
}

.feature-card-accent {
  border-color: #f2c1c1;
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #b9ff85, #68d664);
  color: #114d32;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: #0f5e39;
}

.feature-card p {
  margin-bottom: 0;
  color: #45625a;
}

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(8, 40, 24, 0.18);
}

#greendoorCarousel {
  border: 1px solid #bde9b2;
  box-shadow: 0 20px 40px rgba(13, 55, 35, 0.2) !important;
}

.carousel-item {
  position: relative;
}

.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 38, 27, 0.1), rgba(7, 38, 27, 0.62));
  z-index: 1;
}

.carousel-item img {
  height: 520px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.02);
  transition: transform 6s ease;
}

.carousel-item.active img {
  transform: scale(1.08);
}

.carousel-caption {
  z-index: 2;
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  width: min(640px, calc(100% - 2.5rem));
  text-align: left;
  border-radius: 14px;
  background: rgba(9, 37, 28, 0.72);
  backdrop-filter: blur(4px);
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(205, 250, 188, 0.35);
}

.carousel-caption h3 {
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.carousel-caption p {
  margin-bottom: 0;
  color: #e8ffe7;
}

.carousel-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 9%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(9, 37, 28, 0.45);
  border-radius: 999px;
  background-size: 58% 58%;
  width: 2.6rem;
  height: 2.6rem;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 38, 28, 0.85));
  color: #f4fff0;
  padding: 1.1rem 1rem 0.9rem;
  font-weight: 600;
}

.client-pill {
  height: 100%;
  padding: 0.95rem 1rem;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #caebc8;
  text-align: center;
  font-weight: 600;
  color: #204d41;
}

.partner-card {
  background: #ffffff;
  border: 1px solid #caebc8;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 8px 18px rgba(17, 78, 49, 0.08);
}

.partner-logo {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: #f8fff3;
  border: 1px solid #e2f5d8;
  border-radius: 10px;
  padding: 0.5rem;
  margin-bottom: 0.8rem;
}

.partner-card h3 {
  font-size: 1rem;
  margin: 0;
  color: #1f4d3f;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #cfeecb;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 18px rgba(17, 78, 49, 0.08);
}

.testimonial-stars {
  color: #f5b301;
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-bottom: 0.55rem;
}

.testimonial-card p {
  color: #355750;
  margin-bottom: 0.8rem;
}

.testimonial-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #11513b;
}

.quote-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quote-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #265347;
  margin-bottom: 0.55rem;
}

.quote-list i {
  color: #1f9d4f;
}

.quote-form {
  background: #ffffff;
  border: 1px solid #cfeecb;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 10px 20px rgba(17, 78, 49, 0.08);
}

.quote-form .form-label {
  font-weight: 600;
  color: #1f4f41;
}

.quote-form .form-control,
.quote-form .form-select {
  border-color: #cceac6;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
  border-color: #79d36f;
  box-shadow: 0 0 0 0.2rem rgba(121, 211, 111, 0.2);
}

.quote-status {
  color: #18523f;
  font-weight: 500;
}

.quote-status.is-error {
  color: #c93b4b;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #21c45a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  z-index: 1035;
}

.whatsapp-float:hover {
  background: #1ca94d;
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-grid > div {
  background: #ffffff;
  border: 1px solid #caebc8;
  border-radius: 12px;
  padding: 1rem;
}

.contact-grid h3 {
  font-size: 1rem;
  color: #0f4939;
  margin-bottom: 0.6rem;
}

.contact-grid a {
  color: #0c7659;
}

.contact-card {
  background: linear-gradient(160deg, #1c8051, #145f3b);
  color: #e8fff4;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(10, 32, 26, 0.2);
}

.accordion-item {
  border: 1px solid #caebc8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-button {
  font-weight: 600;
  color: #124538;
  background-color: #f7fff1;
}

.accordion-button:not(.collapsed) {
  color: #0f3f31;
  background-color: #eaffe0;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(126, 225, 110, 0.3);
}

.cta-strip {
  background: linear-gradient(120deg, #b9ff85, #7ce16e);
  color: #113827;
}

.cta-strip h2 {
  font-weight: 800;
}

.btn-danger {
  background: #df4f5f;
  border-color: #df4f5f;
}

.btn-danger:hover {
  background: #c93b4b;
  border-color: #c93b4b;
}

.site-footer {
  background: #0f2f2a;
  color: #d2f2e2;
}

.site-footer a {
  color: #8de5b9;
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .navbar {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .navbar-collapse {
    margin-top: 0.65rem;
    padding: 0.65rem;
    border-radius: 12px;
    background: rgba(8, 46, 30, 0.92);
    border: 1px solid rgba(206, 251, 187, 0.2);
    max-height: 68vh;
    overflow-y: auto;
  }

  .navbar .nav-link {
    width: 100%;
    margin-bottom: 0.2rem;
  }

  .nav-cta-btn {
    width: 100%;
    margin-top: 0.35rem;
    text-align: center;
  }

  .hero-section {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero-section h1 {
    font-size: 1.9rem;
  }

  .hero-section .lead {
    font-size: 1.05rem;
  }

  .section-pad {
    padding: 3.6rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .contact-card,
  .quote-form,
  .testimonial-card,
  .partner-card {
    padding: 1rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
    font-size: 1.6rem;
  }

  .carousel-item img {
    height: 360px;
  }

  .carousel-caption {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    bottom: 0.75rem;
    padding: 0.9rem;
  }

  .carousel-caption h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 0.97rem;
  }

  .hero-section {
    padding: 7.2rem 0 3.2rem;
  }

  .hero-section h1 {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .hero-section .btn {
    width: 100%;
  }

  .section-pad {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.42rem;
  }

  .service-card,
  .feature-card {
    padding: 1rem;
  }

  .gallery-card img {
    height: 210px;
  }

  .carousel-item img {
    height: 280px;
  }

  .carousel-caption {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    padding: 0.7rem 0.75rem;
  }

  .carousel-caption h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .carousel-caption p {
    font-size: 0.82rem;
  }

  .partner-logo {
    height: 88px;
  }

  .quote-form .btn {
    width: 100%;
  }

  .site-footer .container {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-card {
    padding: 1rem !important;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .quote-form {
    padding: 0.9rem;
  }
}
