/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background: #fff;
}

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

a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header — dark like original */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav a {
  color: #fff;
  font-weight: 500;
  padding: 0.25rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}
.nav a:hover { color: #f0a020; text-decoration: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s;
}
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 28px; }
.nav-toggle.open::before { transform: rotate(45deg); top: 21px; }
.nav-toggle.open span { opacity: 0; }
.nav-toggle.open::after { transform: rotate(-45deg); top: 21px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav a:last-child { border-bottom: none; }
}

/* Hero — gradient only (no image with regional icons) */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
  color: #fff;
  max-width: 640px;
}
.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hero-tagline {
  margin: 0 0 1.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  opacity: 0.95;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  min-height: 44px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { opacity: 0.95; text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: #c0392b;
  color: #fff;
}
.btn-primary:hover { background: #a93226; }

/* Sections */
.section {
  padding: 4rem 0;
}
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
}
.section-intro {
  margin: 0 0 2.5rem;
  text-align: center;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  color: #555;
  font-size: 1.05rem;
}

/* Our Focus — visual cards */
.section--dark {
  background: #1a1a2e;
  color: #e8e8e8;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-intro { color: #b0b0b0; }
.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.direction-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.direction-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(240,160,32,0.4);
}
.direction-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.direction-card__icon--generator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}
.direction-card__icon--agriculture {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c-2-4-4-8-4-12a4 4 0 018 0c0 4-2 8-4 12'/%3E%3Cpath d='M8 10h8M9 14h6'/%3E%3C/svg%3E");
}
.direction-card__icon--logistics {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpath d='M16 8h4l3 3v5h-7V8z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E");
}
.direction-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.direction-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .directions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .direction-card { padding: 1.5rem 1rem; }
  .service-card { flex: 0 0 100%; max-width: none; }
}

/* Services grid — 3 in first row, 2 centered in second row */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.service-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  border-color: #c0392b;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  object-fit: contain;
}
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
}
.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.45;
}

/* Audience grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.audience-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.audience-card:hover {
  border-color: #c0392b;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.audience-card img {
  width: 100%;
  aspect-ratio: 360/250;
  object-fit: cover;
}
.audience-card h3 {
  margin: 0;
  padding: 1.25rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
}
.audience-card .link {
  display: inline-block;
  padding: 0 1rem 1.25rem;
  font-weight: 600;
  color: #c0392b;
}
.audience-card .link:hover { text-decoration: underline; }

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

/* Generator CTA */
.generator-cta {
  background: #f0f0f0;
}
.container--flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}
.generator-img {
  flex: 0 0 320px;
  max-width: 100%;
}
.generator-text {
  flex: 1;
  min-width: 280px;
}
.generator-text h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #1a1a2e;
}
.generator-text p {
  margin: 0 0 1.25rem;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .container--flex { flex-direction: column; }
  .generator-img { flex: 0 0 auto; }
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: #c0c0c0;
  padding: 3rem 0;
}
.footer a { color: #f0a020; }
.footer a:hover { color: #ffb833; text-decoration: underline; }
.footer-logo {
  max-height: 52px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-contact-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.footer-legal {
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-legal p { margin: 0 0 0.5rem; }
.footer-legal strong { color: #fff; }
.copyright { margin-top: 1.5rem !important; opacity: 0.85; font-size: 0.9rem; }
.footer-links {
  margin-top: 1rem !important;
}
.footer-links a { margin: 0 0.25rem; }

/* Policy pages */
.policy-content { max-width: 720px; margin: 0 auto; }
.policy-content h1 { margin: 0 0 1rem; font-size: 1.75rem; color: #1a1a2e; }
.policy-content h2 { margin: 2rem 0 0.75rem; font-size: 1.2rem; color: #1a1a2e; }
.policy-content p, .policy-content li { margin: 0 0 0.75rem; line-height: 1.6; color: #444; }
.policy-content ul { margin: 0 0 1rem; padding-left: 1.5rem; }
.policy-content .back-link { display: inline-block; margin-top: 1.5rem; font-weight: 500; }
.policy-content .updated { margin-bottom: 1.5rem; font-size: 0.9rem; color: #666; }
.policy-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.policy-content th, .policy-content td { border: 1px solid #ddd; padding: 0.5rem 0.75rem; text-align: left; }
.policy-content th { background: #f5f5f5; font-weight: 600; color: #1a1a2e; }
.policy-content tr:nth-child(even) { background: #fafafa; }
@media (max-width: 600px) { .policy-content table, .policy-content thead, .policy-content tbody, .policy-content th, .policy-content td, .policy-content tr { display: block; }
  .policy-content thead tr { position: absolute; left: -9999px; }
  .policy-content tr { margin-bottom: 0.75rem; border: 1px solid #ddd; }
  .policy-content td { border: none; padding-left: 50%; position: relative; }
  .policy-content td::before { content: attr(data-label); position: absolute; left: 0.5rem; font-weight: 600; }
}
