/* ===== V1 Conservative – ARM AgriTrade LLP ===== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #e8f5e9;
  --text: #111827;
  --text-light: #4b5563;
  --bg-alt: #f5f5f5;
  --border: #ddd;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-weight: 900; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 50px;
  height: 50px;
  background: var(--green);
  color: white;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

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

.logo-text .brand { font-size: 17px; font-weight: 700; color: var(--green); font-family: Georgia, serif; }
.logo-text .tagline { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--white);
  background: var(--green);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }

/* ===== HERO SLIDESHOW ===== */
.hero {
  margin-top: 70px;
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);
}

.slide-caption {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  padding: 0 24px;
}

.slide-caption h1 {
  font-size: 2.8rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}

.slide-caption p {
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 600px;
  margin: 0 auto;
}

.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slide-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.slide-dots button.active { background: white; }

/* ===== SECTIONS ===== */
.section { padding: 70px 24px; }
.section-alt { background: var(--bg-alt); }

.container { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 0 auto 16px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col .col-img {
  height: 380px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.two-col .col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.two-col .col-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: 4px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 26px; height: 26px; fill: var(--green); }

.card h3 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}

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

/* ===== WELCOME SECTION ===== */
.welcome-text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.welcome-text p { color: var(--text-light); margin-bottom: 16px; font-size: 1.05rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 50px 24px;
}

.cta-banner h2 { color: white; font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner p { margin-bottom: 24px; opacity: 0.9; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-white {
  background: white;
  color: var(--green);
  border-color: white;
}
.btn-white:hover { background: transparent; color: white; text-decoration: none; }

.btn-green {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); text-decoration: none; }

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-green:hover { background: var(--green); color: white; text-decoration: none; }

/* ===== ABOUT PAGE ===== */
.page-hero {
  margin-top: 70px;
  background: var(--green);
  color: white;
  padding: 60px 24px;
  text-align: center;
}

.page-hero h1 { color: white; font-size: 2.6rem; font-weight: 900; }
.page-hero p { opacity: 0.9; margin-top: 10px; font-size: 1.05rem; }

.bullet-list {
  list-style: none;
  margin: 24px 0;
}

.bullet-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-light);
  font-size: 1rem;
}

.bullet-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: 4px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 12px;
}

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

/* ===== FARMERS ===== */
.quote-block {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}

.quote-block p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--green-dark);
}

/* ===== PARTNER / CONTACT ===== */
.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.25rem;
  color: var(--green-dark);
  border-bottom: 2px solid var(--green);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  background: #fafafa;
}

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

.form-group textarea { resize: vertical; min-height: 110px; }

.honeypot { display: none !important; }

.form-error { color: #c62828; font-size: 0.82rem; margin-top: 4px; display: none; }
.form-error.visible { display: block; }

.contact-bar {
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-bar p { color: var(--text); font-size: 0.95rem; }

/* ===== PROJECTS ===== */
.projects-placeholder {
  text-align: center;
  padding: 100px 24px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark);
  color: white;
  padding: 50px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p { opacity: 0.75; font-size: 0.9rem; line-height: 1.7; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; text-decoration: none; }

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ===== AGRIFUNDS 3-COL GRID ===== */
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .services-grid { grid-template-columns: 1fr; }
  .forms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-inner { flex-wrap: nowrap; }
  nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; border-bottom: 2px solid var(--green); padding: 16px 0; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; }
  nav ul li a { padding: 12px 24px; }
  .hamburger { display: flex; }
  .hero { height: 420px; }
  .slide-caption h1 { font-size: 1.8rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-bar { flex-direction: column; }
}
