/**
 * AGRIM SOLAR — SOLAR PANEL INSTALLATION SERVICES STYLESHEET
 * File: assets/css/services.css
 * Version: 2026.10.29
 * Scope: services.html specific styling (Hero, 360° Tour, Animated System Card,
 *        5-Step Process, Component Gallery, Application Sectors, Form, FAQ, CTA)
 */

:root {
  --agrim-navy: #10304A;
  --agrim-dark: #071724;
  --agrim-blue: #0A5898;
  --agrim-blue-light: #EBF5FF;
  --agrim-green: #45A446;
  --agrim-forest: #062114;
  --agrim-forest-card: #0B2E1D;
  --agrim-forest-border: rgba(16, 185, 129, 0.28);
  --agrim-emerald: #10B981;
  --agrim-emerald-light: #34D399;
  --agrim-emerald-glow: rgba(16, 185, 129, 0.35);
  --agrim-amber: #F59E0B;
  --agrim-amber-dark: #D97706;
  --agrim-text-dark: #0F172A;
  --agrim-text-muted: #64748B;
  --agrim-border-light: #E2E8F0;
  --agrim-bg-soft: #F8FAFC;
  --agrim-bg-alt: #F1F5F9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ==========================================================================
   GLOBAL SECTION WRAPPERS & COMMON HEADERS
   ========================================================================== */
.services-section {
  padding: 80px 0;
  position: relative;
}

.services-section-alt {
  background-color: var(--agrim-bg-soft);
  border-top: 1px solid var(--agrim-border-light);
  border-bottom: 1px solid var(--agrim-border-light);
}

.services-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px auto;
}

.services-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: #ECFDF5;
  color: #047857;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 99px;
  border: 1px solid #A7F3D0;
  margin-bottom: 14px;
}

.services-sub-badge-dark {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--agrim-emerald-light);
  border-color: rgba(16, 185, 129, 0.3);
}

.services-section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--agrim-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.services-section-desc {
  font-size: 1.05rem;
  color: var(--agrim-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   HERO SECTION (BACKGROUND VIDEO MODE)
   ========================================================================== */
.services-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 110px 0 120px 0;
  overflow: hidden;
  background-color: #071724;
}

/* Full-bleed Background Video Container */
.services-hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  max-width: 100%;
  z-index: 1;
}

.services-hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  pointer-events: none;
}

/* High-contrast Multi-layer Gradient Overlay for Optimal Text Legibility */
.services-hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(6, 20, 32, 0.94) 0%,
    rgba(7, 24, 38, 0.86) 45%,
    rgba(10, 48, 74, 0.70) 80%,
    rgba(6, 20, 32, 0.85) 100%
  );
  backdrop-filter: blur(1.5px);
  z-index: 2;
}

/* Content Container & Text Block */
.services-hero-content-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}

.services-hero-text-block {
  max-width: 840px;
}

.services-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  color: #FBBF24;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 22px;
}

.services-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.services-hero-title span {
  color: #FBBF24;
  font-weight: 900;
  display: inline-block;
  text-shadow: 0 0 24px rgba(245, 158, 11, 0.65), 0 2px 10px rgba(0, 0, 0, 0.95);
}

.services-hero-desc {
  font-size: 1.22rem;
  line-height: 1.7;
  color: #F8FAFC;
  margin-bottom: 38px;
  max-width: 700px;
  font-weight: 450;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.services-hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.services-hero-features {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 26px;
  max-width: 780px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-feature-item i {
  color: #34D399;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.8));
}

/* ==========================================================================
   FEATURE ONE: INTERACTIVE 360° TOUR / PANORAMA VIEWER
   ========================================================================== */
.tour-section {
  padding: 85px 0 95px 0;
  background-color: #FFFFFF;
}

.tour-viewer-wrapper {
  position: relative;
  width: 100%;
  height: 560px;
  background: #03130B;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 88, 152, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.tour-viewer-wrapper.is-dragging {
  cursor: grabbing;
}

.tour-canvas {
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.08s ease-out;
}

.tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Hotspots layer */
.tour-hotspots-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tour-hotspot-pin {
  position: absolute;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.hotspot-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.5);
  animation: agrimPulse 2.2s infinite ease-out;
}

.hotspot-core {
  position: relative;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tour-hotspot-pin:hover .hotspot-core,
.tour-hotspot-pin:focus .hotspot-core {
  transform: scale(1.22);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.hotspot-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(7, 23, 36, 0.92);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tour-hotspot-pin:hover .hotspot-label,
.tour-hotspot-pin:focus .hotspot-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

@keyframes agrimPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Controls Toolbar */
.tour-controls-bar {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}

.tour-ctrl-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(7, 23, 36, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.tour-ctrl-btn:hover {
  background: var(--agrim-blue);
  border-color: #38BDF8;
  transform: scale(1.06);
}

/* Status Badge & Mode Note */
.tour-status-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(7, 23, 36, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  z-index: 20;
}

.tour-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.tour-badge-note {
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 400;
}

/* Hint Bar */
.tour-hint-bar {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 23, 36, 0.85);
  backdrop-filter: blur(8px);
  color: #E2E8F0;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 20;
  white-space: nowrap;
}

/* Hotspot Modal / Drawer */
.hotspot-modal {
  position: absolute;
  bottom: 20px;
  left: 20px;
  max-width: 380px;
  width: calc(100% - 40px);
  background: rgba(7, 23, 36, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #FFFFFF;
  z-index: 30;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hotspot-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hotspot-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.hotspot-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
}

.hs-modal-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

.hs-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-modal-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(16, 185, 129, 0.9);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.hs-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #FFFFFF;
}

.hs-modal-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #CBD5E1;
  margin: 0 0 12px 0;
}

.hs-modal-role {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #E2E8F0;
}

.hs-modal-role strong {
  display: block;
  color: var(--agrim-emerald-light);
  margin-bottom: 3px;
  font-size: 0.82rem;
}

.hs-modal-role p {
  margin: 0;
}

.hs-modal-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  border: none;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.hs-modal-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* ==========================================================================
   FEATURE TWO: ANIMATED COMPLETE ENERGY SYSTEM (ASYMMETRIC GRID)
   ========================================================================== */
.complete-system-section {
  background: radial-gradient(circle at 15% 50%, #0B2E1D 0%, #062114 60%, #03130B 100%);
  color: #FFFFFF;
  padding: 95px 0 105px 0;
  position: relative;
  overflow: hidden;
}

.complete-system-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.system-editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Left Card: Large Dark Forest Green with Animated Emerald Bars */
.system-card-hero {
  background: linear-gradient(145deg, #0B2E1D 0%, #062114 100%);
  border: 1px solid var(--agrim-forest-border);
  border-radius: var(--radius-xl);
  padding: 38px 36px 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.system-card-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.system-card-hero-header {
  margin-bottom: 30px;
}

.system-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--agrim-emerald-light);
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 14px;
}

.system-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.system-hero-desc {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 0;
}

/* 6 Emerald Bars Container */
.gen-bars-wrapper {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.gen-bars-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.gen-bars-caption {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gen-bars-track {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: flex-end;
  padding: 0 8px;
  position: relative;
}

.gen-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gen-bar-col:hover {
  transform: translateY(-2px);
}

.gen-bar-slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px 8px 3px 3px;
  padding: 0 4px;
  position: relative;
}

/* Continuous Living Wave Motion for Solar Generation Bars */
@keyframes genBarContinuousWave {
  0% {
    transform: scaleY(0.78);
    filter: brightness(0.92);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
  }
  50% {
    transform: scaleY(1.14);
    filter: brightness(1.22);
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.85), 0 -2px 10px rgba(167, 243, 208, 0.95);
  }
  100% {
    transform: scaleY(0.78);
    filter: brightness(0.92);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
  }
}

.gen-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #34D399 0%, #10B981 60%, #047857 100%);
  border-radius: 8px 8px 2px 2px;
  box-shadow: 0 0 16px var(--agrim-emerald-glow);
  transform-origin: bottom center;
  position: relative;
  will-change: transform;
  animation: genBarContinuousWave 3.0s ease-in-out infinite;
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

/* Luminous Neon Crest at the top of each bar to accentuate the motion */
.gen-bar-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #A7F3D0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 0 10px #34D399, 0 0 16px #10B981;
  z-index: 2;
}

/* Staggered Sinusoidal Phase Delays Across the 6 Columns */
.gen-bar-col:nth-child(1) .gen-bar-fill { animation-delay: 0.0s; }
.gen-bar-col:nth-child(2) .gen-bar-fill { animation-delay: -0.5s; }
.gen-bar-col:nth-child(3) .gen-bar-fill { animation-delay: -1.0s; }
.gen-bar-col:nth-child(4) .gen-bar-fill { animation-delay: -1.5s; }
.gen-bar-col:nth-child(5) .gen-bar-fill { animation-delay: -2.0s; }
.gen-bar-col:nth-child(6) .gen-bar-fill { animation-delay: -2.5s; }

/* Interactive Hover Reactions */
.gen-bars-track:hover .gen-bar-fill {
  animation-duration: 2.2s;
}

.gen-bar-col:hover .gen-bar-fill {
  animation-play-state: paused;
  transform: scaleY(1.16) !important;
  filter: brightness(1.3) !important;
  box-shadow: 0 0 30px rgba(52, 211, 153, 1), 0 -4px 14px rgba(167, 243, 208, 1) !important;
}

.gen-bar-col:hover .gen-bar-tag {
  color: #34D399;
  font-weight: 700;
}

.gen-bar-tag {
  margin-top: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #94A3B8;
  text-align: center;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

/* Radar Pulse Dot for Live Alignment Status */
.gen-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: #6EE7B7;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.gen-live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: genLiveRadarPing 1.8s ease-in-out infinite;
}

@keyframes genLiveRadarPing {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 4px #34D399;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 12px #34D399, 0 0 18px rgba(52, 211, 153, 0.6);
  }
}

/* Reduced-motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .gen-bar-fill {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  .gen-live-pulse-dot {
    animation: none !important;
  }
}

/* Right Column Cards */
.system-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.system-right-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.system-sub-card {
  background: rgba(11, 46, 29, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid var(--agrim-forest-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.system-sub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.6);
}

.system-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--agrim-emerald-light);
  margin-bottom: 18px;
}

.system-sub-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.system-sub-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #CBD5E1;
  margin: 0 0 16px 0;
}

.system-sub-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.system-mini-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  color: #A7F3D0;
}

/* Wide Bottom Card: Right System Sizing */
.system-wide-card {
  background: rgba(11, 46, 29, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid var(--agrim-forest-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.system-wide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.6);
}

.system-sizing-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sizing-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}

.sizing-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--agrim-emerald-light);
  display: block;
  margin-bottom: 2px;
}

.sizing-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* ==========================================================================
   FEATURE THREE: VISUAL 5-STEP SOLAR INSTALLATION PROCESS (SAAS MODEL GRAPHICS)
   ========================================================================== */
/* Interactive SaaS Pipeline Stepper Navigation Track */
.saas-pipeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 38px auto;
  padding: 0 10px;
}

.saas-pipeline-line {
  position: absolute;
  top: 18px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: #E2E8F0;
  z-index: 1;
}

.saas-pipeline-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #38BDF8 50%, #10B981 100%);
  background-size: 200% 100%;
  animation: saasProgressFlow 4s linear infinite;
}

@keyframes saasProgressFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.saas-pipeline-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s ease;
}

.saas-pipeline-node:hover {
  transform: translateY(-2px);
}

.pipeline-node-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  color: #64748B;
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(10, 88, 152, 0.06);
}

.pipeline-node-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.saas-pipeline-node.active .pipeline-node-num,
.saas-pipeline-node:hover .pipeline-node-num {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  border-color: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

.saas-pipeline-node.active .pipeline-node-text,
.saas-pipeline-node:hover .pipeline-node-text {
  color: #0A5898;
}

/* 5-Column Process Grid */
.process-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-5-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 88, 152, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.process-5-card:hover,
.process-5-card.is-active {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 88, 152, 0.12), 0 0 20px rgba(52, 211, 153, 0.18);
  border-color: #10B981;
}

/* SaaS Window Mini Chrome Bar */
.saas-window-bar-sm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.saas-dots-sm {
  display: flex;
  gap: 4px;
}

.saas-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.saas-window-title-sm {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0A5898;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Interactive SVG Graphic Stage */
.saas-card-stage {
  position: relative;
  height: 160px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saas-card-blueprint {
  position: absolute;
  inset: 0;
  background-size: 16px 16px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.65) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.65) 1px, transparent 1px);
  opacity: 0.8;
  pointer-events: none;
}

.saas-card-svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Floating Status Pill Tag inside Graphic */
.saas-card-pill-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.saas-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: saasDotBlink 1.8s ease-in-out infinite;
}

@keyframes saasDotBlink {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Card Body & Structured Spec Pills */
.process-5-body {
  padding: 18px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.process-5-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.process-5-step-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #10B981;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 6px;
}

.process-5-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--agrim-navy);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.process-5-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.process-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px dashed #E2E8F0;
  padding-top: 12px;
}

.process-spec-pill {
  font-size: 0.7rem;
  font-weight: 700;
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.process-5-card:hover .process-spec-pill {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

/* Animated Keyframe Dynamics across the 5 Stages */
/* Card 1 Animations */
.anim-sun-beam {
  animation: sunBeamScan 3s ease-in-out infinite alternate;
}
@keyframes sunBeamScan {
  0% { stroke-opacity: 0.4; stroke-width: 1.5; }
  100% { stroke-opacity: 1; stroke-width: 2.5; stroke: #F59E0B; }
}

.anim-sun-pulse {
  animation: sunPulse 2s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { r: 6; fill: #FBBF24; }
  50% { r: 8.5; fill: #F59E0B; filter: drop-shadow(0 0 6px #F59E0B); }
}

.anim-radar-ping {
  animation: radarPing 2.4s ease-out infinite;
  transform-origin: 140px 70px;
}
@keyframes radarPing {
  0% { r: 6; opacity: 0.9; stroke-width: 2; }
  100% { r: 32; opacity: 0; stroke-width: 0.8; }
}

/* Card 2 Animations */
.anim-electron-flow {
  animation: electronFlow 4s linear infinite;
}
@keyframes electronFlow {
  to { stroke-dashoffset: -90; }
}

/* Card 3 Animations */
.anim-wind-flow {
  animation: windFlow 2.8s linear infinite;
}
@keyframes windFlow {
  to { stroke-dashoffset: -100; }
}

/* Card 4 Animations */
.anim-surge-flash {
  animation: surgeFlash 2.5s ease-in-out infinite;
}
@keyframes surgeFlash {
  0%, 100% { opacity: 0.4; stroke: #FDE047; }
  45%, 55% { opacity: 1; stroke: #EF4444; filter: drop-shadow(0 0 8px #EF4444); }
}

/* Card 5 Animations */
.anim-wave-travel {
  animation: waveTravel 3s ease-in-out infinite;
}
@keyframes waveTravel {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 4px #10B981); }
  50% { transform: translateY(-4px); filter: drop-shadow(0 0 10px #34D399); }
}

/* Reduced-motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .saas-pipeline-progress,
  .anim-sun-beam,
  .anim-sun-pulse,
  .anim-radar-ping,
  .anim-electron-flow,
  .anim-wind-flow,
  .anim-surge-flash,
  .anim-wave-travel,
  .saas-live-dot {
    animation: none !important;
  }
}

/* ==========================================================================
   FEATURE FOUR: SOLAR COMPONENTS GALLERY (6 CARDS)
   ========================================================================== */
.components-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.component-gal-card {
  background: #FFFFFF;
  border: 1px solid var(--agrim-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 88, 152, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.component-gal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 88, 152, 0.12);
  border-color: #93C5FD;
}

.component-gal-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #F1F5F9;
  overflow: hidden;
}

.component-gal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.component-gal-card:hover .component-gal-img-wrap img {
  transform: scale(1.06);
}

.component-gal-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.component-gal-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--agrim-navy);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.component-gal-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--agrim-text-muted);
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.component-gal-meta {
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.component-gal-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--agrim-blue);
  background: var(--agrim-blue-light);
  padding: 4px 10px;
  border-radius: 4px;
}

.component-gal-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--agrim-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.component-gal-link:hover {
  gap: 9px;
  color: var(--agrim-navy);
}

/* ==========================================================================
   APPLICATION SECTORS (RESIDENTIAL, COMMERCIAL, INDUSTRIAL)
   ========================================================================== */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-pkg-card {
  background: #FFFFFF;
  border: 1px solid var(--agrim-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 88, 152, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(10, 88, 152, 0.12);
}

.service-pkg-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-pkg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-pkg-card:hover .service-pkg-img-wrap img {
  transform: scale(1.05);
}

.service-pkg-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 48, 74, 0.9);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
}

.service-pkg-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-pkg-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--agrim-navy);
  margin: 0 0 10px 0;
}

.service-pkg-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--agrim-text-muted);
  margin-bottom: 20px;
}

.service-pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.service-pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 10px;
}

.service-pkg-features li i {
  color: var(--agrim-green);
  margin-top: 3px;
  flex-shrink: 0;
}

.service-pkg-btn {
  width: 100%;
  text-align: center;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   INSTALLATION ENQUIRY FORM SECTION
   ========================================================================== */
.enquiry-section {
  padding: 85px 0 95px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
}

.enquiry-card-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--agrim-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 88, 152, 0.08);
}

.enquiry-card-header {
  background: linear-gradient(135deg, #0A5898 0%, #10304A 100%);
  color: #FFFFFF;
  padding: 36px 36px 30px 36px;
  text-align: center;
}

.enquiry-card-header h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.enquiry-card-header p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #E2E8F0;
  margin: 0;
  max-width: 620px;
  margin: 0 auto;
}

.enquiry-card-body {
  padding: 38px 40px;
}

.property-type-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.property-pill-radio {
  display: none;
}

.property-pill-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--agrim-border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--agrim-navy);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.property-pill-radio:checked + .property-pill-label {
  background: #EFF6FF;
  border-color: var(--agrim-blue);
  color: var(--agrim-blue);
  box-shadow: 0 0 0 3px rgba(10, 88, 152, 0.12);
}

.enquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-field-input,
.form-field-select,
.form-field-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--agrim-border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--agrim-text-dark);
  background-color: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-field-input:focus,
.form-field-select:focus,
.form-field-textarea:focus {
  outline: none;
  border-color: var(--agrim-blue);
  box-shadow: 0 0 0 3px rgba(10, 88, 152, 0.15);
}

.form-submit-btn {
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border: 1px solid #B45309;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.enquiry-alert-box {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--agrim-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.active {
  border-color: #93C5FD;
  box-shadow: 0 6px 20px rgba(10, 88, 152, 0.06);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--agrim-navy);
  gap: 16px;
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--agrim-blue);
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--agrim-blue);
  font-size: 0.85rem;
  transition: transform 0.3s ease, background 0.2s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--agrim-blue);
  color: #FFFFFF;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.active .faq-content {
  padding-bottom: 22px;
}

.faq-content p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.final-cta-banner {
  background: linear-gradient(135deg, #071724 0%, #062114 60%, #0B2E1D 100%);
  color: #FFFFFF;
  padding: 75px 0;
  border-top: 1px solid rgba(16, 185, 129, 0.3);
}

.final-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta-headline {
  font-size: 2.25rem;
  font-weight: 900;
  margin: 0 0 10px 0;
  color: #FFFFFF;
}

.final-cta-subtext {
  font-size: 1.05rem;
  color: #CBD5E1;
  margin: 0;
  max-width: 580px;
}

.final-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.final-cta-btn {
  padding: 15px 30px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  border: 1px solid #B45309;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.final-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
}

.final-cta-btn-outline {
  padding: 15px 26px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.final-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .process-5-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .system-editorial-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .system-card-hero, .system-card-side {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 900px) {
  .solar-calculator-section::before,
  .complete-system-section::before,
  .services-hero::before {
    display: none !important;
  }
  .saas-window-bar {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
}

@media (max-width: 480px) {
  .gen-bars-track {
    gap: 6px !important;
  }
  .gen-bar-col {
    min-width: 0 !important;
  }
  .saas-pipeline-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .services-hero {
    min-height: 540px;
    padding: 85px 0 95px 0;
  }
  .services-hero-title {
    font-size: 2.7rem;
  }
  .services-card-grid {
    grid-template-columns: 1fr;
  }
  .components-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .final-cta-content {
    flex-direction: column;
    text-align: center;
  }
  .final-cta-subtext {
    margin: 0 auto;
  }
  .final-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .saas-pipeline-track {
    gap: 6px;
    padding: 0 4px 6px 4px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .pipeline-node-num {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  .pipeline-node-text {
    font-size: 0.65rem;
  }
  .saas-pipeline-line {
    left: 20px;
    right: 20px;
    top: 15px;
  }
  .services-hero-title {
    font-size: 2.2rem;
  }
  .services-section-title {
    font-size: 1.85rem;
  }
  .tour-viewer-wrapper {
    height: 420px;
  }
  .tour-hint-bar {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
  .tour-status-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .hotspot-modal {
    left: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 16px;
  }
  .system-right-top-grid {
    grid-template-columns: 1fr;
  }
  .system-sizing-flow {
    grid-template-columns: 1fr 1fr;
  }
  .process-5-grid {
    grid-template-columns: 1fr;
  }
  .components-gallery-grid {
    grid-template-columns: 1fr;
  }
  .property-type-selector {
    grid-template-columns: 1fr 1fr;
  }
  .enquiry-form-grid {
    grid-template-columns: 1fr;
  }
  .enquiry-card-body {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   FEATURE: ADVANCED SOLAR SAVINGS CALCULATOR WITH RESULTS DASHBOARD
   ========================================================================== */
.solar-calculator-section {
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 50%, #F5FAF7 100%);
  border-top: 1px solid #DCFCE7;
  border-bottom: 1px solid #DCFCE7;
  padding: 85px 0 95px 0;
  position: relative;
  overflow: hidden;
}

.solar-calculator-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.calc-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   LEFT COLUMN: Narrative & Calculator Input Form Card
   -------------------------------------------------------------------------- */
.calc-left-col {
  position: relative;
}

.calc-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #DCFCE7;
  color: #15803D;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid #BBF7D0;
  margin-bottom: 14px;
}

.calc-left-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--agrim-navy);
  line-height: 1.22;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}

.calc-left-desc {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 24px 0;
}

/* Input Form Card */
.calc-form-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(10, 88, 152, 0.08);
  position: relative;
}

.calc-form-group {
  margin-bottom: 22px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calc-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--agrim-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.calc-bill-badge {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--agrim-blue);
  background: #EFF6FF;
  padding: 4px 14px;
  border-radius: 99px;
  border: 1px solid #BFDBFE;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.3px;
}

/* PIN Code Input */
.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input-icon {
  position: absolute;
  left: 14px;
  color: #94A3B8;
  font-size: 1rem;
  pointer-events: none;
}

.calc-pin-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--agrim-text-dark);
  background-color: #FFFFFF;
  transition: all 0.2s ease;
  letter-spacing: 1px;
}

.calc-pin-input:focus {
  outline: none;
  border-color: var(--agrim-blue);
  box-shadow: 0 0 0 3px rgba(10, 88, 152, 0.15);
}

.calc-pin-feedback {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  display: none;
}

.calc-pin-valid {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.calc-pin-info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.calc-pin-pending {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* Range Slider */
.calc-slider-wrap {
  margin: 10px 0 14px 0;
}

.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #0A5898 0%, #10B981 100%);
  outline: none;
  cursor: pointer;
  margin: 10px 0;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #0A5898;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  border-color: #10B981;
}

.calc-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #0A5898;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.calc-slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 600;
}

/* Exact Bill Number Input */
.calc-exact-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.calc-exact-wrap label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
  margin: 0;
  white-space: nowrap;
}

.calc-exact-input-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 4px 8px;
  flex-grow: 1;
}

.calc-exact-input-box span {
  color: #64748B;
  font-weight: 700;
  font-size: 0.88rem;
  margin-right: 4px;
}

.calc-exact-num-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--agrim-text-dark);
  outline: none;
}

/* Calculate Button */
.calc-submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, #0A5898 0%, #10304A 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(10, 88, 152, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-top: 6px;
}

.calc-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 88, 152, 0.38);
  background: linear-gradient(135deg, #0F66AE 0%, #071724 100%);
}

.calc-submit-btn:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

/* Alert Box */
.calc-alert-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}

.calc-alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.calc-alert-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: Advanced Results Dashboard
   -------------------------------------------------------------------------- */
.calc-right-col {
  position: relative;
}

/* Initial Ready-State Card (Before calculation) with Interactive SaaS Graphics */
.dash-initial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 24px 24px 28px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(10, 88, 152, 0.06);
  transition: all 0.3s ease;
}

/* SaaS Engine Preview Window Frame */
.saas-preview-window {
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  margin-bottom: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saas-preview-window:hover {
  box-shadow: 0 14px 36px rgba(10, 88, 152, 0.1);
}

/* Chrome Window Bar */
.saas-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  gap: 12px;
}

.saas-window-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.saas-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.saas-dot-red { background: #EF4444; }
.saas-dot-yellow { background: #F59E0B; }
.saas-dot-green { background: #10B981; }

.saas-window-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0A5898;
  display: flex;
  align-items: center;
  gap: 8px;
}

.saas-window-status {
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.saas-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: saasPingPulse 1.8s ease-in-out infinite;
}

@keyframes saasPingPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #10B981; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 10px #10B981; }
}

.saas-window-meta #saasLiveBillTag {
  font-size: 0.74rem;
  font-weight: 700;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

/* SaaS Stage & Interactive Canvas */
.saas-canvas-stage {
  position: relative;
  height: 200px;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  overflow: hidden;
}

/* Blueprint Engineering Grid */
.saas-blueprint-grid {
  position: absolute;
  inset: 0;
  background-size: 24px 24px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.65) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.65) 1px, transparent 1px);
  opacity: 0.75;
  pointer-events: none;
}

/* Floating Glassmorphism Metric Badges */
.saas-float-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 7px 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  text-align: left;
  pointer-events: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.saas-float-badge:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 12px 28px rgba(10, 88, 152, 0.16);
}

.saas-float-badge-top-right {
  top: 14px;
  right: 14px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  animation: saasFloatA 4.2s ease-in-out infinite;
}

.saas-float-badge-bottom-left {
  bottom: 22px;
  left: 14px;
  border: 1px solid rgba(10, 88, 152, 0.28);
  animation: saasFloatB 4.6s ease-in-out infinite 0.6s;
}

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

@keyframes saasFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.saas-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.saas-badge-val {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
}

.saas-badge-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
}

/* SVG Solar Curve & Dynamic Animations */
.saas-svg-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.saas-curve-svg {
  width: 100%;
  height: 100%;
}

.saas-curve-stroke {
  animation: saasCurvePulse 3.4s ease-in-out infinite;
}

@keyframes saasCurvePulse {
  0%, 100% {
    stroke-width: 3.5;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
  }
  50% {
    stroke-width: 4.2;
    filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.85));
  }
}

.saas-grid-demand-line {
  animation: saasGridDash 18s linear infinite;
}

@keyframes saasGridDash {
  to { stroke-dashoffset: -100; }
}

.saas-scan-line {
  animation: saasScanSweep 6s ease-in-out infinite alternate;
}

@keyframes saasScanSweep {
  0% { transform: translateX(-160px); opacity: 0.3; }
  50% { opacity: 0.8; }
  100% { transform: translateX(160px); opacity: 0.3; }
}

.saas-peak-pulse {
  animation: saasPeakRadar 2.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes saasPeakRadar {
  0% { r: 6; opacity: 0.8; }
  50% { r: 16; opacity: 0.25; }
  100% { r: 6; opacity: 0.8; }
}

.saas-peak-lbl {
  font-size: 10px;
  font-weight: 700;
  fill: #065F46;
  background: rgba(255, 255, 255, 0.9);
}

.saas-time-tick {
  font-size: 10px;
  font-weight: 600;
  fill: #94A3B8;
}

/* Equalizer Harvester Mini-Meter (Dynamic motion like before!) */
.saas-eq-track {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 38px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.saas-eq-col {
  width: 5px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.saas-eq-fill {
  width: 100%;
  background: linear-gradient(180deg, #34D399 0%, #10B981 100%);
  border-radius: 3px 3px 1px 1px;
  transform-origin: bottom center;
  animation: saasEqWave 2.2s ease-in-out infinite;
  will-change: transform;
}

.saas-eq-col:nth-child(1) .saas-eq-fill { animation-delay: 0.0s; }
.saas-eq-col:nth-child(2) .saas-eq-fill { animation-delay: -0.35s; }
.saas-eq-col:nth-child(3) .saas-eq-fill { animation-delay: -0.7s; }
.saas-eq-col:nth-child(4) .saas-eq-fill { animation-delay: -1.05s; }
.saas-eq-col:nth-child(5) .saas-eq-fill { animation-delay: -1.4s; }
.saas-eq-col:nth-child(6) .saas-eq-fill { animation-delay: -1.75s; }
.saas-eq-col:nth-child(7) .saas-eq-fill { animation-delay: -2.1s; }

@keyframes saasEqWave {
  0%, 100% { transform: scaleY(0.7); filter: brightness(0.95); }
  50% { transform: scaleY(1.25); filter: brightness(1.2); }
}

/* Interactive Ticker Bar */
.saas-interactive-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  font-size: 0.78rem;
  color: #475569;
  text-align: left;
}

.saas-ticker-icon {
  color: #F59E0B;
  font-size: 0.9rem;
  flex-shrink: 0;
  animation: saasSparkle 3s ease-in-out infinite;
}

@keyframes saasSparkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(15deg) scale(1.15); color: #10B981; }
}

.saas-ticker-text {
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
}

/* Dashboard Introduction Typography & Pills */
.saas-intro-content {
  padding: 4px 6px 0 6px;
}

.dash-initial-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--agrim-navy);
  margin: 0 0 10px 0;
}

.dash-initial-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #64748B;
  max-width: 480px;
  margin: 0 auto 20px auto;
}

.dash-initial-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.dash-pill {
  font-size: 0.78rem;
  font-weight: 600;
  background: #F8FAFC;
  color: #475569;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.dash-pill:hover {
  transform: translateY(-2px);
  background: #ECFDF5;
  color: #065F46;
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

/* Reduced-motion Fallback for SaaS Graphics */
@media (prefers-reduced-motion: reduce) {
  .saas-ping,
  .saas-float-badge,
  .saas-curve-stroke,
  .saas-grid-demand-line,
  .saas-scan-line,
  .saas-peak-pulse,
  .saas-eq-fill,
  .saas-ticker-icon {
    animation: none !important;
    transform: none !important;
  }
}

/* Full Dashboard Card (After calculation) */
.dash-dashboard-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  box-shadow: 0 20px 50px rgba(10, 88, 152, 0.08);
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dash-dashboard-card.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Dashboard Header */
.dash-header-bar {
  background: linear-gradient(135deg, #071724 0%, #10304A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 26px;
  box-shadow: 0 6px 18px rgba(7, 23, 36, 0.15);
}

.dash-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.dash-header-title strong {
  color: #FFFFFF;
}

.calc-res-zone-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #A7F3D0;
  background: rgba(16, 185, 129, 0.18);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dash-header-bill {
  font-size: 0.85rem;
  color: #CBD5E1;
}

.dash-header-bill strong {
  color: #FBBF24;
}

/* Dashboard Sections */
.dash-section-box {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #F1F5F9;
}

.dash-section-box:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.dash-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--agrim-navy);
  margin: 0 0 14px 0;
}

.dash-section-heading i {
  color: #10B981;
  font-size: 1rem;
}

/* Grids */
.dash-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dash-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Metric Cards */
.dash-metric-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.dash-metric-card:hover {
  transform: translateY(-2px);
  border-color: #93C5FD;
}

.dash-metric-card-highlight {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border-color: #A7F3D0;
}

.dash-metric-card-highlight:hover {
  border-color: #34D399;
}

.dash-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.dash-card-lbl {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
}

.dash-card-icon {
  font-size: 0.95rem;
  color: var(--agrim-blue);
}

.dash-card-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--agrim-navy);
  line-height: 1.2;
  margin: 4px 0 2px 0;
  letter-spacing: -0.4px;
}

.dash-card-sub {
  font-size: 0.74rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

/* Lifetime Savings Footnote */
.dash-lifetime-note {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 8px;
  line-height: 1.4;
  font-style: italic;
}

/* Mini Visualization Strip */
.dash-mini-viz {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 14px;
}

.dash-viz-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--agrim-navy);
  margin-bottom: 8px;
}

.dash-viz-track {
  width: 100%;
  height: 10px;
  background: #CBD5E1;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.dash-viz-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: 99px;
  width: 0%;
  transition: width 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dash-viz-legend {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
}

.dash-viz-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dash-dot-grid {
  width: 8px;
  height: 8px;
  background: #64748B;
  border-radius: 50%;
}

.dash-dot-solar {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
}

/* CTA Box */
.dash-cta-box {
  background: linear-gradient(135deg, #071724 0%, #0B2E1D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-top: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 30px rgba(7, 23, 36, 0.2);
}

.dash-cta-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.dash-cta-desc {
  font-size: 0.9rem;
  color: #CBD5E1;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.dash-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.dash-btn-primary {
  padding: 13px 22px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  border: 1px solid #B45309;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dash-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
}

.dash-btn-secondary {
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  cursor: pointer;
}

.dash-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Compact Disclaimer */
.dash-disclaimer {
  font-size: 0.74rem;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1050px) {
  .calc-dashboard-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px;
  }
  .calc-left-col, .calc-right-col {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .dash-grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .calc-left-title {
    font-size: 2rem;
  }
  .dash-grid-3col {
    grid-template-columns: 1fr;
  }
  .dash-grid-2col {
    grid-template-columns: 1fr;
  }
  .dash-dashboard-card {
    padding: 24px 18px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .calc-form-card {
    padding: 22px 16px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .calc-submit-btn {
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    text-align: center !important;
    word-break: break-word !important;
  }
  .calc-submit-btn span {
    white-space: normal !important;
  }
  .dash-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .dash-btn-primary, .dash-btn-secondary {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .calc-left-title {
    font-size: 1.65rem !important;
  }
  .calc-form-card {
    padding: 18px 12px !important;
  }
  .calc-label-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .calc-bill-badge {
    font-size: 1.1rem !important;
    padding: 3px 10px !important;
  }
  .calc-slider-bounds {
    font-size: 0.7rem !important;
  }
  .calc-exact-wrap {
    flex-wrap: wrap !important;
    padding: 8px 10px !important;
  }
  .calc-exact-wrap label {
    width: 100% !important;
  }
  .calc-exact-input-box {
    width: 100% !important;
  }
}

/* ==========================================================================
   INTERACTIVE 360° SOLAR PANEL 3D MODEL SECTION
   ========================================================================== */
.solar-3d-section {
  padding: 85px 0 95px 0;
  background: #FFFFFF;
}

.solar-3d-wrapper {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #0B253D 0%, #061726 65%, #020C14 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(10, 88, 152, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.solar-3d-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(6, 20, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 5;
  flex-wrap: wrap;
  gap: 12px;
}

.solar-3d-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #A7F3D0;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}

.solar-3d-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: solar3DPulseDot 1.8s ease-in-out infinite;
}

@keyframes solar3DPulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
}

.solar-3d-ctrl-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.solar-3d-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.solar-3d-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #38BDF8;
  color: #38BDF8;
}

.solar-3d-btn.active {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  border-color: #34D399;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}

.solar-3d-stage {
  position: relative;
  width: 100%;
  height: 520px;
  cursor: grab;
  user-select: none;
  overflow: hidden;
}

.solar-3d-stage:active {
  cursor: grabbing;
}

.solar-3d-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(7, 23, 36, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.35s ease;
}

.solar-3d-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38BDF8;
  border-radius: 50%;
  animation: solar3DSpin 1s linear infinite;
}

@keyframes solar3DSpin {
  to { transform: rotate(360deg); }
}

/* Floating Specification Glass Badges */
.solar-3d-spec-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 38, 62, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.solar-3d-spec-badge i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.spec-badge-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.spec-badge-desc {
  font-size: 0.72rem;
  font-weight: 500;
  color: #CBD5E1;
  white-space: nowrap;
}

.solar-3d-spec-tl { top: 20px; left: 20px; }
.solar-3d-spec-tr { top: 20px; right: 20px; }
.solar-3d-spec-bl { bottom: 20px; left: 20px; }
.solar-3d-spec-br { bottom: 20px; right: 20px; }

.solar-3d-hint-bar {
  padding: 10px 18px;
  background: rgba(6, 20, 32, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .solar-3d-stage { height: 440px; }
  .solar-3d-spec-tl, .solar-3d-spec-tr, .solar-3d-spec-bl, .solar-3d-spec-br {
    padding: 8px 12px;
  }
  .spec-badge-desc { display: none; }
}

@media (max-width: 640px) {
  .solar-3d-stage { height: 380px; }
  .solar-3d-spec-badge { display: none; }
  .solar-3d-toolbar { flex-direction: column; align-items: stretch; }
  .solar-3d-ctrl-group { justify-content: center; }
}


