/* =========================
   GLOBAL RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* =========================
     HEADER & NAVIGATION
  ========================= */
  header {
    background: #0a5c2f;
    color: #fff;
  }
  
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
  }
  
  .logo {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
  }
  
  nav a {
    margin: 0 12px;
    color: #fff;
    font-weight: 500;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  .cart-btn {
    background: #fff;
    color: #0a5c2f;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: bold;
  }
  
  .cart-btn span {
    background: #0a5c2f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 6px;
    font-size: 12px;
  }

  /* =========================
     HERO SECTION
  ========================= */
  .hero {
    background: linear-gradient(
        rgba(10, 92, 47, 0.75),
        rgba(10, 92, 47, 0.75)
      ),
      url("../images/slider1.jpg") center/cover no-repeat;
    color: #fff;
    padding: 80px 0;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  .hero p {
    margin-bottom: 25px;
    font-size: 16px;
  }
  
  .hero-buttons a {
    margin-right: 15px;
  }
  
  /* =========================
     BUTTONS
  ========================= */
  .btn-primary {
    background: #f1c40f;
    color: #000;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
  }
  
  .btn-primary:hover {
    background: #ddb10d;
  }
  
  .btn-outline {
    border: 2px solid #fff;
    padding: 10px 18px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
  }
  
  .btn-outline:hover {
    background: #fff;
    color: #0a5c2f;
  }
  
  /* =========================
     SECTIONS
  ========================= */
  .section {
    padding: 70px 0;
  }
  
  .light-bg {
    background: #fff;
  }
  
  .section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
  }
  
  .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
  }
  
  /* =========================
     INFO GRID
  ========================= */
  .info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .info-box {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .info-box h4 {
    margin-bottom: 10px;
    color: #0a5c2f;
  }
  
  /* =========================
     PRODUCTS
  ========================= */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }
  
  .product-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .product-card h4 {
    margin: 15px 0 10px;
  }
  
  .product-card p {
    font-size: 14px;
    color: #666;
  }
  
  .product-card .price {
    display: block;
    margin: 10px 0;
    font-weight: bold;
    color: #0a5c2f;
  }
  
  .product-card button {
    background: #0a5c2f;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .product-card button:hover {
    background: #084622;
  }
  
  /* =========================
     FOUNDATION SECTION
  ========================= */
  .foundation {
    background: #0a5c2f;
    color: #fff;
  }
  
  .foundation p {
    max-width: 700px;
    margin: 20px auto;
  }
  
  /* =========================
     FOOTER
  ========================= */
  footer {
    background: #033b1d;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  
  /* =========================
     UTILITY
  ========================= */
  .center {
    text-align: center;
    margin-top: 40px;
  }
  
  .text-center {
    text-align: center;
  }
  
  /* =========================
     RESPONSIVE
  ========================= */
  @media (max-width: 900px) {
    .hero-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .info-grid,
    .products-grid {
      grid-template-columns: 1fr;
    }
  
    nav a {
      margin: 0 6px;
    }
  }
  /* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  bottom: 25%;
  left: 50px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 30px;
  max-width: 500px;
  border-radius: 6px;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-content .btn {
  display: inline-block;
  background: #0b5e2a;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
}

.hero-content .btn:hover {
  background: #094a22;
}

/* SLIDER BUTTONS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.8);
}
/* FOOTER */
.footer {
  background: #222;
  color: #ddd;
  padding: 50px 40px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #0b5e2a;
  background: #fff;
  padding: 6px 10px;
  font-size: 13px;
  text-decoration: none;
  border-radius: 4px;
}

.social-icons a:hover {
  background: #0b5e2a;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 13px;
}
/* WELCOME SECTION */
.welcome-section {
  background: #fff;
  padding: 60px 40px;
}

.welcome-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.welcome-content h2 {
  font-size: 32px;
  color: #0b5e2a;
  margin-bottom: 15px;
}

.welcome-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

.welcome-content .btn {
  background: #0b5e2a;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
}

.welcome-content .btn:hover {
  background: #094a22;
}
/* DIFFERENCE SECTION */
.difference-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 60px 40px;
  background: #094a22;
}

.difference-text h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

.difference-text ul {
  list-style: none;
}

.difference-text ul li {
  font-size: 18px;
  margin-bottom: 10px;
}

.difference-slider {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.diff-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.diff-slide.active {
  opacity: 1;
}

  /* STICKY HEADER */

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0b5e2a;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
  }
  
  .logo {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
  }
  
  nav a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
    font-weight: 500;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  .footer {
    background: #222;
    color: #ddd;
    padding: 50px 40px 20px;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .footer-column h3 {
    color: #fff;
    margin-bottom: 15px;
  }
  
  .footer-column ul {
    list-style: none;
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
  
  .footer-column ul li a {
    color: #ddd;
    text-decoration: none;
  }
  
  .footer-column ul li a:hover {
    text-decoration: underline;
  }
  
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    background: #fff;
    color: #0b5e2a;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
  }
  
  .social-icons a:hover {
    background: #0b5e2a;
    color: #fff;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 15px;
    font-size: 13px;
  }
  .about-hero {
    background: #e8f5e9;
    padding: 60px 40px;
    text-align: center;
  }
  
  .about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 60px 40px;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 6px;
  }
  
  .mvvs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 60px 40px;
    background: #f1f7f3;
  }
  
  .team-section {
    padding: 60px 40px;
    text-align: center;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .team-member img {
    width: 100%;
    border-radius: 6px;
  }
  
  .testimonials {
    background: #fff;
    padding: 60px 40px;
    text-align: center;
  }
/* PAGE HERO */
.page-hero {
  background: #e8f5e9;
  padding: 60px 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  color: #0b5e2a;
}

.page-hero p {
  font-size: 18px;
  margin-top: 10px;
}

/* PRODUCTS */
.products-section {
  padding: 60px 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  font-size: 15px;
  margin-bottom: 10px;
}

.price {
  display: block;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0b5e2a;
}

.product-card .btn {
  background: #0b5e2a;
  color: #fff;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
}

.product-card .btn:hover {
  background: #094a22;
}
.cart-section {
  padding: 60px 40px;
  max-width: 800px;
  margin: auto;
}

.cart-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}
.checkout-page {
  padding: 80px 10%;
  background: #f8f8f8;
}

.checkout-page h1 {
  text-align: center;
  margin-bottom: 40px;
}

.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.cart-item {
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
}

.cart-item h4 {
  margin-bottom: 5px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-controls button {
  padding: 6px 10px;
  border: none;
  background: #0b6623;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.cart-controls button.remove {
  background: #c0392b;
}

.order-summary {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
}

.total-price {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 0;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: #0b6623;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
}
.foundation-gallery {
  padding: 80px 10%;
  background: #f5f5f5;
}

.foundation-gallery h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 32px;
}

.gallery-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* ============================
   FOUNDATION PAGE STYLES
============================ */

/* HERO */
.foundation-hero {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("../images/charity6.jpg") center/cover no-repeat;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.foundation-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.foundation-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* FOUNDATION PAGE SECTIONS BAKEGROUND */
.foundation-intro,
.foundation-focus,
.foundation-gallery,
.foundation-cta {
  padding: 80px 10%;
}

.foundation-intro {
  background: #ffffff;
}

.foundation-focus {
  background: #e8f5e9;
}

.foundation-gallery {
  background: #ffffff;
}

.foundation-cta {
  background: #0b6623;
  color: #ffffff;
  text-align: center;
}

/* FOUNDATION PAGE HEADINGS */
.foundation-intro h2,
.foundation-focus h2,
.foundation-gallery h2,
.foundation-cta h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 30px;
}

/* FOUNDATION PAGE TEXT */
.foundation-intro p {
  max-width: 750px;
  margin: 0 auto 15px;
  line-height: 1.8;
  color: #444;
  text-align: center;
}

/* FOUNDATION PAGE FOCUS GRID */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.focus-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card h3 {
  margin-bottom: 10px;
  color: #0b6623;
}

.focus-card p {
  color: #444;
  font-size: 15px;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* FOUNDATION PAGE GALLERY */
.gallery-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.gallery-row img {
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-row img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* FOUNDATION PAGE CTA */
.foundation-cta p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 17px;
}

.foundation-cta .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  color: #0b6623;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.foundation-cta .btn-primary:hover {
  background: #eaeaea;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .foundation-hero h1 {
    font-size: 32px;
  }

  .foundation-hero p {
    font-size: 16px;
  }

  .foundation-intro,
  .foundation-focus,
  .foundation-gallery,
  .foundation-cta {
    padding: 60px 6%;
  }
}
/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("../images/contactus.jpg") center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.contact-section {
  padding: 80px 10%;
  background: #f7f7f7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 15px;
  color: #0b6623;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #555;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.contact-info ul li {
  margin-bottom: 10px;
  color: #444;
}

.contact-form {
  background: #ffffff;
  padding: 35px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0b6623;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   map section
========================= */
.map-section {
  margin-top: 50px;
}
/* =====================================
   SAFE RESPONSIVE FIXES (NON-BREAKING)
   Added without touching working code
===================================== */

/* ---------- GLOBAL IMAGE SAFETY ---------- */
img {
  height: auto;
}

/* ---------- PREVENT HORIZONTAL OVERFLOW ---------- */
body {
  overflow-x: hidden;
}

/* ---------- HEADER MOBILE IMPROVEMENT ---------- */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 8px 10px;
  }
}

/* ---------- HERO CONTENT MOBILE ALIGNMENT ---------- */
@media (max-width: 768px) {
  .hero-content {
    position: static;
    max-width: 100%;
    margin: 20px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* ---------- DIFFERENCE SECTION MOBILE FIX ---------- */
@media (max-width: 768px) {
  .difference-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .difference-slider {
    height: 250px;
  }
}

/* ---------- PRODUCTS GRID MOBILE SAFETY ---------- */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ---------- CART PAGE MOBILE FIX ---------- */
@media (max-width: 768px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cart-controls {
    flex-wrap: wrap;
  }
}

/* ---------- FOUNDATION GALLERY MOBILE ---------- */
@media (max-width: 768px) {
  .gallery-row {
    gap: 12px;
  }

  .gallery-row img {
    width: 220px;
    height: 170px;
  }
}

/* ---------- ABOUT PAGE GRID FIX ---------- */
@media (max-width: 768px) {
  .about-main {
    grid-template-columns: 1fr;
  }
}

/* ---------- TEAM GRID SAFETY ---------- */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CONTACT FORM MOBILE ---------- */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 6%;
  }
}

/* ---------- FOOTER MOBILE ALIGNMENT ---------- */
@media (max-width: 600px) {
  .footer-container {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
/* =========================
   HAMBURGER MENU
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 2px;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #0b5e2a;
    width: 100%;
    padding: 15px 0;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
/* =========================
   IMAGE LIGHTBOX FIXED
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}
/* =====================================
   HERO SLIDER TEXT CENTER FIX (SAFE)
   Does NOT touch existing styles
===================================== */

.hero-slider .slide {
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  text-align: center;
}

.hero-slider .hero-content {
  position: relative;        /* override absolute */
  left: auto;
  bottom: auto;
  max-width: 700px;
  background: rgba(0, 0, 0, 0.55);
}

/* MOBILE SAFETY */
@media (max-width: 768px) {
  .hero-slider .hero-content {
    margin: 0 20px;
  }
}
