/* ==========================================================================
   SOLARIS LUXE - Luxury Solar Energy Bootstrap 5 Template Stylesheet
   Theme: Luxury + Corporate + Modern Solar Energy
   Author: Solaris Luxe Studio
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --solar-dark: #070d19;
  --solar-dark-alt: #0d1527;
  --solar-navy: #111c33;
  --solar-card-bg: rgba(15, 25, 46, 0.9);
  --solar-card-border: rgba(255, 255, 255, 0.14);
  
  --solar-gold: #f59e0b;
  --solar-amber: #fbbf24;
  --solar-emerald: #10b981;
  --solar-cyan: #06b6d4;
  --solar-light: #f8fafc;
  --solar-muted: #cbd5e1;
  --solar-body-text: #e2e8f0;

  /* Gradient Tokens */
  --grad-solar-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-solar-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-solar-cyan: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  --grad-dark-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-gold-text: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --grad-emerald-text: linear-gradient(135deg, #34d399 0%, #10b981 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows & FX */
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.25);
  --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.25);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.2);
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
}

/* Base reset & typography */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Custom Selection */
::selection {
  background-color: var(--solar-gold);
  color: var(--solar-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--solar-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--solar-gold);
}

/* Utility Gradient Text */
.text-gradient-gold {
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Custom SVG Background Patterns */
.bg-pattern-solar {
  background-image: radial-gradient(rgba(245, 158, 11, 0.08) 1px, transparent 1px), radial-gradient(rgba(16, 185, 129, 0.05) 1px, var(--solar-dark) 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.bg-pattern-hex {
  background-color: var(--solar-dark-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23f59e0b' fill-opacity='0.03'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34L25 30.6V17.9l-11.01-6.35L3 17.9zM0 15l12.98-7.5V0h-2v5.88L1 11.6v3.4zM28 15l-12.98-7.5V0h2v5.88l9.98 5.72v3.4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Glowing Orbs */
.orb-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.orb-gold {
  background: rgba(245, 158, 11, 0.15);
}
.orb-emerald {
  background: rgba(16, 185, 129, 0.12);
}
.orb-cyan {
  background: rgba(6, 182, 212, 0.12);
}

/* Header & Navbar */
.navbar-luxe {
  background: rgba(7, 13, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--solar-card-border);
  transition: all 0.3s ease;
  z-index: 1030;
}

.navbar-luxe.scrolled {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  background: rgba(7, 13, 25, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.solar-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-solar-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--solar-dark);
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow-gold);
  transition: transform 0.3s ease;
}

.navbar-brand-logo:hover .solar-icon-badge {
  transform: rotate(15deg) scale(1.05);
}

.navbar-luxe .nav-link-luxe,
.navbar-luxe .navbar-nav .nav-link {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  padding: 0.5rem 0.75rem !important;
  white-space: nowrap !important;
  transition: all 0.25s ease;
  position: relative;
  font-size: 0.95rem;
}

.navbar-luxe .nav-link-luxe:hover,
.navbar-luxe .nav-link-luxe.active,
.navbar-luxe .navbar-nav .nav-link.active,
.navbar-luxe .navbar-nav .nav-link:hover {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.navbar-luxe .nav-link-luxe::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 3px;
  background: var(--solar-gold);
  border-radius: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--solar-gold);
}

.navbar-luxe .nav-link-luxe:hover::after,
.navbar-luxe .nav-link-luxe.active::after,
.navbar-luxe .navbar-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.logo-tagline {
  color: #cbd5e1 !important;
  letter-spacing: 0.22em !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
}

/* Custom Buttons */
.btn-solar-gold {
  background: var(--grad-solar-gold);
  color: var(--solar-dark);
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 50rem;
  border: none;
  box-shadow: var(--shadow-glow-gold);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap !important;
}

.btn-solar-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
  color: var(--solar-dark);
}

.btn-solar-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.btn-solar-outline:hover {
  border-color: var(--solar-gold);
  background: rgba(245, 158, 11, 0.1);
  color: var(--solar-gold);
  transform: translateY(-3px);
}

.btn-solar-emerald {
  background: var(--grad-solar-emerald);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
  border: none;
  box-shadow: var(--shadow-glow-emerald);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.btn-solar-emerald:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  color: #ffffff;
}

/* Top Bar Announcement Ticker */
.top-bar-luxe {
  background: #040810;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  color: #e2e8f0;
}

/* Badge Styles */
.badge-luxe {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--solar-gold);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--solar-emerald);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
              var(--solar-dark);
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--solar-card-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.hero-img-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating Metric Badges in Hero */
.floating-glass-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  bottom: 25px;
  left: -20px;
}

.floating-card-2 {
  top: 30px;
  right: -15px;
  animation-delay: -2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* Section Header Styles */
.section-subtitle {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--solar-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Global Text Contrast Rule Fix */
.text-muted, p.text-muted, div.text-muted, span.text-muted {
  color: #cbd5e1 !important;
}

/* Luxury Modern Cards */
.card-luxe {
  background: var(--solar-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--solar-card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card-luxe p {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-luxe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.4s ease;
}

.card-luxe:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.card-luxe:hover::before {
  background: var(--grad-solar-gold);
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--solar-gold);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-luxe:hover .card-icon-box {
  background: var(--solar-gold);
  color: var(--solar-dark);
  box-shadow: var(--shadow-glow-gold);
}

.card-icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--solar-emerald);
}

.card-luxe:hover .card-icon-emerald {
  background: var(--solar-emerald);
  color: #ffffff;
  box-shadow: var(--shadow-glow-emerald);
}

/* Feature Spec List */
.spec-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
}

.spec-list li {
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.spec-list li i {
  color: var(--solar-emerald);
}

/* Interactive Solar Calculator Section */
.calculator-card {
  background: linear-gradient(145deg, #0e172a 0%, #09101f 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow-gold);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.calculator-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.form-range-luxe {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  outline: none;
  margin: 1rem 0;
}

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

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

.calc-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.calc-stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.3);
}

.calc-value-huge {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--solar-gold);
  line-height: 1.1;
}

.calc-value-emerald {
  color: var(--solar-emerald);
}

/* Portfolio Grid & Filters */
.portfolio-filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  background: var(--solar-gold);
  border-color: var(--solar-gold);
  color: var(--solar-dark);
  box-shadow: var(--shadow-glow-gold);
}

.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--solar-card-border);
  background: var(--solar-card-bg);
  transition: all 0.4s ease;
}

.project-img-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

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

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(7, 13, 25, 0.9) 0%, rgba(7, 13, 25, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-tag {
  background: rgba(245, 158, 11, 0.2);
  color: var(--solar-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Subsidy Card */
.subsidy-highlight-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
}

/* Timeline Process */
.process-step-card {
  position: relative;
  padding-top: 1rem;
}

.step-num-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--solar-dark-alt);
  border: 2px solid var(--solar-gold);
  color: var(--solar-gold);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-glow-gold);
  transition: all 0.3s ease;
}

.card-luxe:hover .step-num-badge {
  background: var(--solar-gold);
  color: var(--solar-dark);
}

/* Testimonial Cards */
.avatar-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 2px;
  background: var(--grad-solar-gold);
  object-fit: cover;
}

.rating-stars {
  color: var(--solar-amber);
  font-size: 0.9rem;
}

/* FAQ Accordion Styling */
.accordion-luxe .accordion-item {
  background: var(--solar-card-bg);
  border: 1px solid var(--solar-card-border);
  border-radius: var(--radius-xl) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-luxe .accordion-button {
  background: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.accordion-luxe .accordion-button:not(.collapsed) {
  color: var(--solar-gold);
  background: rgba(245, 158, 11, 0.05);
}

.accordion-luxe .accordion-button::after {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(30deg);
}

.accordion-luxe .accordion-body {
  color: var(--solar-body-text);
  padding: 0 1.5rem 1.5rem 1.5rem;
  line-height: 1.7;
}

/* Form Controls */
.form-control-luxe, .form-select-luxe {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 0.85rem 1.2rem;
  transition: all 0.3s ease;
}

.form-control-luxe:focus, .form-select-luxe:focus {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--solar-gold);
  box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.2);
  color: #ffffff;
}

.form-control-luxe::placeholder {
  color: #64748b;
}

/* Footer Styling */
.footer-luxe {
  background: #040810;
  border-top: 1px solid var(--solar-card-border);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer-link:hover {
  color: var(--solar-gold);
  transform: translateX(4px);
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: var(--solar-gold);
  color: var(--solar-dark);
  border-color: var(--solar-gold);
  transform: translateY(-3px);
}

/* Live Pulse Indicator */
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--solar-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-solar-gold);
  color: var(--solar-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 999;
  box-shadow: var(--shadow-glow-gold);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.back-to-top:hover {
  transform: translateY(-50%) scale(1.1);
}
