@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* { scroll-behavior: smooth; }

body { font-family: 'Inter', sans-serif; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ===== NAVBAR ===== */
#navbar {
  background: #ffffff !important;
  backdrop-filter: none !important;
}
.nav-link {
  position: relative;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: #16a34a;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #16a34a; }

/* ===== QUOTE MODAL ===== */
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)     scale(1); }
}
#quote-modal { display: none; }

/* ===== TOP INFO BAR ===== */
.top-info-bar { position: relative; z-index: 60; }

/* ===== HERO ===== */
.hero-bg {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 35%, #fffbeb 70%, #f0f9ff 100%);
  position: relative;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #16a34a1a 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Form card */
.form-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
}

/* ===== BUTTONS ===== */
.btn-green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(22,163,74,0.3);
}
.btn-green:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  box-shadow: 0 6px 20px rgba(22,163,74,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  border: 2px solid #16a34a; color: #16a34a;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: #16a34a; color: white;
  transform: translateY(-1px);
}
.btn-orange {
  background: linear-gradient(135deg, #ea580c, #f97316);
  box-shadow: 0 4px 15px rgba(234,88,12,0.3);
  transition: all 0.25s ease;
}
.btn-orange:hover {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  box-shadow: 0 6px 20px rgba(234,88,12,0.4);
  transform: translateY(-1px);
}

/* ===== SECTION BADGE ===== */
.section-badge {
  background: #dcfce7; color: #15803d;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 16px; border-radius: 50px;
  display: inline-block; text-transform: uppercase;
}

/* ===== FEATURE CARDS ===== */
.feature-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

/* ===== SERVICE ITEMS ===== */
.service-item {
  cursor: pointer; transition: all 0.2s;
  border-left: 3px solid transparent;
}
.service-item.active, .service-item:hover {
  border-left-color: #16a34a; background: #f0fdf4; color: #15803d;
}

/* ===== WHY CHOOSE — DARK GREEN (no more purple) ===== */
.why-gradient {
  background: linear-gradient(135deg, #052e16 0%, #14532d 45%, #166534 100%);
}
.why-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(10px);
}
.why-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }

/* ===== BENEFIT CARDS ===== */
.benefit-card { border-left: 4px solid #16a34a; transition: box-shadow 0.2s; }
.benefit-card:hover { box-shadow: 0 8px 30px rgba(22,163,74,0.12); }

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card { transition: transform 0.25s, box-shadow 0.25s; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

/* ===== FAQ ===== */
.faq-item details summary { list-style: none; cursor: pointer; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details[open] summary .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s ease; }

/* ===== CTA GRADIENT — ORANGE (no more purple) ===== */
.cta-gradient {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 40%, #ea580c 75%, #f97316 100%);
}

/* ===== SOLAR SYSTEM CARDS ===== */
.solar-system-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid transparent;
}
.solar-system-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.solar-system-card.featured { border-color: #16a34a; }

/* ===== AGRI CARDS ===== */
.agri-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.agri-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

/* ===== PRICING ===== */
.pricing-card { transition: transform 0.25s ease, box-shadow 0.25s ease; border: 2px solid transparent; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(22,163,74,0.15); border-color: #16a34a; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #16a34a; border-radius: 3px; }

/* ===== SECTION HEADING UNDERLINE ===== */
.heading-underline::after {
  content: ''; display: block;
  width: 60px; height: 4px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 2px; margin: 12px auto 0;
}
.heading-underline-left::after { margin-left: 0; }

/* ===== STATS COUNTER ===== */
.stat-number { transition: opacity 0.5s ease; }

/* ===== FLOATING HERO BADGES ===== */
.hero-float-badge {
  animation: floatBadge 4s ease-in-out infinite;
}
.hero-float-badge-delay {
  animation: floatBadge 4s ease-in-out infinite 1.5s;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ===== SOLAR ANIMATIONS ===== */
@keyframes sunSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes sunPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0.3;  transform: scale(1.08); }
}
@keyframes panelFloat {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-12px) rotate(2deg); }
}
@keyframes energyFlow {
  0%   { stroke-dashoffset: 60; opacity: 0; }
  30%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.8; }
}
@keyframes rayPulse {
  0%, 100% { opacity: 0.5; transform: scaleX(1); }
  50%       { opacity: 1;   transform: scaleX(1.15); }
}
@keyframes orbitSpin {
  from { transform: rotate(0deg) translateX(60px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-sun-spin   { animation: sunSpin   20s linear      infinite; }
.anim-sun-pulse  { animation: sunPulse   3s ease-in-out  infinite; }
.anim-panel-float{ animation: panelFloat 5s ease-in-out  infinite; }
.anim-ray        { animation: rayPulse   2s ease-in-out  infinite; }
.anim-energy     { stroke-dasharray: 60; animation: energyFlow 2.5s ease-in-out infinite; }
.anim-count      { animation: countUp 0.6s ease-out both; }

/* Card shimmer on hover */
.shimmer-card {
  position: relative; overflow: hidden;
}
.shimmer-card::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
}
.shimmer-card:hover::after { left: 150%; }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 999;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.wa-fab-btn {
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; flex-shrink: 0;
}
.wa-fab-btn:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.65); }
.wa-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.5);
  animation: waRing 2s ease-out infinite;
}
.wa-ring-2 {
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.25);
  animation: waRing 2s ease-out infinite 0.6s;
}
@keyframes waRing {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.3);  opacity: 0; }
}
.wa-tooltip {
  background: #1e293b; color: #fff;
  font-size: 0.78rem; font-weight: 600;
  padding: 8px 14px; border-radius: 10px;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  position: relative;
}
.wa-tooltip::before {
  content: '';
  position: absolute; top: 50%; right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #1e293b;
}
.wa-fab:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ===== BACK TO TOP ===== */
#back-to-top { right: 24px; bottom: 24px; }

/* ===== SOLAR DECO (hero bg SVG) ===== */
.hero-solar-bg {
  position: absolute; right: -60px; bottom: -40px;
  width: 480px; opacity: 0.06; pointer-events: none;
}

/* ===== INLINE CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(90deg, #f0fdf4, #dcfce7 50%, #fffbeb);
  border-top: 2px solid #bbf7d0; border-bottom: 2px solid #bbf7d0;
}

/* ===== PULSE DOT ===== */
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50%       { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
