:root {
  --eco-green: #1b4332;
  --eco-emerald: #2d6a4f;
  --eco-lime: #52b788;
  --eco-light: #f4f9f6;
  --eco-gradient: linear-gradient(
    135deg,
    #1b4332 0%,
    #2d6a4f 50%,
    #52b788 100%
  );
  --eco-gradient-dark: linear-gradient(135deg, #0f271d 0%, #1b4332 100%);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fafafa;
  color: #333333;
}

html {
  scroll-behavior: smooth;
}

.text-gradient {
  background: linear-gradient(45deg, #a3e635, #52b788);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-eco {
  background: var(--eco-gradient);
}

.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand font {
  font-weight: 800;
  color: var(--eco-green);
}

.nav-link {
  font-weight: 600;
  color: #555555 !important;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--eco-emerald) !important;
}

.hero-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  min-height: 65vh;
  display: flex;
  align-items: center;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scrolling-ticker {
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--eco-lime);
}

.ticker-wrap {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.carousel-item img {
  object-fit: cover;
  height: 560px;
}
@media (max-width: 768px) {
  .carousel-item img {
    height: 290px;
  }
}

.eco-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(27, 67, 50, 0.08);
  border-color: var(--eco-lime);
}

.eco-card-img-wrapper {
  position: relative;
  height: 180px;
  background-color: #f0f4f2;
  overflow: hidden;
}

.eco-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.quantity-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
  max-width: 130px;
}

.quantity-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  font-weight: bold;
  font-size: 1rem;
  color: var(--eco-green);
  transition: background 0.2s;
}

.quantity-btn:hover {
  background: #e9ecef;
}

.quantity-input {
  width: 40px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.quantity-input:focus {
  outline: none;
}

.service-badge-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eaf2ee;
  transition: all 0.3s ease;
}
.service-badge-card:hover {
  border-color: var(--eco-lime);
  background: #f9fdfb;
}
.service-graphic-icon {
  background: var(--eco-gradient);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(45, 106, 79, 0.15);
}

.btn-eco {
  background-color: var(--eco-green);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.btn-eco:hover {
  background-color: var(--eco-emerald);
  color: #ffffff;
}

footer {
  background: var(--eco-gradient-dark);
  color: #b3c6be;
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

footer a {
  color: #b3c6be;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  margin-top: 50px;
}

.service-graphic-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e9f7ee;
  color: #1d7c3a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-graphic-icon .material-icons-round {
  font-size: 28px;
}

.card img {
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.06);
}

.card {
  border-radius: 16px;
}

.card:hover {
  transform: translateY(-4px);
  transition: 0.3s;
}

#services {
  background-color: #f1f7f4;
  border-top: 1px solid #e2ece7;
  border-bottom: 1px solid #e2ece7;
}

.eco-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(27, 67, 50, 0.08);
  border-color: var(--eco-lime);
}

.eco-card-img-wrapper {
  position: relative;
  height: 240px;
  background-color: #f0f4f2;
  overflow: hidden;
}

.eco-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-section {
  position: relative;
  width: 100%;
  min-height: 75vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: none !important;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/assets/images/styling/ECOJBO_HERO.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(27, 67, 50, 0.85) 0%,
    rgba(27, 67, 50, 0.6) 40%,
    rgba(45, 106, 79, 0.15) 75%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-section .style-img {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.hero-section h1 {
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-section p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}