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

/* ==========================================================
   GLOBAL RESET + SYSTEM
========================================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {
  --primary: #2e7d32;
  --primary-d: #1b5e20;

  --text: #111827;
  --text-light: #4b5563;

  --radius: 16px;

  --shadow-sm: 0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.18);

  --transition: all .35s ease;
}

/* ==========================================================
   GLOBAL RESPONSIVE MEDIA (CRITICAL FIX)
========================================================== */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Prevent flex/grid children overflow */
.container,
.story-container,
.team-container,
.flow-cards,
.story-block,
.hero-text,
.hero-image,
.story-img,
.team-card {
  min-width: 0;
}

/* ==========================================================
   CORE LAYOUT HELPERS
========================================================== */

main {
  width: 100%;
}

.sec {
  padding: clamp(48px, 10vw, 80px) 16px;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 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);
  border: solid 2px #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46,125,50,0.28);
}

.btn-outline: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;
  }
}


/* =====================================================
   HERO SECTION — CINEMATIC, MOBILE-FIRST, SYSTEM-ALIGNED
   ===================================================== */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockup {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 100%;
}

/* Gradient blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  animation: float 12s infinite ease-in-out;
}

.blob-green {
  width: 260px;
  height: 260px;
  background: #7cc242;
  top: -40px;
  left: 0;
}

.blob-light {
  width: 300px;
  height: 300px;
  background: #b6e388;
  bottom: -60px;
  right: 0;
  animation-delay: 4s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}


    /* ===== HERO ===== */

    .hero-parent{
      background-image: 
        /* White overlay gradient – strongest white at bottom, fades to transparent at top */
        linear-gradient(
          to right,
          rgb(15, 62, 31) 20%,     /* almost solid white at bottom */
          rgba(15, 62, 31, 0.829) 40%,
          rgba(15, 62, 31, 0.61) 60%,
          rgba(15, 62, 31, 0.18) 80%,
          rgba(15, 62, 31, 0.171) 100%     /* fully transparent near top */
        ),
        /* Your background image */
        url('../images/onboard.webp');   /* ← replace with your real image */

      background-size: cover;
      background-position: center 60%;   /* slightly higher focus if people are in lower part */
      background-repeat: no-repeat;
    }

    .hero {
      padding: clamp(4rem, 8vw, 6rem) 2rem;
      overflow: hidden;
      width: 100%;
      background-image: url(../images/farmwiser\ app\ mockup\ transparent.svg);
      background-repeat: no-repeat;
      background-size:contain;
      background-position: center;
    }

    .hero-container {
      max-width: 1200px;
      margin: auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: center;
    }

    .hero-text h1 {
      font-size: clamp(2.4rem, 4vw, 3.4rem);
      line-height: 1.15;
      margin-bottom: 1rem;
      z-index: 1;
      color: #fff;
    }

    .hero-text p {
      max-width: 520px;
      font-size: 1.05rem;
      opacity: 0.9;
      z-index: 1000;
      color: #fff;
    }

    .hero-buttons {
      margin-top: 2rem;
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      z-index: 1000;
    }

    .store-badges img {
      height: 48px;
      cursor: pointer;
      transition: transform .3s ease;
    }

    .store-badges img:hover {
      transform: scale(1.05);
    }


    @keyframes float {
      0% { transform: translateY(0); }
      50% { transform: translateY(-30px); }
      100% { transform: translateY(0); }
    }

    /* ===== CROP ICONS ===== */
    .crops {
      display: flex;
      gap: 1.2rem;
      margin-top: 2rem;
      z-index: 1000;
    }

    .crops img {
      width: 42px;
      animation: pulse 3s infinite ease-in-out;
    }

    .crops img:nth-child(2){ animation-delay:.5s }
    .crops img:nth-child(3){ animation-delay:1s }
    .crops img:nth-child(4){ animation-delay:1.5s }

    @keyframes pulse {
      0% { transform: translateY(0); opacity: .8; }
      50% { transform: translateY(-8px); opacity: 1; }
      100% { transform: translateY(0); }
    }

/*    */
    @media (max-width: 768px) {
      .hero {
        background-size:contain;
        background-position:bottom;
      }
    }

    
    @media (max-width: 600px) {
      .hero {
        background-size:  contain;
        background-position: bottom;
      }
    }
  

/* =====================================================
   FLOAT SECTION — LIGHTHOUSE OPTIMIZED & MOBILE SAFE
   ===================================================== */

#float {
  max-width: 1400px;                   /* slightly wider breathing room on large screens */
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);

  display: grid;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  grid-template-columns: 1fr;
  z-index: 1000;
}

/* ──────────────── CARD BASE ──────────────── */
.fCard {
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
  border-radius: 1.5rem;               /* 24px – softer than 22px */
  padding: clamp(1.8rem, 5vw, 2.4rem) clamp(1.4rem, 4vw, 2rem);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.10),
    0 30px 70px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.7);   /* subtle inner highlight */

  border: 1px solid rgba(255,255,255,0.5);

  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.4rem);

  position: relative;
  isolation: isolate;

  transition:
    transform 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.48s ease;
}

/* Glow / depth layer */
.fCard::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(46, 125, 50, 0.28),
    transparent 70%
  );
  filter: blur(24px);
  opacity: 0.45;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.fCard:hover::before {
  opacity: 0.65;
}

/* Hover / active states */
.fCard:hover,
.fCard:focus-within {
  transform: translateY(-14px) scale(1.015);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.20),
    0 60px 140px rgba(0,0,0,0.35);
}

/* Floating animation – only on large screens + reduced motion respect */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .fCard {
    animation: float 7s ease-in-out infinite;
  }

  .fCard:nth-child(even) {
    animation-delay: 1.8s;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ──────────────── ICON ──────────────── */
.fCard i {
  font-size: clamp(2.4rem, 6vw, 3rem);
  color: #1e6330;

  width: clamp(54px, 10vw, 64px);
  height: clamp(54px, 10vw, 64px);
  border-radius: 1rem;

  background: rgba(46, 125, 50, 0.12);
  display: grid;
  place-items: center;

  transition: transform 0.4s ease, background 0.4s ease;
}

.fCard:hover i {
  transform: scale(1.1);
  background: rgba(46, 125, 50, 0.20);
}

/* ──────────────── TEXT ──────────────── */
.fCard h4 {
  font-size: clamp(1.25rem, 3.5vw, 1.45rem);
  font-weight: 700;
  color: #0e2a18;
  line-height: 1.25;
  margin: 0;
}

.fCard ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fCard li {
  font-size: clamp(0.95rem, 2.8vw, 1.03rem);
  color: #3b524c;
  line-height: 1.65;
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}

.fCard li:last-child {
  margin-bottom: 0;
}

.fCard li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

/* ──────────────── RESPONSIVE GRID ──────────────── */
@media (min-width: 520px) {
  #float {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  #float {
    grid-template-columns: repeat(2, 1fr);
    padding-left:  clamp(2rem, 5vw, 4rem);
    padding-right: clamp(2rem, 5vw, 4rem);
  }
}

@media (min-width: 1100px) {
  #float {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.8rem, 3vw, 2.5rem);
  }

  /* Staggered starting position – more subtle */
  .fCard:nth-child(2),
  .fCard:nth-child(4) {
    transform: translateY(24px);     /* reduced from 40px – looks less forced */
  }

  .fCard:nth-child(3) {
    transform: translateY(12px);
  }
}

/* Very large screens – center & cap width */
@media (min-width: 1600px) {
  #float {
    max-width: 1480px;
  }
}

/* Accessibility – reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fCard,
  .fCard:hover,
  .fCard i,
  .fCard:hover i {
    transition: none;
    transform: none !important;
    animation: none !important;
  }
}



/* =====================
   HOW IT WORKS SECTION
===================== */
#solPreview {
  max-width: 1200px;
  margin: auto;
  padding: clamp(4rem, 6vw, 6rem) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

/* Heading */
#solPreview h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #1b5e20;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

/* Optional subtle underline */
#solPreview h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(135deg, #7cc242, #2e7d32);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Flow image container */
.mFlow {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0.5rem;
}

/* Flow image - full width */
.mFlow img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px; /* subtle rounding */
  transition: transform 0.35s ease;
}

/* Optional hover zoom for desktop */
@media (min-width: 768px) {
  .mFlow img:hover {
    transform: scale(1.02);
  }
}

/* Responsive text adjustments */
@media (max-width: 480px) {
  #solPreview h2 {
    font-size: 1.6rem;
  }
}


/* =====================
   TESTIMONIALS SECTION – MINI CAROUSEL
===================== */
.testimonials {
  position: relative;
  background: linear-gradient(135deg, #eaf7e4, #d3eed6);
  min-height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 1rem 1.5rem;
}

/* Floating gradient blobs */
.testimonials::before,
.testimonials::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  z-index: 1;
}

.testimonials::before {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(124,194,66,0.35), rgba(46,125,50,0.1));
  top: -60px;
  left: -40px;
  animation: floatSlow 12s ease-in-out infinite alternate;
}

.testimonials::after {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(46,125,50,0.3), rgba(124,194,66,0.05));
  bottom: -40px;
  right: -30px;
  animation: floatSlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(15deg); }
}

/* Testimonial cards */
.testimonial {
  position: absolute;
  max-width: 600px;
  width: 90%;
  background: #ffffffcc; /* semi-transparent for depth */
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: #1b1b1b;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Active testimonial visible */
.testimonial.active {
  opacity: 1;
  transform: translateY(0);
}

/* Author styling */
.testimonial strong {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: #2e7d32;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial {
    max-width: 90%;
    font-size: 0.95rem;
    border-radius: 16px;
    padding: 0.8rem 1rem;
  }

  .testimonial strong {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .testimonial {
    max-width: 95%;
    font-size: 0.9rem;
    border-radius: 14px;
    padding: 0.6rem 0.8rem;
  }

  .testimonial strong {
    font-size: 0.8rem;
  }
}



/* =====================
   TARGET AUDIENCE GRID
===================== */
#target-audience-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #1b5e20;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

#target-audience-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(135deg, #7cc242, #2e7d32);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Audience Grid Container */
.audience-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: clamp(1.5rem, 2vw, 2.5rem);
  max-width: 1200px;
  margin: auto;
}

/* Individual Grid Card */
.audience-list li {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: start;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1b1b1b;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: #ffffffcc;        /* semi-transparent card */
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08), 0 20px 40px rgba(0,0,0,.06);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: floatCard 6s ease-in-out infinite;
}

/* Card float animation */
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Icon styling inside card */
.audience-list li i {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: #7cc242;
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  display: grid;
  place-items: center;
  background: rgba(124,194,66,.15);
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: floatIcon 4s ease-in-out infinite;
}

/* Floating animation for icon */
@keyframes floatIcon {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Card hover effect */
.audience-list li:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,.12), 0 35px 70px rgba(0,0,0,.1);
}

/* Hover effect for icon inside card */
.audience-list li:hover i {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 10px 25px rgba(124,194,66,.3);
}

/* Card text styling */
.audience-list li span {
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #1b1b1b;
}

/* =====================
   RESPONSIVE GRID
===================== */

/* Small tablets */
@media (min-width: 600px) {
  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets / Desktop */
@media (min-width: 900px) {
  .audience-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .audience-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large / 4K */
@media (min-width: 1600px) {
  .audience-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  #target-audience-title {
    font-size: 1.6rem;
  }
  .audience-list li {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }
  .audience-list li i {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
}


/* =====================
   CTA TEASER SECTION
===================== */
#teaser {
  position: relative;
  width: 100%;
  min-height: 50vh; /* Half viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #7cc242, #2e7d32); /* Gradient background */
  color: #fff;
  overflow: hidden;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); /* diagonal bottom cut for style */
}

/* Overlay container for content */
#Toverlay {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Headline */
#Toverlay h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.25);
  animation: fadeInUp 1s ease forwards;
}

/* Subtext */
#Toverlay p:first-of-type {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  animation: fadeInUp 1.2s ease forwards;
}

/* Hero CTA button group */
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1.4s ease forwards;
}

.hero-cta-group .btn-primary {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: 50px;
  background: #ffffff;
  color: #2e7d32;
  font-weight: 700;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero-cta-group .btn-primary:hover {
  background: #eaf7e4;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* View Impact Data link */
#viewData {
  display: inline-block;
  margin-bottom: 1rem;
  color: #f1f1f1;
  text-decoration: underline;
  font-weight: 60
}



   /* ──────────────────────────────────────────
   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;
  }
}
