@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
:root {
  --primary-green: #10b981; /* A brighter, more modern green */
  --secondary-green: #059669;
  --dark-bg: #111827;
  --light-gray: #f9fafb; /* Lighter gray for cleaner look */
  --text-dark: #1f2937;
  --text-light: #e5e7eb;
  --border-color: #e5e7eb;
}

html,
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-gray);
  color: var(--text-dark);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
  background-color: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  transition: background-color 0.3s ease;
}
.navbar-brand {
  font-weight: 700;
  color: var(--text-light) !important;
  letter-spacing: 1px;
}
.logo {
  object-fit: cover;
  aspect-ratio: 20 / 5.5;
}
.nav-link {
  color: var(--text-light) !important;
  font-weight: 400;
  margin: 0 1rem;
  width: fit-content;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-green) !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.navbar-toggler {
  border-color: var(--primary-green);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2816, 185, 129, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Carousel --- */
#heroCarousel .carousel-item {
  height: 100vh;
  min-height: 450px;
  background-size: cover;
  background-position: center;
}
#heroCarousel .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}
.carousel-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 80%;
  left: 50%;
  right: 0;
  top: 55%;
  transform: translate(-50%, -50%);
}
.carousel-caption h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.carousel-caption p {
  font-size: 1.25rem;
}
.carousel-control-prev,
.carousel-control-next {
  background-color: var(--primary-green);
  border-radius: 50%;
  height: 3rem;
  width: 3rem;
  font-size: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 1rem;
}

/* --- Section Styling --- */
.section-padding {
  padding: 100px 0;
}
.section-title {
  font-weight: 700;
  color: var(--secondary-green);
  margin-bottom: 15px;
  font-size: 2.5rem;
}
.section-subtitle {
  font-weight: 300;
  color: #6b7280;
  margin-bottom: 60px;
}

/* --- About Section --- */
#about {
  background-color: #ffffff;
}
#about img {
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.icon-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.icon-list-item i {
  font-size: 1.2rem;
  color: var(--primary-green);
  margin-right: 15px;
  margin-top: 5px;
}

/* --- Products Section --- */
#products {
  background-color: var(--light-gray);
}
.product-card {
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}
.product-card .card-title {
  color: var(--secondary-green);
  font-weight: 600;
}

/* --- Contact Section --- */
#contact {
  background-color: var(--dark-bg);
  color: var(--text-light);
}
#contact .section-subtitle {
  color: #9ca3af;
}
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.contact-info-item .icon {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-right: 20px;
}
.contact-info-item p {
  margin: 0;
  line-height: 1.6;
}
.contact-form {
  background: #1f2937;
  padding: 30px;
  border-radius: 15px;
}
.form-control {
  border: 1px solid #4b5563;
  color: var(--text-dark);
  border-radius: 8px;
  padding: 12px;
}
.form-control:focus {
  color: var(--text-dark);
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}
.map-container {
  border-radius: 15px;
  overflow: hidden;
  height: 450px;
}

/* --- Footer --- */
.footer {
  background-color: #0c111b;
  color: #9ca3af;
  padding: 60px 0 20px;
}
.footer h5 {
  color: var(--primary-green);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--primary-green);
}
.footer .list-unstyled li {
  margin-bottom: 10px;
}
.social-icons a {
  font-size: 1.3rem;
}

/* --- Utility Classes --- */
.btn-brand {
  background-color: var(--primary-green);
  color: #fff;
  border: 2px solid var(--primary-green);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-brand:hover {
  background-color: var(--secondary-green);
  border-color: var(--secondary-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-outline-brand {
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-brand:hover {
  background-color: var(--primary-green);
  color: #fff;
}
.btn-brand-dark {
  background-color: var(--primary-green);
  color: #fff;
  border: 2px solid var(--primary-green);
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-brand-dark:hover {
  background-color: var(--secondary-green);
  border-color: var(--secondary-green);
  color: #fff;
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  width: 50px;
  height: 50px;
  background-color: var(--primary-green);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 1.2rem;
  line-height: 50px;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.scroll-to-top:hover {
  background-color: var(--secondary-green);
  transform: translateY(-5px);
}
.scroll-to-top.show {
  display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .nav-link {
    margin: 0.5rem auto;
  }
  .carousel-caption {
    top: 60%;
    width: 100%;
  }
  #heroCarousel .carousel-item {
    height: 50vh;
  }
  .navbar-nav {
    text-align: center;
    background-color: var(--dark-bg);
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
  }
    .carousel-caption h1 {
      font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    .carousel-caption p {
      font-size: 1rem;
    }
}

@media (max-width: 768px) {
  .carousel-caption {
    text-align: center;
  }
  .carousel-caption p {
    max-width: 100%;
  }
  .section-padding {
    padding: 60px 0;
  }
}
.whastapp-call-icon{
    width: fit-content;
}
.whatsapp-icon,
.call-icon {
  height: 70px;
  width: 70px;
  border-radius: 100%;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.call-icon {
  height: 62px;
  width: 62px;
  margin-left: 0.35rem;
  background-color: var(--light-gray);
}
:where(.whatsapp-icon, .call-icon) img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease-in-out;
  transform: scale(1.1);
}
