/* ===========================
   CABAX ENERGY LTD — STYLES
   =========================== */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #1B7A3D;
  --green-mid: #4CAF50;
  --blue: #2196C9;
  --amber: #FFB300;
  --charcoal: #1A1A1A;
  --eco-white: #F6FAF6;
  --muted: #7A8A7A;
  --white: #FFFFFF;
  --deep-green: #123D22;
  --grad: linear-gradient(135deg, #1B7A3D 0%, #2196C9 100%);
  --grad-h: linear-gradient(135deg, #4CAF50 0%, #2196C9 100%);
  --shadow-sm: 0 2px 12px rgba(27,122,61,0.08);
  --shadow-md: 0 8px 32px rgba(27,122,61,0.12);
  --shadow-lg: 0 20px 60px rgba(27,122,61,0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--eco-white);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1 { font-family: 'Sora', 'Poppins', sans-serif; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif; line-height: 1.18; letter-spacing: -0.005em; }
h3, h4 { font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif; line-height: 1.25; }
.display-font { font-family: 'Sora', sans-serif; }
.heading-font { font-family: 'Poppins', sans-serif; }
.body-font { font-family: 'Inter', sans-serif; }
.nunito { font-family: 'Nunito', sans-serif; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* === CUSTOM CURSOR (desktop) === */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-dark);
  transition: transform 0.1s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0.5;
  transition: transform 0.18s cubic-bezier(0.25,0.46,0.45,0.94), width 0.3s, height 0.3s, opacity 0.3s;
}
.cursor-ring.hovering {
  width: 48px; height: 48px;
  opacity: 0.8;
  border-color: var(--green-mid);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === BUTTONS === */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--grad);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(27,122,61,0.25);
}
.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-h);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.btn-gradient:hover::before { opacity: 1; }
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27,122,61,0.35), 0 0 0 0 rgba(27,122,61,0.4);
  animation: glow-pulse 2s infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(27,122,61,0.35), 0 0 0 0 rgba(27,122,61,0.4); }
  50% { box-shadow: 0 8px 30px rgba(27,122,61,0.35), 0 0 0 8px rgba(27,122,61,0); }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  background: transparent;
  color: var(--green-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--green-dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-outline:hover {
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline:hover::before { opacity: 1; }
.btn-outline span { position: relative; z-index: 1; }

/* Ripple */
.ripple-btn { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  background: rgba(255,255,255,0.35);
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION BASE === */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(27,122,61,0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(27,122,61,0.08);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(27,122,61,0.15);
  transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img { transform: rotate(-6deg) scale(1.04); }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.04em;
}
.nav-logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-link:hover { color: var(--green-dark); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.88rem;
  padding: 10px 22px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(246,250,246,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-close:hover { background: rgba(27,122,61,0.08); }
.mobile-links {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.mobile-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 12px 32px;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
}
.mobile-link::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 4px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleY(0);
  transition: transform 0.25s;
}
.mobile-link:hover { color: var(--green-dark); padding-left: 44px; }
.mobile-link:hover::before { transform: scaleY(1); }
.mobile-link-cta {
  margin-top: 16px;
  background: var(--grad);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 14px 40px;
  font-size: 1.1rem;
}
.mobile-link-cta::before { display: none; }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  background: var(--eco-white);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 88px;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(246,250,246,0.97) 0%,
    rgba(246,250,246,0.90) 30%,
    rgba(246,250,246,0.55) 55%,
    rgba(246,250,246,0.25) 75%,
    rgba(246,250,246,0.05) 100%
  );
}

/* Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
  animation: blob-drift 12s ease-in-out infinite alternate;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1B7A3D, transparent);
  top: -200px; left: -200px;
  animation-duration: 16s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #2196C9, transparent);
  top: 100px; right: -150px;
  animation-duration: 20s;
  animation-delay: -4s;
}
.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #4CAF50, transparent);
  bottom: 0; left: 30%;
  animation-duration: 14s;
  animation-delay: -8s;
}
@keyframes blob-drift {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(0.95); }
  100% { transform: translate(20px,10px) scale(1.02); }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.05;
  z-index: 1;
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

/* Hero Logo */
.hero-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.2s;
}
.hero-logo-mark {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(27,122,61,0.08), rgba(33,150,201,0.08));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(27,122,61,0.18);
  overflow: hidden;
  animation: logo-pulse 4s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(27,122,61,0.18); }
  50% { box-shadow: 0 8px 28px rgba(27,122,61,0.32); }
}
.hero-logo-img {
  width: 80%; height: 80%;
  object-fit: contain;
}

/* Logo SVG animations */
.logo-circle-draw {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw-circle 1.2s ease forwards 0.3s;
}
.logo-leaf-fill {
  animation: fade-in-el 0.6s ease forwards 1.2s;
}
.logo-vein-draw {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: draw-vein 0.5s ease forwards 1.5s;
}
.logo-drop {
  animation: drop-in 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards 1.7s;
}
.logo-sun {
  animation: fade-in-el 0.5s ease forwards 2s;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes draw-vein {
  to { stroke-dashoffset: 0; }
}
@keyframes fade-in-el {
  to { opacity: 1; }
}
@keyframes drop-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fade-up 0.6s ease forwards 1.8s;
}
.logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.hero-heading {
  font-family: 'Sora', 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 2.1s;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 2.3s;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 2.5s;
}

.btn-hero-primary { font-size: 1rem; padding: 16px 32px; }
.btn-hero-secondary { font-size: 1rem; padding: 15px 32px; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,179,0,0.12);
  border: 1.5px solid rgba(255,179,0,0.35);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8A6000;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 2.7s;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: badge-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,179,0,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(255,179,0,0); }
}

/* Hero Visual — farm-to-energy collage */
.hero-visual {
  flex-shrink: 0;
  width: 420px;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fade-up 1s ease forwards 2.3s;
}

.hero-img-main {
  position: relative;
  width: 340px;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(27,122,61,0.22), 0 10px 30px rgba(0,0,0,0.08);
  z-index: 2;
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.hero-visual:hover .hero-img-main { transform: rotate(0deg) scale(1.02); }
.hero-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,61,34,0.05) 0%, rgba(18,61,34,0.55) 100%);
}
.hero-img-label {
  position: absolute;
  bottom: 18px; left: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.hero-img-pin { font-size: 0.85rem; }

/* Floating process cards */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(27,122,61,0.18);
  border: 1.5px solid rgba(255,255,255,0.6);
  z-index: 3;
  min-width: 190px;
  animation: float-bob 4s ease-in-out infinite;
}
.hero-float-1 { top: 30px; left: -60px; animation-delay: 0s; }
.hero-float-2 { top: 200px; right: -50px; animation-delay: 1.2s; }
.hero-float-3 { bottom: 80px; left: -40px; animation-delay: 2.4s; }
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-step {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(33,150,201,0.1);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-icon { font-size: 1.3rem; flex-shrink: 0; }
.float-text { display: flex; flex-direction: column; line-height: 1.2; }
.float-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal);
}
.float-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  color: var(--muted);
}

/* Grant badge */
.hero-grant-float {
  position: absolute;
  bottom: 20px; right: -30px;
  background: linear-gradient(135deg, #FFB300, #FF8F00);
  color: var(--white);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 14px 40px rgba(255,143,0,0.35);
  z-index: 4;
  animation: float-bob 3.5s ease-in-out infinite 0.6s;
}
.grant-amount {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}
.grant-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.95;
}

/* Decorative rings */
.hero-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(27,122,61,0.15);
  pointer-events: none;
  animation: ring-spin 30s linear infinite;
}
.hero-deco-ring-1 {
  width: 460px; height: 460px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.hero-deco-ring-2 {
  width: 360px; height: 360px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-color: rgba(33,150,201,0.12);
  animation-direction: reverse;
  animation-duration: 24s;
}
@keyframes ring-spin {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Mobile menu wordmark fix */
@media (max-width: 768px) {
  .nav-logo-text { display: none; }
  .nav-logo-img { height: 42px; width: 42px; }
}

/* Pillar card image */
.pillar-card-img {
  width: calc(100% + 64px);
  margin: -40px -32px 20px -32px;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.pillar-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pillar-card:hover .pillar-card-img img { transform: scale(1.06); }
.pillar-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(246,250,246,0.4) 100%);
}
.pillar-card {
  padding-top: 0;
  overflow: hidden;
}
.pillar-icon-wrap {
  margin-top: 24px;
}

/* Glass card image */
.glass-card-img {
  width: calc(100% + 80px);
  margin: -48px -40px 28px -40px;
  height: 220px;
  overflow: hidden;
  position: relative;
}
.glass-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.glass-card:hover .glass-card-img img { transform: scale(1.05); }
.glass-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,122,61,0.15) 0%, rgba(33,150,201,0.08) 100%);
}
.glass-card {
  padding-top: 0;
}
.glass-card .glass-card-icon {
  margin-top: 24px;
}

/* Step card image */

.step-img {
  width: calc(100% + 56px);
  margin: -40px -28px 20px -28px;
  height: 220px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  position: relative;
}

.step-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.step-card {
  background: var(--eco-white);
  border-radius: var(--radius);
  padding: 0 28px 40px;   /* was: padding: 40px 28px; */
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.step-card:hover .step-img img { transform: scale(1.06); }
.step-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(246,250,246,0.3) 100%);
}

/* News card image */


/* ===========================
   NEWS
   =========================== */
.news { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--eco-white);
  border-radius: var(--radius);
  padding: 0 32px 36px;      /* top padding stays 0 — image sits flush at top */
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;           /* clips image to rounded corners */
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  width: calc(100% + 64px);
  margin: 0 -32px 20px -32px;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.06); }

.news-card-img .news-badge {
  position: absolute;
  top: 12px; left: 12px;
  margin-bottom: 0;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}

.news-title { margin-top: 4px; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-img .news-badge {
  position: absolute;
  top: 12px; left: 12px;
  margin-bottom: 0;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}
.news-card {
  padding-top: 0;
}
.news-card .news-title { margin-top: 4px; }

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(27,122,61,0.1);
  background: var(--white);
  padding: 16px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 24px;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--charcoal);
}
.ticker-sep {
  color: var(--green-dark);
  font-weight: 700;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================
   WHO WE ARE
   =========================== */
.who-we-are {
  background: var(--white);
  padding: 100px 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.pillar-card {
  background: var(--eco-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(27,122,61,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.pillar-card:hover .pillar-icon-wrap { background: rgba(27,122,61,0.14); }
.pillar-icon { font-size: 1.8rem; }
.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.who-meta {
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1.5px solid rgba(27,122,61,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.who-meta-item {
  flex: 1;
  padding: 28px 24px;
  text-align: center;
  border-right: 1.5px solid rgba(27,122,61,0.12);
}
.who-meta-item:last-child { border-right: none; }
.who-meta-label {
  display: block;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.who-meta-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ===========================
   WHAT WE DO
   =========================== */
.what-we-do { background: var(--eco-white); }

.hex-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, #1B7A3D 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.04;
  pointer-events: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(27,122,61,0.12);
  border-radius: var(--radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,122,61,0.25);
}
.glass-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.glass-card:hover .glass-shimmer { left: 150%; }

.glass-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.glass-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.glass-card-body {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 24px;
}
.glass-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(27,122,61,0.08);
  color: var(--green-dark);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.glass-card:hover .tag { background: rgba(27,122,61,0.14); }

/* AI Banner */
.ai-banner {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-green);
  position: relative;
}
.ai-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.4;
}
.ai-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 48px 48px;
}
.ai-banner-icon {
  font-size: 3rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(33,150,201,0.5));
}
.ai-banner-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.ai-banner-text p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 560px;
}
.ai-banner-glow {
  position: absolute;
  top: -50%;
  right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(33,150,201,0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ===========================
   AGRIBIOCYCLE
   =========================== */
.agribiocycle { background: var(--white); }

.cycle-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  padding-top: 20px;
}
.cycle-connector {
  position: absolute;
  top: 60px; left: 12%;
  width: 76%;
  height: 60px;
  pointer-events: none;
  z-index: 0;
}
.connector-svg {
  width: 100%; height: 100%;
  overflow: visible;
}
.flow-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1);
}
.flow-path.drawn { stroke-dashoffset: 0; }

.step-card {
  background: var(--eco-white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.step-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2.5px solid rgba(27,122,61,0.2);
  color: var(--muted);
  background: var(--white);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}
.step-num.filled {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(27,122,61,0.3);
}
.step-num::after {
  content: attr(data-num);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.step-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===========================
   IMPACT
   =========================== */
.impact {
  background: var(--deep-green);
  padding: 100px 0;
}

.topo-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255,255,255,0.015) 30px,
    rgba(255,255,255,0.015) 60px
  );
  pointer-events: none;
}

.leaf-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.leaf-particle {
  position: absolute;
  font-size: 1rem;
  opacity: 0;
  animation: leaf-float linear infinite;
}
@keyframes leaf-float {
  0% { transform: translateY(100%) rotate(0deg); opacity: 0; }
  10% { opacity: 0.08; }
  90% { opacity: 0.06; }
  100% { transform: translateY(-120vh) rotate(720deg); opacity: 0; }
}

.impact-tag { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.impact-heading { color: var(--white); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
  backdrop-filter: blur(10px);
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}
.stat-icon { font-size: 2rem; margin-bottom: 16px; }

.stat-card .float-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.commitment-card .float-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.commitment-card .float-icon .icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stat-card .float-icon .icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1;
}
.counter-naira {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--amber);
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.impact-note {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.impact-note-bar {
  width: 4px;
  min-height: 100%;
  background: var(--amber);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}
.impact-note p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-style: italic;
}

/* ===========================
   COMMITMENT
   =========================== */
.commitment { background: var(--white); }

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.commitment-card {
  background: var(--eco-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.commitment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.commitment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.commitment-card:hover::before { transform: scaleX(1); }
.commitment-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.commitment-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.commitment-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===========================
   TEAM
   =========================== */
.team { background: var(--eco-white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  border: 1.5px solid rgba(27,122,61,0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,122,61,0.25);
}
.team-icon-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(27,122,61,0.25);
  transition: transform 0.3s;
}
.team-card:hover .team-icon-circle {
  transform: scale(1.08);
}
.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.team-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  background: var(--eco-white);
  position: relative;
  overflow: hidden;
}
.blob-testi-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #1B7A3D, transparent);
  left: -200px; top: -100px;
  opacity: 0.06;
  animation-duration: 18s;
}
.blob-testi-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #2196C9, transparent);
  right: -100px; bottom: 0;
  opacity: 0.06;
  animation-duration: 22s;
  animation-delay: -5s;
}

.carousel-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.carousel {
  position: relative;
  min-height: 280px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 48px 40px;
  box-shadow: var(--shadow-md);
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.testi-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.quote-mark {
  font-family: 'Poppins', sans-serif;
  font-size: 5rem;
  line-height: 0.8;
  color: rgba(27,122,61,0.12);
  font-weight: 700;
  margin-bottom: 8px;
}
.testi-text {
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

  .testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(27,122,61,0.08);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(27,122,61,0.15);
  overflow: hidden;
  flex-shrink: 0;
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testi-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.testi-role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===========================
   FAQ
   =========================== */
.faq { background: var(--white); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--eco-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(27,122,61,0.1);
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(27,122,61,0.25); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--charcoal);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(27,122,61,0.2);
  color: var(--green-dark);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover {
  background: var(--grad);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.05);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(27,122,61,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--green-dark);
  width: 24px;
  border-radius: 4px;
}

/* ===========================
   NEWS
   =========================== */
.news { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--eco-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 rgba(27,122,61,0.2);
  transition: box-shadow 0.35s;
  pointer-events: none;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.news-card:hover::after {
  box-shadow: 0 0 0 4px rgba(27,122,61,0.1);
}
.news-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
  align-self: flex-start;
}
.badge-grant { background: rgba(255,179,0,0.15); color: #8A6000; }
.badge-milestone { background: rgba(33,150,201,0.12); color: #1260A8; }
.badge-sustainability { background: rgba(27,122,61,0.12); color: var(--green-dark); }
.badge-community { background: rgba(76,175,80,0.12); color: #2D6B2F; }

.news-icon { font-size: 2rem; margin-bottom: 16px; }
.news-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.news-excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.news-read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
  font-family: 'Poppins', sans-serif;
  transition: color 0.2s, gap 0.2s;
  align-self: flex-start;
}
.news-card:hover .news-read-more {
  color: var(--blue);
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background: var(--eco-white);
  position: relative;
  overflow: hidden;
}
.blob-contact-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4CAF50, transparent);
  right: -200px; top: -100px;
  opacity: 0.07;
  animation-duration: 20s;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ===== AGRIBIOCYCLE PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 90px;
  color: #fff;
}

.page-hero-bg,
.page-hero-bg img,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-bg img {
  object-fit: cover;
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 35, 19, 0.94) 0%, rgba(12, 68, 36, 0.78) 52%, rgba(8, 35, 21, 0.32) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero .section-tag {
  display: inline-block;
  margin-bottom: 20px;
  color: #b5f5c8;
}

.page-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 620px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

/* AgriBioCycle hero without the right-hand visual/cards */
.agri-hero .hero-inner {
  grid-template-columns: 1fr;
}

.agri-hero .hero-content {
  max-width: 760px;
}

.agri-hero .hero-tagline {
  max-width: 680px;
}
/* Keep AgriBioCycle hero primary button text visible */
.agri-hero .btn-hero-primary {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none;
}

.agri-hero .btn-hero-primary::before,
.agri-hero .btn-hero-primary::after {
  z-index: -1;
}

/* News page hero: no right-side cards */
.news-hero .hero-inner {
  grid-template-columns: 1fr;
}

.news-hero .hero-content {
  max-width: 760px;
}

.news-hero .hero-tagline {
  max-width: 650px;
}


/* Keep hero primary button text above all gradient and ripple effects */
.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.btn-hero-primary span {
  position: relative;
  z-index: 3;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.agri-hero .btn-hero-primary span {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 520px;
    padding: 135px 0 70px;
  }

  .page-hero-overlay {
    background: rgba(7, 35, 19, 0.78);
  }

  .page-hero p {
    font-size: 1rem;
  }
}
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 2px solid rgba(27,122,61,0.2);
  background: transparent;
  padding: 12px 0;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--blue);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122,138,122,0.5);
}
.field-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.4s ease;
  pointer-events: none;
}
.form-group:focus-within .field-line { width: 100%; }

.btn-submit {
  font-size: 1rem;
  padding: 16px 36px;
  align-self: flex-start;
  cursor: pointer;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(27,122,61,0.08);
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(27,122,61,0.2);
}
.form-success.visible { display: flex; align-items: center; gap: 8px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.contact-link:hover { color: var(--green-dark); }


.map-embed {
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
  border: 1.5px solid rgba(27,122,61,0.12);
  box-shadow: var(--shadow-sm);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes map-ripple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--deep-green);
  color: var(--white);
  padding: 80px 0 0;
}
.footer-gradient-line {
  height: 3px;
  background: var(--grad);
  border-radius: 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  transition: color 0.2s;
}
.ca-row:hover { color: var(--white); }
.ca-ico {
  display: flex;
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
}

.footer-social .soc {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social .soc:hover {
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-2px);
}
.soc-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.05);
  padding: 4px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 280px;
}
.footer-rc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(122,138,122,0.8);
  letter-spacing: 0.08em;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact-icon { flex-shrink: 0; font-size: 0.9rem; margin-top: 1px; }
.footer-contact-list a,
.footer-contact-list span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-mission {
  font-style: italic;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-inner {
    padding-bottom: 20px;
  }
  .hero-deco-ring-1 { width: 380px; height: 380px; }
  .hero-deco-ring-2 { width: 280px; height: 280px; }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .cycle-steps { grid-template-columns: repeat(2, 1fr); }
  .cycle-connector { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px 20px;
  }
  .hero-logo-wrap { justify-content: center; }
  .hero-tagline { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-badge { text-align: left; }
  .hero-visual {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-deco-ring { display: none; }
  .hero-img-main {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 260px;
    transform: none;
    margin: 0 auto;
  }
  .hero-visual:hover .hero-img-main { transform: none; }
  .hero-float-card {
    position: static;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    animation: none;
    box-shadow: var(--shadow-sm);
  }
  .hero-grant-float {
    position: static;
    width: 100%;
    max-width: 320px;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    animation: none;
  }
  .grant-amount, .grant-label { line-height: 1.3; }

  .pillar-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .commitment-grid { grid-template-columns: 1fr; }
  .cycle-steps { grid-template-columns: 1fr; gap: 20px; }
  .cycle-connector { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .who-meta { flex-wrap: wrap; }
  .who-meta-item { min-width: 45%; border-bottom: 1px solid rgba(27,122,61,0.1); }

  .ai-banner-inner { flex-direction: column; text-align: center; gap: 20px; padding: 36px 28px; }
  .section { padding: 72px 0; }

  .testi-card { padding: 36px 28px 32px; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.4rem; }
  .hero-ctas { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-badge { font-size: 0.78rem; }
}

/* Disable tilt on touch */
@media (hover: none) {
  .hero-float-card { animation-duration: 5s; }
}

/* === SOLAR GLOW EFFECT === */
.solar-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber), transparent);
  opacity: 0;
  pointer-events: none;
  filter: blur(40px);
  animation: solar-pulse 4s ease-in-out infinite;
}
@keyframes solar-pulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.06; transform: scale(1.2); }
}

/* Ripple effect for buttons */
.ripple-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

/* Faster hero wording animation */
.hero-logo-wrap,
.hero-heading,
.hero-tagline,
.hero-ctas {
  animation-delay: 0s !important;
  transition-delay: 0s !important;
}

/* Remove delayed loading from hero logo text and hero image/card */
#heroLogoWrap,
#logoWordmark,
#heroVisual,
.hero-img-main,
.hero-float-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation-delay: 0s !important;
  transition-delay: 0s !important;
}

/* ===== STICKY MOBILE NAVBAR WITH BLUR ===== */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(27, 122, 61, 0.1);
}

.hamburger {
  position: relative;
  z-index: 3002;
}

.mobile-menu {
  z-index: 2999;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3001;
}

/* ===== FIX TEXT VISIBILITY ON ALL BUTTON HOVERS ===== */

/* Remove the hover overlay that covers button wording */
.btn-gradient::before,
.btn-outline::before {
  display: none !important;
}

/* Gradient buttons: change gradient directly on hover */
.btn-gradient:hover {
  background: var(--grad-h) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Outline buttons: add gradient background directly on hover */
.btn-outline:hover {
  background: var(--grad) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: transparent !important;
}