/* ====== GLOBAL RESET & BASE ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", "Segoe UI",
    Roboto, sans-serif;
  color: #134024;
  background-color: #f7fbf6;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

:root {
  --green: #2e7d32;
  --green-dark: #145a32;
  --green-soft: #e8f5e9;
  --accent: #ffc107;
  --brown: #6d4c41;
  --cream: #faf4e8;
  --text-main: #134024;
  --text-muted: #5f7364;
  --border-soft: #d8e5d9;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-fast: 0.2s ease;
}

/* ====== LAYOUT UTILITIES ====== */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

/* Tighter spacing between 'Our Products' and 'Why Our Products Work Better' on Products page */
.products-section {
  padding-bottom: 0;
}

.why-work-section {
  padding-top: 0;
  padding-bottom: 3rem;
  background: #f3f8f4;
}

/* Tighter spacing between 'Farmer & Dealer Testimonials' and
   'Four Reasons Farmers Trust Ampal Agro.' on Home page
   (keep small but clear separation between sections) */
.testimonials-section {
  padding-bottom: 2rem;
}

.reasons-section {
  padding-top: 2rem;
}

.alt-bg {
  background: var(--green-soft);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.section-header p {
  color: var(--text-muted);
}

/* ====== TOP BAR ====== */
.top-bar {
  background: #0b331d;
  color: #c9dfcd;
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.25rem;
}

.top-phone {
  display: inline-flex;
  gap: 0.25rem;
}

/* ====== HEADER & NAV ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.logo-mark img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Slightly smaller logo on small screens so header stays compact */
@media (max-width: 768px) {
  .logo-mark img {
    height: 70px;
  }
}

.logo-text {
  display: none;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: #000000;
}

.logo-sub {
  font-size: 0.75rem;
  color: #555555;
}

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  font-size: 0.95rem;
  color: #000000;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.main-nav a:hover {
  color: #145a32;
}

.main-nav a.active {
  color: #000000;
  border-color: var(--accent);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  color: #e5f7ef;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-btn.active {
  background: var(--green);
  color: #fff;
}

.lang-divider {
  opacity: 0.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.btn-sm {
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(7, 59, 44, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 59, 44, 0.28);
}

.btn-primary,
.view-all-btn,
.contact-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.view-all-btn::after,
.contact-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-20deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  opacity: 0;
}

.btn-primary:hover::after,
.view-all-btn:hover::after,
.contact-btn:hover::after {
  opacity: 1;
  animation: btnShineSweep 650ms ease-out 1;
}

.btn-primary:active,
.view-all-btn:active,
.contact-btn:active {
  filter: brightness(0.98);
}

@keyframes btnShineSweep {
  from {
    transform: translateX(-130%) skewX(-20deg);
  }
  to {
    transform: translateX(130%) skewX(-20deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after,
  .view-all-btn::after,
  .contact-btn::after {
    display: none;
  }
}

.btn:active {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid rgba(34, 197, 94, 0.55);
  outline-offset: 3px;
}

.nav-cta {
  display: none;
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green-soft);
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #24452e;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* ====== HERO (HOME) ====== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(135deg, #1b5e20, #0c3320);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/158827/field-corn-air-frisch-158827.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.1), transparent 55%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.8rem;
  padding-block: 4.2rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 1rem;
}

.hero-bullets {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-bullets li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  flex-direction: column;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
}

.hero-badge-main {
  font-weight: 600;
}

.hero-badge-sub {
  opacity: 0.9;
}

.hero-image {
  justify-self: end;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(12, 51, 32, 0.7);
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
}

.hero-slider-btn.prev {
  left: 10px;
}

.hero-slider-btn.next {
  right: 10px;
}

/* ====== HOME SECTIONS ====== */
.about-stats-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.7rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--green);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--green);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Why */
.why-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch; /* ensure all cards in a row share equal height */
}

/* Center the two cards specifically in the 'Why Choose Ampal Agro' section */
.why-ampal .why-grid {
  max-width: 900px;              /* limit row width so cards don’t stretch too wide */
  margin: 0 auto;                /* center the grid inside the container */
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;              /* make content stack vertically */
  flex-direction: column;
  gap: 0.75rem;               /* consistent spacing between icon, title and text */
  min-height: 220px;          /* ensure both cards reach similar visual height */
}

/* Mobile tweaks for 'Why Our Products Work Better' section on Products page */
@media (max-width: 768px) {
  /* add a bit of breathing room between product cards and this section */
  .products-section {
    padding-bottom: 1.5rem;
  }

  .why-work-section {
    padding-top: 1.5rem;
  }

  /* ensure cards stack cleanly and are easy to read on small screens */
  .why-work-section .why-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .why-work-section .why-card {
    padding: 1.3rem 1.2rem;
    min-height: auto;
  }

  .why-work-section .section-title,
  .why-work-section .section-subtitle {
    text-align: center;
  }
}

/* Center-align cards and text only in the 'Why Choose Ampal Agro' section */
.why-ampal .why-card {
  text-align: center;
  align-items: center;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

/* Desktop: make flip card images larger */
@media (min-width: 992px) {
  .products-section .product-flip-card .flip-inner {
    min-height: 440px; /* taller card to fit bigger image */
  }

  .products-section .product-flip-card .product-image-wrap {
    max-width: 420px;  /* wider image box on desktop */
    height: 420px;     /* taller image box on desktop */
  }

  .products-section .product-flip-card .flip-front {
    padding-top: 1.8rem; /* keep spacing balanced with bigger image */
  }
}

/* Categories */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.category-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: #fff;
  padding: 1.3rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-thumb {
  width: 100%;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card::after {
  content: "›";
  position: absolute;
  right: 1.4rem;
  top: 1.3rem;
  font-size: 1.2rem;
  color: var(--green);
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green);
}

.category-card:hover::after {
  transform: translateX(4px);
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefit-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem;
  border: 1px dashed rgba(46, 125, 50, 0.4);
}

.benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  max-width: 520px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.4s ease;
}

.testimonial-slide.active {
  display: block;
}

/* New: testimonials in card grid on home page */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.6rem; /* small consistent space between header and text */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .testimonials-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e3f2fd;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #1565c0;
  font-size: 1rem;
}

.testimonial-name-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
}

.testimonial-name-row .name {
  font-weight: 600;
  color: var(--green-dark);
}

.testimonial-name-row .location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-stars {
  font-size: 0.9rem;
  color: #f9a825;
  line-height: 1.2;
}

.testimonial-source {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-top: 0.4rem;
}

.testimonial-controls {
  position: absolute;
  inset-block: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.slider-btn {
  pointer-events: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f7f3;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: #24452e;
}

/* Gallery preview */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.7rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.gallery-item:hover::after {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin: 0 0 0.4rem;
}

.cta-inner p {
  margin: 0;
  max-width: 420px;
}

/* ====== PAGE HERO (INNER PAGES) ====== */
.page-hero {
  position: relative;
  padding: 4rem 0 3.2rem;
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
}

.about-hero {
  background: linear-gradient(135deg, #1b5e20, #0c3320);
}

.about-hero::before {
  background-image: url("https://images.pexels.com/photos/5532660/pexels-photo-5532660.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.products-hero {
  background: linear-gradient(135deg, #145a32, #0b3d1f);
}

.products-hero::before {
  background-image: url("https://images.pexels.com/photos/5945562/pexels-photo-5945562.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.tech-hero {
  background: linear-gradient(135deg, #0d4733, #072218);
}

.tech-hero::before {
  background-image: url("https://images.pexels.com/photos/7656400/pexels-photo-7656400.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-hero {
  background: linear-gradient(135deg, #1a4c3a, #071c12);
}

.contact-hero {
  background: linear-gradient(135deg, #1b5e20, #263238);
}

.page-title {
  font-size: 2rem;
  margin: 0 0 0.4rem;
}

.page-sub {
  max-width: 520px;
  margin: 0;
  color: #e2f2e6;
}

/* Breadcrumbs */
.breadcrumb {
  background: #f4faf4;
  border-bottom: 1px solid #e0eee1;
  font-size: 0.85rem;
}

.breadcrumb .container {
  padding-block: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #607667;
}

.breadcrumb a {
  color: var(--green-dark);
}

/* ====== 2-COL LAYOUT ====== */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

/* Justify main About text on About page */
body.about-page .col-text p {
  text-align: justify;
}

/* About page: tighter spacing between sections */
body.about-page .section {
  padding: 3rem 0;          /* reduce top/bottom white space */
}

body.about-page .journey-section,
body.about-page .values-section,
body.about-page .impact-section,
body.about-page .ps-table-section {
  padding: 2.5rem 0 1.5rem; /* slightly less bottom padding to close gap */
}

/* About Us – AMPAL AGRO section hover effect */
body.about-page main > section:nth-of-type(2) .container.two-col {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.about-page main > section:nth-of-type(2) .container.two-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--green);
}

/* Our Vision & Mission section (About page) */
body.about-page .vision-mission-section {
  background: #ffffff;
}

body.about-page .vision-mission-section .vm-container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

body.about-page .vision-mission-section .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

body.about-page .vision-mission-section .vm-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

body.about-page .vision-mission-section .vm-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.about-page .vision-mission-section .vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--green);
}

.col-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Slightly smaller image in 'Our Organic Philosophy' block on About page */
body.about-page .section.alt-bg .col-media img {
  max-width: 80%;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Smaller image in 'Why microbial formulations?' block on Technology page */
body.tech-page .section .col-media img {
  max-width: 65%;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Lists */
.check-list li::before {
  content: "✓";
  margin-right: 0.4rem;
  color: var(--green);
}

/* Info cards */
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--green);
}

/* ====== PRODUCT PAGE ====== */
.product-grid .product-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(216, 229, 217, 0.9);
  background: radial-gradient(circle at top left, #f8fff8 0, #ffffff 55%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

/* Restore side-by-side layout only for Energy 36 card */
#organic-boosters .product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 1.3rem;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(46, 125, 50, 0.55);
  background: radial-gradient(circle at top left, #f1fff1 0, #ffffff 60%);
}

.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Make Energy 36 image fit fully inside its box */
#organic-boosters .product-image img {
  object-fit: contain;
}

/* Make Potash & Phosphorus Boosters images (Sun KMB & Sun PSB) fit fully inside their boxes */
h3#k-boosters + .card-grid .product-image img,
#p-boosters .product-image img {
  object-fit: contain;
}

.product-tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.product-body h2 {
  margin: 0 0 0.2rem;
  color: var(--green-dark);
}

.product-body p {
  margin: 0.15rem 0;
  color: var(--text-muted);
}

.product-benefits {
  margin: 0.6rem 0;
  padding-left: 0.9rem;
  list-style: disc;
}

.product-benefits li {
  margin-bottom: 0.2rem;
}

.dosage,
.pack,
.composition {
  font-size: 0.9rem;
}

/* Product table */
.section-table {
  margin-top: 2.5rem;
}

.table-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.compare-table th,
.compare-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #e4eee5;
}

.compare-table th {
  background: var(--green-soft);
  text-align: left;
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Info list */
.info-list li {
  margin-bottom: 0.3rem;
  color: var(--text-muted);
  text-align: center;
}

/* Center the General Instructions block on Products page */
.section.alt-bg.reveal {
  text-align: center;
  margin-top: 2.2rem;
}

/* ====== TECHNOLOGY PAGE ====== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.icon-list {
  padding-left: 0.9rem;
  list-style: disc;
  font-size: 0.93rem;
}

.tech-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.tech-card p {
  margin: 0 0 0.4rem;
}

.icon-list li {
  margin-bottom: 0.25rem;
}

.application-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.8rem;
}

.application-tags span {
  background: var(--green-soft);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

/* ====== GALLERY PAGE ====== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.filter-btn {
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: #476150;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.gallery-grid .gallery-item {
  cursor: pointer;
}

/* ====== CONTACT PAGE ====== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-card {
  background: #fff;
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

/* Unique styling for Office & Support card */
.contact-card.contact-info {
  background: radial-gradient(circle at top left, #f1fff4 0, #ffffff 60%);
  border-left: 4px solid var(--green);
  position: relative;
  overflow: hidden;
}

.contact-card.contact-info::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.08);
}

.contact-card.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.contact-badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.08);
  color: var(--green-dark);
  margin-bottom: 0.8rem;
}

.contact-card h3 {
  margin-top: 0;
}

.contact-info p {
  margin: 0.35rem 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.85rem;
  color: #476150;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 999px;
  border: 1px solid #cfdcd0;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  background: #fcfffc;
}

.form-group textarea {
  border-radius: 16px;
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.15);
}

.form-required {
  color: #c62828;
  margin-left: 0.15rem;
}

.form-error {
  font-size: 0.78rem;
  color: #c62828;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #1b5e20;
  display: none;
}

.form-success.visible {
  display: block;
}

.map-placeholder {
  margin-top: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px dashed #b0c6b4;
  padding: 1rem;
  background: #f5faf5;
  font-size: 0.85rem;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 110;
}

.wa-icon {
  font-size: 1.35rem;
}

/* ====== FOOTER ====== */
.site-footer {
  background: radial-gradient(circle at top left, #0b331d 0, #050c08 55%);
  color: #c0d4c5;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.18), transparent 60%);
  opacity: 0.9;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.8fr));
  gap: 2.3rem;
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
  z-index: 1;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #f2fff7;
}

.footer-links li {
  margin-bottom: 0.2rem;
}

.footer-links a {
  color: #c0d4c5;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.4rem;
}

.footer-social a {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.footer-bottom .container {
  padding: 0.7rem 0 0.9rem;
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====== RESPONSIVE ====== */

/* Tablet */
@media (max-width: 1023px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .about-stats-inner,
  .two-col,
  .product-grid .product-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-image {
    justify-self: center;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container {
    width: min(100% - 1.8rem, 100%);
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .header-inner {
    padding-block: 0.6rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #0b3d2e;          /* match header/footer */
    border-bottom: 1px solid #195c45;

    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.25rem 0.9rem;
    gap: 0.5rem;
  }

  .main-nav a {
    color: #ffffff;
  }

  .main-nav a:hover {
    color: #ffffff;
  }

  .main-nav a.active {
    color: #ffffff;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn {
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
  }

  .header-actions .dealer-cta {
    display: none;
  }

  .nav-cta {
    display: block;
    width: 100%;
    padding-top: 0.2rem;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
  }

  /* Make hamburger lines visible on dark header in mobile */
  .nav-toggle span {
    background: #24452e;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-block: 3.2rem 2.8rem;
  }

  .hero-image {
    order: -1;
  }

  .section {
    padding: 3.2rem 0;
  }

  .cta-section {
    text-align: center;
  }

  .cta-inner {
    align-items: center;
  }

  .testimonial-slider {
    padding: 1.5rem 1.4rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 0.9rem;
    bottom: 0.9rem;
    width: 48px;
    height: 48px;
  }
}


/* GRID: 4 cards in 1 row */
.categories-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* SHOPPING STYLE CARD */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* IMAGE AREA */
.product-img {
  width: 100%;
  height: 240px; /* bigger image */
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT AREA UNDER PHOTO */
.product-info {
  padding: 1rem 1rem 1.2rem;
}

.product-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.product-info p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .categories-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .categories-shop-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* GRID: 4 cards in one row */
.categories-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;      /* More spacing */
  margin-top: 3rem;
}

/* BIGGER CARD */
.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

/* BIGGER IMAGE */
.product-img {
  width: 100%;
  height: 260px;    /* Increased from 240 → 260 */
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BIGGER INFO AREA */
.product-info {
  padding: 1.2rem 1.2rem 1.4rem;
}

.product-info h3 {
  font-size: 1.25rem;      /* Larger title */
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 1rem;         /* Larger description */
  line-height: 1.45;
  color: #444;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .categories-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .categories-shop-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


.product-img {
  margin-bottom: -6px;
}

/* IMAGE FLIP ONLY */
.product-img.flip-box {
  width: 100%;
  height: 260px;                 /* same height as before */
  position: relative;
  perspective: 1000px;
  border-radius: 18px 18px 0 0;  /* round top corners only */
  overflow: hidden;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* Flip on hover (image or whole card) */
.flip-box:hover .flip-inner,
.product-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* Front & back images */
.flip-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
}

.flip-back {
  transform: rotateY(180deg);
}



.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.highlight-card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.highlight-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #165c2f; /* green tone */
}

.highlight-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 992px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .highlights-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


.highlight-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.highlight-card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .highlights-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}







.site-footer {
  background: #0b3d2e;
  color: #e5f7ef;
  padding: 60px 0 20px;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 65px;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 10px;
  color: #fff;
}

.footer-desc {
  line-height: 1.5;
  color: #cfeee5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  color: #cfeee5;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  margin-left: 3px;
}

.footer-social a {
  font-size: 1.3rem;
  margin-right: 15px;
  color: #cfeee5;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #ffffff;
  transform: scale(1.2);
}

.footer-tagline {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #d3f4ea;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #195c45;
  margin-top: 30px;
}

.footer-bottom p {
  color: #cfeee5;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}


/* Reduce overall footer padding */
.site-footer {
  padding: 18px 0 8px !important;   /* smaller but balanced */
}

/* Reduce inner grid spacing */
.footer-inner {
  gap: 1rem !important;             /* reduce column spacing */
}

/* Reduce spacing inside columns */
.footer-col h4 {
  margin-bottom: 0.4rem !important;
}

.footer-desc,
.footer-col p,
.footer-links,
.footer-tagline {
  margin: 4px 0 !important;         /* tighter vertical spacing */
}

/* Reduce quick link spacing */
.footer-links li {
  margin: 3px 0 !important;
}

/* Reduce social icon row spacing */
.footer-social {
  margin: 4px 0 !important;
}

/* Reduce footer bottom height */
.footer-bottom {
  padding-top: 6px !important;
  margin-top: 10px !important;
}


/* Add more horizontal spacing between footer columns */
.footer-inner {
  column-gap: 2rem !important;   /* space between columns */
  row-gap: 0.8rem !important;    /* small vertical spacing for mobile/tablets */
}





.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 500px;
}

.slide-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn.btn-primary {
  background: #1f792d;
  padding: 10px 22px;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background: #ffffffa8;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #fff;
}


.hero-slider {
  position: relative;
  width: 100vw;                 /* span full viewport width */
  margin-left: calc(50% - 50vw);/* break out of any container padding */
  height: 100vh;                /* full-screen banner on desktop */
  overflow: hidden;
  border-radius: 0;             /* remove card-like corners */
  box-shadow: none;             /* remove any shadow effect */
}

/* remove any global padding at top if needed */
.hero-slider,
.hero-slider * {
  box-sizing: border-box;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills entire screen */
}

/* text overlay */
.slide-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 550px;
}

.slide-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn.btn-primary {
  background: #1f792d;
  padding: 10px 24px;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

/* dots */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 11px;
  height: 11px;
  background: #ffffff88;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #ffffff;
}

/* responsive text size & height */
@media (max-width: 768px) {
  .hero-slider {
    height: 380px; /* smaller banner on mobile */
  }
  .slide-content {
    left: 6%;
    right: 6%;
  }
  .slide-content h1 {
    font-size: 2.1rem;
  }
  .slide-content p {
    font-size: 0.95rem;
  }
}

.hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1920 / 750;
  height: auto;
  max-height: 750px;
  color: #FFFFFF;
  overflow: hidden;
 }

@supports not (aspect-ratio: 1920 / 750) {
  .hero {
   height: 750px;
  }
}

.hero__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
 }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide--active {
  opacity: 1;
}

 .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
 }

.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  user-select: none;
}

.hero-btn.prev {
  left: 12px;
}

.hero-btn.next {
  right: 12px;
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
  max-width: 640px;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgba(46, 125, 50, 0.85);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.is-active {
  background-color: #FFB300;
}

/* Hero – mobile adjustments */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;       /* stop sideways movement on mobile */
  }

  .hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    max-height: none;
  }

  .hero__slider {
    position: absolute;
    inset: 0;
  }

  .hero__slide {
    position: absolute;
    inset: 0;
  }

  .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-btn {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }
}

.journey-section {
  padding: 60px 0;
  background: #f5fbf7;
}

.journey-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.journey-section .section-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #124225;
}

.journey-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 25px;
}

/* Vertical line */
.journey-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c3e3d1;
}

/* Each item */
.journey-item {
  position: relative;
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: journeyFadeUp 0.7s ease forwards;
}

/* Staggered animation delays */
.journey-item:nth-child(1) { animation-delay: 0.1s; }
.journey-item:nth-child(2) { animation-delay: 0.25s; }
.journey-item:nth-child(3) { animation-delay: 0.4s; }

.journey-year {
  position: relative;
  min-width: 60px;
  font-weight: 700;
  color: #165c2f;
}

/* Dot on the line */
.journey-year::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1f792d;
  box-shadow: 0 0 0 4px rgba(31,121,45,0.18);
}

.journey-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journey-card h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: #124225;
}

.journey-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #3f5144;
  line-height: 1.45;
}

/* Hover animation */
.journey-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.09);
}

/* Fade-up animation keyframes */
@keyframes journeyFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .journey-timeline {
    padding-left: 20px;
  }

  .journey-year {
    min-width: 48px;
    font-size: 0.9rem;
  }

  .journey-card {
    padding: 12px 14px;
  }
}







/* Special Services Section */
.special-services {
  padding: 60px 0;
  background: #f7fbf8;
}

.special-services .section-header {
  text-align: center;
  margin-bottom: 36px;
}

.special-services .section-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #124225;
}

.special-services .section-header p {
  font-size: 0.98rem;
  color: #4c6051;
}

/* Grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  text-align: left;
  position: relative;

  opacity: 0;
  transform: translateY(20px);
  animation: serviceFadeUp 0.7s ease forwards;
}

/* Staggered animation */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.25s; }
.service-card:nth-child(3) { animation-delay: 0.4s; }
.service-card:nth-child(4) { animation-delay: 0.55s; }

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e4f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #16502b;
}

.service-card p {
  font-size: 0.92rem;
  color: #4a5b4f;
  line-height: 1.45;
}

/* Hover interaction */
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
}

/* Fade-up animation */
@keyframes serviceFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 576px) {
  .special-services {
    padding: 40px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 16px 16px 18px;
  }
}




.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* bigger column width */
  gap: 20px; /* increased spacing */
  padding: 20px 0;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  height: 260px; /* increased height */
  object-fit: cover; /* zooms into photo correctly */
  transition: transform 0.4s ease;
}

/* Hover animation */
.gallery-item img:hover {
  transform: scale(1.08);
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .gallery-item img {
    height: 180px; /* slightly smaller for mobile */
  }
}




.gallery-filters {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;
  gap: 12px;                  /* spacing between buttons */
  margin-bottom: 20px;
  flex-wrap: wrap;            /* mobile responsive */
}

.filter-btn {
  padding: 10px 20px;
  border: none;
  background: #4b8b3b;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #2f5f28;
}




.values-section {
  padding: 80px 0;
  margin-bottom: 40px;
  background: #f5f7f2; /* light organic background */
}

.values-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.values-section .section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.values-section .section-subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #5b6b5f;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Value card styling */
.value-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 68, 32, 0.15);
  background: #f9fff6;
}

/* Icon bubble */
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  background: radial-gradient(circle at 30% 30%, #a4da5c, #4f8f34);
  box-shadow: 0 10px 18px rgba(51, 119, 32, 0.3);
}

.value-icon span {
  font-size: 1.6rem;
  color: #ffffff;
}

.value-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: #24421e;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5b4f;
}

/* 🔁 Responsive layout */
@media (max-width: 1200px) {
  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .values-section {
    padding: 60px 0;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card {
    padding: 1.4rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-section .section-header h2 {
    font-size: 1.8rem;
  }
}








.impact-section {
  padding: 80px 0;
  background: radial-gradient(circle at top left, #f5ffe9 0, #f1f5ee 40%, #e7efe4 100%);
  position: relative;
  overflow: hidden;
}

/* Soft decorative shapes */
.impact-section::before,
.impact-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  pointer-events: none;
}

.impact-section::before {
  width: 260px;
  height: 260px;
  background: #b7e074;
  top: -80px;
  right: 10%;
}

.impact-section::after {
  width: 220px;
  height: 220px;
  background: #8bcf90;
  bottom: -100px;
  left: 5%;
}

.impact-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.impact-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
  color: #1f3619;
}

.impact-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4f5e52;
}

/* Grid of stats */
.impact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.impact-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.impact-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(46, 119, 58, 0.16);
  background: #ffffff;
}

.impact-number {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #2f6f2e;
  margin-bottom: 0.4rem;
}

.impact-label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #505f53;
}

/* 🔁 Responsive */
@media (max-width: 1200px) {
  .impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .impact-section {
    padding: 60px 0;
  }

  .impact-header h2 {
    font-size: 1.8rem;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-card {
    padding: 1.5rem 1.1rem;
  }

  .impact-number {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}



.ps-table-section {
  padding: 80px 0;
  background: #f7faf4;
}

.ps-table-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.ps-table-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.7rem;
  color: #263b22;
}

.ps-table-header p {
  color: #516251;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ps-table-wrapper {
  overflow-x: auto;
}

.ps-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  min-width: 850px; /* forces proper table layout */
}

.ps-table thead {
  background: #e2f3d4;
}

.ps-table thead th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2e4f28;
  text-transform: uppercase;
}

.ps-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #3f4f3c;
  line-height: 1.6;
  border-bottom: 1px solid #eef3ea;
}

.ps-table tbody tr:last-child td {
  border-bottom: none;
}

/* Hover effect */
.ps-table tbody tr:hover {
  background: #f9fff5;
}

/* Mobile / small-screen adjustments for Problems We Solve */
@media (max-width: 768px) {
  .ps-table-section {
    padding: 2.5rem 0; /* less vertical white space on mobile */
  }

  .ps-table-header {
    margin-bottom: 1.6rem;
    padding: 0 0.75rem;
  }

  .ps-table-wrapper {
    margin: 0 -0.75rem;     /* allow table to use full screen width */
    padding: 0 0.75rem 0.75rem;
  }

  .ps-table {
    min-width: 680px;       /* narrower than desktop, easier scroll */
    font-size: 0.85rem;
  }

  .ps-table thead th,
  .ps-table tbody td {
    padding: 0.75rem 0.9rem;
  }
}

/* Extra-small mobile: stack Problems We Solve table rows into cards */
@media (max-width: 576px) {
  .ps-table {
    min-width: 0;            /* allow full width, no forced scroll */
    border-radius: 16px;
  }

  .ps-table thead {
    display: none;           /* hide header row */
  }

  .ps-table tbody {
    display: block;
  }

  .ps-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 14px;
    border: 1px solid #e0ead6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
  }

  .ps-table tbody td {
    display: block;
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #eef3ea;
    font-size: 0.88rem;
  }

  .ps-table tbody tr td:last-child {
    border-bottom: none;
  }

  /* Add labels above each cell for clarity on mobile */
  .ps-table tbody td:nth-child(1)::before,
  .ps-table tbody td:nth-child(2)::before,
  .ps-table tbody td:nth-child(3)::before {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7c65;
    margin-bottom: 0.15rem;
  }

  .ps-table tbody td:nth-child(1)::before {
    content: "Problem";
  }

  .ps-table tbody td:nth-child(2)::before {
    content: "What We Do";
  }

  .ps-table tbody td:nth-child(3)::before {
    content: "Result";
  }
}




/* Fade + slide animation */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to table container */
.ps-table-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Active when element enters viewport */
.ps-table-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animate each row (stagger effect) */
.ps-table tbody tr {
  opacity: 0;
  animation: fadeSlideUp 0.6s ease forwards;
}

.ps-table tbody tr:nth-child(1) {
  animation-delay: 0.2s;
}

.ps-table tbody tr:nth-child(2) {
  animation-delay: 0.4s;
}

.ps-table tbody tr:nth-child(3) {
  animation-delay: 0.6s;
}

/* Slight glow on hover */
.ps-table tbody tr:hover {
  transform: scale(1.01);
  background: #f4ffea !important;
  box-shadow: 0 8px 20px rgba(110, 150, 70, 0.18);
  transition: 0.25s ease;
}




.products-section {
  padding: 80px 0;
}

.section-title {
  margin: 3rem 0 1.5rem;
  font-size: 1.8rem;
  color: #1e3a20;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 60px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7ac142, #4a8f2c);
}

/* Remove underline line for 'Our Key Products' heading */
.flip-card-section .section-title::after {
  display: none;
}

/* Remove underline line for 'Our Vision & Mission' heading on About page */
body.about-page .vision-mission-section .section-title::after {
  display: none;
}

/* Remove underline line for 'What makes Sun Agro unique?' heading on About page */
body.about-page .section .section-title[data-i18n="about.unique.heading"]::after {
  display: none;
}

/* Remove underline line for 'Our Products' heading on Products page */
.products-section .section-title[data-i18n="products.herbal.heading"]::after {
  display: none;
}

/* Remove underline line for 'Why Our Products Work Better' heading on Products page */
.why-work-section .section-title::after {
  display: none;
}

.product-flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Flip card container */
.product-flip-card {
  perspective: 1100px;
}

/* Inner 3D element */
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Hover flip (desktop) */
.product-flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* Faces */
.flip-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* FRONT */
.flip-front {
  background: radial-gradient(circle at top, #f9fff7 0, #e7f4dd 45%, #dbeadb 100%);
  padding: 1.4rem 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* BACK */
.flip-back {
  background: #ffffff;
  padding: 1.4rem 1.3rem 1.6rem;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Category pill */
.product-pill {
  align-self: flex-start;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(122, 193, 66, 0.12);
  color: #2e5b28;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

/* Image */
.product-image-wrap {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(196, 227, 178, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 18px 35px rgba(51, 102, 51, 0.2);
}

.product-image-wrap img {
  max-width: 80%;
  height: auto;
  transform: translateY(4px);
}

/* Titles/text */
.flip-front h3,
.flip-back h3 {
  font-size: 1.1rem;
  color: #1f361b;
  margin-bottom: 0.4rem;
}

.product-short {
  font-size: 0.9rem;
  color: #4c5b4b;
}

.product-benefits {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.6rem 0 0.8rem;
  font-size: 0.9rem;
  color: #465748;
  display: grid;
  gap: 0.3rem;
}

.dosage,
.pack,
.composition {
  font-size: 0.85rem;
  color: #3f4f3f;
  margin-bottom: 0.3rem;
}

/* Mobile / touch devices – disable hover flip & use JS class instead */
@media (hover: none) {
  .product-flip-card:hover .flip-inner {
    transform: none;
  }
}

/* Smaller screens */
@media (max-width: 768px) {
  .products-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .flip-inner {
    min-height: 340px;
  }
}

/* Class used by JS to flip on tap */
.product-flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}


/* Square Image Container */
.square-img {
  width: 100%;
  aspect-ratio: 1 / 1; /* perfect square */
  background: #f2f7ef;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #e4f1db;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Make image fit nicely */
.square-img img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* Hover animation */
.product-flip-card:hover .square-img img {
  transform: scale(1.08);
}

/* Card styling to match premium agro brand */
.product-flip-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e1ecd9;
  box-shadow: 0 8px 20px rgba(125, 145, 110, 0.12);
  transition: all 0.35s ease;
}

/* Card hover lift */
.product-flip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 26px rgba(100, 135, 90, 0.18);
}

/* Product pill/tag style */
.product-pill {
  display: inline-block;
  padding: 6px 14px;
  background: #e9f7e0;
  color: #3d5b35;
  font-size: 13px;
  border-radius: 50px;
  margin-bottom: 14px;
  font-weight: 600;
  border: 1px solid #d6edcd;
}

/* Title styling */
.product-flip-card h3 {
  font-size: 20px;
  color: #2f4f2c;
  margin-top: 12px;
  margin-bottom: 6px;
  font-weight: 700;
}

/* Short description */
.product-short {
  font-size: 14px;
  color: #52744c;
}
.flip-front,
.product-flip-card .flip-front {
    background: none !important;
    box-shadow: none !important;
}

.product-image-wrap::before,
.flip-front::before {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}


/* Square product block */
.product-image-wrap.product-square {
  width: 150px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #f6fbf3, #ddeed1);
  border-radius: 16px;
  border: 1px solid #d2e6c5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(87, 120, 78, 0.18);
  margin: 0 auto 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Code/initials inside square */
.product-code {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #315230;
}

/* Hover effect */
.product-flip-card:hover .product-image-wrap.product-square {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(75, 110, 67, 0.25);
}



.product-image-wrap {
  width: 160px;
  height: 160px;
  background: none !important;   /* remove background */
  border: none !important;        /* remove border */
  box-shadow: none !important;    /* remove shadow */
  overflow: hidden;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;            /* keep product fully visible */
  background: transparent !important;  /* ensure no fill */
}


.product-code {
   display: none !important;
}


/* Uniform image sizing for Our Products flip cards */
.products-section .product-flip-card .product-image-wrap {
  width: 100%;              /* follow card width */
  max-width: 360px;         /* consistent visual size (larger) */
  height: 360px;            /* same height for all (larger box) */
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.products-section .product-flip-card .product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* keep pack proportions, equal box */
  display: block;
}


/* Make front face layout vertical */
.product-flip-card .flip-front {
  display: flex;
  flex-direction: column;
  padding: 0; /* image should hug edges */
}

/* Image block fills most of the card */
.product-image-full {
  width: 100%;
  aspect-ratio: 3 / 4;           /* tall like bottle */
  overflow: hidden;
  border-radius: 18px 18px 0 0;  /* match card radius if any */
}

/* Image covers the full front area */
.product-image-full img {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* or 'cover' if you want tighter crop */
  display: block;
}

/* Text area below image */
.product-front-body {
  padding: 14px 16px 18px;
}

/* Keep pill and title clean */
.product-front-body .product-pill {
  margin-bottom: 6px;
}

.product-front-body h3 {
  margin: 4px 0 4px;
}


/* Make the image area fill the full card width */
.product-flip-card .product-image-wrap {
  width: 100%;
  height: 380px; /* further increased to make product image appear bigger */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px;
}

/* Make image fill the card width */
.product-flip-card .product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* keeps product proportion */
  display: block;
}




/* SECTION WRAPPER */
.why-work-section {
  margin-top: 4rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* CARD DESIGN – MATCHES PRODUCT CARDS */
.why-card {
  background: radial-gradient(circle at top, #f7fff4 0%, #ecf6e9 60%, #e4f1e1 100%);
  padding: 1.7rem 1.5rem;
  border-radius: 26px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.08);
  transition: 0.35s ease;
  position: relative;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 55px rgba(0,0,0,0.12);
}

/* ICON STYLE */
.why-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin-bottom: 1.1rem;
}

/* Icons (colored blocks for now, replace with SVGs later) */
.icon-mode    { background: linear-gradient(180deg, #4caf50, #66bb6a); }
.icon-soil    { background: linear-gradient(180deg, #8d6e63, #bcaaa4); }
.icon-absorb  { background: linear-gradient(180deg, #42a5f5, #80d6ff); }
.icon-organic { background: linear-gradient(180deg, #7cb342, #cddc39); }
.icon-test    { background: linear-gradient(180deg, #ff8f00, #ffb74d); }

.why-card h3 {
  font-size: 1.1rem;
  color: #27562a;
  margin-bottom: 0.4rem;
}

.why-card p {
  color: #4b674b;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.why-list {
  padding-left: 1.1rem;
  color: #406140;
  font-size: 0.88rem;
}

.why-list li {
  margin-bottom: 0.3rem;
}

/* REVEAL ANIMATION (matches your current reveal class) */
.why-card.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.why-card.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Always show Why-cards even if reveal JS is not running */
.why-card {
  opacity: 1;
  transform: none;
}

.why-card.reveal {
  opacity: 1 !important;
  transform: none !important;
}


/* SECTION HEADING */
.why-work-section .section-title {
  text-align: center;
  margin-bottom: 0.8rem;
  font-size: 2rem;
  color: #234228;
}

.why-work-section .section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  color: #496649;
  font-size: 1rem;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* EQUAL HEIGHT CARDS */
.why-card {
  background: radial-gradient(circle at top left, #f9fff6, #edf7ea 65%);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* THIS MAKES HEIGHT EQUAL */
  min-height: 380px; /* adjust height here */
  transition: 0.35s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.14);
}

/* TOP TAG STRIPS */
.why-top-strip {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.why-tag {
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: #d9f2d9;
  color: #26552a;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.why-tag.ghost {
  background: #ffffffb0;
  color: #456345;
}

/* TEXT */
.why-card h3 {
  font-size: 1.2rem;
  color: #234228;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.9rem;
  color: #415d41;
  line-height: 1.5;
}

.why-list li {
  margin-bottom: 0.25rem;
  font-size: 0.88rem;
  color: #355535;
}

/* METER */
.why-meter-label {
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
  color: #3b5e3d;
}

.why-meter-bar {
  height: 7px;
  border-radius: 10px;
  background: #cbdcc9;
  overflow: hidden;
}

.why-meter-fill {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #3a9c47, #7ad96b);
  transition: 0.4s ease;
}

.level-2 { width: 75%; }
.level-3 { width: 85%; }
.level-4 { width: 95%; }

.why-card:hover .why-meter-fill {
  width: 100%;
}


.why-grid {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;        /* centers vertically */
  gap: 2rem;                  /* space between cards */
  margin-top: 2rem;
}

.why-card {
  max-width: 450px;           /* prevents cards from stretching too wide */
  text-align: center;         /* centers content inside card */
}
/* Wrapper background (light green band like screenshot) */
.why-ampal {
  background: #e7f5e8;
}

/* Center heading & subtitle */
.why-ampal .section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.why-ampal .section-header h2 {
  font-size: 2.3rem;
  color: #13652f;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.why-ampal .section-header p {
  font-size: 1rem;
  color: #4a6f52;
}

/* Two big cards */
.why-ampal .why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

/* Card style */
.why-ampal .why-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2.5rem 2.7rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-ampal .why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

/* Icon pill */
.why-ampal .why-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #eaf7e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 1.4rem;
}

/* Text */
.why-ampal .why-card h3 {
  font-size: 1.35rem;
  color: #135a2a;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.why-ampal .why-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #456546;
}

/* Responsive */
@media (max-width: 960px) {
  .why-ampal .why-grid {
    grid-template-columns: 1fr;
  }

  .why-ampal .why-card {
    padding: 2.1rem 1.9rem;
  }
}

/* Center the icon block */
.why-ampal .why-card {
  text-align: center;
  align-items: center;
}

/* Center the icon pill */
.why-ampal .why-icon {
  margin: 0 auto 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


.flip-card-section {
  padding: 40px 20px 55px; /* less bottom padding to reduce gap before next section */
  text-align: center;
}

.flip-card-section .view-all-wrapper {
  margin-top: 50px;
}

.flip-card-section .view-all-btn {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(7, 59, 44, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
  animation: keyProductsBtnPulse 1200ms ease-out 1;
}

.flip-card-section .view-all-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-20deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.flip-card-section .view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 59, 44, 0.28);
  filter: brightness(1.02);
}

.flip-card-section .view-all-btn:hover::before {
  animation: keyProductsBtnShine 650ms ease-out 1;
}

.flip-card-section .view-all-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 59, 44, 0.24);
}

@keyframes keyProductsBtnShine {
  from {
    transform: translateX(-130%) skewX(-20deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    transform: translateX(130%) skewX(-20deg);
    opacity: 0;
  }
}

@keyframes keyProductsBtnPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(7, 59, 44, 0.18);
  }
  35% {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 59, 44, 0.26);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(7, 59, 44, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flip-card-section .view-all-btn {
    animation: none;
    transition: none;
  }

  .flip-card-section .view-all-btn::before {
    display: none;
  }
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
}

.flip-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.flip-card {
  background: transparent;
  perspective: 1000px;
}

.flip-card-inner {
  width: 100%;
  height: 300px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  position: relative;
}

/* Hover Flip (desktop / pointer devices) */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* On touch devices, hovering is unreliable – disable hover flip
   and rely on a JS-added .is-flipped class instead. */
@media (hover: none) {
  .flip-card:hover .flip-card-inner {
    transform: none;
  }
}

/* State toggled by JS on tap/click (works on all devices) */
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.flip-card-front, .flip-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Back side */
.flip-card-back {
  transform: rotateY(180deg);
}

.card-info {
  margin-top: 15px;
}

.card-info h3 {
  font-size: 20px;
  font-weight: 600;
}

.card-info p {
  font-size: 14px;
  color: #444;
}


/* VALUES SECTION GRID */
.values-section .values-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr); /* 5 slimmer cards in one row on large screens */
}

/* Square Cards */
.values-section .value-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 12px; /* smaller padding so cards look more compact */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  /* Let height adjust to text so it doesn't overflow */
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; /* center content horizontally */
  text-align: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.values-section .value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.09);
}

/* Icon styling */
.values-section .value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}

.values-section .value-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.values-section .value-card p {
  font-size: 14px;
  line-height: 1.5;
}

/* ✅ RESPONSIVE BREAKPOINTS */

/* Tablets: 3 cards in a row */
@media (max-width: 1024px) {
  .values-section .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile landscape / small tablets: 2 in a row */
@media (max-width: 768px) {
  .values-section .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small mobiles: 1 per row */
@media (max-width: 480px) {
  .values-section .values-grid {
    grid-template-columns: 1fr;
  }
}




.view-all-wrapper {
  text-align: center;
  margin-top: 35px;
}

.view-all-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 10px 22px rgba(7, 59, 44, 0.22);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 59, 44, 0.28);
}



.view-all-wrapper {
  text-align: center;
  margin-top: 35px;
}

.view-all-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 10px 22px rgba(7, 59, 44, 0.22);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 59, 44, 0.28);
}


/* SECTION WRAPPER: avoid horizontal scroll */
.why-work-section {
  padding: 60px 16px;
  overflow-x: hidden;
}

.why-work-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID LAYOUT */
.why-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* desktop: 3 cards */
}

/* CARD STYLE */
.why-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
}

/* TAG STRIP, LIST, ETC – optional but safe */
.why-top-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.why-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* RESPONSIVE BREAKPOINTS */

/* Tablet: 2 cards per row */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 card per row, no side overflow */
@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 18px;
  }
}


.footer-link {
  color: #00aaff;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -2px;
  background: #00aaff;
  transition: width 0.3s ease-in-out;
}

.footer-link:hover {
  color: #0077cc;
}

.footer-link:hover::after {
  width: 100%;
}


/* White background only behind the logo */
.footer-logo {
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* Smaller, normal-sized logo */
.footer-logo .logo-mark img {
  width: 80px !important; 
  height: auto !important;
  object-fit: contain;
  display: block;
}


/* Rectangular white background behind the logo */
.footer-logo {
  background: #ffffff;
  padding: 6px 18px;   /* wider horizontally to create a rectangle */
  border-radius: 4px;  /* very slight rounding for premium look */
  display: inline-block;
}

/* Small, normal logo size */
.footer-logo .logo-mark img {
  width: 80px !important;
  height: auto !important;
  object-fit: contain;
  display: block;
}

.contact-wrapper {
  text-align: center;
  margin-top: 20px;
}

.contact-btn {
  display: inline-block;
  padding: 0.62rem 1.15rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 10px 22px rgba(7, 59, 44, 0.22);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 59, 44, 0.28);
}

.contact-btn:active {
  transform: translateY(-1px);
}

.contact-btn:focus-visible {
  outline: 2px solid rgba(34, 197, 94, 0.55);
  outline-offset: 3px;
}



/* ---------------- FOOTER LAYOUT ---------------- */

.site-footer {
  background: #003c2b;            /* keep original green */
  color: #fff;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;                      /* equal spacing between all columns */
  align-items: flex-start;
  flex-wrap: wrap;                /* allow wrapping on smaller screens */
}

.footer-col {
  flex: 1;                        /* equal width for all columns */
  min-width: 220px;               /* prevents shrinking too much */
}

/* ---------------- LOGO (white rectangle + small size) ---------------- */

.footer-logo {
  background: #ffffff;            /* white rectangle background */
  padding: 6px 18px;              /* rectangular shape */
  border-radius: 4px;             /* slight rounding */
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo .logo-mark img {
  width: 80px !important;         /* small clean logo */
  height: auto !important;
  object-fit: contain;
  display: block;
}

/* ---------------- LINKS ---------------- */

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ---------------- SOCIAL ICONS ---------------- */

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-social a {
  font-size: 18px;
  color: #fff;
}

/* ---------------- BOTTOM COPYRIGHT BAR ---------------- */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px;
  padding-top: 12px;
}

.footer-text {
  text-align: center;
  font-size: 14px;
}

/* ---------------- RESPONSIVE DESIGN ---------------- */

/* Tablets */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;      /* stack columns vertically */
    gap: 28px;                   /* space between stacked columns */
  }

  .footer-col {
    text-align: left;            /* keep content aligned properly */
  }

  .footer-social {
    justify-content: flex-start; /* left align on mobile */
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .footer-col {
    min-width: 100%;             /* each column takes full width */
  }
}


/* Footer layout */
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 50px;                      /* spacing between columns */
  flex-wrap: wrap;
}

/* All footer columns get equal visual space */
.footer-col {
  flex: 1;                        /* equal width */
  min-width: 250px;               /* prevents narrow columns causing misalignment */
}

/* Make Quick Links and Follow Us perfectly aligned vertically */
.footer-col h4 {
  margin-bottom: 12px;
}

/* Fix Follow Us column alignment */
.footer-col:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.footer-col:nth-child(3),
.footer-col:nth-child(4) {
  margin-right: 0;
  padding-right: 10px;   /* reduce spacing further */
}


.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;          /* increase button size */
  height: 56px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 36px;      /* increase icon size */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}



