﻿/* =============================================
   BHOOMI AGRO AGENCIES – MAIN STYLESHEET
   Mobile-first, accessible, modern design
   ============================================= */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --green-dark: #1a5c2a;
  --green-main: #2d8a45;
  --green-mid: #3fa85e;
  --green-light: #e8f5ec;
  --green-pale: #f0faf3;
  --yellow: #f5a623;
  --yellow-light: #fff8e7;
  --earth: #7a5c3a;
  --earth-light: #f5ede3;
  --white: #ffffff;
  --off-white: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #d1fae5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Merriweather', Georgia, serif;
  --header-h: 72px;
  --transition: 0.22s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.25; font-family: var(--font-head); color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; font-family: var(--font-body); }
p { font-size: 1.05rem; color: var(--gray-600); }

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-main);
  color: #fff;
  border-color: var(--green-main);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-secondary {
  background: var(--yellow-light);
  color: var(--earth);
  border-color: var(--yellow);
}
.btn-secondary:hover { background: var(--yellow); color: var(--gray-900); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-green {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: var(--border);
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
}
.btn-green:hover { background: var(--green-main); color: #fff; border-color: var(--green-main); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── SECTION COMMON ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--green-pale); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-desc { font-size: 1.05rem; color: var(--text-light); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

/* Phone number shown in header on desktop */
.header-phone {
  display: none; /* hidden on mobile – shown on desktop */
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--green-light);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.header-phone:hover { background: var(--green-main); color: #fff; border-color: var(--green-main); }
.header-phone svg { flex-shrink: 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
  flex-shrink: 0;
}
/* Real logo image */
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  /* Crisp rendering for the circular badge */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.logo-img-footer {
  width: 52px;
  height: 52px;
  /* Slightly lighter shadow on dark footer background */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.logo-icon { font-size: 1.5rem; }  /* kept as fallback */
.logo-accent { color: var(--green-mid); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--green-main);
  background: var(--green-light);
}
.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
}
.burger-line {
  width: 24px;
  height: 2.5px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}
.nav-toggle[aria-expanded="true"] .burger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d3d1a;
  padding: 4rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Hero background video — identical fit to the image */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Adaptive overlay — works on both dark and light background photos */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 28, 12, 0.88) 0%,
    rgba(8, 40, 18, 0.78) 38%,
    rgba(10, 50, 22, 0.45) 65%,
    rgba(5, 28, 12, 0.18) 100%
  );
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--white));
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #a8f0bc;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  color: #fff;
  margin-bottom: 1.25rem;
  /* auto-fit font to container width — never wraps awkwardly */
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-body);
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-intro {
  font-size: 1.05rem;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 0.9rem;
  line-height: 1.75;
}
.about-text p { margin-bottom: 0.9rem; }

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.mvv-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.mvv-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.mvv-card h3 { margin-bottom: 0.2rem; font-size: 0.95rem; color: var(--green-dark); }
.mvv-card p  { font-size: 0.86rem; margin: 0; line-height: 1.55; }

/* Visual column — logo + founder photo stacked */
.about-visual { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; }

.about-img-block {
  width: 100%;
  max-width: 340px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1.5rem 2.25rem;
}
.about-img-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.about-logo-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.about-icon-big { font-size: 6rem; display: block; }
.about-badge-float {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

/* Founder photo card */
.founder-card {
  width: 100%;
  max-width: 340px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.founder-photo-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--green-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.founder-photo-placeholder {
  font-size: 4rem;
  color: var(--green-mid);
}
.founder-info {
  padding: 1rem 1.25rem 1.25rem;
}
.founder-info h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
}
.founder-info p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--border);
}
.card-icon { font-size: 2.25rem; margin-bottom: 0.85rem; }
.service-card h3 { margin-bottom: 0.5rem; color: var(--green-dark); }
.service-card p { font-size: 0.95rem; margin: 0; }

/* ── PRODUCTS ── */
/* Category filter tabs */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.product-tab {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}
.product-tab:hover  { border-color: var(--green-main); color: var(--green-main); }
.product-tab.active { background: var(--green-main); border-color: var(--green-main); color: #fff; }

/* Category group heading */
.category-group { margin-bottom: 3rem; }
.category-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--green-light);
}
.category-heading span { font-size: 1.5rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.product-img {
  background: linear-gradient(135deg, var(--green-light), var(--earth-light));
  /* Fixed aspect ratio — no cropping, image fits fully */
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img span { font-size: 3.5rem; }
.product-img img {
  width: 100%;
  height: 100%;
  /* contain = full image visible, no crop */
  object-fit: contain;
  padding: 0.5rem;
  display: block;
}
.product-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.product-body h3 { font-size: 0.95rem; color: var(--green-dark); margin: 0; line-height: 1.35; }
.product-body p  { font-size: 0.84rem; margin: 0; flex: 1; line-height: 1.5; }

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
}
.product-badge {
  display: inline-block;
  background: var(--yellow-light);
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  width: fit-content;
}

.products-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.products-cta p { font-size: 1.05rem; margin-bottom: 1.1rem; color: var(--gray-700); }

/* ── WHY CHOOSE US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.why-card h3 { margin-bottom: 0.4rem; color: var(--green-dark); }
.why-card p { font-size: 0.92rem; margin: 0; }

/* ── SALES ── */
.sales-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.sales-info .section-tag { margin-bottom: 0.75rem; }
.sales-info .section-title { margin-bottom: 1rem; }
.sales-info > p { margin-bottom: 1.5rem; }

.sales-points { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.sales-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
}
.sales-points li span { color: var(--green-main); font-size: 1.1rem; flex-shrink: 0; }

.sales-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.sales-form-wrap h3 { margin-bottom: 1.5rem; font-size: 1.2rem; color: var(--green-dark); }

/* ── FORMS ── */
.inquiry-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}
.required { color: #dc2626; }

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(45,138,69,0.12);
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
textarea { resize: vertical; min-height: 110px; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.contact-icon { font-size: 1.75rem; flex-shrink: 0; }
.contact-card h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 0.25rem; font-family: var(--font-body); }
.contact-link { font-size: 1.05rem; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.contact-address { font-style: normal; font-size: 0.95rem; color: var(--gray-700); line-height: 1.6; }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-main);
  text-decoration: none;
  transition: color var(--transition);
}
.map-link:hover { color: var(--green-dark); text-decoration: underline; }

.social-section h3 { margin-bottom: 0.85rem; font-size: 1rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.social-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.social-btn.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.facebook { background: #1877f2; }
.social-btn.youtube { background: #ff0000; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; font-size: 1.2rem; color: var(--green-dark); }

/* ── FOOTER ── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 1.25rem 2.5rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255,255,255,0.75); }

/* Ensure ALL paragraphs inside the footer are visible on dark bg */
.site-footer p { color: rgba(255,255,255,0.75); }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.footer-social-link:hover { background: var(--green-mid); transform: translateY(-2px); }

.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin: 0; }

/* Discreet admin login link in footer */
.admin-login-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.admin-login-link:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.07);
}

/* ── FLOATING ACTION BUTTONS ── */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--green-main); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slide-up 0.25s ease;
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.modal-box h2 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.modal-box p { margin-bottom: 1.5rem; }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── TABLET (640px+) ── */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── DESKTOP (1024px+) ── */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex; }
  .header-phone { display: flex; }

  /* About: text takes 3fr, visuals take 2fr */
  .about-grid { grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; }
  .about-visual { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .about-img-block { max-width: 100%; }
  .founder-card { max-width: 100%; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .sales-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; }

  .hero { padding: 5rem 0 6rem; }
  .hero-actions { gap: 1.25rem; }

  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .mvv-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── MOBILE NAV ── */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    z-index: 999;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list { flex-direction: column; gap: 0.25rem; }
  .nav-link { padding: 0.75rem 1rem; font-size: 1rem; border-radius: var(--radius); }
  .nav-cta { margin: 0.5rem 0 0; border-radius: var(--radius); justify-content: center; padding: 0.85rem; }

  /* Show a call strip inside the mobile nav drawer */
  .main-nav::after {
    content: '📞 +91 97401 30025';
    display: block;
    text-align: center;
    padding: 0.6rem 1rem;
    margin-top: 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }
}

/* ── SMALL SCREEN TWEAKS ── */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── HIGH CONTRAST ── */
@media (prefers-color-scheme: dark) {
  /* Intentionally minimal – site targets agri users who likely use light mode */
}

/* ── NEWS & UPDATES SECTION ── */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-img .news-emoji { font-size: 3rem; }

.news-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  width: fit-content;
}
.news-tag.advisory  { background: #fef9c3; color: #854d0e; }
.news-tag.scheme    { background: var(--green-light); color: var(--green-dark); }
.news-tag.weather   { background: #eff6ff; color: #1e40af; }
.news-tag.price     { background: #fef2f2; color: #991b1b; }
.news-tag.product   { background: var(--earth-light); color: var(--earth); }

.news-card-body h3 { font-size: 0.98rem; color: var(--gray-900); line-height: 1.4; margin: 0; }
.news-card-body p  { font-size: 0.85rem; margin: 0; flex: 1; line-height: 1.55; }
.news-date { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.25rem; }
.news-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-main);
  text-decoration: none;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.news-read-more:hover { text-decoration: underline; }

@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── WHY-US SVG ICONS ── */
.why-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border-radius: 50%;
  margin: 0 auto 0.85rem;
}
.why-svg svg {
  width: 28px;
  height: 28px;
  color: var(--green-dark);
}

/* Override font-size rule since we now use SVG not emoji */
.why-card .why-icon { font-size: inherit; }

/* ── SERVICES SVG ICONS ── */
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--green-dark);
}

/* ── NEWS SECTION SVG ICONS ── */
.news-emoji-svg {
  width: 56px;
  height: 56px;
}
.news-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

/* ── REVIEWS SECTION ── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-size: 4rem;
  color: var(--green-light);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.review-stars {
  color: var(--yellow);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-200);
}

.review-avatar {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  display: block;
  font-size: 0.95rem;
  color: var(--green-dark);
  font-weight: 700;
}

.review-loc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── REVIEW SUMMARY BAR ── */
.review-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.5rem;
  width: fit-content;
}
.review-avg-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
  font-family: var(--font-body);
}
.review-avg-stars { font-size: 1.3rem; color: var(--yellow); letter-spacing: 3px; }
.review-avg-count { font-size: 0.85rem; color: var(--text-light); margin-top: 0.2rem; }

/* ── REVIEW FORM ── */
.review-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-sm);
  max-width: 700px;
}
.review-form-wrap h3 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
.review-form { display: flex; flex-direction: column; gap: 1.1rem; }

/* ── STAR PICKER ── */
.star-picker {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0.5rem 0;
}
.star-btn {
  font-size: 2.6rem;
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  padding: 0.1rem 0.15rem;
  transition: color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 0 0px transparent);
}
.star-btn:hover {
  color: #fbbf24;
  transform: scale(1.35) translateY(-4px);
  filter: drop-shadow(0 4px 10px rgba(245,166,35,0.6));
}
.star-btn.active {
  color: #f5a623;
  transform: scale(1.15);
  filter: drop-shadow(0 2px 6px rgba(245,166,35,0.45));
}
.star-btn:focus-visible {
  outline: 2px solid var(--yellow);
  border-radius: 4px;
}

/* ── REVIEW CARD (updated for dynamic) ── */
.review-pending-msg {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 2.5rem;
  grid-column: 1 / -1;
}