/* ==========================================================================
   HATHROLI GREEN SERVICE - Clean Energy & Solar Solutions
   Modern, Ultra-Premium Responsive Design System
   ========================================================================== */

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

:root {
  /* Color Tokens */
  --primary-green: #059669;
  --primary-green-light: #10b981;
  --primary-green-dark: #047857;
  --primary-green-glow: rgba(16, 185, 129, 0.25);

  --solar-gold: #f59e0b;
  --solar-gold-light: #fbbf24;
  --solar-gold-dark: #d97706;
  --solar-gold-glow: rgba(245, 158, 11, 0.25);

  --dark-navy: #0b1320;
  --dark-surface: #111e30;
  --dark-card: #16263d;
  --dark-text: #0f172a;

  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-border: #e2e8f0;
  --light-border-soft: #f1f5f9;
  --muted-text: #64748b;
  --light-text: #94a3b8;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-solar: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --grad-combo: linear-gradient(135deg, #059669 0%, #10b981 50%, #f59e0b 100%);
  --grad-dark: linear-gradient(180deg, #0b1320 0%, #111e30 100%);
  --grad-hero-overlay: linear-gradient(to right, rgba(11, 19, 32, 0.88) 0%, rgba(11, 19, 32, 0.65) 55%, rgba(11, 19, 32, 0.3) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.16);
  --shadow-green: 0 10px 25px rgba(5, 150, 105, 0.3);
  --shadow-gold: 0 10px 25px rgba(245, 158, 11, 0.3);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-text);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg-light {
  background-color: #f8fafc;
}

.section-bg-white {
  background-color: #ffffff;
}

.section-bg-dark {
  background: var(--grad-dark);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary-green);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
}

.badge-tag.gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--solar-gold-dark);
  border-color: rgba(245, 158, 11, 0.3);
}

.badge-tag.dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--solar-gold-light);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title span {
  background: var(--grad-combo);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--muted-text);
  font-size: 1.05rem;
}

.section-bg-dark .section-title {
  color: #ffffff;
}

.section-bg-dark .section-subtitle {
  color: #cbd5e1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.45);
  color: #ffffff;
}

.btn-solar {
  background: var(--grad-solar);
  color: var(--dark-navy);
  box-shadow: var(--shadow-gold);
}

.btn-solar:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.45);
  color: var(--dark-navy);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--dark-navy);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-green {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-outline-green:hover {
  background: var(--primary-green);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.topbar {
  background: var(--dark-navy);
  color: #cbd5e1;
  font-size: 0.83rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item i {
  color: var(--solar-gold);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-circle-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 0.78rem;
  transition: var(--trans-fast);
}

.social-circle-link:hover {
  background: var(--primary-green);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-circle-link.wa:hover {
  background: #25d366;
}

/* Main Navbar */
.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--trans-normal);
}

.navbar-header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  padding: 0.2rem 0;
}

.brand-logo-img {
  height: 66px;
  width: auto;
  max-width: 295px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05));
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.header-hindi-slogan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.16);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(74, 222, 128, 0.4);
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--trans-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  transition: var(--trans-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark-navy);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  height: 720px;
  background: var(--dark-navy);
}

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

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  background-size: cover;
  background-position: center;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
}

.slide-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-hero-overlay);
}

.slide-content-wrapper {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-content {
  max-width: 680px;
  color: #ffffff;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--solar-gold-light);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.6s ease forwards;
}

.slide-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.slide-title span {
  color: var(--solar-gold);
}

.slide-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-buttons {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--trans-normal);
}

.slider-arrow-btn:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-green);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--trans-normal);
}

.slider-dot.active {
  width: 38px;
  background: var(--solar-gold);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.8);
}

/* ==========================================================================
   Highlight Counters / Trust Bar
   ========================================================================== */
.stats-bar-section {
  margin-top: -55px;
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: #ffffff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--trans-normal);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--grad-primary);
  transition: var(--trans-normal);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.stat-card:hover::before {
  width: 8px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-card.gold .stat-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--solar-gold-dark);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin-top: 0.15rem;
}

.stat-subtext {
  font-size: 0.76rem;
  color: var(--muted-text);
  line-height: 1.3;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-floating-badge {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: #ffffff;
  padding: 1.35rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 5px solid var(--solar-gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 270px;
}

.badge-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--solar-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about-floating-badge h5 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.about-floating-badge p {
  font-size: 0.78rem;
  color: var(--muted-text);
  line-height: 1.25;
}

.about-content-wrapper {
  padding-right: 0.5rem;
}

.about-text-lead {
  font-size: 1.08rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 1.2rem;
  line-height: 1.65;
}

.about-text-body {
  color: var(--muted-text);
  margin-bottom: 1.8rem;
}

.cert-card-box {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-left: 5px solid var(--primary-green);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.cert-card-box h6 {
  color: var(--primary-green);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-item {
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
  color: #334155;
}

.cert-item:last-child {
  margin-bottom: 0;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-text);
}

.check-item i {
  color: var(--primary-green);
  background: rgba(5, 150, 105, 0.12);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(5, 150, 105, 0.3);
}

.service-img-box {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-box img {
  transform: scale(1.08);
}

.service-icon-floating {
  position: absolute;
  bottom: -28px;
  right: 25px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-green);
  border: 3px solid #ffffff;
  transition: var(--trans-normal);
}

.service-card:hover .service-icon-floating {
  background: var(--grad-solar);
  color: var(--dark-navy);
  transform: rotate(10deg) scale(1.05);
}

.service-card-body {
  padding: 2.2rem 1.8rem 1.8rem 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--dark-navy);
}

.service-card-text {
  color: var(--muted-text);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-border-soft);
}

.service-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #475569;
  font-weight: 500;
}

.service-highlight-item i {
  color: var(--primary-green);
  font-size: 0.75rem;
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.service-card-btn:hover {
  color: var(--primary-green-dark);
  gap: 0.75rem;
}

/* ==========================================================================
   Solar Savings Calculator (Standout Feature)
   ========================================================================== */
.calc-section {
  background: linear-gradient(135deg, #0b1320 0%, #16263d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.calc-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-intro h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.calc-intro p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.calc-perks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.calc-perk-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--solar-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.calc-perk-text h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.calc-perk-text p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Calculator Box */
.calc-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.calc-group {
  margin-bottom: 2rem;
}

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

.calc-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.calc-display-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--solar-gold-light);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #334155;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--solar-gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
  cursor: pointer;
  border: 3px solid #ffffff;
  transition: transform 0.15s ease;
}

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

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-result-box {
  display: flex;
  flex-direction: column;
}

.calc-result-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
}

.calc-result-number.highlight-green {
  color: var(--primary-green-light);
}

.calc-result-number.highlight-gold {
  color: var(--solar-gold);
}

/* ==========================================================================
   Maintenance Packages Section (Standardized Solar Care)
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.package-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--trans-normal);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.package-card.popular {
  border: 2px solid var(--primary-green);
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.15);
  transform: scale(1.03);
  z-index: 2;
}

.package-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #ffffff;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-green);
}

.package-header {
  text-align: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--light-border-soft);
}

.package-tier {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-text);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.package-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.package-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.package-price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--dark-navy);
  line-height: 1;
}

.package-period {
  color: var(--muted-text);
  font-size: 0.85rem;
}

.package-ideal {
  font-size: 0.82rem;
  color: var(--primary-green-dark);
  font-weight: 600;
  background: rgba(5, 150, 105, 0.08);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 0.6rem;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
  flex-grow: 1;
}

.package-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #334155;
}

.package-feat-item i {
  color: var(--primary-green);
  font-size: 0.88rem;
  flex-shrink: 0;
}

.package-feat-item.disabled {
  color: #94a3b8;
}

.package-feat-item.disabled i {
  color: #cbd5e1;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.why-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-feature-box {
  background: #ffffff;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-border-soft);
  transition: var(--trans-normal);
}

.why-feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.25);
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.why-feature-box.gold .why-feature-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--solar-gold-dark);
}

.why-feature-box h5 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.why-feature-box p {
  font-size: 0.83rem;
  color: var(--muted-text);
  line-height: 1.45;
}

.why-image-wrapper {
  position: relative;
}

.why-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.why-badge-experience {
  position: absolute;
  top: -25px;
  left: -20px;
  background: var(--grad-primary);
  color: #ffffff;
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-green);
  text-align: center;
}

.why-badge-experience h2 {
  font-size: 2.5rem;
  color: #ffffff;
  line-height: 1;
}

.why-badge-experience p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ==========================================================================
   Project Gallery Section
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--light-border);
  color: #475569;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--trans-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
  box-shadow: var(--shadow-green);
}

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

.project-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  background: #ffffff;
  transition: var(--trans-normal);
}

.project-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-img-box {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-item:hover .project-img-box img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(11, 19, 32, 0.9) 0%, rgba(11, 19, 32, 0.3) 60%, transparent 100%);
  opacity: 0;
  transition: var(--trans-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: #ffffff;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-tag {
  display: inline-block;
  background: var(--solar-gold);
  color: var(--dark-navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  width: fit-content;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.project-meta {
  font-size: 0.84rem;
  color: #cbd5e1;
}

.project-quick-preview-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans-fast);
}

.project-quick-preview-btn:hover {
  background: var(--primary-green);
  transform: scale(1.1);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--trans-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(5, 150, 105, 0.25);
}

.quote-icon {
  font-size: 2.2rem;
  color: rgba(5, 150, 105, 0.2);
  margin-bottom: 1rem;
}

.stars-rating {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--light-border-soft);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-combo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h5 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  color: var(--dark-navy);
}

.author-info p {
  font-size: 0.78rem;
  color: var(--muted-text);
}

/* Reviews Header & Action Bar */
.reviews-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  background: #ffffff;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-border);
  flex-wrap: wrap;
  gap: 1.2rem;
}

.reviews-score-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rating-big-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--dark-navy);
  line-height: 1;
}

.rating-stars-column {
  display: flex;
  flex-direction: column;
}

.rating-stars-column .stars-rating {
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.rating-sub-info {
  font-size: 0.82rem;
  color: var(--muted-text);
  font-weight: 500;
}

.badge-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  background: rgba(5, 150, 105, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-left: auto;
}

/* Interactive Star Rating Selector in Review Modal */
.star-rating-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
}

.star-rating-selector i {
  color: #cbd5e1;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-rating-selector i.active,
.star-rating-selector i.hovered {
  color: #f59e0b;
  transform: scale(1.15);
}

.star-rating-text-label {
  font-size: 0.86rem;
  color: #f59e0b;
  font-weight: 700;
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .reviews-action-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Free Quote & Contact Section
   ========================================================================== */
.quote-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-panel {
  background: var(--grad-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-combo);
}

.contact-info-panel h3 {
  font-size: 1.9rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.contact-info-panel p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 2.2rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-card-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-text h6 {
  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.contact-card-text a,
.contact-card-text span {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.contact-card-text a:hover {
  color: var(--solar-gold);
}

.contact-social-row {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social-row h6 {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Quote Form Container */
.quote-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.8rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-border);
}

.quote-form-card h3 {
  font-size: 1.95rem;
  margin-bottom: 0.5rem;
  color: var(--dark-navy);
}

.quote-form-card p {
  color: var(--muted-text);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-text);
  background: #f8fafc;
  transition: var(--trans-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.error-text {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.2rem;
  display: none;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark-navy);
  color: #94a3b8;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h5 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--solar-gold);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: var(--trans-fast);
}

.footer-link i {
  font-size: 0.7rem;
  color: var(--solar-gold);
}

.footer-link:hover {
  color: var(--primary-green-light);
  transform: translateX(4px);
}

.footer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.footer-thumb {
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.footer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.footer-thumb:hover img {
  transform: scale(1.15);
}

.footer-bottom {
  padding: 1.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #94a3b8;
}

.footer-bottom p a {
  color: var(--solar-gold);
}

/* ==========================================================================
   Floating Widgets & Modals
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 990;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: var(--trans-normal);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.12);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulseRipple 2s infinite;
  pointer-events: none;
}

@keyframes pulseRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 990;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-green);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--trans-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--solar-gold);
  color: var(--dark-navy);
  transform: translateY(-4px);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 19, 32, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--trans-normal);
}

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

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: var(--trans-normal);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--dark-navy);
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-navy);
  color: #ffffff;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--trans-normal);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

.toast-notice.success {
  background: #065f46;
  border-color: #10b981;
}

.toast-notice.error {
  background: #991b1b;
  border-color: #ef4444;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* Modal 2-column form helper */
.modal-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Base Modal Dialog Accessibility & Scrolling */
.modal-dialog {
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Laptop / Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-slider-section {
    height: 660px;
  }

  .slide-title {
    font-size: 2.85rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .why-grid,
  .calc-grid,
  .quote-contact-grid {
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablet Landscape & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-slider-section {
    height: 600px;
  }

  .slide-title {
    font-size: 2.45rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }

  .about-grid,
  .why-grid,
  .calc-grid,
  .quote-contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid,
  .packages-grid,
  .projects-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .package-card.popular {
    transform: none;
  }

  .package-card.popular:hover {
    transform: translateY(-6px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Tablet Portrait & Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .navbar-container {
    height: 68px;
    padding: 0 1rem;
  }

  .brand-logo-img {
    height: 46px;
    max-width: 195px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: var(--trans-normal);
    gap: 0.85rem;
    align-items: stretch;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #f1f5f9;
  }

  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #f8fafc;
    display: block;
  }

  .nav-actions {
    gap: 0.6rem;
  }

  .nav-actions .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    font-size: 1.25rem;
  }

  /* Hero Slider Mobile Perfection */
  .hero-slider-section {
    height: auto !important;
    min-height: 560px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .slider-container {
    height: 100% !important;
    min-height: 560px !important;
    position: relative !important;
    width: 100% !important;
  }

  .slide-item {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 560px !important;
    display: flex !important;
    align-items: center !important;
    padding: 2.5rem 0 3.5rem 0 !important;
  }

  .slide-content-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 1rem 1.25rem !important;
  }

  .slide-content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .slide-tag {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.8rem !important;
    margin-bottom: 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
  }

  .slide-title {
    font-size: clamp(1.55rem, 6.2vw, 2.25rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.85rem !important;
    letter-spacing: -0.02em !important;
    word-break: break-word !important;
  }

  .slide-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.4rem !important;
    color: #e2e8f0 !important;
  }

  .slider-arrow-btn {
    display: none !important;
  }

  .slide-buttons,
  .slide-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
    align-items: stretch !important;
  }

  .slide-buttons .btn,
  .slide-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 8px !important;
  }

  .slider-dots {
    bottom: 12px !important;
    gap: 8px !important;
    z-index: 10 !important;
  }

  /* Trust Stats */
  .stats-bar-section {
    margin-top: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0;
  }

  .stat-card {
    padding: 1.2rem 1.1rem;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  /* Section Common */
  .section {
    padding: 3.8rem 0;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }

  /* About Section */
  .about-main-img {
    height: 320px;
  }

  .about-floating-badge {
    position: static;
    margin-top: 1.25rem;
    max-width: 100%;
    padding: 1rem 1.25rem;
  }

  .cert-card-box {
    padding: 1.15rem 1rem;
  }

  .cert-item {
    font-size: 0.84rem;
    word-break: break-word;
  }

  .about-checklist {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  /* Grid Stackings */
  .services-grid,
  .packages-grid,
  .projects-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .why-main-img {
    height: 300px;
  }

  .why-badge-experience {
    position: static;
    margin-bottom: 1.25rem;
    display: inline-flex;
  }

  /* Solar Calculator */
  .calc-card {
    padding: 2rem 1.4rem;
  }

  .calc-results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .calc-result-number {
    font-size: 1.45rem;
  }

  /* Gallery Filters Scroll */
  .gallery-filters {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Reviews Action Bar */
  .reviews-action-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.35rem 1.2rem;
    gap: 1.2rem;
  }

  .reviews-score-summary {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  .reviews-score-summary .rating-stars-column {
    align-items: center;
  }

  .reviews-action-bar button,
  .reviews-action-bar .btn {
    width: 100%;
    justify-content: center;
  }

  /* Free Quote & Contact */
  .contact-info-panel {
    padding: 2rem 1.4rem;
  }

  .contact-card-text a,
  .contact-card-text span {
    font-size: 0.98rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .quote-form-card {
    padding: 2rem 1.4rem;
  }

  .quote-form-card h3 {
    font-size: 1.65rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Modals */
  .modal-dialog {
    padding: 1.8rem 1.3rem;
  }

  .modal-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Footer */
  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar-container {
    height: 64px;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 160px;
  }

  .nav-actions .btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.76rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-main-img {
    height: 250px;
  }

  .why-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .calc-card {
    padding: 1.5rem 1rem;
  }

  .quote-form-card {
    padding: 1.6rem 1rem;
  }

  .contact-info-panel {
    padding: 1.6rem 1rem;
  }

  .modal-dialog {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
  }

  .star-rating-selector {
    font-size: 1.6rem;
    gap: 0.35rem;
  }

  .toast-notice {
    width: calc(100% - 24px);
    font-size: 0.84rem;
    padding: 0.75rem 1rem;
  }

  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
    bottom: 18px;
    left: 14px;
  }

  .back-to-top-btn {
    width: 42px;
    height: 42px;
    bottom: 18px;
    right: 14px;
  }
}

/* ==========================================================================
   PACKAGES SLIDER CAROUSEL (EPC WORKFLOW PLANS & SOLAR CARE)
   ========================================================================== */
.packages-slider-section {
  position: relative;
  width: 100%;
}

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

.packages-slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.5rem 1.8rem 0.5rem;
  scrollbar-width: none;
}

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

.package-slide-card {
  flex: 0 0 calc(33.333% - 1.25rem);
  min-width: 320px;
  max-width: 400px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 2.25rem 2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-slide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.16);
  border-color: #10b981;
}

.package-slide-card.featured,
.package-slide-card.popular {
  border: 2px solid #10b981;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow: 0 18px 45px rgba(5, 150, 105, 0.18);
}

.package-slide-card .popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  padding: 0.4rem 1.4rem;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  white-space: nowrap;
  z-index: 5;
}

.package-header {
  margin-bottom: 1.25rem;
}

.package-tier {
  display: inline-block;
  background: #f1f5f9;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  border: 1px solid #e2e8f0;
}

.package-slide-card.popular .package-tier,
.package-slide-card.featured .package-tier {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}

.package-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.package-ideal {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 1.15rem;
  min-height: 2.4rem;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 0.85rem 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  margin-bottom: 1.25rem;
}

.package-currency {
  font-size: 1.35rem;
  font-weight: 800;
  color: #059669;
}

.package-price {
  font-size: 2.35rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.5px;
}

.package-period {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
  margin-left: 4px;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.package-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.4;
}

.feat-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-icon.disabled {
  background: #f1f5f9;
  color: #94a3b8;
}

.package-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.packages-slider-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.packages-slider-header-flex .section-header {
  margin-bottom: 0 !important;
  text-align: left !important;
}

.packages-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #10b981;
  color: #10b981;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  z-index: 30;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.packages-slider-btn:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.packages-slider-btn.slider-prev-arrow {
  left: -24px;
}

.packages-slider-btn.slider-next-arrow {
  right: -24px;
}

@media (max-width: 1024px) {
  .package-slide-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 290px;
  }
  .packages-slider-btn.slider-prev-arrow {
    left: -12px;
  }
  .packages-slider-btn.slider-next-arrow {
    right: -12px;
  }
}

@media (max-width: 768px) {
  .package-slide-card {
    flex: 0 0 85%;
    min-width: 265px;
    scroll-snap-align: center;
    padding: 1.75rem 1.35rem;
  }
  .packages-slider-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
  }
  .packages-slider-btn.slider-prev-arrow {
    left: 2px;
  }
  .packages-slider-btn.slider-next-arrow {
    right: 2px;
  }
}

@media (max-width: 480px) {
  .package-slide-card {
    flex: 0 0 92%;
    min-width: 250px;
    padding: 1.5rem 1.15rem;
  }
}

/* ==========================================================================
   SOLUTIONS & PACKAGES OVERVIEW HUB
   ========================================================================== */
.solutions-hub-section {
  padding: 4.5rem 0 2rem;
  background: #f8fafc;
}

.hub-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

.hub-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
}

.solutions-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.hub-card {
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.hub-card:hover {
  transform: translateY(-6px);
}

.hub-card.care-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  border: 2px solid #86efac;
}

.hub-card.care-card:hover {
  border-color: #10b981;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.16);
}

.hub-card.epc-card {
  background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%);
  border: 2px solid #fde68a;
}

.hub-card.epc-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.16);
}

.hub-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hub-badge.badge-green {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.hub-badge.badge-gold {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.hub-audience {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hub-body {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hub-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #ffffff;
  flex-shrink: 0;
}

.hub-icon-box.green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}

.hub-icon-box.gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}

.hub-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.hub-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.hub-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.hub-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {
  .solutions-hub-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}