/* ============================================
   SOMAS — Agricultural Inputs & Distribution
   ============================================ */

:root {
  --green-dark: #1b5e20;
  --green: #2e7d32;
  --green-mid: #3f8a46;
  --green-light: #e9f3e6;
  --blue: #0d47a1;
  --blue-light: #1565c0;
  --gold: #c98a13;
  --gold-light: #fbf1de;
  --text-dark: #20291f;
  --text-light: #5b6b5e;
  --bg: #f7f9f4;
  --white: #ffffff;
  --border: #e1e7da;
  --shadow: 0 4px 18px rgba(27, 94, 32, 0.08);
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: #2b1c00;
}
.btn-primary:hover { background: #b67c0e; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-dark);
  color: #e6f0e3;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
  @media (max-width: 768px) {
    padding: 5px !important;
  }
}
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info i { color: var(--gold); }
.topbar-tag { font-style: italic; opacity: 0.9; }

@media (max-width: 768px) {
            .hide-on-mobile {
                display: none !important;
            }
            .topbar-info span:nth-child(3), .topbar-tag{
                display: none !important;
            }
        }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo i {
  color: var(--green);
  font-size: 1.9rem;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--blue);
  line-height: 1;
}
.logo-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 2px;
}
nav.main-nav ul {
  display: flex;
  gap: 36px;
}
nav.main-nav a {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text-dark);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--green);
  border-bottom-color: var(--gold);
}

/* ---------- Dropdown nav ---------- */
.main-nav li.dropdown { position: relative; }
.main-nav li.dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.main-nav li.dropdown > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.62rem;
  margin-left: 2px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -50%;
  min-width: 230px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(16,40,18,0.16);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  flex-direction: column;
    gap: 10px;
}
nav.main-nav ul.dropdown-menu{
  gap:10px;
}
.main-nav li.dropdown:hover .dropdown-menu,
.main-nav li.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-bottom: none;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--green-light); color: var(--green-dark); }
.dropdown-menu a i {
  width: 20px;
  text-align: center;
  color: var(--green);
}

/* ---------- Company logo grid ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.logo-card img { max-width: 100%; max-height: 58px; object-fit: contain; }
.logo-card.text-only {
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 14px 10px;
}
.logo-card.text-only strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.86rem;
  color: var(--text-dark);
  line-height: 1.25;
}
.logo-card.text-only span {
  font-size: 0.72rem;
  color: var(--text-light);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile nav overlay & close btn ---------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  z-index: 99;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

.nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid var(--border);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 1.05rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-close:hover { background: #c5ddc0; transform: rotate(90deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-video.active { opacity: 1; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(8,20,10,0.88) 0%, rgba(8,20,10,0.58) 48%, rgba(8,20,10,0.3) 100%),
    linear-gradient(to top, rgba(4,10,5,0.65) 0%, rgba(4,10,5,0) 55%);
}
.hero .container { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 3.1rem;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero p {
  font-size: 1.12rem;
  color: #eef3ea;
  margin-bottom: 34px;
  max-width: 600px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero { min-height: 78vh; padding: 110px 0 70px; }
  .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 600px) {
  .hero { min-height: 64vh; padding: 90px 0 56px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ---------- Page banner (sub-pages) ---------- */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 80px 0 60px;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 18, 0.72);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: 2.3rem; margin-bottom: 8px; }
.breadcrumb { font-size: 0.9rem; color: #dfe9da; }
.breadcrumb a { color: var(--gold); font-weight: 600; }

/* ---------- Section helpers ---------- */
section { padding: 78px 0; }
.section-tight { padding: 56px 0; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 2rem; margin-bottom: 12px; }
.section-head p { color: var(--text-light); }
.bg-alt {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cpath fill='rgba(46,125,50,0.05)' d='M45 10c-15 8-25 25-20 42 6 18 28 24 42 12 18-15 14-46-10-58-4-2-8-2-12 4z'/%3E%3C/svg%3E");
  background-repeat: repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Organic wave / leaf dividers ---------- */
.wave-divider {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; height: 64px; }
@media (max-width: 600px) {
  .wave-divider svg { height: 36px; }
}
.footer-wave { position: relative; top: 1px; line-height: 0; }
.footer-wave svg { display: block; width: 100%; height: 56px; }

/* ---------- Stats ---------- */
.stats {
  background: var(--green-dark);
  color: var(--white);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
  padding: 40px 24px;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.88rem;
  color: #dcebd8;
  letter-spacing: 0.5px;
}

/* ---------- About preview / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img {
  border-radius: 70px 16px 70px 16px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.split .eyebrow { margin-bottom: 10px; }
.split h2 { font-size: 1.9rem; margin-bottom: 16px; }
.split p { color: var(--text-light); margin-bottom: 16px; }
.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 500;
}
.check-list i { color: var(--green); margin-top: 3px; }

/* ---------- Cards grid ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
}
.card::after {
  content: '';
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 84px;
  height: 84px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='rgb(46,125,50)' d='M100 0C40 30 0 90 30 150c20 40 70 50 100 20 40-40 30-110-30-170z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.06;
  transform: rotate(12deg);
  pointer-events: none;
}
.card-media {
  margin: -30px -24px 18px;
  height: 250px;
  overflow: hidden;
  border-radius: 0;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .icon-circle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--green-light), #d6ead1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(46,125,50,0.18);
}
.card-media + .icon-circle {
  margin-top: -46px;
  border: 4px solid var(--white);
  z-index: 2;
}
.card h3 { position: relative; font-size: 1.12rem; margin-bottom: 10px; }
.card p { position: relative; color: var(--text-light); font-size: 0.93rem; }
.card a.card-link {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--blue);
  font-size: 0.9rem;
}

/* ---------- Field gallery (mosaic) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 60px 14px 60px 14px;
  box-shadow: var(--shadow);
}
.gallery-item.is-large { grid-column: span 2; grid-row: span 2; }
.gallery-item.is-tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,16,8,0.78) 0%, rgba(6,16,8,0.05) 55%, transparent 100%);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.gallery-caption span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #cfe0ca;
  margin-top: 3px;
}

/* ---------- Featured products spotlight ---------- */
.spotlight-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spotlight-card .spot-media {
  height: 230px;
  overflow: hidden;
  background: var(--green-light);
}
.spotlight-card .spot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
.spotlight-card .spot-body { padding: 20px 22px 24px; }
.spotlight-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 30px;
  margin-bottom: 10px;
}
.spotlight-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.spotlight-card p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 0; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-large { grid-column: span 2; grid-row: span 1; }
  .gallery-item.is-tall { grid-row: span 1; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item.is-large, .gallery-item.is-tall { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Why choose us ---------- */
.feature {
  display: flex;
  gap: 16px;
}
.feature .icon-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--gold-light), #f3e2bb);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 5px 12px rgba(201,138,19,0.18);
}
.feature h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--text-light); font-size: 0.92rem; }

/* ---------- Brand strip ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.brand-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 14px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.92rem;
}
.brand-chip small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.74rem;
  margin-top: 4px;
}

/* ---------- Brand showcase (filterable, with logos) ---------- */
.brand-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.filter-btn:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.brand-showcase {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.brand-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 16px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-light) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(27,94,32,0.2);
  border-color: var(--green);
}
.brand-card:hover::before { opacity: 1; }
.brand-logo-wrap {
  position: relative;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo-wrap img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(35%) opacity(0.88);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.brand-card:hover .brand-logo-wrap img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}
.brand-logo-wrap i {
  position: relative;
  font-size: 1.7rem;
  color: var(--green);
  background: var(--green-light);
  width: 56px;
  height: 56px;
  border-radius: 50% 50% 50% 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.brand-card:hover .brand-logo-wrap i { transform: scale(1.08); }
.brand-name {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-dark);
  line-height: 1.25;
}
.brand-tag {
  position: relative;
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(115deg, var(--green-dark), var(--green));
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 8px; }
.cta-banner p { color: #dcebd8; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #122415;
  color: #c4d3c0;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: #4f9bff;
  margin-bottom: 12px;
}
.footer-grid p { font-size: 0.9rem; color: #aebfa9; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 3px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.social-row a:hover { background: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 0.84rem;
  color: #8aa085;
}

/* ---------- About page ---------- */
.timeline {
  border-left: 3px solid var(--green);
  margin-left: 12px;
  padding-left: 36px;
}
.timeline-item { position: relative; margin-bottom: 38px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--green);
}
.timeline-year {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-item p { color: var(--text-light); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.value-card {
  position: relative;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 84px;
  height: 84px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='rgb(13,71,161)' d='M100 0C40 30 0 90 30 150c20 40 70 50 100 20 40-40 30-110-30-170z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  transform: rotate(12deg);
  pointer-events: none;
}
.value-card .icon-circle {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, #e3edfb, #c9dcf5);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 14px rgba(13,71,161,0.18);
}
.value-card h4 { position: relative; margin-bottom: 8px; }
.value-card p { position: relative; font-size: 0.9rem; color: var(--text-light); }

.founder-quote {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 26px 30px;
  border-radius: 8px;
  font-style: italic;
  color: var(--green-dark);
  margin-top: 26px;
}

/* ---------- Products page ---------- */
.product-group { margin-bottom: 56px; }
.product-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.product-group-head .icon-circle {
  width: 46px; height: 46px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--green-light), #d6ead1);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 12px rgba(46,125,50,0.18);
}
.product-group-head h3 { font-size: 1.25rem; }
.product-group-head span { color: var(--text-light); font-size: 0.88rem; }

.product-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-table th, .product-table td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.product-table th {
  background: var(--green-dark);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
}
.product-table tr:last-child td { border-bottom: none; }
.product-table tr:hover td { background: var(--green-light); }
.product-table td.grade { color: var(--blue); font-weight: 600; }

.equip-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 10px;
}
.equip-banner img { border-radius: 60px 14px 60px 14px; height: 300px; object-fit: cover; }

.brand-table-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}
.brand-row .ico {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--gold-light), #f3e2bb);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.brand-row strong { display: block; font-size: 0.95rem; }
.brand-row span { font-size: 0.82rem; color: var(--text-light); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.contact-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  overflow: hidden;
}
.contact-card::after {
  content: '';
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='rgb(46,125,50)' d='M100 0C40 30 0 90 30 150c20 40 70 50 100 20 40-40 30-110-30-170z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.06;
  transform: rotate(12deg);
  pointer-events: none;
}
.contact-card i {
  position: relative;
  font-size: 1.6rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  width: 54px; height: 54px;
  border-radius: 50% 50% 50% 8px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 14px rgba(27,94,32,0.25);
}
.contact-card h4 { position: relative; margin-bottom: 8px; }
.contact-card p { position: relative; color: var(--text-light); font-size: 0.92rem; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--green-dark);
  display: none;
}
.form-note.visible { display: block; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 230px;
  margin-bottom: 24px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-frame-full {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  width: 100%;
  height: 420px;
  min-height: 350px;
}
.map-frame-full iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 768px) {
  .map-frame-full { height: 350px; }
}
.contact-side-img {
  height: 220px;
  border-radius: 60px 14px 60px 14px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.contact-side-img img { width: 100%; height: 100%; object-fit: cover; }
.hours-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.hours-card h4 { margin-bottom: 14px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #c9dcc4;
  font-size: 0.92rem;
}
.hours-row:last-child { border-bottom: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .equip-banner, .contact-wrap { grid-template-columns: 1fr; }
  .split img, .equip-banner img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-table-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-showcase { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  /* Mobile nav panel */
  nav.main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 280px;
    background: var(--white);
    flex-direction: column;
    padding: 70px 20px 30px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    transition: right 0.28s cubic-bezier(0.4,0,0.2,1);
    z-index: 200;
    overflow-y: auto;
  }
  nav.main-nav.open { right: 0; }
  nav.main-nav > ul { flex-direction: column; gap: 2px; }
  nav.main-nav > ul > li > a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    border-bottom: none;
    font-size: 1rem;
  }
  nav.main-nav > ul > li > a:hover,
  nav.main-nav > ul > li > a.active {
    background: var(--green-light);
    color: var(--green-dark);
    border-bottom: none;
  }
  .nav-toggle { display: flex; }
  .nav-close { display: flex; }

  /* Products dropdown on mobile */
  .main-nav li.dropdown > a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .main-nav li.dropdown > a::after {
    display: inline-block;
    transition: transform 0.22s ease;
    margin-left: auto;
    padding-left: 8px;
  }
  .main-nav li.dropdown.open > a::after { transform: rotate(180deg); }

  /* Higher specificity [0,2,1] beats nav.main-nav ul [0,1,1] — keeps dropdown hidden by default */
  nav.main-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: unset;
    left: auto;
    background: var(--green-light);
    border-radius: 10px;
    margin-top: 4px;
    padding: 6px;
    display: none;
  }
  /* [0,4,2] — shows dropdown only when .open is present */
  nav.main-nav li.dropdown.open .dropdown-menu { display: flex; flex-direction: column; }
  nav.main-nav .dropdown-menu a { border-bottom: none; font-size: 0.9rem; white-space: normal; }

  /* other layout */
  .hero h1 { font-size: 2rem; }
  .grid-4, .grid-3, .grid-5 { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .topbar-info { justify-content: center; width: 100%; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-showcase { grid-template-columns: repeat(2, 1fr); }
  .brand-filters { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
}

/* ---------- Equipment page ---------- */
.spray-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 10px;
}
.spray-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50% 50% 50% 8px;
  padding: 16px 8px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  box-shadow: var(--shadow);
}
.spray-chip span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 2px;
}
@media (max-width: 980px) { .spray-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .spray-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Floating Action Buttons ---------- */
.float-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.float-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  color: var(--white);
}
.float-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.float-call {
  background: linear-gradient(135deg, var(--gold), #b67c0e);
}
@media (max-width: 768px) {
  .float-actions { bottom: 16px; right: 16px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.4rem; }
}
