/* Core CSS Design System for Kalyan Solar */

:root {
  /* Logo-Derived Color System */
  --primary-navy: #0C2B64;
  --primary-green: #28A745;
  --primary-green-hover: #218838;
  --solar-yellow: #FDB913;
  --solar-orange: #FB8500;
  --text-dark: #0A1931;
  --text-light: #FFFFFF;
  --text-muted: #5A6A85;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  --gradient-primary: linear-gradient(135deg, #0C2B64 0%, #001A4E 100%);
  --gradient-solar: linear-gradient(135deg, #28A745 0%, #1E7E34 100%);
  --gradient-accent: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
  
  /* Glassmorphism styling */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(12, 43, 100, 0.1);
  --card-shadow: 0 10px 30px rgba(12, 43, 100, 0.05);
  
  /* Utilities */
  --font-headers: 'Outfit', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 85px;
  --text-green-color: #28A745;
}

/* Dark Mode Variables Override */
.dark-theme {
  --bg-light: #070F22;
  --bg-white: #0C152B;
  --text-dark: #F1F5F9;
  --text-muted: #94A3B8;
  --border-color: #1E293B;
  
  --glass-bg: rgba(12, 21, 43, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --gradient-primary: linear-gradient(135deg, #070F22 0%, #030814 100%);
  --text-green-color: #4ADE80;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

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

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

ul {
  list-style: none;
}

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

/* Reusable Components */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green { color: var(--text-green-color); }
.text-yellow { color: var(--solar-yellow); }
.text-navy { color: var(--primary-navy); }
.text-blue { color: #0C2B64; }
.dark-theme .text-blue { color: #00B4D8; }
.text-white { color: #FFFFFF !important; }
.text-light { color: rgba(255, 255, 255, 0.85) !important; }
.font-bold { font-weight: 700; }
.mt-3 { margin-top: 1rem; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-headers);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #051636;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gradient-solar);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-secondary:hover {
  background: var(--gradient-solar);
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gov {
  background-color: rgba(12, 43, 100, 0.1);
  color: var(--primary-navy);
  border: 1px solid rgba(12, 43, 100, 0.2);
}

.badge-popular {
  background-color: var(--solar-yellow);
  color: var(--primary-navy);
}

.section-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-green);
  margin-bottom: 12px;
}

/* Section Headers */
.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.card-shadow {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary-navy);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
  z-index: 1000;
  position: relative;
}

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

.announcement-divider {
  opacity: 0.3;
}

/* Sticky Header */
.main-header {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.3s, border-color 0.3s;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 68px;
  width: auto;
  pointer-events: none; /* Allows click through to the link */
  transition: var(--transition);
}

/* Nav Menu */
.nav-menu ul {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

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

.theme-toggle-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background-color: rgba(12, 43, 100, 0.05);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: url('assets/hero_banner.png');
  background-size: cover;
  background-position: center;
  padding: 100px 0 120px 0;
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 43, 100, 0.95) 0%, rgba(10, 25, 49, 0.8) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 30px;
}

.promo-box {
  background: rgba(253, 185, 19, 0.15);
  border: 1px solid rgba(253, 185, 19, 0.3);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 30px;
  backdrop-filter: blur(6px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-highlights i {
  color: var(--primary-green);
}

/* Hero Lead Form Card */
.hero-lead-form {
  padding: 30px;
}

.hero-lead-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--primary-navy);
}

.dark-theme .hero-lead-form h3 {
  color: var(--text-dark);
}

.hero-lead-form p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Forms styling */
.lead-form, .lead-form-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-lead-form .form-group label {
  color: var(--text-dark);
}

.lead-form input,
.lead-form select,
.lead-form-main input,
.lead-form-main select,
.lead-form-main textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--bg-white);
  color: var(--text-dark);
  transition: var(--transition);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form-main input:focus,
.lead-form-main select:focus,
.lead-form-main textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.input-with-prefix {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  overflow: hidden;
  transition: var(--transition);
}

.input-with-prefix:focus-within {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.phone-prefix {
  padding: 12px;
  background-color: rgba(12, 43, 100, 0.05);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-right: 1px solid var(--border-color);
}

.input-with-prefix input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.form-footer-trust {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Stats Section */
.stats-section {
  padding: 40px 0;
}

.bg-navy {
  background: var(--gradient-primary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

.stat-number {
  font-family: var(--font-headers);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-headers);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--solar-yellow);
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 4px;
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  background-image: url('assets/hero_banner.png'); /* fallback visual style */
  background-size: cover;
  background-position: center;
  height: 480px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  box-shadow: var(--card-shadow);
}

.empanelment-badge {
  width: 100%;
  padding: 24px;
  z-index: 2;
}

.empanelment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.empanelment-header h4 {
  font-size: 1.2rem;
  color: var(--primary-navy);
}

.dark-theme .empanelment-header h4 {
  color: var(--text-dark);
}

.empanelment-badge p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.badge-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.badge-details span {
  padding: 6px 12px;
  background-color: rgba(12, 43, 100, 0.05);
  border-radius: var(--radius-sm);
}

.about-text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-text-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.credential-card {
  padding: 20px;
  border-left: 4px solid var(--primary-green);
  background-color: var(--bg-white);
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.credential-card i {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.credential-card h5 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.credential-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Subsidy Section */
.subsidy-section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.subsidy-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
}

.subsidy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.subsidy-table th,
.subsidy-table td {
  padding: 20px 24px;
}

.subsidy-table th {
  background-color: var(--primary-navy);
  color: var(--text-light);
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 1.05rem;
}

.subsidy-table td {
  border-bottom: 1px solid var(--border-color);
  font-size: 1rem;
}

.subsidy-table tbody tr:last-child td {
  border-bottom: none;
}

.table-highlight {
  background-color: rgba(253, 185, 19, 0.05);
}

.table-highlight td {
  border-top: 1px solid rgba(253, 185, 19, 0.2);
  border-bottom: 1px solid rgba(253, 185, 19, 0.2) !important;
}

.subsidy-notes {
  margin-top: 24px;
  background-color: rgba(12, 43, 100, 0.05);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Offers Section */
.offers-section {
  position: relative;
  padding: 100px 0;
}

.offers-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 43, 100, 0.98);
  z-index: 1;
}

.offers-container {
  position: relative;
  z-index: 2;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.offer-card.featured {
  border: 2px solid var(--solar-yellow);
  transform: scale(1.03);
}

.offer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.offer-card.featured .offer-badge {
  background: var(--gradient-accent);
  color: var(--primary-navy);
}

.offer-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.offer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.offer-cost {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.offer-cost strong {
  font-size: 1.5rem;
  color: var(--solar-yellow);
}

.price-original {
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 8px;
  opacity: 0.6;
}

.offer-gift {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: rgba(253, 185, 19, 0.1);
  border: 1px solid rgba(253, 185, 19, 0.2);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.offer-gift i {
  font-size: 1.25rem;
  margin-top: 2px;
}

.offer-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.offer-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.offer-features i {
  color: var(--primary-green);
}

/* Heavy Systems Banner */
.heavy-systems-banner {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  padding: 40px;
  align-items: center;
}

.heavy-banner-content h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.heavy-banner-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.heavy-offers-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.heavy-offer-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.heavy-offer-item .label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--solar-yellow);
}

.heavy-offer-item .gift {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Calculator Section */
.calculator-section {
  padding: 100px 0;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-top: 50px;
  align-items: stretch;
}

.calc-inputs-card {
  padding: 40px;
}

.calc-inputs-card h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.slider-container input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  background: var(--border-color);
  border-radius: 5px;
  outline: none;
  transition: var(--transition);
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-green);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
  transition: var(--transition);
}

.slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-value-display {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
}

.slider-value-display input {
  width: 90px;
  text-align: right;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--primary-navy);
}

.usage-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--bg-light);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.usage-btn {
  background: transparent;
  border: none;
  padding: 10px;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.usage-btn.active {
  background-color: var(--bg-white);
  color: var(--primary-navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Calc outputs card */
.calc-outputs-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-outputs-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  z-index: 2;
}

.solution-header {
  text-align: center;
  margin-bottom: 30px;
  z-index: 2;
}

.sol-size {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.sol-size .value {
  font-size: 4rem;
  font-weight: 800;
  color: var(--solar-yellow);
  line-height: 1;
}

.sol-size .unit {
  font-size: 1.5rem;
  font-weight: 700;
}

.sol-size .label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.outputs-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
  z-index: 2;
}

.output-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.output-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-cost-row {
  font-size: 1.2rem;
}

.highlight-green {
  background-color: rgba(40, 167, 69, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-green);
}

.gift-row {
  background-color: rgba(253, 185, 19, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--solar-yellow);
}

.calc-action-footer {
  text-align: center;
  z-index: 2;
}

.calc-action-footer p {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Why Choose Section */
.why-choose-section {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  padding: 30px;
  text-align: left;
}

.why-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.bg-light-blue { background-color: rgba(12, 43, 100, 0.05); }
.bg-light-green { background-color: rgba(40, 167, 69, 0.05); }
.bg-light-yellow { background-color: rgba(253, 185, 19, 0.05); }

.why-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Timeline Process Section */
.process-section {
  padding: 100px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 80px;
}

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

.timeline-dot {
  position: absolute;
  top: 4px;
  left: 15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary-navy);
  color: var(--text-light);
  border: 4px solid var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--primary-green);
  transform: scale(1.15);
}

.timeline-content {
  padding: 24px;
}

.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background-color: var(--primary-navy);
  color: var(--text-light);
  border-color: var(--primary-navy);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.gallery-img-container {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 43, 100, 0.9) 0%, rgba(12, 43, 100, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-img-container img {
  transform: scale(1.08);
}

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

.gallery-overlay h5 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Before / After Slider Item Custom CSS */
.before-after-item {
  grid-column: span 3;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-img {
  z-index: 1;
}

.ba-after-img {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.ba-label {
  position: absolute;
  bottom: 20px;
  background-color: rgba(12, 43, 100, 0.85);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  pointer-events: none;
}

.ba-label-before {
  right: 20px;
  z-index: 10;
}

.ba-label-after {
  left: 20px;
  z-index: 11;
}

.ba-slider-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  cursor: ew-resize;
  z-index: 30;
  margin: 0;
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%; /* JS syncs this left % */
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--solar-yellow);
  color: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 20;
  pointer-events: none;
  font-size: 1.1rem;
  transition: transform 0.1s;
}

/* Testimonials Reviews Section */
.testimonials-section {
  padding: 100px 0;
}

.testimonials-slider-wrapper {
  max-width: 900px;
  margin: 50px auto 0 auto;
  position: relative;
}

.testimonials-carousel {
  display: flex;
  gap: 30px;
  overflow: hidden;
}

.testimonials-carousel .testimonial-card {
  min-width: 100%;
  width: 100%;
  padding: 40px;
  text-align: left;
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  transition: transform 0.5s ease-in-out;
}

.rating-stars {
  color: var(--solar-yellow);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.review-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 24px;
}

.reviewer-meta h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.reviewer-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot-btn.active {
  background-color: var(--primary-navy);
  transform: scale(1.2);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 100px 0;
}

.faq-container {
  max-width: 900px;
}

.faq-accordion-wrapper {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-navy);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-question-btn i {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.active .faq-question-btn i {
  transform: rotate(180deg);
  color: var(--primary-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: rgba(12, 43, 100, 0.02);
}

.faq-answer-content {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact / Lead Capture Form Section */
.contact-section {
  padding: 100px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 0;
}

.contact-method-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-method-item i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.method-details span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.method-details strong {
  font-size: 1.05rem;
}

.gov-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.gov-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  padding: 8px 14px;
  background-color: var(--bg-white);
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.dark-theme .gov-badge-item {
  color: var(--text-dark);
}

.contact-form-card {
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

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

.form-help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Footer styling */
.main-footer {
  padding: 80px 0 0 0;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 150px;
  width: 150px;
  margin-bottom: 20px;
  pointer-events: none;
}

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-vendor-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-green);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-contact-info i {
  margin-top: 4px;
}

.seo-keywords-list {
  font-size: 0.8rem;
  opacity: 0.6;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.footer-socials a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1rem;
}

.footer-socials a:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-3px);
}

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

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

/* Floating Actions sticky bar */
.floating-ctas {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.float-call {
  background-color: var(--primary-navy);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-totop {
  background-color: var(--text-dark);
  display: none; /* JS toggles display */
}

/* Exit Intent / Delayed Popup Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 43, 100, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.modal-promo-banner {
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-banner-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.modal-promo-banner h2 {
  font-size: 1.75rem;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 12px;
}

.modal-promo-banner p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

.modal-promo-icon {
  font-size: 3.5rem;
  text-align: center;
}

.modal-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.modal-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-form-content {
  padding: 40px;
  background-color: var(--bg-white);
}

.modal-form-content h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.modal-form-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-disclosure {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* Success Modal Styles */
.success-container {
  max-width: 500px;
  padding: 50px 40px;
}

.success-icon-wrapper {
  font-size: 4rem;
  margin-bottom: 20px;
}

.success-details-card {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: left;
  border-left: 4px solid var(--primary-green);
  font-size: 0.9rem;
}

.success-details-card p {
  margin-bottom: 6px;
}

.success-details-card p:last-child {
  margin-bottom: 0;
}

/* Screen Animations */
.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

/* Scroll Animation classes */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-lead-form {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrapper {
    height: 400px;
  }
  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .offers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .offer-card.featured {
    transform: none;
    grid-column: span 2;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .before-after-item {
    grid-column: span 2;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
  .footer-contact {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .logo-img {
    height: 52px;
  }
  .announcement-bar {
    display: none;
  }
  .main-header {
    padding: 0;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    transition: var(--transition);
    z-index: 997;
    border-top: 1px solid var(--border-color);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-menu ul {
    flex-direction: column;
    padding: 40px;
    gap: 24px;
  }
  .nav-menu a {
    font-size: 1.15rem;
    display: block;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .header-call-btn span {
    display: none;
  }
  .header-call-btn {
    padding: 10px;
    border-radius: 50%;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .offers-grid {
    grid-template-columns: 1fr;
  }
  .offer-card.featured {
    grid-column: span 1;
  }
  .heavy-systems-banner {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .heavy-offers-list {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .before-after-item {
    grid-column: span 1;
  }
  .ba-slider-container {
    height: 300px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-body-grid {
    grid-template-columns: 1fr;
  }
  .modal-promo-banner {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-contact {
    grid-column: span 1;
  }
}

/* Glass Card styling overrides specifically for the Offers section (which is dark navy) */
.offers-section .glass-card {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
  color: #FFFFFF !important;
}

.offers-section .offer-content h3 {
  color: #FFFFFF !important;
}

.offers-section .offer-cost {
  color: rgba(255, 255, 255, 0.7) !important;
}

.offers-section .offer-cost strong {
  color: var(--solar-yellow) !important;
}

.offers-section .price-original {
  color: rgba(255, 255, 255, 0.5) !important;
}

.offers-section .offer-features li {
  color: rgba(255, 255, 255, 0.9) !important;
}

.offers-section .offer-gift {
  background-color: rgba(253, 185, 19, 0.15) !important;
  border: 1px solid rgba(253, 185, 19, 0.35) !important;
  color: #FFFFFF !important;
}

.offers-section .offer-gift span {
  color: #FFFFFF !important;
}

.offers-section .heavy-systems-banner {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
  color: #FFFFFF !important;
}

.offers-section .heavy-banner-content h4 {
  color: #FFFFFF !important;
}

.offers-section .heavy-banner-content p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.offers-section .heavy-offer-item .gift {
  color: #FFFFFF !important;
}

/* Callout box border and background adjustment for dark theme */
.dark-theme .subsidy-notes {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Background utilities helper classes */
.bg-primary { background-color: var(--primary-navy) !important; }
.bg-green { background-color: var(--primary-green) !important; }
.bg-yellow { background-color: var(--solar-yellow) !important; }

/* High-contrast overrides for text/icons inside all dark blue containers/sections */
.bg-navy .text-green,
.offers-section .text-green,
.calc-outputs-card .text-green,
.announcement-bar .text-green,
.modal-promo-banner .text-green {
  color: #4ADE80 !important; /* Vibrant bright light green for excellent dark blue background contrast */
}

.bg-navy .text-navy,
.offers-section .text-navy,
.calc-outputs-card .text-navy,
.announcement-bar .text-navy,
.modal-promo-banner .text-navy {
  color: #FDB913 !important; /* Solar yellow highlight instead of dark navy for readability */
}

/* Force white text inside dark backgrounds except for specific interactive components and color utility classes */
.bg-navy, .offers-section, .main-footer, .modal-promo-banner, .announcement-bar {
  color: #FFFFFF !important;
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6,
.offers-section h1, .offers-section h2, .offers-section h3, .offers-section h4, .offers-section h5, .offers-section h6,
.main-footer h1, .main-footer h2, .main-footer h3, .main-footer h4, .main-footer h5, .main-footer h6,
.modal-promo-banner h1, .modal-promo-banner h2, .modal-promo-banner h3, .modal-promo-banner h4, .modal-promo-banner h5, .modal-promo-banner h6 {
  color: #FFFFFF !important;
}

.bg-navy p, .offers-section p, .main-footer p, .modal-promo-banner p,
.bg-navy .text-light, .offers-section .text-light, .main-footer .text-light, .modal-promo-banner .text-light {
  color: rgba(255, 255, 255, 0.85) !important;
}

.bg-navy span:not([class*="text-"]):not(.value),
.offers-section span:not([class*="text-"]):not(.value),
.main-footer span:not([class*="text-"]):not(.value),
.modal-promo-banner span:not([class*="text-"]):not(.value) {
  color: rgba(255, 255, 255, 0.9) !important;
}

.bg-navy strong:not([class*="text-"]):not(.value),
.offers-section strong:not([class*="text-"]):not(.value),
.main-footer strong:not([class*="text-"]):not(.value),
.modal-promo-banner strong:not([class*="text-"]):not(.value) {
  color: #FFFFFF !important;
}

.bg-navy a:not(.btn), .offers-section a:not(.btn), .main-footer a:not(.btn), .modal-promo-banner a:not(.btn) {
  color: #FFFFFF !important;
}

.bg-navy a:not(.btn):hover, .offers-section a:not(.btn):hover, .main-footer a:not(.btn):hover {
  color: var(--primary-green) !important;
}

/* Specific component corrections for footer desc and vendor badge */
.footer-desc {
  color: rgba(255, 255, 255, 0.85) !important;
}

.footer-vendor-badge {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-vendor-badge span {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-vendor-badge strong {
  color: #FFFFFF !important;
}

/* Mobile Portrait Optimizations (Max-Width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px; /* Reduce container padding to save space */
  }
  
  .hero-content h1 {
    font-size: 2.1rem !important; /* Slightly smaller header font to prevent awkward wrapping */
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column; /* Stack hero buttons vertically */
    width: 100%;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%; /* Make buttons full width */
    padding: 14px 20px;
  }
  
  .hero-highlights {
    grid-template-columns: 1fr !important; /* Stack highlights in a single column */
    gap: 12px;
  }
  
  .stats-container {
    grid-template-columns: 1fr !important; /* Stack stats vertically */
    gap: 20px;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr !important; /* Stack about credentials */
    gap: 16px;
  }
  
  .section-header h2 {
    font-size: 1.75rem !important; /* Scale section headers */
  }
  
  .timeline::before {
    left: 21px !important; /* Shift line to match new dot position */
  }
  
  .timeline-item {
    padding-left: 45px !important; /* Give more width to content cards */
    margin-bottom: 30px;
  }
  
  .timeline-dot {
    left: 5px !important; /* Shift dot left */
    width: 30px !important;
    height: 30px !important;
    font-size: 0.85rem !important;
  }
  
  .ba-slider-container {
    height: 240px !important; /* Reduce slider height to fit well in portrait aspect ratio */
  }
  
  .calc-inputs-card, .calc-outputs-card, .contact-form-card, .offer-content {
    padding: 24px 16px !important; /* Reduce internal padding of all main cards */
  }
  
  .sol-size .value {
    font-size: 3rem !important; /* Scale recommended system size number */
  }
  
  .faq-question-btn {
    padding: 16px !important;
    font-size: 0.95rem !important;
  }
  
  .faq-question-btn i {
    flex-shrink: 0 !important; /* Prevent chevron icon from warping */
  }
  
  .faq-answer-content {
    padding: 0 16px 16px 16px !important;
    font-size: 0.9rem !important;
  }
  
  .floating-ctas {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

/* Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 360px;
  height: 500px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(12, 43, 100, 0.25);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
}

.chat-widget.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.chat-bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-bot-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #28A745;
  border-radius: 50%;
  border: 2px solid var(--primary-navy);
}

.chat-bot-name h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: #FFFFFF !important;
}

.chat-bot-name span {
  font-size: 0.75rem;
  opacity: 0.8;
  display: block;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: var(--transition);
}

.chat-close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-light);
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.bot-msg {
  background-color: var(--bg-white);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
}

.user-msg {
  background-color: var(--primary-navy);
  color: #FFFFFF !important;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-quick-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.chat-suggest-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--primary-green);
  color: var(--primary-green) !important;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.chat-suggest-btn:hover {
  background-color: var(--primary-green);
  color: #FFFFFF !important;
}

.chat-input-area {
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  align-items: center;
}

.chat-input-area input {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 24px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.chat-input-area input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.chat-send-btn {
  background-color: var(--primary-green);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.chat-send-btn:hover {
  background-color: var(--primary-green-hover);
  transform: scale(1.05);
}

.float-chat {
  background-color: var(--primary-green);
}

.float-chat:hover {
  background-color: var(--primary-green-hover);
}

@media (max-width: 480px) {
  .chat-widget {
    right: 16px !important;
    left: 16px !important;
    width: auto !important;
    height: 420px !important;
    bottom: 85px !important;
  }
}

/* Link styles inside chat bubbles */
.chat-bubble a {
  color: var(--primary-green);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition);
}

.chat-bubble a:hover {
  color: var(--primary-green-hover);
}

.chat-bubble.user-msg a {
  color: #FFFFFF !important;
  text-decoration: underline;
}



