/* ============================================
   PhuLam Agriculture - Main Stylesheet
   Design System based on Figma Design
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&family=Hubot+Sans:ital,wdth,wght@0,75..125,100..900;1,75..125,100..900&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --color-bg: #F9F7F1;
  --color-text: #0A0B0A;
  --color-green-dark: #4D6F3D;
  --color-green-mid: #507D3C;
  --color-green-bright: #65994E;
  --color-green-forest: #35482C;
  --color-light: #F0F0F0;
  --color-white: #FFFFFF;
  --color-cream: #F0EBDC;
  --color-cream-light: #FDF5EF;
  --color-sage: #E1ECDB;
  --color-sage-muted: #C7DBBB;
  --color-green-tint: #F2F6EF;
  --color-hero-fallback: #531A1A;
  --color-timeline-dot: #D9D9D9;
  --color-near-black: #0C0000;
  --color-btn-hover: #BF5B35;

  /* Typography */
  --font-brand: 'Hubot Sans', sans-serif;
  --font-decorative: 'Corinthia', cursive;

  /* Spacing */
  --gutter: 40px;
  --section-py: 80px;
  --navbar-height: 74px;
}

/* ============================================
   Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-brand);
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-stretch: condensed;
}

p {
  font-weight: 400;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Typography Scale
   ============================================ */
.font-display {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.41;
}

.font-heading-1 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.41;
}

.font-heading-2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.41;
}

.font-heading-3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.41;
}

.font-heading-4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.41;
}

.font-hero-title {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.font-paragraph {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.6;
}

.font-decorative {
  font-family: var(--font-decorative);
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 400;
  line-height: 1.2;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-main {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1360px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 90px;
  padding: 0 32px;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.navbar-main .navbar-logo img {
  height: 44px;
  width: auto;
}

.navbar-main .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-main .nav-links a {
  color: var(--color-green-mid);
  font-size: 16px;
  font-weight: 400;
  padding: 8px 12px;
  transition: color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}

.navbar-main .nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1.5px;
  background: var(--color-green-dark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navbar-main .nav-links a:hover::after,
.navbar-main .nav-links a.active::after {
  transform: scaleX(1);
}

.navbar-main .nav-links a:hover,
.navbar-main .nav-links a.active {
  color: var(--color-green-dark);
}

.btn-contact-nav {
  background: var(--color-green-dark);
  color: var(--color-light) !important;
  border-radius: 40px;
  padding: 8px 24px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.btn-contact-nav:hover {
  background: var(--color-btn-hover) !important;
  transform: translateY(-1px);
}

/* Mobile Hamburger */
.navbar-toggler-custom {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggler-custom span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-green-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--color-green-dark);
  font-size: 24px;
  font-weight: 700;
  padding: 8px 32px;
}

.mobile-nav .btn-close-nav {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--color-green-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-green {
  background: var(--color-green-dark);
  color: var(--color-light);
  border: none;
  border-radius: 40px;
  padding: 8px 24px;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary-green:hover {
  background: var(--color-btn-hover);
  color: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(191,91,53,0.3);
}

.btn-secondary-outline {
  background: rgba(250,250,250,0.9);
  color: var(--color-green-dark);
  border: 1px solid var(--color-green-dark);
  border-radius: 40px;
  padding: 8px 24px;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-secondary-outline:hover {
  background: var(--color-btn-hover);
  border-color: var(--color-btn-hover);
  color: var(--color-light);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--color-bg);
  border: 1px solid rgba(249,247,241,0.7);
  border-radius: 40px;
  padding: 8px 24px;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-ghost-light:hover {
  background: var(--color-btn-hover);
  border-color: var(--color-btn-hover);
  color: var(--color-light);
  transform: translateY(-2px);
}

/* Arrow icon in buttons */
.btn-arrow {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 885px;
  overflow: hidden;
  background: var(--color-hero-fallback);
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(52deg, rgba(0,0,0,0.45) 15%, rgba(0,0,0,0) 55%);
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 8vh, 100px);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}

/* Homepage Hero specific */
.hero-homepage .hero-overlay {
  background: linear-gradient(132deg, rgba(80,125,60,0.9) 29%, rgba(39,68,26,0) 81%);
}

.hero-homepage .hero-content {
  justify-content: center;
  padding-top: 120px;
}

.hero-homepage .hero-headline {
  max-width: 600px;
}

.hero-homepage .hero-title-sm {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: 0;
  line-height: 1.2;
}

.hero-homepage .hero-title-decorative {
  font-family: var(--font-decorative);
  font-size: clamp(60px, 9vw, 116px);
  color: var(--color-white);
  margin-bottom: 0;
  line-height: 1.1;
}

.hero-homepage .hero-subtitle {
  font-size: clamp(16px, 2vw, 28px);
  color: var(--color-light);
  margin-top: 24px;
  max-width: 540px;
  line-height: 1.4;
}

.hero-homepage .hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Page hero (non-homepage) */
.hero-page .hero-content {
  justify-content: flex-end;
}

.hero-page .hero-page-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.0;
}

/* ============================================
   SECTION CONTAINERS
   ============================================ */
.section-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-py {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-subtext {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--color-text);
  max-width: 680px;
  line-height: 1.6;
}

/* ============================================
   HOMEPAGE - TRUSTED WORLDWIDE
   ============================================ */
.trusted-section {
  background: var(--color-bg);
  text-align: center;
  padding: var(--section-py) var(--gutter);
}

.trusted-section .world-map-wrap {
  margin-top: 48px;
  width: 100%;
}

.trusted-section .world-map-svg {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

/* Market label pills overlaid on the map (absolute positioned via SVG foreignObject or positioned inside a relative container) */
.world-map-container {
  position: relative;
  max-width: 1200px;
  margin: 40px auto 0;
}

.world-map-container .map-label {
  position: absolute;
  background: var(--color-green-forest);
  color: var(--color-white);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  pointer-events: none;
  white-space: nowrap;
  /* Triangle pointer at the bottom */
  filter: drop-shadow(0 2px 6px rgba(53,72,44,0.3));
}

.world-map-container .map-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--color-green-forest);
}

.world-map-container .map-label span {
  display: block;
  font-weight: 400;
  font-size: 10px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============================================
   FIGMA IMAGE SECTIONS
   Full-section images extracted directly from Figma — displayed pixel-perfect and responsive
   ============================================ */
.figma-image-section {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0; /* remove inline-block gap */
}

.figma-section-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Trusted Worldwide — sage green bg spans full width, image centered */
.trusted-worldwide-section {
  background: var(--color-sage);
  padding: var(--section-py) var(--gutter);
}

.trusted-worldwide-section .figma-section-img {
  max-width: 1100px;
  margin: 0 auto;
}

/* Assured Quality — same sage bg spans full width, image centered */
.assured-quality-section {
  background: var(--color-sage);
  padding: var(--section-py) var(--gutter);
}

.assured-quality-section .figma-section-img {
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================
   HOMEPAGE - OUR MILESTONES  (horizontal flowing timeline)
   ============================================ */
.milestones-section {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
  min-height: 540px;
}

.milestones-section .milestones-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.milestones-section .milestones-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(80,125,60,0.78) 0%, rgba(53,72,44,0.55) 60%, rgba(255,255,255,0.05) 100%);
}

.milestones-section .milestones-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.milestones-section .milestones-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Horizontal flowing timeline */
.timeline {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0;
  min-height: 320px;
  overflow-x: auto;
  scrollbar-width: none;
}

.timeline::-webkit-scrollbar { display: none; }

/* The central horizontal line */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255,255,255,0.5);
  pointer-events: none;
}

.timeline-card {
  position: relative;
  flex: 1 0 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 0 4px;
}

/* Dot on the central line */
.timeline-card::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
  z-index: 3;
}

/* Vertical connector from card to dot */
.timeline-card:nth-child(odd)::before {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(50% - 12px);
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.5);
  pointer-events: none;
}
.timeline-card:nth-child(even)::before {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(50% + 12px);
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.5);
  pointer-events: none;
}

/* Odd cards (1,3,5,7): above the line */
.timeline-card:nth-child(odd) .timeline-card-inner {
  position: absolute;
  bottom: calc(50% + 48px);
  left: 50%;
  transform: translateX(-50%);
  width: 152px;
}

/* Even cards (2,4,6,8): below the line */
.timeline-card:nth-child(even) .timeline-card-inner {
  position: absolute;
  top: calc(50% + 48px);
  left: 50%;
  transform: translateX(-50%);
  width: 152px;
}

.timeline-card-inner {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 14px 14px;
  text-align: left;
}

.timeline-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

/* ============================================
   HOMEPAGE - WHY CHOOSE
   ============================================ */
.why-choose-section {
  padding: 0 var(--gutter);
  margin: var(--section-py) auto;
  max-width: 1360px;
}

.why-choose-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  padding: 60px;
  background: var(--color-green-dark);
  min-height: 560px;
}

.why-choose-card .why-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.why-choose-card .why-overlay {
  position: absolute;
  inset: 0;
  /* Uniform dark-green overlay — photo panel is a separate image on top */
  background: rgba(53,72,44,0.82);
}

.why-choose-card .why-content {
  position: relative;
  z-index: 2;
}

.why-choose-card .why-heading {
  text-align: center;
  color: var(--color-bg);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  margin-bottom: 48px;
}

/* Two-column layout: photo panel left (~40%), 2x2 features grid right (~60%) */
.why-choose-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}

/* Left: photo panel (Figma-extracted worker image, rounded corners) */
.why-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-photo-img {
  width: 100%;
  max-width: 484px;
  height: auto;
  border-radius: 24px;
  display: block;
  object-fit: cover;
}

/* Feature icons (custom Figma SVG, white on transparent) */
.why-icon {
  flex-shrink: 0;
  object-fit: contain;
}

/* Right: 2x2 feature grid */
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-bg);
  margin-bottom: 6px;
}

.why-feature-desc {
  font-size: 15px;
  color: var(--color-bg);
  opacity: 0.88;
  line-height: 1.6;
  margin: 0;
}

.why-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   HOMEPAGE - OUR PRODUCTS
   ============================================ */
.products-section {
  padding: var(--section-py) var(--gutter);
  max-width: 1360px;
  margin: 0 auto;
}

.product-cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  background: var(--color-green-mid);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card .product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card .product-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(197deg, rgba(80,125,60,0) 17%, rgba(80,125,60,1) 81%);
}

.product-card .product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 24px;
}

.product-card .product-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.product-card .product-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ============================================
   HOMEPAGE - SUSTAINABILITY + INNOVATION CARDS
   ============================================ */
.two-col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto var(--section-py);
  padding: 0 var(--gutter);
}

.info-card {
  background: var(--color-cream);
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-card .card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
}

.info-card .card-heading {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  color: var(--color-green-mid);
  margin: 0;
  line-height: 1.25;
  flex: 1;
}

.info-card .card-body {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 24px;
  width: 100%;
}

.info-card .card-icon {
  flex-shrink: 0;
  opacity: 0.5;
  width: 64px;
  height: 64px;
}

.info-card .card-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* ============================================
   HOMEPAGE - FOUNDER'S MESSAGE
   ============================================ */
.founders-section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.founders-section .glow-bg {
  position: absolute;
  width: 544px;
  height: 544px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164,195,147,1) 0%, rgba(164,195,147,0.5) 100%);
  filter: blur(200px);
  opacity: 0.45;
  top: 60px;
  left: -80px;
  pointer-events: none;
}

.founders-content {
  position: relative;
  z-index: 2;
}

/* Full-width heading above the two columns */
.founders-section .section-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Two column layout for photo + message */
.founders-columns {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.founder-photo-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.founder-photo-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
}

.founder-name-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--color-green-dark);
  border-radius: 8px;
  padding: 12px 20px;
  box-shadow: 0 2px 12px rgba(53,72,44,0.3);
}

.founder-name-badge .badge-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green-tint);
  margin-bottom: 2px;
}

.founder-name-badge .badge-title {
  font-size: 14px;
  color: var(--color-green-tint);
  opacity: 0.85;
}

.founder-message-text {
  position: relative;
}

.founder-quote-mark {
  font-size: 80px;
  color: var(--color-green-dark);
  font-family: var(--font-brand);
  line-height: 0.5;
  margin-bottom: 16px;
  display: block;
}

.founder-message-text .section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-green-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.founder-message-text h2 {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}

.founder-message-body {
  font-size: 15px;
  color: var(--color-text);
  line-height: 2;
  column-count: 1;
}

/* ============================================
   HOMEPAGE - ASSURED QUALITY
   ============================================ */
.quality-section {
  text-align: center;
  padding: var(--section-py) var(--gutter);
  max-width: 1360px;
  margin: 0 auto;
}

/* legacy cert-badge flex list (kept for other uses) */
.cert-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cert-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.cert-badge:hover {
  transform: scale(1.05);
}

.cert-badge img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}

.cert-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-green-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-main {
  position: relative;
  padding: 60px 0 0;
  overflow: hidden;
  min-height: 480px;
}

.footer-main .footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* Align stripes to the bottom so the field pattern shows at the footer base */
  background-position: bottom center;
  opacity: 0.35;
}

.footer-main .footer-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--color-text);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 15px;
  color: var(--color-text);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--color-green-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-green-mid);
  margin-top: 2px;
}

.footer-divider {
  position: relative;
  z-index: 2;
  border: none;
  border-top: 1px solid rgba(10,11,10,0.2);
  margin: 0;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 40px var(--gutter);
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-tagline {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text);
  opacity: 0.7;
  margin: 0;
}

/* ============================================
   ABOUT US PAGE
   ============================================ */
.intro-block {
  padding: 80px var(--gutter);
  max-width: 1360px;
  margin: 0 auto;
  text-align: center;
}

.intro-block .intro-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}

.intro-block .intro-text {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--color-text);
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.7;
}

.founder-story-section {
  max-width: 1360px;
  margin: 0 auto var(--section-py);
  padding: 0 var(--gutter);
}

.founder-story-card {
  background: #F2ECDC;
  border-radius: 40px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.founder-story-card .story-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164,195,147,0.8) 0%, rgba(164,195,147,0.3) 100%);
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.founder-story-card .story-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.founder-story-card .story-photo-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  display: block;
}

.founder-story-card .story-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--color-green-dark);
  border-radius: 8px;
  padding: 12px 20px;
  box-shadow: 0 2px 12px rgba(53,72,44,0.3);
}

.founder-story-card .story-badge .name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green-tint);
}

.founder-story-card .story-badge .title {
  font-size: 13px;
  color: var(--color-green-tint);
  opacity: 0.85;
}

.founder-story-card .story-text {
  position: relative;
  z-index: 2;
}


.founder-story-card .story-body {
  font-size: 15px;
  color: var(--color-text);
  line-height: 2;
}

.mission-vision-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-py);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.mv-card .mv-image {
  width: 100%;
  height: 307px;
  object-fit: cover;
  display: block;
}

.mv-card .mv-content {
  padding: 32px;
  background: var(--color-white);
}

.mv-card .mv-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.mv-card .mv-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-green-mid);
  margin-bottom: 16px;
}

.mv-card .mv-text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
}

.core-values-section {
  background: var(--color-bg);
  padding: var(--section-py) var(--gutter);
}

.core-values-section .section-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.core-values-section .section-decorative {
  font-family: var(--font-decorative);
  font-size: clamp(48px, 6vw, 90px);
  color: var(--color-green-mid);
  margin-bottom: 8px;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.value-card {
  background: var(--color-sage);
  border-radius: 16px;
  padding: 28px;
}

.value-card .value-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--color-green-dark);
}

.value-card .value-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.value-card .value-text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

.why-choose-about-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: var(--section-py) var(--gutter);
}

.why-choose-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.why-choose-image {
  border-radius: 16px;
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.why-features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-feature-row .feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-green-dark);
  margin-top: 4px;
}

.why-feature-row .feature-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.why-feature-row .feature-text p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

.closing-quote-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px var(--gutter);
  margin: 0 auto var(--section-py);
}

.closing-quote-text {
  font-family: var(--font-brand);
  font-stretch: condensed;
  font-size: 24px;
  font-weight: 700;
  color: #507D3C;
  line-height: 1.41;
  max-width: 860px;
  margin: 0;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.core-product-section {
  max-width: 1360px;
  margin: var(--section-py) auto;
  padding: 0 var(--gutter);
}

.core-product-card {
  background: var(--color-sage);
  border-radius: 16px;
  overflow: hidden;
}

.core-product-card .core-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  position: relative;
}

.core-product-card .core-hero-img-wrap {
  position: relative;
}

.core-product-card .core-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #3E5833;
  color: var(--color-light);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}

.core-product-card .core-content {
  padding: 32px 32px 48px;
}

.core-product-card .core-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.core-product-card .core-desc {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 20px;
  max-width: 700px;
}

.core-product-card .core-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.core-product-card .core-bullets li {
  background: var(--color-green-dark);
  color: var(--color-light);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 400;
}

.fresh-produce-heading {
  text-align: center;
  padding: 0 var(--gutter) 48px;
}

.products-grid-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-py);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.product-grid-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.product-grid-card .pg-img-wrap {
  position: relative;
  overflow: hidden;
}

.product-grid-card .pg-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  background: #401F1F;
  transition: transform 0.4s ease;
}

.product-grid-card:hover .pg-img {
  transform: scale(1.05);
}

.product-grid-card .pg-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
}

.pg-badge.seasonal {
  background: var(--color-light);
  color: #9B6F44;
}

.pg-badge.year-round {
  background: #FAE8DA;
  color: #CE4A27;
}

.product-grid-card .pg-content {
  padding: 20px;
}

.product-grid-card .pg-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.product-grid-card .pg-desc {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.82;
  line-height: 1.5;
  margin: 0 0 12px;
}

.product-grid-card .pg-bullets {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.product-grid-card .pg-bullets li {
  font-size: 13px;
  color: var(--color-text);
  opacity: 0.78;
  line-height: 1.7;
}

/* Giant Pomelo standalone card */
.pomelo-standalone {
  max-width: 380px;
  margin: 24px auto 0;
}

.processed-section {
  background: var(--color-bg);
  padding: var(--section-py) var(--gutter);
}

.processed-section .section-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.processed-section .processed-banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  margin: 32px 0;
  display: block;
}

.processed-intro {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-text);
  max-width: 860px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* 3+2 layout matching Figma: row 1 = 3 equal cards, row 2 = 2 centered cards */
.processed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* Row 1: cards 1-3 each span 2 of 6 columns */
.processed-grid .processed-card:nth-child(1) { grid-column: 1 / 3; }
.processed-grid .processed-card:nth-child(2) { grid-column: 3 / 5; }
.processed-grid .processed-card:nth-child(3) { grid-column: 5 / 7; }

/* Row 2: cards 4-5 centered */
.processed-grid .processed-card:nth-child(4) { grid-column: 2 / 4; margin-top: 8px; }
.processed-grid .processed-card:nth-child(5) { grid-column: 4 / 6; margin-top: 8px; }

.processed-card {
  border: 2px solid var(--color-text);
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.2s ease;
}

.processed-card:hover {
  background: var(--color-sage);
  border-color: var(--color-green-dark);
}

.processed-card .pc-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-green-dark);
}

.processed-card .pc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.processed-card .pc-desc {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.75;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   SUSTAINABILITY PAGE
   ============================================ */
.caring-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: var(--section-py) var(--gutter);
}

.caring-nature-inner {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 40px;
  align-items: start;
}

.caring-nature-inner img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.nature-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nature-card {
  background: var(--color-green-dark);
  border-radius: 16px;
  padding: 24px;
  color: var(--color-light);
}

.nature-card .nature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nature-card .nature-card-title svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nature-card .nature-card-text {
  font-size: 15px;
  color: rgba(240,240,240,0.9);
  line-height: 1.6;
  margin: 0;
}

.caring-communities-section {
  padding: var(--section-py) 0 0;
  background: var(--color-bg);
}

/* Legacy rule kept for backward compat — no longer used */
.caring-communities-section .communities-bg {
  display: none;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.communities-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.community-card {
  background: var(--color-bg);
  border: 1.5px solid #000;
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s ease;
}

.community-card:hover {
  transform: translateY(-4px);
}

.community-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 12px;
}

.community-card p {
  font-size: 15px;
  color: var(--color-green-dark);
  line-height: 1.6;
  margin: 0;
}

.caring-future-section {
  background: #E1ECDB;
  padding: var(--section-py) 0 0;
}

.caring-future-section .future-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 3-col masonry: cols 1 & 2 have 2 short cards each; col 3 spans both rows (tall) */
.future-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 32px;
}

.future-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.future-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.future-card:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
.future-card:nth-child(4) { grid-column: 1; grid-row: 2; }
.future-card:nth-child(5) { grid-column: 2; grid-row: 2; }

.future-card {
  background: #4D6F3D;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.future-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #F2F6EF;
  margin-bottom: 10px;
}

.future-card p {
  font-size: 15px;
  color: rgba(242,246,239,0.9);
  line-height: 1.6;
  margin: 0;
}

/* ── Section Photo Carousel ──────────────────────────────── */
.section-photo-carousel {
  position: relative;
  margin-top: 48px;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  line-height: 0;
  max-height: 560px;
}

.section-photo-carousel .carousel-track {
  width: 100%;
  overflow: hidden;
  max-height: 560px;
}

.section-photo-carousel .carousel-photo {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

/* Floating prev/next arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.carousel-btn:hover { background: rgba(255,255,255,1); }
.carousel-btn svg { width: 20px; height: 20px; color: #333; }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Dot indicators at the bottom */
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: rgba(255,255,255,1);
  width: 24px;
  border-radius: 4px;
}

/* Communities section inner wrapper */
.communities-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.commitment-block {
  background: var(--color-sage-muted);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  max-width: 1360px;
  margin: 0 auto var(--section-py);
}

.commitment-block .commit-decorative {
  font-family: var(--font-decorative);
  font-size: clamp(48px, 6vw, 90px);
  color: var(--color-green-dark);
  margin-bottom: 16px;
}

.commitment-block .commit-body {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-text);
  max-width: 860px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.commitment-block .commit-tagline {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  font-style: italic;
  color: var(--color-green-dark);
}

/* ============================================
   R&D PAGE
   ============================================ */
.rd-feature-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: var(--section-py) var(--gutter);
}

.rd-feature-inner {
  display: grid;
  gap: 60px;
  align-items: center;
}

.rd-feature-inner.img-left {
  grid-template-columns: 1fr 0.8fr;
}

.rd-feature-inner.img-right {
  grid-template-columns: 0.8fr 1fr;
}

.rd-feature-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: #000;
}

.rd-feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rd-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.rd-feature-item .rd-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-green-dark);
  margin-top: 2px;
}

.rd-feature-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.rd-feature-item p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

.green-tech-section {
  background: var(--color-sage);
  padding: var(--section-py) var(--gutter);
}

.green-tech-section .section-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.green-tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.green-tech-card {
  background: var(--color-green-tint);
  border-radius: 16px;
  padding: 28px;
}

.green-tech-card .gt-icon {
  width: 32px;
  height: 32px;
  color: var(--color-green-dark);
  margin-bottom: 16px;
}

.green-tech-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.green-tech-card p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

.empowering-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: var(--section-py) var(--gutter);
}

.empowering-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.empowering-card {
  background: var(--color-green-dark);
  border-radius: 16px;
  padding: 28px;
}

.empowering-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-green-tint);
  margin-bottom: 10px;
}

.empowering-card p {
  font-size: 15px;
  color: rgba(250,250,250,0.9);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   CONTACT US PAGE
   ============================================ */

/* Content wrapper */
.contact-content-section {
  background: var(--color-bg);
  padding: var(--section-py) var(--gutter);
}

.contact-content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

/* Info column */
.contact-info-box {
  background: var(--color-bg);
  padding: 48px;
  border-radius: 15px;
}

.contact-info-heading {
  font-family: var(--font-brand);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--color-green-mid);
  margin-bottom: 20px;
}

.contact-info-intro {
  font-size: 17px;
  color: var(--color-green-mid);
  line-height: 1.8;
  margin-bottom: 0;
}

.contact-detail-label {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-green-mid);
  margin-top: 32px;
  margin-bottom: 8px;
}

.contact-detail-value {
  font-size: 17px;
  color: var(--color-green-mid);
  line-height: 1.8;
  margin: 0;
}

.contact-detail-value a {
  color: inherit;
  text-decoration: none;
}

.contact-detail-value a:hover {
  text-decoration: underline;
}

/* Form column */
.contact-form-box {
  background: var(--color-white);
  padding: 48px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.contact-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-green-mid);
  margin-bottom: 8px;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(10,11,10,0.2);
  border-radius: 8px;
  font-family: var(--font-brand);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-control-custom:focus {
  border-color: var(--color-green-dark);
  background: var(--color-white);
}

textarea.form-control-custom {
  min-height: 140px;
  resize: vertical;
}

select.form-control-custom {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234D6F3D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   WORLD MAP SECTION (simplified)
   ============================================ */
.world-map-visual {
  background: var(--color-sage);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin: 0 var(--gutter) var(--section-py);
  max-width: calc(1360px);
  margin-left: auto;
  margin-right: auto;
}

.world-map-visual .map-img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* ============================================
   PAGE INTRO (non-home pages)
   ============================================ */
.page-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 72px var(--gutter) 48px;
}

.page-intro .intro-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-green-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.page-intro .intro-heading {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.page-intro .intro-body {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-text);
  line-height: 1.7;
  opacity: 0.85;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-green { color: var(--color-green-mid); }
.text-green-dark { color: var(--color-green-dark); }
.bg-sage { background: var(--color-sage); }
.bg-cream { background: var(--color-cream); }
.bg-green-dark { background: var(--color-green-dark); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ============================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --gutter: 24px;
    --section-py: 60px;
  }

  .navbar-main {
    width: calc(100% - 48px);
  }

  .product-cards-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-col-cards {
    grid-template-columns: 1fr;
  }

  .founders-columns {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-about-inner {
    grid-template-columns: 1fr;
  }

  .why-choose-image {
    height: 360px;
  }

  .caring-nature-inner {
    grid-template-columns: 1fr;
  }

  .caring-nature-inner img {
    height: 360px;
  }

  .communities-cards {
    grid-template-columns: 1fr;
  }

  /* Tablet: collapse future masonry to 2-col, reset grid placements */
  .future-cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: unset;
  }

  .future-card:nth-child(1),
  .future-card:nth-child(2),
  .future-card:nth-child(3),
  .future-card:nth-child(4),
  .future-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .green-tech-cards,
  .empowering-cards {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rd-feature-inner.img-left,
  .rd-feature-inner.img-right {
    grid-template-columns: 1fr;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .founder-story-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Timeline: stack vertically on mobile */
  .timeline {
    flex-direction: column;
    min-height: unset;
    overflow-x: visible;
    gap: 16px;
    padding: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-card {
    min-height: unset;
    flex: none;
  }

  .timeline-card::after {
    display: none;
  }

  .timeline-card::before {
    display: none !important;
  }

  .timeline-card:nth-child(odd) .timeline-card-inner,
  .timeline-card:nth-child(even) .timeline-card-inner {
    position: static;
    transform: none;
    width: 100%;
  }

  .timeline-card-inner {
    width: 100% !important;
  }

  :root {
    --gutter: 16px;
    --section-py: 48px;
    --navbar-height: 64px;
  }

  .navbar-main {
    width: calc(100% - 32px);
    padding: 0 20px;
    top: 8px;
  }

  .navbar-main .nav-links {
    display: none;
  }

  .navbar-main .btn-contact-nav {
    display: none;
  }

  .navbar-toggler-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
  }

  .hero-section {
    max-height: 700px;
  }

  .hero-homepage .hero-content {
    padding-top: 100px;
  }

  .hero-homepage .hero-title-sm {
    font-size: 36px;
  }

  .hero-homepage .hero-title-decorative {
    font-size: 60px;
  }

  .hero-homepage .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-page .hero-page-title {
    font-size: 48px;
  }

  .product-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-card {
    padding: 32px 24px;
  }

  .why-choose-inner {
    grid-template-columns: 1fr;
  }

  .why-illustration {
    display: none;
  }

  .why-features {
    grid-template-columns: 1fr 1fr;
  }

  .core-values-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .processed-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* On tablet: reset explicit grid-column placements, use 2-col auto flow */
  .processed-grid .processed-card:nth-child(1),
  .processed-grid .processed-card:nth-child(2),
  .processed-grid .processed-card:nth-child(3),
  .processed-grid .processed-card:nth-child(4),
  .processed-grid .processed-card:nth-child(5) {
    grid-column: auto;
  }

  /* Mobile: single column, reset all explicit placements */
  .future-cards {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
  }

  .future-card:nth-child(1),
  .future-card:nth-child(2),
  .future-card:nth-child(3),
  .future-card:nth-child(4),
  .future-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .green-tech-cards,
  .empowering-cards {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .processed-grid {
    grid-template-columns: 1fr;
  }

  /* On mobile: single column, reset all explicit grid placement */
  .processed-grid .processed-card:nth-child(1),
  .processed-grid .processed-card:nth-child(2),
  .processed-grid .processed-card:nth-child(3),
  .processed-grid .processed-card:nth-child(4),
  .processed-grid .processed-card:nth-child(5) {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .info-card {
    padding: 28px 24px;
  }

  .info-card .card-icon,
  .info-card .card-icon img {
    width: 52px;
    height: 52px;
  }

  .commitment-block {
    padding: 40px 24px;
  }

  .contact-form-box,
  .contact-info-box {
    padding: 32px 20px;
  }

  .founder-story-card {
    padding: 28px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .market-pins {
    gap: 8px;
  }

  .market-pin {
    min-width: 120px;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .product-cards-row {
    grid-template-columns: 1fr;
  }

  .cert-badges {
    gap: 20px;
  }

  .cert-badge {
    width: 130px;
    height: 130px;
  }

  .hero-homepage .hero-title-decorative {
    font-size: 52px;
  }
}

/* ============================================
   PRINT / ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-in,
  [data-animate] {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   SCROLL PADDING (for fixed navbar offset)
   ============================================ */
[id] {
  scroll-margin-top: 100px;
}

/* ============================================
   FOCUS STYLES (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-green-dark);
  outline-offset: 2px;
}

/* ============================================
   LAZYLOAD placeholder
   ============================================ */
img[loading="lazy"] {
  background: var(--color-sage);
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,11,10,0.1), transparent);
  max-width: 1360px;
  margin: 0 auto;
}

/* ============================================
   SCROLL ENTRANCE ANIMATIONS
   ============================================ */

/* --- Easing curve (spring-like) --- */
:root {
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Base enter state (hidden until observed) --- */
[data-enter] {
  will-change: opacity, transform;
}

[data-enter="fade-up"] {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

[data-enter="fade-down"] {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

[data-enter="fade-left"] {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

[data-enter="fade-right"] {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

[data-enter="scale-up"] {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
}

[data-enter="scale-fade"] {
  opacity: 0;
  transform: scale(0.95) translateY(24px);
  transition: opacity 0.9s var(--ease-spring), transform 0.9s var(--ease-spring);
}

/* --- Visible (animated-in) state --- */
[data-enter].entered {
  opacity: 1;
  transform: none;
}

/* --- Stagger: direct children of [data-stagger] get cascading delays --- */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}

[data-stagger].entered > *:nth-child(1)  { transition-delay: 0.00s; }
[data-stagger].entered > *:nth-child(2)  { transition-delay: 0.10s; }
[data-stagger].entered > *:nth-child(3)  { transition-delay: 0.20s; }
[data-stagger].entered > *:nth-child(4)  { transition-delay: 0.30s; }
[data-stagger].entered > *:nth-child(5)  { transition-delay: 0.40s; }
[data-stagger].entered > *:nth-child(6)  { transition-delay: 0.50s; }
[data-stagger].entered > *:nth-child(n+7) { transition-delay: 0.55s; }

[data-stagger].entered > * {
  opacity: 1;
  transform: none;
}

/* --- Delay modifier helpers --- */
[data-delay="100"] { transition-delay: 0.10s !important; }
[data-delay="200"] { transition-delay: 0.20s !important; }
[data-delay="300"] { transition-delay: 0.30s !important; }
[data-delay="400"] { transition-delay: 0.40s !important; }
[data-delay="500"] { transition-delay: 0.50s !important; }

/* --- Hero parallax layer --- */
.hero-parallax {
  will-change: transform;
}

/* --- Reduced motion: skip all --- */
@media (prefers-reduced-motion: reduce) {
  [data-enter],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
