/* ==========================================================================
   PlowAfrika – Complete Mobile-First CSS (By LitrixGlobal)
   Last updated structure: January 2026
   Adjusted for smaller fonts and reduced footer height
   ========================================================================== */

/* ─────────────────────────────────────────────
   GLOBAL RESET & VARIABLES
────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

:root {
  --fs-body: 0.9375rem; /* 15px */
  --fs-link: 1rem;       /* 16px */
  --gap-md: 24px;
  --gap-sm: 16px;
  --nav-height: 60px;
  --btn-pad: 8px 16px;
  --btn-rad: 8px;
  --primary: #2e7d32;
  --primary-d: #1b5e20;
  --text: #111827;
  --text-light: #4b5563;
  --border: #e5e7eb;
  --shadow-md: 0 6px 20px rgba(0,0,0,0.11);
}

/* ─────────────────────────────────────────────
   CONTAINER
────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ─────────────────────────────────────────────
   BUTTONS
────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad);
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--btn-rad);
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: var(--primary);
  color: #fff;
  transition: all 0.22s ease;
}

.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46,125,50,0.28);
}

/* ─────────────────────────────────────────────
   NAVIGATION
────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 60px;
  width: auto;
  transition: height 0.3s ease;
}

/* Hamburger menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger X animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav links (mobile hidden initially) */
.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  right: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 12px 20px;
  min-width: 180px;
  list-style: none;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.22s ease-out;
  pointer-events: none;
  flex-direction: column;
  gap: 8px;
}

.nav-links.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Triangle arrow for mobile */
.nav-links.active::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 24px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.nav-links a {
  display: block;
  padding: 10px 4px;
  color: var(--text);
  font-weight: 500;
  font-size: var(--fs-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* CTA always visible on desktop/tablet */
.nav-cta {
  display: none;
}

/* ─────────────────────────────────────────────
   RESPONSIVE – TABLET & DESKTOP
────────────────────────────────────────────── */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: none;
    box-shadow: none;
    gap: var(--gap-md);
  }

  .nav-links a {
    padding: 8px 12px;
  }

  .nav-cta {
    display: block;
  }

  .logo img {
    height: 84px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 50px;
  }
}


.contact-page {
  background: #f5faf6;
  padding: 4rem 1.5rem;
  font-family: system-ui, sans-serif;
}

.contact-hero {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.contact-hero h1 {
  color: #0f3d2e;
  font-size: 2.5rem;
  font-weight: 700;
}

.contact-hero p {
  color: #4f6f64;
  max-width: 600px;
  line-height: 1.7;
}

.contact-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* LEFT */
.contact-info h2 {
  color: #0f3d2e;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #4f6f64;
  line-height: 1.8;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-info li {
  margin-bottom: .8rem;
  padding-left: 1.2rem;
  position: relative;
}

.contact-info li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2f7d57;
}

.contact-meta {
  margin-top: 2rem;
  font-size: .9rem;
  color: #355f52;
}

/* FORM */
.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 14px;
  border: 1px solid #e4eee9;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.contact-form label {
  font-size: .85rem;
  font-weight: 600;
  color: #0f3d2e;
}

.contact-form span {
  font-weight: 400;
  color: #7b9b90;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: .8rem;
  border-radius: 8px;
  border: 1px solid #dce7e2;
  font-size: .95rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #2f7d57;
}

/* BUTTON */
.primary-btn {
  margin-top: 1.2rem;
  background: #0f3d2e;
  color: #fff;
  border: none;
  padding: .8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.primary-btn.full {
  width: 100%;
}

.primary-btn:hover {
  background: #145c45;
}

/* FOOTER */
.contact-belief {
  text-align: center;
  margin-top: 4rem;
  max-width: 900px;
  margin-inline: auto;
  color: #355f52;
}







   /* ──────────────────────────────────────────
   FOOTER – CREATIVE UPGRADE
────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: #0f2a1c; /* Keep your original color */
  color: #e5e7eb;
  padding-top: 64px;
  font-size: var(--fs-body);
  overflow: hidden;
  min-height: 25vh;
}

/* Floating decorative blobs */
.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
}

.site-footer::before {
  width: 280px;
  height: 280px;
  background: rgba(124, 194, 66, 0.2);
  top: -60px;
  left: -80px;
  animation: floatFooter 12s ease-in-out infinite alternate;
}

.site-footer::after {
  width: 220px;
  height: 220px;
  background: rgba(46, 125, 50, 0.2);
  bottom: -50px;
  right: -60px;
  animation: floatFooter 15s ease-in-out infinite alternate-reverse;
}

/* Floating animation */
@keyframes floatFooter {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

/* Container reuse */
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 2; /* ensure blobs are behind */
}

/* Footer grid columns */
.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

/* Column cards with subtle frosted glass effect */
.footer-column {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Headings */
.footer-column h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
  position: relative;
}

.footer-column h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: #7cc242;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* Contact List */
.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-list i {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 3px;
}

.contact-list span {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
}

.contact-list a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.contact-list a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Quick Links */
.footer-links {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Social Icons */
.social-icons {
  list-style: none;
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #7cc242;
  color: #0f2a1c;
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding: 20px 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Extra responsiveness */
@media (max-width: 480px) {
  .site-footer {
    padding-top: 56px;
    min-height: 28vh;
  }

  .footer-column {
    padding: 1rem;
  }
}
