/*
Theme Name: AkshSolar Theme
Theme URI: https://akshsolar.com/
Author: AkshSolar Engineering Team
Author URI: https://akshsolar.com/
Description: Premium dark-mode WordPress theme for solar energy calculation, lead generation, and clean energy analytics.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akshsolar
Tags: responsive-layout, dark, custom-colors, translation-ready, one-column, portfolio

==========================================
AkshSolar.Com - Premium Solar Styling
========================================== */

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

/* CSS Variables */
:root {
  --bg-primary: #000711;
  --bg-secondary: #001229;
  --bg-card: rgba(0, 18, 41, 0.75);
  --border-color: rgba(255, 167, 0, 0.1);
  --accent-cyan: #00a8ff;
  --accent-blue: #0066cc;
  --accent-gold: #ffa700;
  --accent-orange: #ff8200;
  
  --text-primary: #f0f4f8;
  --text-secondary: #8fa3b7;
  --text-muted: #536b82;
  
  --gradient-solar: linear-gradient(135deg, #ffa700 0%, #ff6f00 100%);
  --gradient-tech: linear-gradient(135deg, #00d2ff 0%, #0066cc 100%);
  --gradient-dark: linear-gradient(180deg, #000711 0%, #001229 100%);
  --gradient-glow: linear-gradient(90deg, #0066cc, #ffa700, #ff8200, #0066cc);
  
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 102, 204, 0.15);
  --shadow-solar-glow: 0 0 25px rgba(255, 167, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border: 2px solid var(--bg-primary);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Base Components & Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

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

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

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

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

.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.glass-hover {
  transition: var(--transition-normal);
}
.glass-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-solar {
  background: var(--gradient-solar);
  color: #0c0f16;
  box-shadow: 0 4px 15px rgba(251, 133, 0, 0.3);
}
.btn-solar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 133, 0, 0.5), var(--shadow-solar-glow);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 800;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 48px;
}

/* Background Glowing Shapes */
.glow-spot {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.glow-spot-orange {
  background: radial-gradient(circle, rgba(251, 133, 0, 0.08) 0%, rgba(0,0,0,0) 70%);
}

/* ==========================================
   Header / Navigation
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 20px 0;
}
header.scrolled {
  padding: 12px 0;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  color: var(--accent-gold);
  font-size: 1.8rem;
  animation: pulse-solar 3s infinite alternate;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-tech);
  transition: var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 80vh;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-slow);
    z-index: 999;
  }
  .nav-menu.open {
    top: 0;
  }
  header.scrolled .nav-menu {
    background: rgba(10, 14, 23, 0.95);
  }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}
@media (max-width: 992px) {
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
}
@media (max-width: 992px) {
  .hero-buttons {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
}

/* Hero Graphic / Interactive Solar Cell Visual */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.solar-globe-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
}
@media (max-width: 480px) {
  .solar-globe-wrapper {
    width: 260px;
    height: 260px;
  }
}
.solar-globe {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #1a2536 30%, #0c121e 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 60px rgba(0, 242, 254, 0.1), inset 0 0 40px rgba(255, 183, 3, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.solar-panel-grid {
  position: absolute;
  width: 140%;
  height: 140%;
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, rgba(0, 242, 254, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 242, 254, 0.08) 1px, transparent 1px);
  transform: rotateX(60deg) rotateZ(-45deg);
  animation: grid-shift 20s linear infinite;
}
.solar-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 183, 3, 0.25);
  border-radius: 50%;
  animation: rotate-orbit 15s linear infinite;
}
.solar-orbit-1 {
  width: 80%;
  height: 80%;
}
.solar-orbit-2 {
  width: 110%;
  height: 110%;
  animation-duration: 25s;
  animation-direction: reverse;
}
.solar-sun {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 20%, var(--accent-gold) 60%, var(--accent-orange) 100%);
  box-shadow: 0 0 40px var(--accent-gold), 0 0 80px rgba(251, 133, 0, 0.4);
  z-index: 2;
  position: relative;
}
.sun-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 183, 3, 0.1);
  animation: scale-rays 4s infinite linear;
}

/* ==========================================
   Stats Bar
   ========================================== */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 14, 23, 0.4);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.stat-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================
   Features Section
   ========================================== */
.features {
  padding: 100px 0;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.feature-card {
  padding: 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 242, 254, 0.15);
}
.feature-card:nth-child(2) .feature-icon-wrapper {
  background: rgba(255, 183, 3, 0.08);
  color: var(--accent-gold);
  border-color: rgba(255, 183, 3, 0.15);
}
.feature-card:nth-child(3) .feature-icon-wrapper {
  background: rgba(251, 133, 0, 0.08);
  color: var(--accent-orange);
  border-color: rgba(251, 133, 0, 0.15);
}
.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================
   Calculator Section
   ========================================== */
.calculator-section {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(18, 24, 36, 0.6) 0%, rgba(10, 14, 23, 0) 60%);
}
.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 992px) {
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
}

.calc-panel {
  padding: 40px;
}
@media (max-width: 576px) {
  .calc-panel {
    padding: 24px;
  }
}

.calc-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.calc-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.input-group {
  margin-bottom: 32px;
}
.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.input-label {
  font-weight: 600;
  font-size: 1rem;
}
.input-value {
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 1.15rem;
}

/* Custom Range Slider */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
}
.range-slider {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  appearance: none;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: transform 0.1s ease;
  border: 4px solid var(--bg-secondary);
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.range-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  border: 4px solid var(--bg-secondary);
}

.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
  font-size: 0.8rem;
}
.calc-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 14, 23, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.calc-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

/* Calculator Results Card */
.results-panel {
  padding: 40px;
  background: linear-gradient(145deg, rgba(26, 37, 58, 0.9) 0%, rgba(14, 20, 32, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 576px) {
  .results-panel {
    padding: 24px;
  }
}

.results-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.results-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.results-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.result-item {
  display: flex;
  flex-direction: column;
}
.result-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 500;
}
.result-value {
  font-size: 1.8rem;
  font-weight: 800;
}
.result-value.highlight {
  color: var(--accent-gold);
}

/* Cumulative Savings Visualizer */
.savings-projection {
  margin-bottom: 32px;
  background: rgba(10, 14, 23, 0.5);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.projection-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.projection-bar-container {
  height: 12px;
  background: #121824;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.projection-bar {
  height: 100%;
  background: var(--gradient-solar);
  width: 0%;
  border-radius: 6px;
  transition: width 0.5s ease-out;
}
.projection-marker {
  position: absolute;
  top: -20px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  transform: translateX(-50%);
  transition: left 0.5s ease-out;
}

.results-cta {
  width: 100%;
}

/* ==========================================
   Lead Form Section
   ========================================== */
.lead-section {
  padding: 100px 0;
  position: relative;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 992px) {
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.lead-info h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
.lead-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-meta-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}
.contact-meta-text h4 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-meta-text p {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

/* Lead Card & Input Styling */
.lead-card {
  padding: 48px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 576px) {
  .lead-card {
    padding: 32px 24px;
  }
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.form-group.full-width {
  grid-column: span 2;
}
@media (max-width: 576px) {
  .form-group.full-width {
    grid-column: span 1;
  }
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.form-input {
  padding: 14px 16px;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.form-input::placeholder {
  color: var(--text-muted);
}
.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.12);
  background: rgba(10, 14, 23, 0.8);
}
.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 6px;
  display: none;
  font-weight: 500;
}
.form-group.has-error .form-input {
  border-color: #ef4444;
}
.form-group.has-error .form-error {
  display: block;
}

.form-submit-btn {
  width: 100%;
}

/* Success Card Layer */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 10;
  transform: translateY(100%);
  transition: var(--transition-slow);
  opacity: 0;
}
.form-success-overlay.active {
  transform: translateY(0);
  opacity: 1;
}
.success-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.success-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.success-message {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 24px;
}
.submitted-data-summary {
  background: rgba(10, 14, 23, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
  max-width: 340px;
  font-size: 0.85rem;
  text-align: left;
  margin-bottom: 32px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.summary-row:last-child {
  margin-bottom: 0;
}
.summary-label {
  color: var(--text-secondary);
}
.summary-val {
  font-weight: 600;
}

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0) 0%, rgba(18, 24, 36, 0.4) 100%);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 48px;
}
@media (max-width: 992px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (max-width: 576px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.timeline-connector {
  position: absolute;
  top: 35px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}
@media (max-width: 992px) {
  .timeline-connector {
    display: none;
  }
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
}
.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px auto;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.timeline-step:hover .step-number {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}
.step-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3) 0%, rgba(0,0,0,0) 70%);
  opacity: 0;
  transition: var(--transition-normal);
}
.timeline-step:hover .step-glow {
  opacity: 1;
}
.timeline-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.timeline-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0 16px;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
  padding: 100px 0;
  position: relative;
}
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (max-width: 576px) {
  .testimonial-slide {
    padding: 20px;
  }
}
.quote-icon {
  font-size: 2.5rem;
  color: rgba(0, 242, 254, 0.15);
  margin-bottom: 24px;
}
.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
  color: var(--text-primary);
}
@media (max-width: 576px) {
  .testimonial-text {
    font-size: 1.1rem;
  }
}
.author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  object-fit: cover;
}
.author-details {
  text-align: left;
}
.author-name {
  font-weight: 700;
  font-size: 1.05rem;
}
.author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}
.carousel-dot.active {
  background: var(--accent-cyan);
  width: 24px;
  border-radius: 5px;
}

/* ==========================================
   Footer
   ========================================== */
footer {
  background: #06090f;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-info .logo {
  margin-bottom: 20px;
}
.footer-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 280px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.social-link:hover {
  background: var(--accent-cyan);
  color: #0c0f16;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-col ul a:hover {
  color: var(--accent-cyan);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.newsletter-input-group {
  display: flex;
  gap: 8px;
}
.newsletter-input {
  flex-grow: 1;
  padding: 12px 16px;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.newsletter-input:focus {
  border-color: var(--accent-cyan);
}
.newsletter-btn {
  padding: 0 16px;
  background: var(--gradient-tech);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #0a0e17;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ==========================================
   Admin View / Saved Leads modal overlay
   ========================================== */
.admin-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 24, 36, 0.85);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.admin-trigger:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: rotate(30deg);
}

.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal.open {
  display: flex;
}
.admin-card {
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.admin-close {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-secondary);
}
.admin-close:hover {
  color: var(--text-primary);
}
.admin-list {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 16px;
}
.lead-item {
  background: rgba(10, 14, 23, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}
.lead-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.lead-grid-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 0.9rem;
}
@media (max-width: 480px) {
  .lead-grid-info {
    grid-template-columns: 1fr;
  }
}
.lead-info-col span {
  color: var(--text-secondary);
}
.no-leads-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
}

/* ==========================================
   Scroll Reveal & Keyframe Animations
   ========================================== */

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes grid-shift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

@keyframes rotate-orbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-solar {
  0% {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
  }
  100% {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 183, 3, 0.8), 0 0 30px rgba(251, 133, 0, 0.6);
  }
}

@keyframes scale-rays {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@keyframes scale-up {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================
   Featured Project Section
   ========================================== */
.featured-project {
  padding: 100px 0;
  background: rgba(18, 24, 36, 0.25);
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  margin-top: 32px;
  padding: 24px;
}
.project-img-wrapper img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 13;
  transition: var(--transition-normal);
}
.project-img-wrapper:hover img {
  transform: scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .project-stats {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

