: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;
}

/* Inner Page Hero Style matched to index.php visual weight */
.inner-hero {
  padding: 80px 0;
  background: var(--eco-gradient-dark);
  color: #ffffff;
  border-bottom: 3px solid var(--eco-lime);
}

/* Modernized Cards */
.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;
}

/* Custom Button Theme Override */
.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;
  text-decoration: none;
  display: inline-block;
  text-center: center;
}

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

/* Footer Fields Styling */
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;
}
