/* ==========================================================================
   PrimeSol India - Clean Energy Web Platform
   Operated by SILVERPRIMEBHARAT PRIVATE LIMITED
   Design System & Responsive Stylesheet
   ========================================================================== */

:root {
  /* Color Palette */
  --color-primary: #0B2545;       /* Deep PrimeSol Navy */
  --color-primary-dark: #061A31;
  --color-primary-light: #133E87;
  
  --color-accent: #F58220;        /* Solar Sunrise Orange */
  --color-accent-hover: #E06D0C;
  --color-accent-light: #FFF3EB;

  --color-green: #10B981;         /* Greener India Eco Green */
  --color-green-dark: #059669;
  --color-green-light: #ECFDF5;

  --color-whatsapp: #25D366;      /* Official WhatsApp Green */
  --color-whatsapp-hover: #20BD5A;

  --color-cyan: #0284C7;          /* Sky Clean Cyan */
  --color-cyan-light: #F0F9FF;

  --color-dark: #1E293B;          /* Slate Dark Text */
  --color-muted: #64748B;         /* Slate Secondary Text */
  --color-light: #F8FAFC;         /* Soft Off-White Background */
  --color-border: #E2E8F0;
  --color-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.09), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 30px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-orange: 0 10px 25px -5px rgba(245, 130, 32, 0.35);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 60px; /* Space for mobile sticky action bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

ul {
  list-style: none;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1180px; /* Compact & proportional */
  margin: 0 auto;
  padding: 0 20px;
}

/* Standard Vector SVG Icons (No Emojis) */
.svg-icon-xs {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-sm {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-md {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-lg {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.text-navy { color: var(--color-primary); }
.text-green { color: var(--color-green); }
.text-orange { color: var(--color-accent); }
.text-primary { color: var(--color-primary-light); }
.flex-shrink-0 { flex-shrink: 0; }

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: linear-gradient(135deg, #F58220 0%, #FF9800 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #E06D0C 0%, #F58220 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(245, 130, 32, 0.45);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: #F1F5F9;
}

.btn-outline-sm {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-outline-sm:hover {
  border-color: var(--color-primary);
  background: #F1F5F9;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-whatsapp-header {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
}

.btn-whatsapp-header:hover {
  background: var(--color-whatsapp);
  color: #FFFFFF;
  border-color: var(--color-whatsapp);
}

.btn-wa-icon {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 6px 10px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-wa-icon:hover {
  background: var(--color-whatsapp);
  color: #FFFFFF;
  border-color: var(--color-whatsapp);
}

.btn-navy {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-navy:hover {
  background: var(--color-primary-light);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: 15px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(245, 130, 32, 0.15);
  color: #D96906;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-pill.bg-blue-pill {
  background: #E0F2FE;
  color: #0369A1;
}

.badge-pill.bg-white-trans {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   1. Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: #061A31;
  color: #E2E8F0;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-text strong {
  color: #FFB74D;
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.announcement-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
}

.announcement-contact:hover {
  color: #FFFFFF;
}

.divider-dot {
  color: #475569;
}

@media (max-width: 820px) {
  .announcement-right {
    display: none;
  }
  .announcement-content {
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   2. Site Header & Clear Vector Logo
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px; /* Sleek, modern compact header height */
}

.brand-logo {
  display: flex;
  align-items: center;
  padding: 2px 0;
}

.logo-image {
  height: 42px; /* Perfectly sized, compact & razor-sharp */
  width: auto;
  max-width: 190px;
  object-fit: contain;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary-light);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  z-index: 1001;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle:active {
  background: #E2E8F0;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: rgba(11, 37, 69, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer-inner {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer-logo {
  height: 48px;
  width: auto;
}

.mobile-drawer-close {
  font-size: 1.4rem;
  color: var(--color-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F1F5F9;
}

.mobile-nav-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: block;
}

.mobile-nav-link:hover {
  background: #F8FAFC;
  color: var(--color-accent);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 20px;
}

.mobile-drawer-contact {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-actions .get-quote-btn {
    display: none;
  }
}

@media (max-width: 576px) {
  .header-container {
    height: 72px;
  }
  .logo-image {
    height: 52px;
  }
  .btn-whatsapp-header span {
    display: none;
  }
  .btn-whatsapp-header {
    padding: 8px 10px;
  }
}

/* ==========================================================================
   3. Hero Section with Animated Ambient FX & Multi-Slide Showcase
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #0B2545;
  background-image: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(240, 249, 255, 0.62) 100%),
    url('assets/images/hero-solar-bg.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 34px 0 0;
  overflow: hidden;
}

/* Ambient Solar Ray FX */
.hero-bg-fx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.solar-glow-orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

.glow-top-right {
  top: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.35) 0%, rgba(254, 215, 170, 0.1) 70%, transparent 100%);
}

.glow-bottom-left {
  bottom: 0;
  left: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(224, 242, 254, 0.1) 70%, transparent 100%);
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
  100% { transform: scale(1.12) translate(15px, 10px); opacity: 0.5; }
}

.solar-ray-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.75) 0%, transparent 60%);
  opacity: 0.6;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Balanced compact columns */
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #0284C7;
  background: #E0F2FE;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.16;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.hero-title .highlight-green {
  color: #10B981;
}

.hero-description {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.55;
  max-width: 500px;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #CBD5E1;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

/* Hero Multi-Slide Interactive Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 0;
}

.hero-slider-card {
  position: relative;
  width: 100%;
  max-width: 520px; /* Reduced from 620px for compact sleek fit */
  height: 375px;    /* Reduced from 450px */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(11, 37, 69, 0.2);
  border: 3px solid #FFFFFF;
  background: #0B2545;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0) 0%, rgba(11, 37, 69, 0.5) 30%, rgba(11, 37, 69, 0.88) 100%);
  padding: 16px 20px 14px;
  color: #FFFFFF;
  z-index: 5;
  pointer-events: none;
}

.caption-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #38BDF8;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.slide-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.slide-caption p {
  font-size: 0.78rem;
  color: #CBD5E1;
  line-height: 1.35;
}

/* Slider Controls */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.slider-nav-btn:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.slider-nav-btn svg {
  width: 18px;
  height: 18px;
}

.prev-btn { left: 12px; }
.next-btn { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  right: 18px;
  display: flex;
  gap: 7px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--color-accent);
  width: 20px;
  border-radius: var(--radius-full);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 12;
  animation: floatSlow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.badge-top-right {
  top: -12px;
  right: 20px;
}

.badge-bottom-left {
  bottom: -12px;
  left: 20px;
  animation-delay: 2s;
}

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

.badge-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF7ED;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-box.green-icon {
  background: #ECFDF5;
}

.badge-val {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--color-primary);
}

.badge-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--color-muted);
}

/* ==========================================================================
   Hero Key Highlights 4 Cards Bar (Deep Royal Solar Navy with Solar Orange Topline)
   ========================================================================== */
.hero-highlights-wrapper {
  margin-top: 36px;
  background: linear-gradient(90deg, #071E3D 0%, #0B2545 50%, #071E3D 100%);
  border-top: 2.5px solid #F58220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(7, 30, 61, 0.35);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.highlight-card:hover {
  transform: translateY(-2px);
}

.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.08);
}

.highlight-icon.blue-bg {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.highlight-icon.green-bg {
  color: #34D399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.highlight-icon.cyan-bg {
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.highlight-icon.green-solid-bg {
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.highlight-info h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.highlight-info p {
  font-size: 0.8rem;
  color: #94A3B8;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 30px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .hero-slider-card {
    height: 380px;
  }
}

@media (max-width: 576px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .highlight-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 14px;
  }
  .badge-top-right, .badge-bottom-left {
    display: none;
  }
  .hero-slider-card {
    height: 290px;
  }
}

/* ==========================================================================
   Section Universal Styles
   ========================================================================== */
.section {
  padding: 54px 0; /* Reduced from 80px for a more compact, modern layout */
}

.section-subtitle {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: #0284C7;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  max-width: 620px;
  line-height: 1.55;
}

.section-title-center {
  margin-bottom: 34px;
}

.section-title-center .section-desc {
  margin: 0 auto;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   4. PM Surya Ghar Muft Bijli Yojana Section
   ========================================================================== */
.pmsuryaghar-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.pmsurya-banner-card {
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.pmsurya-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gov-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.gov-emblem-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1E3A8A;
  letter-spacing: 0.8px;
}

.pmsurya-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.pmsurya-sub {
  font-size: 0.98rem;
  color: #475569;
  max-width: 720px;
  line-height: 1.6;
}

.btn-portal-link {
  background: #1E3A8A;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-portal-link:hover {
  background: #0F172A;
  color: #FFFFFF;
}

/* Subsidy Matrix Grid */
.subsidy-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.subsidy-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.subsidy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-subsidy-card {
  border: 2px solid var(--color-green);
  background: #F0FDF4;
}

.sc-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--color-green);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.sc-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.sc-kw {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.sc-type {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.sc-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.featured-subsidy-card .sc-amount {
  color: var(--color-green-dark);
}

.sc-desc {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.sc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: #334155;
}

.sc-list li {
  position: relative;
  padding-left: 14px;
}

.sc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* National Portal Steps & Loans */
.pmsurya-portal-steps-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 26px;
}

.pmsurya-steps-box .box-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.portal-ordered-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
  color: #475569;
  list-style: none;
}

.portal-ordered-steps li {
  line-height: 1.5;
}

.portal-ordered-steps strong {
  color: var(--color-primary);
}

.pmsurya-loan-box {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.loan-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E0F2FE;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pmsurya-loan-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.pmsurya-loan-box p {
  font-size: 0.84rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 16px;
}

.loan-action-row {
  margin-top: auto;
}

@media (max-width: 991px) {
  .subsidy-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pmsurya-portal-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .subsidy-matrix-grid {
    grid-template-columns: 1fr;
  }
  .pmsurya-banner-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   5. Solutions Section
   ========================================================================== */
.solutions-section {
  background: #FFFFFF;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.solution-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.solution-img-box {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #E2E8F0;
}

.solution-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.solution-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.solution-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sol-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-icon.house-icon { background: #E0F2FE; color: #0284C7; }
.sol-icon.building-icon { background: #ECFDF5; color: #10B981; }
.sol-icon.factory-icon { background: #EFF6FF; color: #3B82F6; }
.sol-icon.wind-icon { background: #F0FDF4; color: #15803D; }

.solution-icon-title h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.solution-body p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 14px;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
  margin-bottom: 18px;
  margin-top: auto;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary-light);
  transition: gap 0.2s ease;
}

.solution-link:hover {
  color: var(--color-accent);
  gap: 10px;
}

@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. Key Metrics Counter Bar
   ========================================================================== */
.metrics-bar-section {
  background: #0B2545;
  color: #FFFFFF;
  padding: 44px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
}

.metric-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  flex-shrink: 0;
}

.metric-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

@media (max-width: 991px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   7. Featured Products Section & Card Actions
   ========================================================================== */
.products-section {
  background: #F8FAFC;
  padding: 44px 0 38px;
}

.products-slider-wrapper {
  position: relative;
  width: 100%;
}

.products-slider-track-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 14px;
}

.products-slider-track-container::-webkit-scrollbar {
  display: none;
}

.products-slider-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  cursor: grab;
  user-select: none;
}

.products-slider-track:active {
  cursor: grabbing;
}

.product-card {
  position: relative;
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 240px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #0284C7;
  box-shadow: var(--shadow-md);
}

.product-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  background: #E0F2FE;
  color: #0284C7;
  padding: 2px 7px;
  border-radius: 4px;
}

.product-img-box {
  width: 100%;
  height: 118px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin: 6px 0 10px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 10px rgba(11, 37, 69, 0.08));
}

.product-card:hover .product-img {
  transform: scale(1.08) translateY(-2px);
}

.product-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
}

.product-spec {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.3;
  margin-bottom: 8px;
  min-height: 30px;
}

.product-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-green-dark);
  background: #ECFDF5;
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card-actions .btn-outline-sm {
  flex: 1;
}

/* Slider Navigation Buttons */
.products-slider-nav {
  position: absolute;
  top: calc(50% - 10px);
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.products-slider-nav:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.22);
}

.products-slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.products-slider-nav.prev-btn {
  left: -20px;
}

.products-slider-nav.next-btn {
  right: -20px;
}

.slider-arrow-svg {
  width: 20px;
  height: 20px;
}

/* Slider Dots */
.products-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.product-dot {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-dot.active {
  width: 28px;
  background: var(--color-primary);
}

.product-dot:hover:not(.active) {
  background: #94A3B8;
}

@media (max-width: 1150px) {
  .product-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 220px;
  }
  .products-slider-nav.prev-btn {
    left: -12px;
  }
  .products-slider-nav.next-btn {
    right: -12px;
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 0 0 calc((100% - 18px) / 2);
    min-width: 200px;
  }
  .products-slider-nav {
    width: 38px;
    height: 38px;
  }
  .products-slider-nav.prev-btn {
    left: -8px;
  }
  .products-slider-nav.next-btn {
    right: -8px;
  }
}

@media (max-width: 520px) {
  .product-card {
    flex: 0 0 84%;
    min-width: 220px;
  }
  .products-slider-nav {
    display: none;
  }
}

/* ==========================================================================
   8. Interactive Solar Savings & Subsidy Calculator
   ========================================================================== */
.calculator-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
}

.calc-header {
  margin-bottom: 40px;
}

.calc-card-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calc-controls {
  padding: 36px 32px;
}

.calc-input-group {
  margin-bottom: 26px;
}

.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.calc-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.calc-type-btn {
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-dark);
  background: #F8FAFC;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.calc-type-btn.active, .calc-type-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
}

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

.slider-display-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent);
  background: #FFF7ED;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 2px 6px rgba(245, 130, 32, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 6px;
}

.calc-note-box {
  display: flex;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #166534;
  line-height: 1.45;
}

/* Calculator Results Card */
.calc-results-card {
  background: #0B2545;
  color: #FFFFFF;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.results-header-title {
  flex: 1;
  min-width: 0;
}

.results-header-title h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
}

.instant-estimate-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseGlow 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 10px #34D399; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.result-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.result-tile.highlight-green-tile {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.result-tile-lbl {
  display: block;
  font-size: 0.75rem;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.result-tile-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
}

.result-tile-val.text-green { color: #34D399; }
.result-tile-val.text-orange { color: #FDBA74; }

.result-tile-sub {
  display: block;
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 4px;
}

.lifetime-savings-banner {
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.2) 0%, rgba(245, 130, 32, 0.05) 100%);
  border: 1px dashed rgba(245, 130, 32, 0.5);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 22px;
}

.ls-label {
  font-size: 0.78rem;
  color: #FDBA74;
  font-weight: 600;
  text-transform: uppercase;
}

.ls-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
}

.ls-caption {
  font-size: 0.72rem;
  color: #94A3B8;
}

@media (max-width: 991px) {
  .calc-card-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   9. How It Works Section
   ========================================================================== */
.how-it-works-section {
  background: #FFFFFF;
}

.steps-flow-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 20px 14px;
  background: #F8FAFC;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon-wrap {
  transform: scale(1.08);
}

.step-num-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.step-icon-wrap.orange-glow { background: #FFF7ED; color: #EA580C; }
.step-icon-wrap.cyan-glow { background: #E0F2FE; color: #0284C7; }
.step-icon-wrap.green-glow { background: #ECFDF5; color: #059669; }
.step-icon-wrap.navy-glow { background: #EFF6FF; color: #1D4ED8; }

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.step-connector {
  font-size: 1.6rem;
  color: #CBD5E1;
  font-weight: bold;
  align-self: center;
  margin-top: -30px;
}

@media (max-width: 860px) {
  .steps-flow-container {
    flex-direction: column;
    gap: 20px;
  }
  .step-connector {
    transform: rotate(90deg);
    margin: -10px auto;
  }
}

/* ==========================================================================
   10. About Company & Legal Identity
   ========================================================================== */
.about-section {
  background: #F8FAFC;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.about-content p {
  color: #475569;
  margin-bottom: 20px;
}

.legal-badge-card {
  background: #FFFFFF;
  border: 1.5px solid #0284C7;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 24px 0 28px;
  box-shadow: var(--shadow-sm);
}

.legal-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0369A1;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.legal-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: #334155;
}

.legal-details-list li strong {
  color: var(--color-primary);
}

.about-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-stat-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 37, 69, 0.95) 60%);
  padding: 24px 20px 20px;
  display: flex;
  justify-content: space-around;
  color: #FFFFFF;
}

.about-stat-box {
  text-align: center;
}

.about-stat-box .big-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #38BDF8;
}

.about-stat-box .stat-text {
  font-size: 0.72rem;
  color: #CBD5E1;
  display: block;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. Installed Projects Portfolio
   ========================================================================== */
.projects-section {
  background: #FFFFFF;
}

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

.project-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.project-img-wrap {
  position: relative;
  height: 200px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 37, 69, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.project-info {
  padding: 20px 18px;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.project-loc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-result {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   12. FAQ Accordion with Lightly Visible Brand Logo Background
   ========================================================================== */
.faq-section {
  position: relative;
  background-color: #F8FAFC;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 440px;
  max-width: 92%;
  background-image: url('assets/images/primesol-logo-exact.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
  filter: contrast(120%);
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.04);
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 18px;
}

.faq-answer ul {
  margin: 8px 0 8px 18px;
  list-style: disc;
}

/* ==========================================================================
   13. Bottom CTA Banner
   ========================================================================== */
.cta-banner-section {
  position: relative;
  background: #0B2545;
  color: #FFFFFF;
}

.cta-banner-bg {
  background-size: cover;
  background-position: center;
  padding: 70px 0;
}

.cta-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #38BDF8;
  margin-bottom: 8px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 580px;
  margin-bottom: 22px;
}

.cta-contacts-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
}

.cta-contact-item:hover {
  color: var(--color-accent);
}

.shadow-glow {
  box-shadow: 0 0 30px rgba(245, 130, 32, 0.5);
}

@media (max-width: 768px) {
  .cta-banner-container {
    flex-direction: column;
    text-align: center;
  }
  .cta-desc {
    margin: 0 auto 22px;
  }
  .cta-contacts-row {
    justify-content: center;
  }
}

/* ==========================================================================
   14. Contact Form Section
   ========================================================================== */
.contact-section {
  background: #FFFFFF;
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-info-col p {
  color: var(--color-muted);
  margin-bottom: 28px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
}

.cd-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E0F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.contact-detail-item p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
}

.form-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-dark);
  transition: border-color var(--transition-fast);
  background: #FFFFFF;
}

.form-input:focus {
  border-color: #0284C7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

@media (max-width: 850px) {
  .contact-card-wrapper {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   15. Site Footer
   ========================================================================== */
.site-footer {
  background: #061A31;
  color: #CBD5E1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.footer-tagline {
  color: #FFB74D;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.footer-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94A3B8;
}

.footer-address strong {
  color: #E2E8F0;
}

.footer-bottom {
  background: #041224;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: #64748B;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 10px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   16. Mobile Sticky Bottom Action Bar
   ========================================================================== */
.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 58px;
  background: #FFFFFF;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 999;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  border-top: 1px solid var(--color-border);
  box-sizing: border-box;
}

.mob-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  margin: 0 4px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.mob-action-btn.phone-btn { background: #0B2545; color: #FFFFFF; }
.mob-action-btn.wa-btn { background: #25D366; color: #FFFFFF; }
.mob-action-btn.quote-btn { background: #F58220; color: #FFFFFF; }

@media (max-width: 768px) {
  .mobile-sticky-action-bar {
    display: flex;
  }
}

/* ==========================================================================
   17. Modals: Full-Page Product Showcase & Quotation
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.72);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 28px;
}

.modal-dialog-lg {
  max-width: 860px;
  padding: 32px;
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.modal-header {
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 6px;
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Fullpage Product Showcase Modal Layout */
.product-modal-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.pm-visual-col {
  display: flex;
  flex-direction: column;
}

.pm-image-wrap {
  width: 100%;
  height: 220px;
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
  padding: 16px;
}

.pm-main-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.pm-certifications {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.pm-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 6px;
}

.pm-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.pm-specs-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
}

.spec-row strong {
  color: var(--color-primary);
}

.spec-row span {
  color: #475569;
  text-align: right;
}

.pm-whatsapp-box {
  margin-bottom: 20px;
}

.pm-form-box {
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pm-form-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .product-modal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-dialog-lg {
    padding: 24px 18px;
  }
  .pm-image-wrap {
    height: 160px;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #0B2545;
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideToast 0.3s ease forwards;
  pointer-events: auto;
}

.toast.toast-success {
  border-left: 4px solid var(--color-green);
}

@keyframes slideToast {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
