/* ============================
   CUSTOM CURSOR
   ============================ */
*,
*::before,
*::after {
  cursor: none !important;
}

#cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #0c780c;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.3s, width 0.3s, height 0.3s;
  mix-blend-mode: normal;
}

#cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(12, 120, 12, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease-out;
}

#cursor-dot.hovered {
  width: 14px;
  height: 14px;
  background: #ff6600;
}

#cursor-ring.hovered {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 102, 0, 0.4);
}

/* ============================
   PARTICLE CANVAS
   ============================ */
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================
   HERO ENHANCEMENTS
   ============================ */
.hero-overlay {
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(15, 61, 40, 0.4) 50%,
      rgba(0, 0, 0, 0.6) 100%) !important;
}

.hero-content {
  animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 4.5rem !important;
  letter-spacing: -1px;
}

@media(max-width:768px) {
  .hero h1 {
    font-size: 2.2rem !important;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(12, 120, 12, 0.2);
  border: 1px solid rgba(12, 120, 12, 0.5);
  color: #6dffb0;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(12, 120, 12, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(12, 120, 12, 0);
  }
}

/* Typed cursor blink */
.typed-cursor {
  animation: blink 0.8s infinite;
  color: #0c780c;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* Floating ambient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(12, 120, 12, 0.25), transparent);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.15), transparent);
  bottom: -50px;
  left: 10%;
  animation-delay: 3s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(10px)
  }
}

/* ============================
   NAVBAR GLASSMORPHISM
   ============================ */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
  transition: all 0.4s ease;
}

/* ============================
   STATS COUNTER STRIP
   ============================ */
.stats-strip {
  background: linear-gradient(135deg, #0f3d28 0%, #1a6640 100%);
  padding: 60px 10%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

@media(max-width:768px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 6%;
  }
}

.stat-item {
  color: white;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, #6dffb0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media(max-width:768px) {
  .stat-number {
    font-size: 2.2rem;
  }
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

/* ============================
   SECTION TAG
   ============================ */
.section-tag {
  display: inline-block;
  background: rgba(12, 120, 12, 0.1);
  color: #0c780c;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(12, 120, 12, 0.2);
}

/* ============================
   3D CARD TILT
   ============================ */
.card-tilt-wrap {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================
   MAGNETIC BUTTONS
   ============================ */
.btn-secondary,
.btn-outline,
.btn-view-more {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-secondary::after,
.btn-view-more::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-secondary:hover::after,
.btn-view-more:hover::after {
  opacity: 1;
}

/* Glowing CTA */
.btn-glow {
  background: linear-gradient(135deg, #0c780c, #1aaa1a) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(12, 120, 12, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  animation: glowPulse 3s ease-in-out infinite;
}

.btn-glow:hover {
  box-shadow: 0 0 40px rgba(12, 120, 12, 0.7), 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-3px) scale(1.03);
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(12, 120, 12, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 0 35px rgba(12, 120, 12, 0.6), 0 4px 15px rgba(0, 0, 0, 0.2);
  }
}

/* ============================
   ENHANCED CARD HOVER
   ============================ */
.card {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease !important;
}

.card:hover {
  transform: translateY(-14px) rotateX(2deg) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18) !important;
}

.card-image {
  transition: background-size 0.7s ease !important;
}

/* ============================
   STEP ICONS ANIMATED
   ============================ */
.step-icon {
  background: linear-gradient(135deg, #0c780c, #1aaa1a) !important;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(12, 120, 12, 0.35);
  transition: transform 0.4s, box-shadow 0.4s;
}

.step-icon:hover,
.step:hover .step-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 14px 30px rgba(12, 120, 12, 0.5);
}

.step-connector {
  height: 3px !important;
  background: linear-gradient(90deg, #0c780c, rgba(12, 120, 12, 0.1)) !important;
  position: relative;
  overflow: hidden;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, #6dffb0, transparent);
  animation: connectorFlow 2.5s linear infinite;
}

@keyframes connectorFlow {
  to {
    left: 100%;
  }
}

/* ============================
   IDEA CARDS ENHANCED
   ============================ */
.idea-card {
  background: linear-gradient(135deg, #fff 60%, rgba(12, 120, 12, 0.04)) !important;
  border: 1px solid rgba(12, 120, 12, 0.1) !important;
  border-radius: 20px !important;
  padding: 28px !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  position: relative;
  overflow: hidden;
}

.idea-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0c780c, #6dffb0, #0c780c);
  background-size: 200%;
  opacity: 0;
  transition: opacity 0.3s;
  animation: shimmer 2s linear infinite;
}

.idea-card:hover::before {
  opacity: 1;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.idea-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 50px rgba(12, 120, 12, 0.15) !important;
  border-color: rgba(12, 120, 12, 0.3) !important;
}

.idea-icon-wrap {
  background: linear-gradient(135deg, rgba(12, 120, 12, 0.12), rgba(12, 120, 12, 0.05)) !important;
  border: 1px solid rgba(12, 120, 12, 0.2) !important;
  border-radius: 14px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #0c780c;
  transition: all 0.4s;
}

.idea-card:hover .idea-icon-wrap {
  background: linear-gradient(135deg, #0c780c, #1aaa1a) !important;
  color: white;
  transform: rotate(8deg) scale(1.1);
}

/* ============================
   MISSION CARD ENHANCED
   ============================ */
.mission-card {
  background: linear-gradient(135deg, #0f3d28, #1a5c3a) !important;
  border: 1px solid rgba(109, 255, 176, 0.15) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  position: relative;
  overflow: hidden;
}

.mission-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 255, 176, 0.1), transparent);
  top: -50px;
  right: -50px;
  pointer-events: none;
}

.mission-card h3,
.mission-card p,
.mission-card .vision-badge,
.mission-card .mission-icon {
  color: white !important;
}

.vision-badge {
  background: rgba(109, 255, 176, 0.15) !important;
  border: 1px solid rgba(109, 255, 176, 0.3) !important;
  color: #6dffb0 !important;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 14px;
  font-weight: 600;
}

/* ============================
   PROJECT CARDS ENHANCED
   ============================ */
.project-card {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.project-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.14) !important;
}

.project-badge {
  background: linear-gradient(135deg, #0c780c, #1aaa1a) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 5px 14px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 12px rgba(12, 120, 12, 0.4) !important;
}

/* ============================
   FOOTER ENHANCED
   ============================ */
.footer {
  background: linear-gradient(135deg, #0a2018 0%, #0f3d28 50%, #0a2018 100%) !important;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ============================
   PARTNERS STRIP ENHANCED  
   ============================ */
.logo-strip span {
  color: #aaa !important;
  font-weight: 600 !important;
  position: relative;
  padding: 8px 20px !important;
  border-radius: 50px;
  transition: all 0.3s;
}

.logo-strip span::before {
  content: '';
  margin-right: 0;
}

.partners {
  background: linear-gradient(to right, #fff 0%, #f0f9f4 50%, #fff 100%) !important;
}

/* ============================
   NAVBAR LOGO ANIMATION
   ============================ */
.logo {
  background: linear-gradient(135deg, #0f3d28, #0c780c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s;
}

.logo:hover {
  filter: brightness(1.3);
  transform: scale(1.02);
}

/* ============================
   FEATURES SECTION ENHANCED  
   ============================ */
.features {
  position: relative;
}

.features-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.features-image:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

/* ============================
   SECTION HEADERS ENHANCED
   ============================ */
.section-header h2 {
  background: linear-gradient(135deg, #0f3d28 0%, #1a6640 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header.center {
  text-align: center;
}

/* ============================
   LOADING SCREEN
   ============================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #0f3d28;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.preloader-logo {
  font-family: "Libre Caslon Display", serif;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  animation: logoBreath 1.5s ease-in-out infinite;
}

@keyframes logoBreath {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6dffb0, #0c780c);
  border-radius: 3px;
  transition: width 1.2s ease;
}

/* ============================
   GOAL ITEMS ENHANCED  
   ============================ */
.goal-icon {
  background: linear-gradient(135deg, rgba(12, 120, 12, 0.12), rgba(12, 120, 12, 0.05)) !important;
  border: 1px solid rgba(12, 120, 12, 0.2) !important;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c780c;
  flex-shrink: 0;
  transition: all 0.3s;
}

.goal-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  transition: all 0.3s;
}

.goal-item:hover {
  background: rgba(12, 120, 12, 0.05);
}

.goal-item:hover .goal-icon {
  background: linear-gradient(135deg, #0c780c, #1aaa1a) !important;
  color: white;
}

/* ============================
   IMAGE PLACEHOLDER
   ============================ */
.image-placeholder {
  background: linear-gradient(135deg, #0f3d28, #1a6640) !important;
  border-radius: 0 !important;
}

.image-placeholder span {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* ============================
   NEWSLETTER FORM
   ============================ */
.newsletter-form input:focus {
  border-color: #0c780c !important;
  box-shadow: 0 0 0 3px rgba(12, 120, 12, 0.2);
  outline: none;
}

.newsletter-form button {
  background: linear-gradient(135deg, #0c780c, #1aaa1a) !important;
  transition: all 0.3s !important;
}

.newsletter-form button:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(12, 120, 12, 0.4);
}

/* ============================
   VIEW MORE BUTTON
   ============================ */
.btn-view-more {
  background: transparent;
  border: 2px solid #0c780c !important;
  color: #0c780c !important;
  padding: 14px 36px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  display: inline-block !important;
  transition: all 0.3s !important;
}

.btn-view-more:hover {
  background: #0c780c !important;
  color: white !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(12, 120, 12, 0.35) !important;
}

/* ============================
   SCROLL REVEAL SYSTEM
   ============================ */
/* Elements with .reveal start hidden and fade in when .active is added by JS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Safety fallback: if JS is disabled or slow, show content after 2s */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}