/* ============================================
   CENTRIX SOLAR — HOMEPAGE + SPA STYLES
   Clean, working version for all devices
   ============================================ */

   :root {
    --primary: #1a5f2a;
    --primary-light: #2e7d32;
    --accent: #f4a261;
    --accent-hover: #e76f51;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6b6b6b;
    --border: rgba(255,255,255,0.08);
    --radius: 16px;
    /* Blue color scheme for header/footer */
    --blue-primary: #0A1628;
    --blue-light: #1C3260;
    --blue-accent: #3B82F6;
    --sun: #3B82F6;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* ============================================
     SPA PAGE CONTENT WRAPPER
     ============================================ */
  #page-content {
    min-height: 100vh;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  /* ============================================
     HEADER & FOOTER — BLUE THEME
     ============================================ */
  .site-header {
    background: var(--blue-primary);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
  }

  .site-header .logo img {
    height: 65px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .site-header .logo img:hover {
    transform: scale(1.05);
  }

  .main-nav {
    display: flex;
    gap: 30px;
  }

  .main-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--blue-accent);
  }

  .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue-accent);
    border-radius: 2px;
  }

  .header-cta {
    background: var(--blue-accent);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }

  .header-cta:hover {
    background: #2563EB;
    transform: translateY(-2px);
  }

  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
  }

  .mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
  }

  /* Footer */
  .site-footer {
    background: var(--blue-primary);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 60px 20px 20px;
    margin-top: auto;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
  }

  .footer-brand img {
    height: 55px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }

  .footer-brand img:hover {
    transform: scale(1.05);
  }

  .footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer-links h4,
  .footer-services h4,
  .footer-contact h4 {
    color: white;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .footer-links a,
  .footer-services a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
  }

  .footer-links a:hover,
  .footer-services a:hover {
    color: var(--blue-accent);
  }

  .footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-contact i {
    color: var(--blue-accent);
    width: 16px;
  }

  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
  }

  .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-accent);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .social-links a:hover {
    background: var(--blue-accent);
    color: white;
    transform: translateY(-3px);
  }

  .footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
  }

  .footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
  }

  /* Mobile Header/Footer */
  @media (max-width: 767px) {
    .main-nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--blue-primary);
      flex-direction: column;
      padding: 20px;
      gap: 15px;
      border-top: 1px solid rgba(59, 130, 246, 0.2);
    }

    .main-nav.open {
      display: flex;
    }

    .mobile-toggle {
      display: flex;
    }

    .header-cta {
      display: none;
    }

    .footer-container {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }

  /* ============================================
     HERO SECTION WITH IMAGE ROTATION
     ============================================ */
  .hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
    overflow: hidden;
  }

  /* Hero background image rotator */
  .hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }

  .hero-bg-slide.active {
    opacity: 1;
  }

  .hero-bg-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 100%);
  }

  /* Hero image indicators */
  .hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
  }

  .hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .hero-indicator.active {
    background: var(--accent);
    transform: scale(1.3);
  }

  .hero-indicator:hover {
    background: rgba(255,255,255,0.6);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 95, 42, 0.3);
    border: 1px solid rgba(26, 95, 42, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 25px;
  }

  .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.8); }
  }

  .hero-section h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
  }

  .hero-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 35px;
  }

  .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #111;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    animation: glow 3s infinite;
  }

  @keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(244, 162, 97, 0.4); }
    50% { box-shadow: 0 0 40px rgba(244, 162, 97, 0.8); }
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.2);
  }

  .hero-stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat .number {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    animation: numberPulse 3s infinite;
  }

  @keyframes numberPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(244, 162, 97, 0.3); }
    50% { text-shadow: 0 0 25px rgba(244, 162, 97, 0.7); }
  }

  .hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* ============================================
     SERVICES SECTION
     ============================================ */
  .section-intro {
    text-align: center;
    padding: 80px 20px 50px;
  }

  .label-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
  }

  .section-intro h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 10px;
  }

  .section-intro p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
  }

  @media (min-width: 768px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      padding: 0 40px 80px;
    }
  }

  .service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 30px;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
  }

  .service-card:nth-child(2) { animation-delay: 1s; }
  .service-card:nth-child(3) { animation-delay: 2s; }
  .service-card:nth-child(4) { animation-delay: 3s; }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }

  .service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(26, 95, 42, 0.2);
    border: 1px solid rgba(26, 95, 42, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--accent);
  }

  .service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .service-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
  }

  /* ============================================
     WHY CHOOSE US
     ============================================ */
  .why-section {
    padding: 60px 20px;
    background: rgba(62, 26, 95, 0.05);
  }

  .why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  @media (min-width: 768px) {
    .why-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
    }
  }

  @media (min-width: 1024px) {
    .why-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
  }

  .why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
  }

  .why-number {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 10px;
  }

  .why-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .why-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
  }

  /* ============================================
     TESTIMONIALS SECTION - CLEAN & PROPER
     ============================================ */
  .testimonials-section {
    padding: 100px 20px;
    background: var(--bg-dark);
  }

  .testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-head {
    text-align: center;
    margin-bottom: 60px;
  }

  .section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
  }

  .section-head h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
  }

  .section-head p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
  }

  /* Testimonials Grid */
  .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  @media (min-width: 768px) {
    .testimonials-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
  }

  @media (min-width: 1024px) {
    .testimonials-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
  }

  .testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: all 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  }

  .stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
  }

  .stars i {
    color: var(--accent);
    font-size: 14px;
  }

  .t-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
  }

  .t-author {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .t-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
  }

  .t-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
  }

  .t-role {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* ============================================
     SOLAR VISUAL EFFECT SECTION - RESPONSIVE
     ============================================ */
  /* ============================================
   SOLAR VISUAL SECTION - Responsive GIF
   ============================================ */
.solar-visual-section {
  position: relative;
  padding: clamp(40px, 8vw, 100px) clamp(15px, 4vw, 40px);
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1117 50%, var(--bg-dark) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 50vw, 600px);
}

.solar-visual-container {
  position: relative;
  width: 100%;
  max-width: min(500px, 90vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solar-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 30px rgba(245, 166, 35, 0.15))
          drop-shadow(0 0 60px rgba(245, 166, 35, 0.08));
  transition: filter 0.3s ease;
}

.solar-gif:hover {
  filter: drop-shadow(0 0 40px rgba(245, 166, 35, 0.25))
          drop-shadow(0 0 80px rgba(245, 166, 35, 0.12));
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .solar-gif { animation: none; }
}

  .solar-visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Canvas sits behind everything */
  #solar-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  /* Pulse rings */
  .pulse-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
  }

  .pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(245,166,35,0.5);
    animation: pulseRing 3s ease-out infinite;
  }

  .pulse-ring:nth-child(1) { width: 200px; height: 200px; animation-delay: 0s; }
  .pulse-ring:nth-child(2) { width: 280px; height: 280px; animation-delay: 0.9s; }
  .pulse-ring:nth-child(3) { width: 360px; height: 360px; animation-delay: 1.8s; }

  @keyframes pulseRing {
    0%   { transform: scale(0.7); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
  }

  /* Glow halo behind circle */
  .circle-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 10, 31, 0.18) 0%, transparent 70%);
    z-index: 2;
    animation: glowPulse 4s ease-in-out infinite;
  }

  @keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
  }

  /* Solar rays */
  .solar-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    animation: rotateSlow 18s linear infinite;
  }

  @keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  .ray {
    position: absolute;
    width: 3px;
    border-radius: 99px;
    background: linear-gradient(to top, rgba(245,166,35,0), rgba(245,166,35,0.7));
    transform-origin: bottom center;
    bottom: 50%;
    left: calc(50% - 1.5px);
  }

  .ray:nth-child(1)  { height: 50px; transform: rotate(0deg)   translateY(-130px); opacity: 0.9; }
  .ray:nth-child(2)  { height: 36px; transform: rotate(30deg)  translateY(-130px); opacity: 0.5; }
  .ray:nth-child(3)  { height: 50px; transform: rotate(60deg)  translateY(-130px); opacity: 0.9; }
  .ray:nth-child(4)  { height: 36px; transform: rotate(90deg)  translateY(-130px); opacity: 0.5; }
  .ray:nth-child(5)  { height: 50px; transform: rotate(120deg) translateY(-130px); opacity: 0.9; }
  .ray:nth-child(6)  { height: 36px; transform: rotate(150deg) translateY(-130px); opacity: 0.5; }
  .ray:nth-child(7)  { height: 50px; transform: rotate(180deg) translateY(-130px); opacity: 0.9; }
  .ray:nth-child(8)  { height: 36px; transform: rotate(210deg) translateY(-130px); opacity: 0.5; }
  .ray:nth-child(9)  { height: 50px; transform: rotate(240deg) translateY(-130px); opacity: 0.9; }
  .ray:nth-child(10) { height: 36px; transform: rotate(270deg) translateY(-130px); opacity: 0.5; }
  .ray:nth-child(11) { height: 50px; transform: rotate(300deg) translateY(-130px); opacity: 0.9; }
  .ray:nth-child(12) { height: 36px; transform: rotate(330deg) translateY(-130px); opacity: 0.5; }

  /* Hero circle - sits above rays */
  .hero-circle {
    position: relative;
    z-index: 3;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(245,166,35,0.3) 0%, rgba(17,32,64,0.9) 55%, rgba(10,22,40,0) 100%);
    border: 1.5px solid rgba(245,166,35,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
      0 0 40px rgba(245,166,35,0.2),
      0 0 80px rgba(245,166,35,0.1),
      inset 0 0 40px rgba(245,166,35,0.05);
  }

  .hero-circle::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px dashed rgba(245,166,35,0.2);
    animation: rotateSlow 30s linear infinite reverse;
  }

  .solar-icon-big {
    font-size: 70px;
    color: var(--sun);
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(245,166,35,0.7))
            drop-shadow(0 0 40px rgba(245,166,35,0.4));
    animation: iconFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 4;
  }

  @keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
  }

  /* Mobile responsiveness for solar visual */
  @media (max-width: 767px) {
    .solar-visual-section {
      min-height: 350px;
      padding: 40px 15px;
    }

    .solar-visual-container {
      max-width: 300px;
      height: 300px;
    }

    .pulse-ring:nth-child(1) { width: 140px; height: 140px; }
    .pulse-ring:nth-child(2) { width: 200px; height: 200px; }
    .pulse-ring:nth-child(3) { width: 260px; height: 260px; }

    .circle-glow {
      width: 200px;
      height: 200px;
    }

    .hero-circle {
      width: 130px;
      height: 130px;
    }

    .solar-icon-big {
      font-size: 50px;
    }

    .ray:nth-child(1)  { height: 35px; transform: rotate(0deg)   translateY(-90px); }
    .ray:nth-child(2)  { height: 25px; transform: rotate(30deg)  translateY(-90px); }
    .ray:nth-child(3)  { height: 35px; transform: rotate(60deg)  translateY(-90px); }
    .ray:nth-child(4)  { height: 25px; transform: rotate(90deg)  translateY(-90px); }
    .ray:nth-child(5)  { height: 35px; transform: rotate(120deg) translateY(-90px); }
    .ray:nth-child(6)  { height: 25px; transform: rotate(150deg) translateY(-90px); }
    .ray:nth-child(7)  { height: 35px; transform: rotate(180deg) translateY(-90px); }
    .ray:nth-child(8)  { height: 25px; transform: rotate(210deg) translateY(-90px); }
    .ray:nth-child(9)  { height: 35px; transform: rotate(240deg) translateY(-90px); }
    .ray:nth-child(10) { height: 25px; transform: rotate(270deg) translateY(-90px); }
    .ray:nth-child(11) { height: 35px; transform: rotate(300deg) translateY(-90px); }
    .ray:nth-child(12) { height: 25px; transform: rotate(330deg) translateY(-90px); }
  }

  @media (max-width: 480px) {
    .solar-visual-container {
      max-width: 250px;
      height: 250px;
    }

    .pulse-ring:nth-child(1) { width: 120px; height: 120px; }
    .pulse-ring:nth-child(2) { width: 170px; height: 170px; }
    .pulse-ring:nth-child(3) { width: 220px; height: 220px; }

    .circle-glow {
      width: 160px;
      height: 160px;
    }

    .hero-circle {
      width: 110px;
      height: 110px;
    }

    .solar-icon-big {
      font-size: 40px;
    }
  }

  /* ============================================
     CTA SECTION
     ============================================ */
  .cta-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(46, 10, 94, 0.2), rgba(244, 162, 97, 0.1));
  }

  .cta-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
  }

  .cta-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 30px;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #111;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    animation: glow 3s infinite;
  }

  /* ============================================
     MOBILE FIXES
     ============================================ */
  @media (max-width: 767px) {
    .hero-section {
      min-height: auto;
      padding: 120px 15px 50px;
    }

    .hero-section h1 {
      font-size: 2rem;
    }

    .hero-buttons {
      flex-direction: column;
      align-items: center;
    }

    .btn-primary, .btn-secondary {
      width: 100%;
      max-width: 280px;
      justify-content: center;
    }

    .hero-stats-bar {
      gap: 20px;
    }

    .hero-stat .number {
      font-size: 2rem;
    }

    .service-card {
      padding: 25px 20px;
    }

    .testimonials-section {
      padding: 60px 15px;
    }

    .testimonial-card {
      padding: 25px 20px;
    }
  }

  /* ============================================
     SPA TRANSITION STYLES
     ============================================ */
  #page-content {
    min-height: 100vh;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  #page-content.loading {
    opacity: 0.5;
  }

  /* Smooth page transitions */
  .fade-page-in {
    animation: fadePageIn 0.4s ease-out;
  }

  @keyframes fadePageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Ensure header/footer stay fixed during transitions */
  #header, #footer {
    position: relative;
    z-index: 100;
  }

  #header {
    z-index: 1000;
  }

  /* Scroll fix - prevent content from passing header */
  html {
    scroll-padding-top: 80px;
  }