/* COLORS & TYPOGRAPHY */
:root {
  --green: #90A87A;
  --green2: #2F4A3A;
  --charcoal: #333333;
  --white: #FFFFFF;
  --yellow: #C69C35;
  --black: #000000;
  --font: 'Noe Display', sans-serif;
}
.about-section {
  padding: 20px 20px 60px;
  display: flex;
  justify-content: center;
}

.about-box {
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.about-box p {
  margin-bottom: 16px;
}

.about-box p:last-child {
  margin-bottom: 0;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography, headings, links */
h1, h2, h3 { font-weight: 700; margin-bottom: 10px; }
h1, h2 {
  text-align: center;}

p { margin-bottom: 15px; }
a { text-decoration: none; color: inherit; }

/* Container */
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Header & Nav */
header { background: var(--green2); padding: 25px 0; border-bottom: none; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.nav-links a { margin-left: 25px; flex-wrap: nowrap; font-weight: 600; color: var(--white); }
.btn { background: var(--green); padding: 10px 20px; border-radius: 4px; color: var(--white); font-weight: 600; transition: 0.3s; }
.btn2 { background: var(--green2); padding: 10px 20px; border-radius: 4px; color: var(--white); font-weight: 600; transition: 0.3s; }
.btn3 { background: var(--yellow); padding: 10px 20px; border-radius: 4px; color: var(--black); font-weight: 600; transition: 0.3s;}
.btn:hover { background: #43994a; }

/* Hero */
.hero { color: var(--white); text-align: center; padding: 70px 20px; position: relative; }
.hero::after { content: ''; position: absolute; inset: 0; background: none; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 48px; margin-bottom: 20px; }
.hero p { font-size: 18px; max-width: 600px; margin: 0 auto 30px auto; }
.hero .btn-group .btn { margin: 0 10px; }

/* Sections */
section { padding: 70px 0; }
section.alt { background: #f9f9f9; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.card { padding: 25px; border-radius: 6px; background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.card img { width: 100%; border-radius: 6px; margin-bottom: 15px; }

/* CTA */
.cta { text-align: center; padding: 60px 20px; background: var(--green); color: var(--white); }
.cta h2 { margin-bottom: 20px; }
.cta .btn { background: var(--yellow); color: var(--charcoal); }
.cta .btn:hover { background: #e6b800; }

/* FOOTER */
footer { background: #333333; padding: 40px; color: white; display: flex; justify-content: space-between; align-items: flex-start; }
footer img { height: 60px; margin-bottom: 10px; }
.footer-column { max-width: 33%; }
.footer-column a { color: white; text-decoration: none; }
.footer-column a:hover { text-decoration: underline; }

.copyright { text-align: center; padding: 10px; background: #333333; color: white; font-size: 14px; }


footer a { color: var(--yellow); }

/* ===== DROPDOWN MENU ===== */
.dropdown {
  position: relative;
  display: inline-flex; /* 🔑 keeps it inline */
  align-items: center;
}


.dropbtn {
  cursor: pointer;
}

/* Dropdown container */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  padding: 1px 0;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

/* Dropdown links */
.dropdown-menu a {
  margin: 0;
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Button hover */
.dropdown-menu a:hover {
  background: #C69C35;
  color: #ffffff;
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.download-btn{
  text-decoration: none;   /* removes underline */
  display: inline-block;   /* lets it behave like a button */
}

.full-width-banner {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}


.full-width-banner.hero {
  height: 125px;
  background-size: 97%;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000000;
}



@media (max-width: 700px) { .hero h1 { font-size: 32px; } }

.green-banner-full {
  width: 100%;
  background: #90A87A;
  padding: 40px 0;
  color: white;
}

.green-banner-content {
  max-width: 1100px; 
  margin: 0 auto;
  padding: 0 20px;
}


.title {
  text-align: center;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #C69C35;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 40px 0;
  position: relative;
}

.timeline-item.left {
  flex-direction: row-reverse;
}

.timeline-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 20px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
}

.timeline-item .content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 50%;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

.timeline-item.left .content {
  text-align: right;
}

.timeline-item.right .content {
  text-align: left;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .timeline::before {
    left: 0;
  }

  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-item img,
  .timeline-item .content {
    width: 100%;
    margin: 10px 0;
  }
}
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 30px;
    }

    /* product-card base — individual pages override these */
    .product-card {
      border-radius: 8px;
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .product-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .product-card .content {
      padding: 10px;
    }

    .product-card h3 {
      margin-top: 0;
      color: #2f4a3a;
      font-size: 25px;
    }

    .product-card p {
      font-size: 15px;
      color: #555;
    }

.break {
  width: 100%;
  height: 5px;          
  background-color: #90A87A; 
  margin: 0px 0;     
}

.break-2 {
  width: 100%;
  height: 5px;          
  background-color: #C69C35; 
  margin: 0px 0;     
}



/* Hero */
.news-hero {
  background-image: url('../images/news-hero.jpg');
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.news-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

/* News Section */
.news-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: bold;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.news-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.news-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.news-card .content {
  padding: 20px;
}

.news-card .date {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

.news-card h3 {
  margin: 0 0 10px 0;
  color: #90A87A;
  font-size: 20px;
}

.news-card p {
  font-size: 14px;
  margin-bottom: 15px;
}

.read-more {
  text-decoration: none;
  font-weight: bold;
  color: #90A87A;
}

.read-more:hover {
  text-decoration: underline;
}


/* HERO SLIDESHOW */
.hero-slideshow {
  position: relative;
  height: 500px;
  overflow: hidden;
 z-index: 0
}

/* Each slide (layered on top of each other) */
.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 12s infinite ease-in-out;
  z-index: 1;
}

/* Stagger the animations */
.hero-slideshow .slide:nth-child(1) {
  animation-delay: 0s;
}
.hero-slideshow .slide:nth-child(2) {
  animation-delay: 4s;
}
.hero-slideshow .slide:nth-child(3) {
  animation-delay: 8s;
}
.hero-slideshow .hero-content {
  position: relative;
  z-index: 9999;  /* ALWAYS above slides */
  pointer-events: auto;
}

    /* ARTICLE HEADER */
    .article-header {
      text-align: center;
      padding: 40px 0;
      color: #004225;
    }

    .article-header h1 {
      margin-bottom: 10px;
    }

    .article-date {
      color: #666;
      font-size: 14px;
    }

    /* FEATURE IMAGE */
    .article-img {
      width: 100%;
      height: 350px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 30px;
    }

    /* ARTICLE CONTENT */
    .article-content {
      background: white;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      line-height: 1.7;
      margin-bottom: 40px;
    }

    .article-content h2 {
      color: #004225;
      margin-top: 25px;
    }



/* Smooth fade keyframes */
@keyframes fade {
  0% { opacity: 1; }
  25% { opacity: 1; }  /* fully visible */
  33% { opacity: 0; }  /* fade out */
  92% { opacity: 0; }  /* stay hidden */
  100% { opacity: 1; } /* prep for loop */
}

.bin-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
    color: #d00;
}

.bin-btn:hover {
    transform: scale(1.2);
}


.banner-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35); /* the shadow */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* makes text stay above shadow */
}
/* overflow-x moved to main body rule */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
  .white-box {
      background: #ffffff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      margin: 40px auto;
      max-width: 800px;
      text-align: center;}

/* ===== MOBILE NAV ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green2);
    padding: 16px 20px 24px;
    z-index: 1000;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { margin-left: 0; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a:last-child { border-bottom: none; }
  .nav { position: relative; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 4px 0;
    margin: 4px 0 0 10px;
    display: none;
  }
  .dropdown-menu.mobile-open { display: block; }
  .dropdown-menu a { color: rgba(255,255,255,0.85); padding: 9px 14px; border-radius: 4px; }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .dropbtn::after { content: " ▾"; font-size: 11px; }
  .btn3 { margin-top: 8px; display: inline-block; text-align: center; }
}
