@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  /* Colors */
  --primary-green: #2e7d32;
  --dark-green: #1b5e20;
  --light-green: #e8f5e9;
  --white: #ffffff;
  --bg-gray: #f8f9fa;
  --heading-primary: var(--primary-green);
  --heading-secondary: var(--dark-green);
  --paragraph-color: #666666;
  --border-color: #e5e7eb;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --spacing-section: 100px;
  --container-width: 1320px;

  /* Border Radius */
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-img: 20px;

  /* Transitions */
  --transition: all 0.3s ease;
}

html,
body {
  max-width: 100vw;
  background-color: var(--white);
  color: var(--paragraph-color);
  font-family: var(--font-body);
  line-height: 1.6;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--heading-primary);
  line-height: 1.2;
}

h3,
h4 {
  color: var(--heading-secondary);
}

p {
  font-size: 18px;
  color: var(--paragraph-color);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--spacing-section) 0;
}

.section-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--heading-primary);
}

.sub-heading {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--primary-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid var(--primary-green);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

.btn-outline {
  background-color: var(--white);
  color: var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-ghost:hover {
  background-color: var(--white);
  color: var(--primary-green);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navLinks {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navLink {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--heading-secondary);
  position: relative;
  transition: var(--transition);
}

.navLink:hover {
  color: var(--primary-green);
}

.mobileMenuBtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-green);
  font-size: 28px;
}

.mobileMenu {
  display: none;
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  padding: 1rem 2rem;
  flex-direction: column;
  gap: 1rem;
}

.mobileMenu.active {
  display: flex;
}

@media (max-width: 992px) {
  .navLinks {
    display: none;
  }

  .mobileMenuBtn {
    display: block;
  }
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.animate-scale-up {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate-fade-up.visible,
.animate-fade-in.visible,
.animate-scale-up.visible {
  opacity: 1;
}

.animate-fade-up.visible {
  transform: translateY(0);
}

.animate-scale-up.visible {
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.hero {
  /* height comes from the shared banner rule in assets/css/common.css */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.heroBackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(rgba(27, 94, 32, 0.8), rgba(27, 94, 32, 0.9)), url('image/hero-bg.jpg') center/cover no-repeat;
}

.heroTitle {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
  line-height: 1.1;
}

.heroSubtitle {
  font-size: 24px;
  font-weight: 500;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Sections */
.sectionGray {
  background-color: var(--bg-gray);
  padding: 100px 0;
}

.sectionHeader {
  text-align: center;
  margin-bottom: 64px;
}

/* Commitment */
.twoColumn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.imageWrapper {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  height: 450px;
}

.imageWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grids */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* Highlight Cards */
.highlightCard {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.highlightCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.iconWrapper {
  width: 72px;
  height: 72px;
  background: var(--light-green);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.highlightCard h4 {
  font-size: 20px;
  margin-bottom: 16px;
}

.highlightCard p {
  font-size: 16px;
}

/* Vertical Zig-Zag Timeline */
.verticalTimeline {
  position: relative;
  max-width: 600px;
  margin: 32px auto;
  padding: 16px 0;
}

.timelineLine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timelineLineProgress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-green);
  transform: translateX(-50%);
  transform-origin: top;
  z-index: 1;
}

.verticalStep {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.verticalStep:nth-child(even) {
  flex-direction: row-reverse;
}

.stepContent {
  width: calc(50% - 24px);
  text-align: left;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
}

.timelineDot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--primary-green);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.smallIcon {
  color: var(--primary-green);
  display: flex;
  align-items: center;
}

.stepEmpty {
  width: calc(50% - 24px);
}

/* Zig Zag */
.zigzagRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.zigzagRow:nth-child(even) .zigzagImage {
  order: 2;
}

.zigzagImage {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  height: 400px;
}

.zigzagImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Certifications */
.certCard {
  background: var(--white);
  padding: 32px 16px;
  border-radius: var(--radius-card);
  text-align: center;
  border: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-green);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Stats */
.statsSection {
  background: var(--dark-green);
  color: var(--white);
  padding: 80px 0;
}

.statItem {
  text-align: center;
}

.statNumber {
  font-size: 64px;
  font-weight: 700;
  color: var(--light-green);
  font-family: var(--font-heading);
  margin-bottom: 16px;
  line-height: 1;
}

.statLabel {
  font-size: 20px;
  font-weight: 500;
}

/* CTA */
.ctaSection {
  text-align: center;
  padding: 120px 0;
  background: linear-gradient(rgba(248,249,250,0.9), rgba(248,249,250,0.9)), url('image/hero-bg.jpg') center/cover fixed;
}

.ctaButtons {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
  .twoColumn, .zigzagRow { grid-template-columns: 1fr; gap: 40px; }
  .zigzagRow:nth-child(even) .zigzagImage { order: -1; }
  .grid4, .grid6 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .heroTitle { font-size: 40px; }
}

@media (max-width: 768px) {
  .verticalStep {
    flex-direction: row !important;
    justify-content: flex-start;
    gap: 24px;
  }
  .stepContent {
    width: 100%;
    text-align: left !important;
  }
  .stepEmpty {
    display: none;
  }
  .timelineLine, .timelineLineProgress, .timelineDot {
    left: 24px;
  }
}

@media (max-width: 576px) {
  .grid4, .grid6 { grid-template-columns: 1fr; }
  .ctaButtons { flex-direction: column; }
}


/* EXACT FOOTER CSS FROM NEXT.JS */
.footer {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 80px 0 32px;
  margin-top: auto;
}

.footerGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.brandInfo {
  flex: 0 0 350px;
}

.brandInfo p {
  color: var(--light-green);
  font-size: 16px !important;
  margin-top: 24px;
  line-height: 1.8;
  margin-bottom: 0 !important;
}

.footer .logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

.column h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.column ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.column ul li {
  margin: 0;
  padding: 0;
}

.column a {
  font-size: 16px;
  color: var(--light-green);
  transition: var(--transition);
  text-decoration: none;
}

.column a:hover {
  color: var(--white);
}

.contactItem {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--light-green);
  align-items: flex-start;
}

.bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-green);
  font-size: 16px;
}

.viewAllTextLink {
  color: #000000 !important;
  font-weight: bold !important;
  font-size: 16px;
  margin-top: 8px;
  display: inline-block;
  transition: var(--transition);
}

.viewAllTextLink:hover {
  color: var(--white) !important;
}

@media (max-width: 992px) {
  .footerGrid {
    gap: 32px;
  }
  .brandInfo {
    flex: 0 0 100%;
  }
}
@media (max-width: 576px) {
  .column {
    flex: 0 0 100%;
  }
}
