@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,700;1,700&family=Space+Mono&display=swap');

:root {
  --white: #FFFFFF;
  --off-white: #F7F9F4;
  --green-deep: #1B5E20;
  --green-mid: #2E7D32;
  --green-light: #E8F5E9;
  --orange: #E65100;
  --orange-light: #FFF3E0;
  --text-dark: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #7A7A7A;
  --border: #E0E0E0;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-height: 95px;
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Typography */
.display-lg {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.display-md {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 2rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--off-white {
  background-color: var(--off-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.btn--primary:hover {
  background-color: #BF360C;
}

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

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo img {
  height: 75px;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-brand {
  font-family: var(--font-display);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.nav__logo-sub {
  font-family: var(--font-body);
  color: var(--orange);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav__link:hover {
  color: var(--green-deep);
}

.nav__link:hover::after,
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
}

.nav__link--active {
  color: var(--green-deep);
  font-weight: 600;
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--text-body);
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.nav__dropdown-item:hover {
  background: var(--off-white);
  color: var(--green-deep);
}

.nav__hamburger {
  display: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin-bottom: 5px;
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-menu__sub {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.mobile-menu__sub.active {
  display: flex;
}

.mobile-menu__sub-link {
  font-size: 1.1rem;
  color: var(--text-body);
}

/* Welcome Section */
.welcome-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.welcome__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.welcome__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.welcome__content h2 {
  font-size: 2.25rem;
}

.welcome__subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--green-mid);
  margin-bottom: 1.5rem;
}

.welcome__text {
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.welcome__text strong {
  color: var(--green-deep);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--green-deep);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 1rem 0;
  max-width: 300px;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.3s;
}

.social-icon:hover {
  background: var(--orange);
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--white);
}

.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link-list a,
.footer__contact-info {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer__link-list a:hover {
  color: var(--orange);
}

.footer__contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 8px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25D366;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 900;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: block;
    z-index: 1001;
    position: relative;
  }

  .nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ==========================================================================
   Page Specific Styles
   ========================================================================== */

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url('assets/images/Leading-Bio-Pesticide-Bio-Larvicide-Bio-Fertilizer-Manufacturer.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__content {
  width: 55%;
}

.hero__eyebrow {
  color: #FFB74D;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
}

.hero__stats-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 320px;
}

.hero__stat-item {
  border-left: 3px solid var(--green-deep);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.hero__stat-item:last-child {
  margin-bottom: 0;
}

.hero__stat-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--green-deep);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stats Strip */
.stats-strip {
  background: var(--green-deep);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 0;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
}

.stat-box {
  text-align: center;
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:last-child {
  border-right: none;
}

.stat-box__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-box__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .hero__content {
    width: 100%;
  }

  .hero__stats-card {
    display: none;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat-box {
    flex: 1 1 40%;
    border: none;
  }
}

/* Dual Photo Section */
.dual-photo {
  display: flex;
  min-height: 80vh;
}

.dual-half {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 4rem;
}

.dual-half--field {
  background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=800&q=80');
}

.dual-half--field::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
}

.dual-half--port {
  background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=800&q=80');
}

.dual-half--port::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.dual-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.dual-content .eyebrow {
  color: var(--white);
}

.dual-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 768px) {
  .dual-photo {
    flex-direction: column;
  }

  .dual-half {
    min-height: 50vh;
    padding: 2rem;
  }
}

/* Manufacturing Hub */
.mfg-hub {
  background: var(--off-white);
  padding: 5rem 0;
}

.mfg-hub__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mfg-hub__image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.mfg-hub__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .mfg-hub__grid {
    grid-template-columns: 1fr;
  }

  .mfg-hub__cards {
    grid-template-columns: 1fr;
  }
}

/* Services Preview */
.services-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: transform 0.4s ease;
  z-index: 1;
}

.service-card--brand {
  background-image: url('https://images.unsplash.com/photo-1530836369250-ef72a3f5cda8?w=800&q=80');
}

.service-card--brand::before {
  background: rgba(27, 94, 32, 0.75);
}

.service-card--tech {
  background-image: url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=800&q=80');
}

.service-card--tech::before {
  background: rgba(230, 81, 0, 0.75);
}

.service-card:hover {
  transform: scale(1.03);
}

.service-card__content {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  max-width: 90%;
}

@media (max-width: 768px) {
  .services-preview {
    grid-template-columns: 1fr;
  }
}

/* World Map Section */
.map-section {
  text-align: center;
}

.map-container {
  max-width: 1000px;
  margin: 3rem auto;
  position: relative;
}

.map-container svg {
  width: 100%;
  height: auto;
}

.map-arc {
  stroke-dasharray: 8 600;
  stroke-linecap: round;
  animation: drawArc 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0px 0px 3px var(--orange));
}

@keyframes drawArc {
  0% {
    stroke-dashoffset: 600;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.map-dot {
  animation: pulseDot 3s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    r: 2.5;
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  100% {
    r: 12;
    opacity: 0;
  }
}

.map-dot-pulse {
  animation: pulseOrigin 2s infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes pulseOrigin {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

.map-svg>g>path {
  transition: fill 0.3s ease;
}

.map-svg>g>path:hover {
  fill: #c8e6c9;
}

.map-destinations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.map-pill {
  background: var(--green-light);
  border: 1px solid #A5D6A7;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--green-deep);
}

.map-caption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* Why Volkschem */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.why-card:hover {
  border-left-color: var(--orange);
}

.why-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-cta-banner {
  background-color: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.why-cta-banner__title {
  font-size: 1.75rem;
  color: var(--white);
  max-width: 600px;
}

/* Trust Bar */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}

.trust-bar h3 {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trust-badge {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green-deep);
}

.trust-legal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Page Hero (Shared for Subpages) */
.page-hero {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  margin-top: var(--nav-height);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-hero--green::before {
  background: rgba(27, 94, 32, 0.7);
}

.page-hero--orange::before {
  background: rgba(230, 81, 0, 0.65);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin: 0.5rem 0;
}

.page-hero .eyebrow {
  color: var(--white);
  justify-content: center;
}

/* Hub Cards (Company Profile) */
.hub-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s;
}

.hub-card:hover {
  transform: translateY(-5px);
}

.hub-card__top {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-card__top svg {
  width: 64px;
  height: 64px;
}

.hub-card__top--green {
  background: linear-gradient(135deg, var(--green-light), #C8E6C9);
}

.hub-card__top--orange {
  background: linear-gradient(135deg, var(--orange-light), #FFE0B2);
}

.hub-card__bottom {
  padding: 1.5rem;
}

.hub-card__bottom h3 {
  margin-bottom: 0.5rem;
}

.hub-card__bottom p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hub-link {
  color: var(--orange);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .hub-cards {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
}

/* About Layout */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-sticky {
  position: sticky;
  top: 100px;
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.vision-box {
  background: var(--green-light);
  border-left: 4px solid var(--green-deep);
  padding: 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--green-deep);
  margin: 2rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-sticky {
    position: static;
  }
}

/* Management Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), var(--green-light));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.team-card h3 {
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Timeline & Achievements */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 4rem 0;
  padding-bottom: 2rem;
  overflow-x: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green-deep);
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 2;
  text-align: center;
  min-width: 150px;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-deep);
  margin: 0 auto 1rem;
  border: 3px solid var(--white);
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 0.5rem;
}

.timeline-label {
  font-weight: 500;
  font-size: 0.9rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.achievement-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.achievement-top {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.achievement-top--green {
  background: linear-gradient(135deg, var(--green-light), #C8E6C9);
}

.achievement-top--orange {
  background: linear-gradient(135deg, var(--orange-light), #FFE0B2);
}

.achievement-bottom {
  padding: 1.25rem;
}

.achievement-year {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.achievement-card h4 {
  margin-bottom: 0.5rem;
}

.achievement-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Products Layout */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}

.filter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--green-deep);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}

.search-input {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-body);
  width: 250px;
  outline: none;
}

.search-input:focus {
  border-color: var(--green-deep);
}

.product-count {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 2rem 0 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.badge-insecticide {
  background: var(--green-light);
  color: var(--green-deep);
}

.badge-fungicide {
  background: var(--orange-light);
  color: var(--orange);
}

.badge-herbicide {
  background: #E3F2FD;
  color: #1565C0;
}

.badge-pgr {
  background: #F3E5F5;
  color: #6A1B9A;
}

.product-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-spec {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn--enquire {
  width: 100%;
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}

.btn--enquire:hover {
  background: var(--orange);
  color: var(--white);
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 4rem;
}

.contact-form {
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

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

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-icon--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.info-icon--green {
  background: var(--green-light);
  color: var(--green-deep);
}

.info-content strong {
  display: block;
  color: var(--text-dark);
}

.info-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.map-placeholder {
  height: 240px;
  background: var(--green-light);
  border: 1px solid #A5D6A7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0 1rem;
}

.map-placeholder a {
  color: var(--green-deep);
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--green-deep);
  color: var(--white);
  padding: 1rem;
  border-radius: 4px;
  z-index: 2000;
  animation: slideInUp 0.3s ease;
  display: none;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

/* ============================
   EXPORT PRODUCTS PAGE
   ============================ */

.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar */
.products-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.sidebar-search {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sidebar-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.sidebar-search button {
  background: var(--green-deep);
  border: none;
  color: white;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.sidebar-search button:hover {
  background: var(--green-mid);
}

.sidebar-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--green-deep);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-heading .count {
  background: var(--green-deep);
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  transition: color 0.2s;
}

.filter-group label:hover {
  color: var(--green-deep);
}

.filter-group input[type="checkbox"] {
  accent-color: var(--green-deep);
  width: 16px;
  height: 16px;
}

.filter-count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Product Grid */
.ep-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ep-product-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ep-product-count strong {
  color: var(--text-dark);
}

.ep-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.ep-sort-bar select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  background: white;
}

/* Product Card */
.ep-card {
  background: var(--white);
  border: 1px solid var(--orange);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ep-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(230, 81, 0, 0.15);
}

.ep-card__badges {
  padding: 1.25rem 1.25rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ep-badge--cat {
  background: rgba(230, 81, 0, 0.1);
  color: var(--orange);
  border: 1px solid rgba(230, 81, 0, 0.3);
}

.ep-badge--type {
  background: #e2e8f0;
  color: #334155;
}

.ep-card__permit {
  margin: 0 1.25rem 0.5rem;
  background: rgba(230, 81, 0, 0.08);
  border: 1px solid rgba(230, 81, 0, 0.2);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ep-card__name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  padding: 0.5rem 1.25rem;
  line-height: 1.3;
}

.ep-card__fields {
  padding: 0.25rem 1.25rem 0;
  flex: 1;
}

.ep-card__field {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.85rem;
}

.ep-card__field-label {
  color: #888;
  min-width: 75px;
  font-weight: 600;
  font-size: 0.75rem;
}

.ep-card__field-value {
  color: #334155;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.ep-card__tags {
  padding: 1rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ep-tag {
  font-size: 0.7rem;
  color: #1e293b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.ep-card__actions {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.ep-btn {
  flex: 1;
  padding: 0.7rem 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: 2px solid;
  text-decoration: none;
  display: inline-block;
}

.ep-btn--details {
  background: #1e293b;
  color: white;
  border-color: #1e293b;
}

.ep-btn--details:hover {
  background: #0f172a;
  border-color: #0f172a;
}

.ep-btn--quote {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.ep-btn--quote:hover {
  background: var(--orange);
  color: white;
}

.ep-btn--msds {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  flex: 0;
  padding: 0.6rem;
  font-size: 0.75rem;
}

.ep-btn--msds:hover {
  background: var(--off-white);
  color: var(--text-dark);
}

/* ============================
   MODALS (Detail + Quote)
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Detail Modal */
.detail-modal__header {
  background: var(--text-dark);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.detail-modal__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  flex: 1;
  margin-right: 1rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.detail-modal__badges {
  padding: 1.25rem 2rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.detail-modal__table {
  width: 100%;
  padding: 0 2rem;
}

.detail-modal__row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.75rem 0;
}

.detail-modal__label {
  min-width: 160px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-modal__value {
  font-size: 0.9rem;
  color: var(--text-body);
  font-family: var(--font-mono);
}

.detail-modal__desc {
  padding: 1.5rem 2rem;
  border-top: 2px solid #f0f0f0;
  margin-top: 0.5rem;
}

.detail-modal__desc h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.detail-modal__desc p {
  color: var(--text-body);
  line-height: 1.8;
  font-size: 0.9rem;
}

.detail-modal__crops {
  padding: 0 2rem 1.5rem;
}

.detail-modal__crops h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.detail-modal__crops p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
}

.detail-modal__actions {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 2rem 2rem;
}

.detail-modal__actions .ep-btn {
  flex: 1;
  padding: 0.85rem;
  font-size: 0.9rem;
}

/* Quote Modal */
.quote-modal__header {
  background: var(--orange);
  color: white;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quote-modal__header h2 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-modal__product {
  background: #fff8f0;
  margin: 1.25rem 2rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
}

.quote-modal__product h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.quote-modal__product p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quote-form {
  padding: 0 2rem 2rem;
}

.quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-form__group {
  margin-bottom: 1rem;
}

.quote-form__group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.quote-form__group input,
.quote-form__group textarea,
.quote-form__group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.quote-form__group input:focus,
.quote-form__group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.quote-form__group textarea {
  resize: vertical;
  min-height: 80px;
}

.quote-form__submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.quote-form__submit:hover {
  background: #bf4400;
}

/* ============================
   ADMIN PANEL
   ============================ */
.admin-login {
  max-width: 400px;
  margin: 8rem auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.admin-login h1 {
  font-family: var(--font-body);
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.admin-login p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.admin-login input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.admin-login button {
  width: 100%;
  padding: 0.85rem;
  background: var(--green-deep);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.admin-login .error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.admin-panel {
  display: none;
  padding: 2rem 0;
}

.admin-panel.active {
  display: block;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-toolbar h2 {
  font-family: var(--font-body);
  color: var(--text-dark);
}

.admin-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid;
  transition: all 0.2s;
}

.admin-btn--primary {
  background: var(--green-deep);
  color: white;
  border-color: var(--green-deep);
}

.admin-btn--primary:hover {
  background: var(--green-mid);
}

.admin-btn--export {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.admin-table th {
  background: var(--green-deep);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: var(--text-body);
}

.admin-table tr:hover td {
  background: #f8faf5;
}

.admin-edit-btn,
.admin-delete-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
  font-weight: 600;
  margin-right: 0.25rem;
}

.admin-edit-btn {
  background: #e3f2fd;
  color: #1565c0;
}

.admin-delete-btn {
  background: #ffebee;
  color: #c62828;
}

.admin-form-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 1rem;
}

.admin-form-modal.active {
  opacity: 1;
  visibility: visible;
}

.admin-form-box {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

.admin-form-modal.active .admin-form-box {
  transform: scale(1);
  opacity: 1;
}

.admin-form-box h3 {
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
  color: var(--green-deep);
}

.admin-form-box .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-form-box .form-full {
  grid-column: 1 / -1;
}

.admin-form-box label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.admin-form-box input,
.admin-form-box textarea,
.admin-form-box select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.admin-form-box textarea {
  min-height: 70px;
  resize: vertical;
}

.admin-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

/* No products message */
.no-products {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.no-products h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .products-layout {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    position: static;
  }

  .ep-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 600px) {
  .ep-product-grid {
    grid-template-columns: 1fr;
  }

  .detail-modal__header {
    padding: 1rem 1.25rem;
  }

  .detail-modal__title {
    font-size: 1.05rem;
  }

  .detail-modal__table,
  .detail-modal__desc,
  .detail-modal__crops,
  .detail-modal__actions {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .detail-modal__label {
    min-width: 120px;
    font-size: 0.75rem;
  }

  .quote-form,
  .quote-modal__product {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

  .quote-form__row {
    grid-template-columns: 1fr;
  }
}

/* === SCROLL STORY SECTION === */

/* 1. THE PARENT SECTION */
.scroll-story {
  position: relative;
  background: var(--white);
}

.scroll-story__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

/* 2. THE LEFT CHILD — Scrolling Text Column */
.scrolly-text-col {
  width: 45%;
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  padding-left: 2rem;
  border-left: 2px solid rgba(0, 0, 0, 0.05);
}

.scroll-story__step {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.2;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
}

.scroll-story__step:first-child {
  padding-top: 35vh;
}

.scroll-story__step:last-child {
  padding-bottom: 35vh;
}

.scroll-story__step.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-story__step-content h3 {
  font-size: 2.5rem;
  color: var(--green-deep);
  margin-bottom: 1rem;
}

.scroll-story__step-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* 3. THE RIGHT CHILD — Sticky Canvas Column */
.scrolly-visual-col {
  width: 50%;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4. THE CANVAS ITSELF */
#scroll-anim-canvas {
  display: block;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}

/* Loading overlay — positioned over the visual column */
.scroll-anim__loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(135deg, #1a3a2a 0%, #0d1f14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  border-radius: 16px;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin: auto;
}

.scroll-anim__loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-anim__loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.scroll-anim__loader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: scrollAnimSpin 0.8s linear infinite;
}

@keyframes scrollAnimSpin {
  to {
    transform: rotate(360deg);
  }
}

.scroll-anim__loader-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .scroll-story__inner {
    flex-direction: column;
  }

  .scrolly-text-col {
    width: 100%;
    padding: 0 1.5rem;
  }

  .scrolly-visual-col {
    width: 100%;
    height: 50vh;
    position: sticky;
    top: 0;
    order: -1;
  }

  .scroll-story__step {
    min-height: 80vh;
  }
}

/* === SCROLL STORY - END === */