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

/* CSS Resets & Themes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --max-width: 1200px;
}

body.theme-solar {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-rgb: 245, 158, 11;
  --secondary: #0f172a;
  --accent: #f97316;
  --bg-dark: #080b11;
  --bg-light: #0f172a;
  --bg-card: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-primary: linear-gradient(135deg, #f59e0b, #f97316);
  --gradient-glow: rgba(245, 158, 11, 0.2);
  --hero-overlay: rgba(8, 11, 17, 0.82);
  --card-border: rgba(245, 158, 11, 0.1);
}

body.theme-ro {
  --primary: #06b6d4;
  --primary-hover: #0891b2;
  --primary-rgb: 6, 182, 212;
  --secondary: #0f172a;
  --accent: #0ea5e9;
  --bg-dark: #060c14;
  --bg-light: #0f1e2d;
  --bg-card: #1e2e3f;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-primary: linear-gradient(135deg, #06b6d4, #0ea5e9);
  --gradient-glow: rgba(6, 182, 212, 0.2);
  --hero-overlay: rgba(6, 12, 20, 0.82);
  --card-border: rgba(6, 182, 212, 0.1);
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 11, 17, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: var(--bg-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-light);
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
}

/* Portal Switcher Button */
.portal-switch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--text-light) !important;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.05);
}

.portal-switch-btn:hover {
  background: var(--gradient-primary);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 25px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(var(--primary-rgb), 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Sections General */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

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

.section-header h2 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Info Grid / Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), var(--gradient-glow);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.service-link span {
  transition: var(--transition-smooth);
}

.service-card:hover .service-link span {
  transform: translateX(5px);
}

/* Filterable Gallery / Portfolio */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-img {
  height: 240px;
  background: var(--bg-dark);
  overflow: hidden;
  position: relative;
}

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

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

.gallery-desc {
  padding: 24px;
}

.gallery-desc h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.gallery-desc p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Partnerships Grid Styles */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), var(--gradient-glow);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.partner-logo-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 25px;
  border-radius: var(--border-radius-md);
  width: 100%;
  max-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partner-logo-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(1) contrast(1);
  transition: var(--transition-smooth);
}

.partner-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-light);
  font-family: var(--font-title);
  font-weight: 700;
}

.partner-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Informational / Stats Section */
.info-stats-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.info-text h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

.info-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
}

/* Form Section */
.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 38px;
  margin-bottom: 20px;
}

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

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-md);
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}

.info-item-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.info-item-content p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 14px;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

.btn-submit {
  width: 100%;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 16px;
  padding: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25);
}

.form-message {
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  display: none;
}
.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}
.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* Footer */
footer {
  background-color: #04060a;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 80px 0 40px;
}

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

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--text-light);
  font-weight: 600;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Portal Transition Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 46px;
  }
  .info-stats-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    background: var(--bg-dark);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .section-header h2 {
    font-size: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* RO Promo Banner on Solar Homepage */
.ro-promo-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.04) 0%, rgba(8, 11, 17, 0.98) 100%);
  border-top: 1px solid rgba(6, 182, 212, 0.08);
  border-bottom: 1px solid rgba(6, 182, 212, 0.08);
  position: relative;
  overflow: hidden;
}

.ro-promo-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ro-promo-card {
  background: var(--bg-card);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.ro-promo-text h2 {
  font-size: 38px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.ro-promo-text h2 span {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ro-promo-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.ro-promo-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.ro-promo-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
}

.ro-promo-features li svg {
  color: #06b6d4;
  flex-shrink: 0;
}

.ro-promo-action {
  display: flex;
  justify-content: center;
}

.btn-ro-promo {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #fff;
  box-shadow: 0 4px 25px rgba(6, 182, 212, 0.3);
  padding: 16px 32px;
  font-size: 15px;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-ro-promo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.45);
}

/* Download Corporate Brochure Button */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-download:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
  transform: translateY(-2px);
}

/* Printable Brochure Styles */
.brochure-body {
  background: #f8fafc !important;
  color: #1e293b !important;
  font-family: 'Inter', sans-serif;
  padding: 20px 0;
}

.brochure-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 60px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  position: relative;
}

.brochure-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.brochure-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.brochure-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.brochure-logo span {
  color: #f59e0b;
}

.brochure-title-block {
  text-align: right;
}

.brochure-title-block h1 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Outfit', sans-serif;
}

.brochure-title-block p {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.brochure-section {
  margin-bottom: 40px;
}

.brochure-section-title {
  font-size: 20px;
  color: #0f172a;
  border-bottom: 2px solid #cbd5e1;
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
}

.brochure-section-title span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.title-solar span {
  background-color: #f59e0b;
}

.title-water span {
  background-color: #06b6d4;
}

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

.brochure-item {
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid #e2e8f0;
}

.brochure-item h4 {
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
}

.brochure-item p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.brochure-footer {
  border-top: 2px solid #e2e8f0;
  padding-top: 30px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.brochure-contact-info p {
  margin-bottom: 4px;
}

.brochure-btn-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  z-index: 1000;
}

.brochure-btn-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  background: #1e293b;
}

@media (max-width: 992px) {
  .ro-promo-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .ro-promo-card {
    padding: 30px 20px;
  }
  .ro-promo-features {
    grid-template-columns: 1fr;
  }
  .brochure-container {
    padding: 30px 20px;
    margin: 10px;
  }
  .brochure-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .brochure-title-block {
    text-align: center;
  }
  .brochure-grid {
    grid-template-columns: 1fr;
  }
}

/* Print CSS Rules */
@media print {
  body.brochure-body {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
  }
  .brochure-container {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .brochure-btn-float {
    display: none !important;
  }
  .brochure-item {
    background: #fff !important;
    border: 1px solid #cbd5e1 !important;
  }
  @page {
    size: A4;
    margin: 1.5cm;
  }
}

/* Sticky CTA Button */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(100%);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.sticky-cta-text span {
  color: var(--text-light);
  font-weight: 700;
}

.sticky-cta-bar .btn {
  padding: 10px 24px;
  font-size: 14px;
  margin: 0;
  box-shadow: none;
}

@media (max-width: 768px) {
  .sticky-cta-bar {
    padding: 12px 16px;
  }
  .sticky-cta-text {
    font-size: 12px;
  }
}

/* Timeline Roadmap Styles */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
  padding: 20px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(var(--primary-rgb), 0.15);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.timeline-step:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-step:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--primary);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.timeline-step:nth-child(odd) .timeline-badge {
  right: -16px;
}

.timeline-step:nth-child(even) .timeline-badge {
  left: -16px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  padding: 28px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), var(--gradient-glow);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
  .timeline-step {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
    margin-bottom: 30px;
  }
  .timeline-step:nth-child(even) {
    left: 0;
  }
  .timeline-step .timeline-badge {
    left: 4px !important;
  }
}

/* Eligibility Checker / Questionnaire */
.eligibility-container {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 650px;
  margin: 40px auto 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.eligibility-step {
  display: none;
}

.eligibility-step.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.eligibility-question {
  font-size: 20px;
  font-family: var(--font-title);
  margin-bottom: 24px;
  color: var(--text-light);
  line-height: 1.4;
}

.eligibility-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 15px;
  color: var(--text-muted);
}

.option-label:hover {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--text-light);
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.eligibility-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eligibility-progress {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  flex-grow: 1;
  margin: 0 24px;
  overflow: hidden;
  position: relative;
}

.eligibility-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 33.3%;
  transition: var(--transition-smooth);
}

.eligibility-result {
  text-align: center;
  padding: 20px 0;
}

.eligibility-result h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}

.eligibility-result p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}

/* Symptom Checker Checkboxes */
.symptom-checker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.symptom-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  padding: 18px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 14px;
  color: var(--text-muted);
}

.symptom-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  background: rgba(var(--primary-rgb), 0.04);
  color: var(--text-light);
}

.symptom-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.symptom-result-box {
  background: rgba(var(--primary-rgb), 0.04);
  border: 1px dashed rgba(var(--primary-rgb), 0.3);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  margin-top: 30px;
  animation: fadeIn 0.4s ease-out;
  display: none;
}

.symptom-result-box.active {
  display: block;
}

.symptom-result-box h4 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
  font-family: var(--font-title);
}

.symptom-result-box p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Savings Calculator Results Highlight */
.calc-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.calc-stat-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 24px;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.calc-stat-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.calc-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Product Comparison Matrix Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--card-border);
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th, 
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.comparison-table th {
  background: rgba(255,255,255,0.02);
  font-weight: 600;
  color: var(--text-light);
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.comparison-table tr:hover td {
  background: rgba(255,255,255,0.01);
}

.comparison-table td strong {
  color: var(--primary);
}

.badge-table {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .comparison-table th, 
  .comparison-table td {
    padding: 16px;
  }
}

/* Stage Explainer Tabs */
.stage-explainer-container {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stage-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.stage-tab-btn {
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.stage-tab-btn:hover,
.stage-tab-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
}

.stage-pane {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.stage-pane.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.stage-pane-text h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 16px;
  font-family: var(--font-title);
  font-weight: 700;
}

.stage-pane-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.stage-removes {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 24px;
  border-radius: var(--border-radius-md);
}

.stage-removes h5 {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stage-removes ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stage-removes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.stage-removes li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.stage-pane-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

@media (max-width: 992px) {
  .stage-pane.active {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Trust Badges and Video Testimonials Grid */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.badge-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.badge-card:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}

.badge-card svg {
  color: var(--primary);
}

.badge-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Video Testimonial Card Mock Players */
.video-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25), var(--gradient-glow);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.video-thumbnail-wrapper {
  height: 200px;
  background: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-thumbnail-wrapper svg.bg-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  transition: var(--transition-smooth);
}

.video-card:hover .video-thumbnail-wrapper svg.bg-svg {
  transform: scale(1.05);
  opacity: 0.45;
}

.video-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
  transition: var(--transition-smooth);
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.6);
}

.video-info {
  padding: 24px;
}

.video-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-light);
}

.video-info p.video-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.video-info p.video-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* Before and After Gallery Grid */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.before-after-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.before-after-header {
  padding: 20px 24px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.before-after-header h4 {
  font-size: 18px;
  color: var(--text-light);
  font-family: var(--font-title);
}

.before-after-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 240px;
  position: relative;
}

.before-side, .after-side {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.before-side {
  background: #1e1e24;
  border-right: 2px solid var(--bg-dark);
}

.after-side {
  background: #0f2d3a;
}

.before-side svg, .after-side svg {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.before-label, .after-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.before-label {
  left: 12px;
  background: #ef4444;
  color: #fff;
}

.after-label {
  right: 12px;
  background: #10b981;
  color: #fff;
}

.before-after-desc {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-widget svg {
  fill: currentColor;
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 90px; /* shift up so it doesn't block the sticky cta bar */
    right: 20px;
    left: auto;
    width: 50px;
    height: 50px;
  }
  .whatsapp-widget svg {
    width: 26px;
    height: 26px;
  }
}

/* Calculator Grid Layout */
.calculator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
