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

/* ================= BASE ================= */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f8f5;
  color: #2c2c2c;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #2e7d32;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  margin-right: 14px;
}

.brand-text h1 {
  color: #fff;
  font-size: 22px;
}

.brand-text span {
  font-size: 14px;
  color: #dcedc8;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

.nav a.active {
  border-bottom: 2px solid #c5e1a5;
  padding-bottom: 4px;
}

/* ================= HERO ================= */
.hero {
  height: 65vh;
  background: url("../images/hero.jpg") center / cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.hero-overlay h2 {
  font-size: 42px;
  margin-bottom: 14px;
}

.hero-overlay p {
  max-width: 800px;
  font-size: 18px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 90px 0;
}

.section.light {
  background: #ffffff;
}

.section.soft {
  background: #eef5ef;
}

.section.white {
  background: #ffffff;
}

.content {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #1b5e20;
}

/* ================= SPLIT LAYOUT (NEW) ================= */
.flex {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.text {
  flex: 1;
}

.image-box {
  flex: 1;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.card strong {
  display: block;
  margin-bottom: 8px;
}

/* ================= PRODUCTS ================= */
.product-grid {
  display: grid;
  gap: 50px;
  margin-top: 40px;
}

.product-block {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product-block h3 {
  font-size: 26px;
  color: #2e7d32;
}

.category-desc {
  color: #555;
  margin-bottom: 24px;
  max-width: 760px;
}

.product-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

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

.product-card h4 {
  font-size: 17px;
  margin: 14px;
}

.product-card p {
  margin: 0 14px 18px;
  font-size: 14px;
  color: #555;
}

/* ================= DIRECTORS (NEW) ================= */
.directors-section {
  background: #ffffff;
  padding: 90px 0;
}

.section-intro {
  max-width: 900px;
  color: #555;
}

.directors-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.director-row {
  display: flex;
  gap: 24px;
  background: #f8fbf7;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.director-row img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef5ef;
}

.director-row h3 {
  font-size: 20px;
  color: #1b5e20;
}

.director-row .designation {
  font-size: 14px;
  color: #2e7d32;
  margin: 6px 0 10px;
}

.director-row p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

/* ================= TABLE ================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.info-table td {
  border: 1px solid #ddd;
  padding: 14px;
}

/* ================= FOOTER ================= */
footer {
  background: #1b5e20;
  color: white;
  text-align: center;
  padding: 18px;
  margin-top: 60px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 10px;
  }

  .hero-overlay h2 {
    font-size: 28px;
  }

  .flex {
    flex-direction: column;
  }

  .director-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* Hamburger icon */
.menu-icon {
  font-size: 28px;
  cursor: pointer;
  color: white;
  display: none;
}

/* Mobile side menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #2f7d32;
  padding-top: 100px;
  transition: 0.3s ease;
  z-index: 1000;
}

.mobile-menu a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Mobile view */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .menu-icon {
    display: block;
    margin-right: 15px;
    
    
/* Hide mobile menu by default (desktop) */
.mobile-menu {
  display: none;
}

/* Hide hamburger on desktop */
.menu-icon {
  display: none;
}

/* Mobile view only */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .menu-icon {
    display: block;
    color: white;
    font-size: 28px;
    cursor: pointer;
    margin-right: 15px;
  }

  .mobile-menu {
    display: block;
  }
}

  }
}
