/* ===== MODERN ELECTRIC ENERGY THEME ===== */

/* CSS Variables - Electric Energy Color Palette */
:root {
  /* Primary Colors */
  --primary-blue: #0066cc;
  --primary-dark: #004499;
  --primary-light: #3399ff;
  --electric-yellow: #ffcc00;
  --electric-orange: #ff6600;
  
  /* Secondary Colors */
  --secondary-blue: #1e3a8a;
  --secondary-gray: #64748b;
  --secondary-light: #f1f5f9;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  --gradient-electric: linear-gradient(135deg, var(--electric-yellow) 0%, var(--electric-orange) 100%);
  --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-200);
  color: var(--gray-800);
  transform: translateY(-2px);
}

.btn-electric {
  background: var(--gradient-electric);
  color: var(--white);
}

.btn-electric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  text-align: center;
}

.electric-bolt {
  font-size: 3rem;
  color: var(--primary-blue);
  animation: electricPulse 1.5s infinite;
}

.loading-text {
  margin-top: 1rem;
  color: var(--gray-600);
  font-weight: 500;
}

@keyframes electricPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid var(--gray-200);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  color: var(--gray-700);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-normal);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background: var(--white);
  min-width: 200px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dropdown.show .dropdown-menu,
.dropdown:hover .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--gray-700);
  transition: var(--transition-normal);
  font-weight: 500;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
}

.dropdown-item:focus {
  background: var(--primary-blue);
  color: var(--white);
  outline: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.electric-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--electric-yellow);
  border-radius: 50%;
  animation: float 6s infinite linear;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--gray-50);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
  background: var(--gradient-electric);
  transform: scale(1.1);
}

.about-image {
  position: relative;
  padding: 1rem;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  transform: rotate(-3deg);
  z-index: -1;
  opacity: 0.1;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--gradient-electric);
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
  font-weight: 600;
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--gradient-primary);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  gap: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 204, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  font-weight: 600;
}

.project-category {
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: var(--gray-50);
}

.team-grid {
  display: grid;
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.team-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.team-content {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  font-weight: 600;
}

.team-position {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition-normal);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--white);
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-blue);
}

.author-info h5 {
  margin-bottom: 0.25rem;
  color: var(--gray-900);
  font-weight: 600;
}

.author-info p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== BLOG SECTION ===== */
.blog-section {
  background: var(--gray-50);
}

.blog-grid {
  display: grid;
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
  font-weight: 600;
}

.blog-excerpt {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-info {
  display: grid;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition-normal);
}

.footer-section a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1rem;
  text-align: center;
  color: var(--gray-400);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .floating-stats {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .stat-card {
    min-width: auto;
    flex: 1;
    max-width: 150px;
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .service-card,
  .project-card,
  .team-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .floating-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .stat-card {
    max-width: 200px;
    width: 100%;
    min-width: 180px;
  }
  
  .stat-info .stat-number {
    font-size: 1.1rem;
  }
  
  .stat-info .stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .service-card,
  .project-card,
  .team-card,
  .blog-card {
    margin-bottom: 1rem;
  }
  
  .floating-stats {
    gap: 0.75rem;
  }
  
  .stat-card {
    max-width: 100%;
    min-width: auto;
    padding: 0.75rem;
  }
  
  .stat-icon {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
  
  .stat-info .stat-number {
    font-size: 1rem;
  }
  
  .stat-info .stat-label {
    font-size: 0.7rem;
  }
}

/* ===== FORM VALIDATION STYLES ===== */
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

/* ===== LOADING STATES ===== */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 

.floating-stats {
    position: absolute;
    top: 20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
}

.stat-card {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 120px;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-electric);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.stat-info .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
} 

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--secondary-gray) !important; }
.text-electric { color: var(--electric-yellow) !important; }

.bg-primary { background: var(--gradient-primary) !important; }
.bg-secondary { background: var(--gray-50) !important; }
.bg-electric { background: var(--gradient-electric) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

/* ===== MOBILE NAVIGATION IMPROVEMENTS ===== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
  }
  
  .navbar-collapse.show {
    display: block;
  }
  
  .navbar-nav {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 0.25rem;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: none;
    background: var(--gray-50);
    margin-top: 0;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    position: static;
    float: none;
    width: 100%;
    display: none;
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.25rem;
  }
  
  .dropdown-item:last-child {
    margin-bottom: 0;
  }
  
  .header-actions {
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .header-actions .btn {
    margin: 0.25rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-toggler-icon {
    color: var(--primary-blue);
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .header-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .header-actions .btn {
    width: 100%;
    max-width: 200px;
  }
  
  .navbar-brand img {
    height: 35px;
  }
  
  .navbar-collapse {
    margin-top: 0.5rem;
    padding: 0.75rem;
  }
  
  .hero-section {
    padding-top: 50px;
  }
  
  .hero-container {
    min-height: calc(100vh - 50px);
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-visual {
    height: 200px;
  }
  
  .electric-circle {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  
  .wave-1 { width: 130px; height: 130px; }
  .wave-2 { width: 160px; height: 160px; }
  .wave-3 { width: 190px; height: 190px; }
  
  .hero-stats .stat-item {
    color: var(--white);
    text-align: center;
    padding: 0.5rem;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--electric-yellow);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
  }
}  

/* ===== FOOTER STYLES ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-logo img {
    height: 40px;
    max-width: 200px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: black;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-details h6 {
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-details p {
    color: black;
    margin: 0;
    font-size: 0.9rem;
}

.contact-details a {
    color: black;
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.footer-actions {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    margin-top: 2rem;
}

.social-media h6,
.newsletter h6 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.newsletter p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    max-width: 300px;
}

.newsletter-form .form-control {
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    color: var(--white);
}

.newsletter-form .form-control:focus {
    background: var(--gray-700);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-400);
}

.footer-bottom {
    background: var(--black);
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-bottom p {
    color: var(--gray-400);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-bottom a:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer-logo img {
        height: 35px;
        max-width: 150px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form .input-group {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-logo img {
        height: 30px;
        max-width: 120px;
    }
} 