/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fff;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 65px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* ===== Navigation ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.4s ease;
}

.nav a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
  margin: 0 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2e7d32;
  transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover {
  color: #1b5e20;
}

/* ===== Hamburger Menu ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #2e7d32;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===== Mobile Nav ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 25px;
    top: 25px;
  }

  .nav {
    position: fixed;
    top: 80px;
    right: -100%;
    background: #fff;
    width: 70%;
    height: calc(100vh - 80px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    box-shadow: -3px 0 10px rgba(0,0,0,0.1);
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    margin: 15px 0;
    font-size: 1.1rem;
  }

  .logo img {
    height: 55px;
  }
}

/* ===== Sections ===== */
.section {
  margin-top: 120px;
  text-align: center;
  padding: 60px 0;
}

.section h2 {
  color: #2e7d32;
  font-size: 2rem;
  margin-bottom: 15px;
}

.section p {
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Footer ===== */
footer {
  background: #2e7d32;
  color: #fff;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
  margin-top: 80px;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Background image container */
.hero .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Hero text content */
.hero .content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

/* ===== ENHANCED GREEN TITLE ===== */
.hero h1 {
  font-size: 6rem; /* larger title for visibility */
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f0f0f0; /* brighter color for dark backgrounds */
  text-shadow: 0 4px 15px rgba(0,0,0,0.6); /* stronger contrast */
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Button */
.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #2e7d32;
  border-color: #2e7d32;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem !important; /* still readable on mobile */
  }

  .hero p {
    font-size: 1rem !important;
  }

  .about-section {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .about-section img {
    order: -1;
  }
}

/* ===== About Page Responsive Fix ===== */
@media (max-width: 768px) {
  /* Only adjust sections on the About page layout */
  body:has(.section img[alt="Our Mission"]),
  body:has(.section img[alt="Our Vision"]),
  body:has(.section img[alt="Our Values"]) {
    .section > div {
      display: flex !important;
      flex-direction: column !important;
      align-items: center;
      text-align: center;
    }

    .section img {
      width: 100% !important;
      max-width: 90%;
      margin: 0 auto 20px auto;
      display: block;
    }

    .section h2 {
      text-align: center;
      margin-top: 10px;
      margin-bottom: 10px;
    }

    .section p {
      text-align: center;
      line-height: 1.6;
      padding: 0 10px;
    }
  }
}
/* ===== GREEN Title Style ===== */
.green-title {
  font-size: 180px;             /* 🔥 Much larger font */
  letter-spacing: 90px;         /* Wider spacing between letters */
  font-weight: 800;             /* Extra bold */
  color: #2e8b57;               /* Deep green (you can change to #00b894 for lighter tone) */
  text-transform: uppercase;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 80px;
  line-height: 1.1;
  text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25); /* subtle shadow for contrast */
  animation: fadeUp 1.2s ease;  /* keep your animation */
}

}

/* ===== Unified Hero Title Style (with glowing effect) ===== */
.product-hero h1 {
  font-size: 140px;                 /* Large, strong size */
  letter-spacing: 35px;             /* Even spacing like G R E E N */
  font-weight: 800;
  text-transform: uppercase;
  color: #e0e0e0;                   /* Soft white like homepage */
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  animation: textGlow 4s ease-in-out infinite alternate, fadeUp 1.2s ease;
  position: relative;
  z-index: 2;
  margin: 0;
  line-height: 1.1;
  text-align: center;
}

.hero-title {
  font-size: 6rem; /* adjust size as you like */
  font-weight: 800;
  letter-spacing: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  background: rgba(0, 0, 0, 0.2); /* subtle overlay */
  padding: 20px 40px;
  border-radius: 10px;
  display: inline-block;
}

img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  pointer-events: none;
}


@media (max-width: 768px) {
  .product-card {
    width: 90%;     /* full width on small screens */
    height: auto;   /* let height adjust to content */
  }
}
.products-grid {
  width: 350px; /* Increase width */
  display: flex;
  flex-wrap: wrap;            /* allows cards to wrap into rows */
  justify-content: center;    /* center them horizontally */
  gap: 30px;                  /* spacing between cards */
  margin-top: 40px;
}

.product-card {
  width: 388px; /* Increase width */
  height: 440px; /* Increase height */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes the image fill the card */
  border-radius: 12px;
}
