/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-blue: #1a4fff;
  --dark-gray: #2f3237;
  --orange: #ff7f2a;
  --red: #cc1e2c;
  --white: #ffffff;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================================
   NAVIGATION BAR
   ================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--dark-gray);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.navbar-solid {
  background-color: var(--dark-gray);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-spacer {
  width: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5rem;
  align-items: center;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.navbar.scrolled .nav-link,
.navbar.navbar-solid .nav-link {
  color: var(--white);
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
}

.hamburger-icon {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.25s ease;
  border-radius: 2px;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.25s ease;
  left: 0;
  border-radius: 2px;
}

.hamburger-icon::before {
  top: -9px;
}

.hamburger-icon::after {
  top: 9px;
}

.navbar.scrolled .hamburger-icon,
.navbar.scrolled .hamburger-icon::before,
.navbar.scrolled .hamburger-icon::after,
.navbar.navbar-solid .hamburger-icon,
.navbar.navbar-solid .hamburger-icon::before,
.navbar.navbar-solid .hamburger-icon::after {
  background-color: var(--white);
}

.mobile-menu-toggle.active .hamburger-icon {
  background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
  background-color: var(--white);
}

.mobile-menu-toggle.active .hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
  background-color: var(--white);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

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

/* Fallback hero image (will be replaced by synced images) */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===================================
   SYNCED HERO BACKGROUND IMAGES
   =================================== */
.hero-images-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.hero-bg-image.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(47, 50, 55, 0.7) 0%, rgba(26, 79, 255, 0.3) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 2rem;
  margin-top: 40vh;
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease-in-out;
}

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

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
  font-weight: 300;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-button {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 79, 255, 0.3);
}

.hero-button:hover {
  background-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 127, 42, 0.4);
}

.hero-button:active {
  transform: translateY(0);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 3rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.indicator.active {
  background-color: var(--orange);
  border-color: var(--white);
  transform: scale(1.2);
}

.animation-turbine,
.animation-solar,
.animation-screen {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

/* ===================================
   DATA FLOW OVERLAY ANIMATION
   =================================== */
.data-flow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.energy-trail {
  position: absolute;
  width: 35px;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 255, 255, 0.7) 10%,
    rgba(100, 180, 255, 0.95) 30%,
    rgba(138, 43, 226, 0.85) 70%,
    rgba(0, 255, 255, 0.7) 90%,
    transparent 100%
  );
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.9), 0 0 30px rgba(100, 180, 255, 0.7), 0 0 45px rgba(138, 43, 226, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.5);
  filter: none;
  opacity: 0.75;
  will-change: transform;
}

@keyframes energyCirculation1 {
  0% {
    transform: translate(5vw, 20vh) rotate(45deg) scale(1);
  }
  25% {
    transform: translate(85vw, 30vh) rotate(50deg) scale(1.1);
  }
  50% {
    transform: translate(80vw, 75vh) rotate(40deg) scale(0.95);
  }
  75% {
    transform: translate(15vw, 70vh) rotate(48deg) scale(1.05);
  }
  100% {
    transform: translate(5vw, 20vh) rotate(45deg) scale(1);
  }
}

@keyframes energyCirculation2 {
  0% {
    transform: translate(10vw, 50vh) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(45vw, 25vh) rotate(90deg) scale(1.08);
  }
  50% {
    transform: translate(80vw, 50vh) rotate(180deg) scale(0.92);
  }
  75% {
    transform: translate(45vw, 75vh) rotate(270deg) scale(1.12);
  }
  100% {
    transform: translate(10vw, 50vh) rotate(360deg) scale(1);
  }
}

@keyframes energyCirculation3 {
  0% {
    transform: translate(30vw, 15vh) rotate(-10deg) scale(1);
  }
  33% {
    transform: translate(60vw, 80vh) rotate(-5deg) scale(1.05);
  }
  66% {
    transform: translate(25vw, 80vh) rotate(-12deg) scale(0.98);
  }
  100% {
    transform: translate(30vw, 15vh) rotate(-10deg) scale(1);
  }
}

@keyframes energyCirculation4 {
  0% {
    transform: translate(50vw, 30vh) rotate(15deg) scale(1);
  }
  25% {
    transform: translate(75vw, 45vh) rotate(20deg) scale(1.1);
  }
  50% {
    transform: translate(50vw, 70vh) rotate(12deg) scale(0.95);
  }
  75% {
    transform: translate(20vw, 45vh) rotate(18deg) scale(1.08);
  }
  100% {
    transform: translate(50vw, 30vh) rotate(15deg) scale(1);
  }
}

/* ===================================
   LIGHTNING CURSOR EFFECT
   =================================== */
.lightning-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.lightning-particle {
  position: absolute;
  pointer-events: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 217, 255, 1) 0%, rgba(26, 79, 255, 0.8) 50%, transparent 100%);
  box-shadow: 0 0 10px rgba(174, 217, 255, 0.9), 0 0 20px rgba(26, 79, 255, 0.6), 0 0 30px rgba(26, 79, 255, 0.3);
  opacity: 0;
  animation: particleFloat 1.2s ease-out forwards;
}

@keyframes particleFloat {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.3);
  }
}

.lightning-spark {
  position: absolute;
  pointer-events: none;
  width: 2px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(174, 217, 255, 1) 0%, rgba(26, 79, 255, 0.4) 100%);
  box-shadow: 0 0 8px rgba(174, 217, 255, 1), 0 0 16px rgba(26, 79, 255, 0.7);
  opacity: 0;
  animation: sparkFade 0.8s ease-out forwards;
  transform-origin: top center;
}

@keyframes sparkFade {
  0% {
    opacity: 1;
    height: 20px;
    filter: blur(0px);
  }
  50% {
    opacity: 0.6;
    height: 25px;
    filter: blur(0.5px);
  }
  100% {
    opacity: 0;
    height: 15px;
    filter: blur(1px);
  }
}

.lightning-glow {
  position: absolute;
  pointer-events: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 79, 255, 0.2) 0%, rgba(174, 217, 255, 0.15) 40%, transparent 70%);
  opacity: 0;
  animation: glowPulse 0.6s ease-out forwards;
  transform: translate(-50%, -50%);
}

@keyframes glowPulse {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@media screen and (max-width: 768px) {
  .lightning-container {
    display: none;
  }
}

/* ===================================
   CANVAS LIGHTNING CURSOR TRAIL
   =================================== */
.lightning-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .lightning-canvas {
    display: none;
  }
}

/* ===================================
   PAGE CONTENT (for other pages)
   =================================== */
.page-content {
  padding-top: 120px;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* ===================================
   SERVICES SECTION - REDESIGNED
   =================================== */
/* Modified services section: cards stacked vertically with alternating left-right layout */
.services-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

/* Changed from grid with 2 columns to flex column for vertical stacking */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Enhanced card styling for unified, professional look with seamless image-text integration */
.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(47, 50, 55, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(0);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

/* First card: content on left (order 1), image on right (order 2) */
.service-card:first-child .service-card-content {
  order: 1;
}

.service-card:first-child .service-card-image {
  order: 2;
}

/* Second card: image on left (order 1), content on right (order 2) */
.service-card:last-child .service-card-image {
  order: 1;
}

.service-card:last-child .service-card-content {
  order: 2;
}

.service-card.slide-from-left.animate-in {
  animation: slideInFromLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card.slide-from-right.animate-in {
  animation: slideInFromRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26, 79, 255, 0.2);
}

/* Image container optimized for cover fit and seamless integration */
.service-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 450px;
  overflow: hidden;
}

/* Image with object-fit cover for professional display */
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

/* Refined overlay with subtle gradient for better badge visibility */
.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26, 79, 255, 0.05) 0%, rgba(47, 50, 55, 0.25) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px;
}

/* Enhanced badge styling for premium look */
.service-year-badge {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 127, 42, 0.4);
  letter-spacing: 0.5px;
}

/* Content area with optimal padding and breathing space */
.service-card-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

/* Title styling for strong hierarchy and readability */
.service-card-title {
  font-size: 1.65rem;
  color: var(--dark-gray);
  margin-bottom: 28px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* List container with clean spacing */
.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List items with refined spacing and subtle separators */
.service-card-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.5;
  border-bottom: 1px solid rgba(47, 50, 55, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-list li:last-child {
  border-bottom: none;
}

.service-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-list li:hover {
  color: var(--primary-blue);
  padding-left: 32px;
  background: rgba(26, 79, 255, 0.02);
}

.service-card-list li:hover::before {
  background-color: var(--orange);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 8px rgba(255, 127, 42, 0.4);
}

/* Tablet view: reset to vertical stack (image always on top) */
@media screen and (max-width: 968px) {
  .services-section {
    padding: 60px 0;
  }

  .services-grid {
    gap: 40px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card:first-child .service-card-content,
  .service-card:last-child .service-card-content {
    order: 2;
  }

  .service-card:first-child .service-card-image,
  .service-card:last-child .service-card-image {
    order: 1;
  }

  .service-card-image {
    min-height: 300px;
  }

  .service-card-title {
    font-size: 1.45rem;
  }

  .service-card-content {
    padding: 36px 32px;
  }
}

/* Mobile view: reset to vertical stack (image always on top) */
@media screen and (max-width: 768px) {
  .services-section {
    padding: 50px 0;
  }

  .services-grid {
    gap: 32px;
  }

  .service-card {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .service-card:first-child .service-card-content,
  .service-card:last-child .service-card-content {
    order: 2;
  }

  .service-card:first-child .service-card-image,
  .service-card:last-child .service-card-image {
    order: 1;
  }

  .service-card-image {
    min-height: 240px;
  }

  .service-card-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .service-card-content {
    padding: 28px 24px;
  }

  .service-card-list li {
    font-size: 0.95rem;
    padding: 10px 0 10px 24px;
  }

  .service-card.slide-from-left.animate-in,
  .service-card.slide-from-right.animate-in {
    animation: slideInFromCenter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .logo-img {
    height: 50px;
    min-width: 120px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--dark-gray);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 0;
    transition: right 0.25s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--white);
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-spacer {
    display: none;
  }

  .hero-content {
    margin-top: 35vh;
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-button {
    padding: 0.75rem 1.8rem;
    font-size: 0.95rem;
  }

  .carousel-indicators {
    margin-top: 2rem;
    gap: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

@media screen and (max-width: 480px) {
  .logo-img {
    height: 45px;
    min-width: 110px;
  }

  .nav-menu {
    width: 100%;
  }

  .hero-content {
    padding: 1rem;
    margin-top: 30vh;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .hero-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .carousel-indicators {
    gap: 8px;
    margin-top: 1.5rem;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }
}

/* ===================================
   SUBSTATION AUTOMATION SECTION
   =================================== */
.substation-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1d24 0%, #2f3237 50%, #1a1d24 100%);
  position: relative;
  overflow: hidden;
}

.substation-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/placeholder.svg?height=1000&width=1000") repeat;
  opacity: 0.03;
  z-index: 0;
}

.substation-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.substation-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.substation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.substation-hero-image {
  width: 100%;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

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

.substation-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 79, 255, 0.15) 0%, rgba(255, 127, 42, 0.1) 100%);
}

.substation-roadmap {
  position: relative;
  padding-left: 60px;
}

.substation-roadmap::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--orange) 100%);
  border-radius: 2px;
}

.roadmap-step {
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-step:last-child {
  margin-bottom: 0;
}

.roadmap-number {
  position: absolute;
  left: -60px;
  top: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(26, 79, 255, 0.4);
  z-index: 2;
}

.roadmap-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-content:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(26, 79, 255, 0.3);
  transform: translateX(8px);
}

.roadmap-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.roadmap-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

/* ===================================
   SOLAR FARM SECTION
   =================================== */
.solar-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 50%, #f0f2f5 100%);
  position: relative;
}

.solar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.solar-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.solar-hero-image {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(47, 50, 55, 0.15);
  margin-bottom: 70px;
  position: relative;
}

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

.solar-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 79, 255, 0.1) 0%, rgba(255, 127, 42, 0.15) 100%);
}

.solar-operations {
  margin-bottom: 70px;
}

.solar-operations-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
}

.solar-operations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solar-operation-item {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(47, 50, 55, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  border: 1px solid rgba(47, 50, 55, 0.06);
}

.solar-operation-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.solar-operation-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(26, 79, 255, 0.2);
  border-color: rgba(26, 79, 255, 0.15);
}

.operation-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(255, 127, 42, 0.35);
}

.operation-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark-gray);
  line-height: 1.4;
  margin: 0;
}

.solar-upper-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.upper-service-card {
  background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1d24 100%);
  border-radius: 18px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(47, 50, 55, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.upper-service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.upper-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 79, 255, 0.1) 0%, rgba(255, 127, 42, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.upper-service-card:hover::before {
  opacity: 1;
}

.upper-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(26, 79, 255, 0.3);
}

.upper-service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--orange));
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.upper-service-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.upper-service-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.upper-service-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ===================================
   RESPONSIVE - SUBSTATION SECTION
   =================================== */
@media screen and (max-width: 1024px) {
  .substation-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .substation-hero-image {
    height: 450px;
  }

  .substation-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .substation-section {
    padding: 60px 0;
  }

  .substation-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  .substation-hero-image {
    height: 300px;
  }

  .substation-roadmap {
    padding-left: 50px;
  }

  .roadmap-number {
    width: 40px;
    height: 40px;
    left: -50px;
    font-size: 0.95rem;
  }

  .roadmap-content {
    padding: 20px 22px;
  }

  .roadmap-title {
    font-size: 1.1rem;
  }

  .roadmap-description {
    font-size: 0.9rem;
  }

  .roadmap-step {
    margin-bottom: 40px;
  }
}

/* ===================================
   RESPONSIVE - SOLAR SECTION
   =================================== */
@media screen and (max-width: 1024px) {
  .solar-operations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .solar-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .solar-section {
    padding: 60px 0;
  }

  .solar-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .solar-hero-image {
    height: 300px;
    margin-bottom: 50px;
  }

  .solar-operations-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .solar-operations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solar-operation-item {
    padding: 26px 22px;
  }

  .operation-title {
    font-size: 1rem;
  }

  .solar-upper-services {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }

  .upper-service-card {
    padding: 40px 30px;
  }

  .upper-service-title {
    font-size: 1.5rem;
  }

  .upper-service-description {
    font-size: 0.95rem;
  }

  .upper-service-icon {
    width: 70px;
    height: 70px;
  }

  .upper-service-icon svg {
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 480px) {
  .substation-title,
  .solar-title {
    font-size: 1.6rem;
  }

  .substation-roadmap {
    padding-left: 45px;
  }

  .roadmap-number {
    width: 35px;
    height: 35px;
    left: -45px;
    font-size: 0.85rem;
  }
}

/* ===================================
   TECHNOLOGIES & SOLUTIONS SECTION
   =================================== */
.technologies-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fb 0%, #e6eaf0 100%);
  position: relative;
}

.technologies-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.technologies-main-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.technologies-subtitle {
  font-size: 1.1rem;
  color: rgba(47, 50, 55, 0.7);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 400;
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: techGridFadeIn 0.8s ease-out 0.2s forwards;
}

@keyframes techGridFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(47, 50, 55, 0.12);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 79, 255, 0.18);
}

.tech-card-featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%) border-box;
}

.tech-card-featured:hover {
  box-shadow: 0 14px 40px rgba(26, 79, 255, 0.22);
}

.tech-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(26, 79, 255, 0.05) 0%, rgba(255, 127, 42, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.tech-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tech-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26, 79, 255, 0.05) 0%, rgba(47, 50, 55, 0.15) 100%);
}

.tech-card-content {
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tech-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  margin-left: 24px;
}

.tech-card-subtitle {
  font-size: 1rem;
  color: rgba(47, 50, 55, 0.6);
  margin-bottom: 20px;
  font-weight: 500;
   margin-left: 24px;
}

.tech-card-description {
  font-size: 0.95rem;
  color: rgba(47, 50, 55, 0.75);
  line-height: 1.6;
  flex: 1;
}

.tech-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-card-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

.tech-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--primary-blue);
  border-radius: 50%;
}

/* Responsive - Technologies Section */
@media screen and (max-width: 1024px) {
  .technologies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .technologies-main-title {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .technologies-section {
    padding: 60px 0;
  }

  .technologies-main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .technologies-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .technologies-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tech-card-image {
    height: 180px;
  }

  .tech-card-content {
    padding: 24px 20px;
  }

  .tech-card-title {
    font-size: 1.25rem;
  }

  .tech-card-subtitle {
    font-size: 0.95rem;
  }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
  padding: 80px 60px 30px 60px;
  background: linear-gradient(135deg, #1a1d29 0%, #2f3237 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(26, 79, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-text-column {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text-column.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.about-main-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-main-title span {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text-block {
  margin-bottom: 28px;
}

.about-text-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 0;
}

.about-highlight-item {
  background: rgba(26, 79, 255, 0.08);
  border: 1px solid rgba(26, 79, 255, 0.25);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-highlight-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-highlight-item:hover {
  background: rgba(26, 79, 255, 0.15);
  border-color: rgba(26, 79, 255, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26, 79, 255, 0.25);
}

.about-highlight-item:hover::before {
  transform: scaleX(1);
}

.highlight-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.highlight-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-image-column {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.about-image-column.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:last-child {
  margin-bottom: 0;
}

.about-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 79, 255, 0.3);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover img {
  transform: scale(1.08);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 29, 41, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.about-image-wrapper:hover .about-image-overlay {
  opacity: 1;
}

.about-image-overlay span {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Responsive - About Section */
@media screen and (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-main-title {
    font-size: 2.6rem;
  }

  .about-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .about-section {
    padding: 60px 40px 25px 40px;
  }

  .about-grid {
    gap: 50px;
    padding: 0 1.5rem;
  }

  .about-main-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .about-text-block p {
    font-size: 1rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .about-highlight-item {
    padding: 24px 20px;
  }

  .highlight-value {
    font-size: 2rem;
  }

  .about-image-wrapper img {
 
  }
}

@media screen and (max-width: 480px) {
  .about-section {
    padding: 50px 24px 20px 24px;
  }

  .about-main-title {
    font-size: 1.9rem;
  }

  .about-text-block {
    margin-bottom: 24px;
  }

  .about-text-block p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .highlight-label {
    font-size: 0.85rem;
  }

  .highlight-value {
    font-size: 1.8rem;
  }
}
