/* ============ Vibha Agro & Aqua — shared styles ============ */
:root {
  --green-dark: #1b4332;
  --green: #2d6a4f;
  --green-light: #74c69d;
  --teal: #0e7490;
  --sand: #f6f4ee;
  --gold: #d4a017;
  --text: #22303a;
  --muted: #5c6b73;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(27, 67, 50, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.65;
}

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

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Header / Nav ---------- */
header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .3px;
}

.brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35);
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: #d8e8dd;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: background .2s, color .2s;
}

.nav-links a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-links a.active { background: var(--green); color: var(--white); }

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--white);
  padding: 90px 0 100px;
  text-align: center;
}

.hero-slides { position: absolute; inset: 0; z-index: 0; }

.hero-slides .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slides .slide.active { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(27,67,50,.88) 0%, rgba(45,106,79,.75) 60%, rgba(14,116,144,.70) 100%);
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 720px;
  margin: 0 auto 34px;
  color: #e3efe7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-badges span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

.btn-gold { background: var(--gold); color: #2b2005; }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-left: 10px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }

.section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-dark);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 46px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(27,67,50,.18); }

.card-icon {
  height: 130px;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  color: var(--white);
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-icon.palm    { background: linear-gradient(135deg, #2d6a4f, #74c69d); }
.card-icon.seafood { background: linear-gradient(135deg, #0e7490, #38bdf8); }
.card-icon.raw     { background: linear-gradient(135deg, #b45309, #d4a017); }
.card-icon.agri    { background: linear-gradient(135deg, #3f6212, #84cc16); }
.card-icon.export  { background: linear-gradient(135deg, #1e3a8a, #60a5fa); }
.card-icon.retail  { background: linear-gradient(135deg, #6d28d9, #c084fc); }

.card-body { padding: 22px 24px 26px; flex: 1; }
.card-body h3 { color: var(--green-dark); margin-bottom: 10px; font-size: 1.2rem; }
.card-body p { color: var(--muted); font-size: .95rem; }

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--green-dark);
  color: var(--white);
  padding: 48px 0;
}

.stats .grid { text-align: center; }
.stat h3 { font-size: 2.3rem; color: var(--green-light); }
.stat p { color: #cfe3d6; font-size: .95rem; }

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col h2 { color: var(--green-dark); font-size: 1.9rem; margin-bottom: 16px; }
.two-col p { color: var(--muted); margin-bottom: 14px; }

.visual {
  border-radius: var(--radius);
  min-height: 320px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 5rem;
}

.visual.farm { background: linear-gradient(140deg, #d8f3dc, #74c69d); }
.visual.pond { background: linear-gradient(140deg, #cffafe, #38bdf8); }

img.visual {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-top: 8px; }
.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text);
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- Product detail rows ---------- */
.product-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.product-row .thumb {
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: var(--white);
  min-height: 180px;
}

.product-row img.thumb {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.product-row .info { padding: 26px 30px 26px 0; }
.product-row h3 { color: var(--green-dark); font-size: 1.35rem; margin-bottom: 8px; }
.product-row p { color: var(--muted); margin-bottom: 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags span {
  background: #e7f2ea;
  color: var(--green);
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green), var(--teal));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 56px 30px;
}

.cta-band h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-band p { color: #e0f2ec; margin-bottom: 26px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--green-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d5ddd8;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fbfcfb;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

button.btn { border: none; cursor: pointer; font-size: 1rem; }
.btn-green { background: var(--green); color: var(--white); }

.form-note {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  background: #e7f7ee;
  color: var(--green-dark);
  font-weight: 600;
}

/* ---------- Contact info ---------- */
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.info-list .ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: #e7f2ea;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
.info-list strong { display: block; color: var(--green-dark); }
.info-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Timeline (about) ---------- */
.timeline { list-style: none; border-left: 3px solid var(--green-light); padding-left: 26px; }
.timeline li { margin-bottom: 26px; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--sand);
}
.timeline strong { color: var(--green-dark); }
.timeline p { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
footer {
  background: #12291d;
  color: #b9cfc1;
  padding: 54px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-grid h4 { color: var(--white); margin-bottom: 14px; }
.footer-grid p { font-size: .92rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b9cfc1; text-decoration: none; }
.footer-grid a:hover { color: var(--green-light); }

.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
  color: #86a292;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(140deg, var(--green-dark), var(--green));
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: #d9e9df; max-width: 640px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-btn { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--green-dark);
    padding: 12px 5%;
    gap: 4px;
  }

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

  .two-col, .footer-grid { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; }
  .product-row .thumb { min-height: 120px; }
  .product-row .info { padding: 0 26px 26px; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}
