: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 Layout Styling */
.hero-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  min-height: 35vh;
  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;
}

/* Category Filter Chips */
.filter-chip {
  background: #ffffff;
  color: #555555;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--eco-green);
  color: #ffffff;
  border-color: var(--eco-green);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.15);
}

/* Modern Grid Cards Layout */
.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: 200px;
  background-color: #f0f4f2;
  overflow: hidden;
}

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

.eco-card:hover .eco-card-img-wrapper img {
  transform: scale(1.03);
}

.blog-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--eco-green);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Pagination Links Styling Override */
.pagination .page-link {
  color: var(--eco-green);
  border: 1px solid #e2ece7;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
  background-color: var(--eco-green);
  border-color: var(--eco-green);
  color: #ffffff;
}

.pagination .page-link:hover {
  background-color: var(--eco-light);
  color: var(--eco-emerald);
  border-color: var(--eco-lime);
}

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