* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Replaced navy/teal colors with green theme from original site */
  --primary-green: #008000;
  --dark-green: #006400;
  --light-green: #28a745;
  --red-accent: #dc3545;
  --dark-navy: #1a1a2e;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --text: #1e293b;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Enhanced sidebar with better logo styling and footer */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  /* Updated sidebar background to green gradient */
  background: linear-gradient(180deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Added styles for the logo image */
.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.close-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.close-btn:hover {
  opacity: 1;
}

.close-btn svg {
  width: 100%;
  height: 100%;
}

.sidebar-nav {
  padding: 1.5rem 0;
}

.nav-title {
  padding: 1rem 1.5rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  /* Updated accent color to light green */
  color: var(--light-green);
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* Reduced spacing between nav sections */
.nav-section {
  margin-bottom: 0.5rem;
}

/* Updated subtitle to be clickable with arrow indicator */
.nav-subtitle {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Changed dropdown icon from triangle to plus/minus */
.nav-subtitle::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.nav-section.active .nav-subtitle::after {
  content: "−";
  transform: none;
}

.nav-subtitle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Made nav list collapsible with smooth animation */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-section.active .nav-list {
  max-height: 500px;
}

.nav-list li a {
  display: block;
  padding: 0.625rem 1.5rem 0.625rem 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.875rem;
  border-left: 3px solid transparent;
}

.nav-list li a:hover {
  /* Updated hover state to light green */
  background: rgba(40, 167, 69, 0.1);
  color: var(--light-green);
  padding-left: 2.75rem;
  border-left-color: var(--light-green);
}

.sidebar-footer {
  padding: 1.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

/* Main Content */
.main-content {
  margin-left: 280px;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

/* Added top bar styles matching original site */
.top-bar {
  background: var(--primary-green);
  color: var(--white);
  /* Reduced padding from 0.75rem to 0.5rem to make top bar shorter */
  padding: 0.5rem 2rem;
  font-size: 0.875rem;
  position: sticky;
  top: 0;
  z-index: 200;
}

.top-bar-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  font-weight: 600;
}

.top-bar-slogan::after {
  content: "|";
  animation: blink 1s infinite;
  margin-left: 2px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-right a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top-bar-right a:hover {
  opacity: 0.8;
}

.top-bar-right .divider {
  color: rgba(255, 255, 255, 0.5);
}

/* Updated header styles to match original site layout */
.header {
  background: var(--white);
  /* Reduced padding from 1rem to 0.75rem to make main header shorter */
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  /* Adjusted top position from 52px to 41px to match new top bar height */
  top: 41px;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  color: var(--navy);
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  /* Reduced logo height from 60px to 45px to fit in shorter nav bar */
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* Added typewriter cursor animation */
.typewriter-text::after {
  content: "|";
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  /* Aligned nav menu to the left instead of right */
  margin-right: auto;
  margin-left: 2rem;
}

.desktop-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-accent);
  transition: width 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--red-accent);
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* Enhanced hero section with better typography and spacing */
.hero {
  /* Increased overlay opacity from 0.6 to 0.7 for better balance */
  background: linear-gradient(135deg, rgba(0, 128, 0, 0.7) 0%, rgba(0, 107, 61, 0.7) 50%, rgba(0, 100, 0, 0.7) 100%);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  /* Added relative positioning for carousel */
  position: relative;
  overflow: hidden;
}

/* Hero carousel styles */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  /* Added fade-in animation */
  transition: opacity 1.5s ease-in-out;
  animation: fadeIn 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Added fade-in keyframes animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Increased brightness from 0.6 to 0.8 and reduced overlay opacity to make images much more visible */
  filter: brightness(0.8) contrast(1.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 2rem;
}

.carousel-btn.next {
  right: 2rem;
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

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

.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  /* Added relative positioning to stay above carousel */
  position: relative;
  z-index: 5;
  /* Added text shadow for better readability against lighter images */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  /* Updated primary button to light green */
  background: var(--light-green);
  color: var(--white);
}

.btn-primary:hover {
  /* Updated hover state */
  background: #34ce57;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  /* Updated border color to green */
  border-color: var(--light-green);
  transform: translateY(-3px);
}

.btn-primary svg,
.btn-secondary svg {
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  /* Reduced background opacity from 0.05 to 0.08 for better visibility */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  /* Added position relative and z-index to stay above carousel */
  position: relative;
  z-index: 5;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  /* Updated stat numbers to light green */
  color: var(--light-green);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

/* Added client logos slider styles */
/* Client Logos Section */
.clients-section {
  background: var(--white);
  padding: 3rem 0;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 4rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 80px;
  flex-shrink: 0;
}

.client-logo img {
  max-width: 150px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Removed grayscale, kept only opacity to maintain original logo colors */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  /* Full opacity on hover, no grayscale */
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

/* Services Section */
.services {
  padding: 5rem 2rem;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Added position relative and overflow hidden for background images */
  position: relative;
  overflow: hidden;
}

/* Added background images to service cards that appear on hover */
.service-card:nth-child(1)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95)), url("/images/hvac.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 0.95)), url("/images/spc.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:nth-child(4)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95)), url("/images/blr.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:nth-child(6)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95)), url("/images/bho.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

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

/* Ensure card content stays above background images */
.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  /* Updated hover border to green */
  border-color: var(--primary-green);
}

.service-card.featured {
  /* Updated featured card background to green gradient */
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
}

.service-card.featured h3,
.service-card.featured p {
  color: var(--white);
}

.service-card.featured .service-icon svg {
  /* Updated icon color to light green */
  color: var(--light-green);
}

.service-card.featured .service-link {
  /* Updated link color */
  color: var(--light-green);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  /* Updated icon color to green */
  color: var(--primary-green);
}

.service-card h3 {
  font-size: 1.375rem;
  /* Updated card heading to dark green */
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* Updated service link to green */
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  /* Updated hover state */
  color: var(--light-green);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* About Section */
.about {
  padding: 5rem 2rem;
  background: var(--white);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem;
}

.feature h3 {
  /* Updated feature heading to dark green */
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature p {
  color: var(--gray);
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background: var(--light-gray);
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  /* Updated focus state to green */
  border-color: var(--primary-green);
}

.submit-btn {
  /* Updated submit button to green */
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 8px;
  /* Fixed syntax error and completed CSS file */
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.submit-btn:hover {
  /* Updated hover to light green */
  background: var(--light-green);
  transform: translateY(-2px);
}

/* Enhanced about section with better layout */
.about-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-label {
  display: inline-block;
  /* Updated label color to green */
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.about-text .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  /* Updated title color to dark green */
  color: var(--dark-green);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-align: left;
}

.about-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Enhanced services section with better cards */
.services-section {
  padding: 5rem 2rem;
  background: var(--light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-label {
  display: inline-block;
  /* Updated section label to green */
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-header .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  /* Updated section title to dark green */
  color: var(--dark-green);
  line-height: 1.3;
}

.contact-section {
  padding: 5rem 2rem;
  background: var(--light-gray);
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

/* About page specific styles */
.about-hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
}

/* Solar Pump Product Page Styles */
.solar-pump-hero {
  background: linear-gradient(135deg, rgba(0, 128, 0, 0.95) 0%, rgba(0, 100, 0, 0.95) 100%);
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.solar-pump-hero-content {
  color: var(--white);
}

.solar-pump-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

.solar-pump-hero-content .hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 1.5rem;
  /* Changed from light-green to white for better contrast on green background */
  color: white;
  font-weight: 600;
}

.solar-pump-hero-content .hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.solar-pump-hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.solar-pump-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.solar-pump-challenge {
  padding: 5rem 2rem;
  background: var(--white);
}

.solar-pump-challenge .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.challenge-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--dark-green);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.challenge-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.challenge-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.challenge-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.solar-pump-solutions {
  padding: 5rem 2rem;
  background: var(--light-gray);
}

.solar-pump-solutions .container {
  max-width: 1200px;
  margin: 0 auto;
}

.solar-pump-solutions h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--dark-green);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

.solar-pump-solutions .section-intro {
  color: var(--gray);
  font-size: 1.0625rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.solution-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.solution-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.solution-card h3 {
  font-size: 1.375rem;
  color: var(--dark-green);
  margin: 1.5rem 1.5rem 0.75rem;
  font-weight: 600;
}

.solution-card p {
  color: var(--gray);
  line-height: 1.7;
  margin: 0 1.5rem 1.5rem;
  font-size: 1rem;
}

.supplier-info {
  padding: 5rem 2rem;
  background: white;
}

.supplier-info .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.supplier-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--dark-green);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.supplier-content h3 {
  font-size: 1.25rem;
  color: var(--light-green);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.supplier-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.supplier-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.supplier-cta .btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.supplier-cta .btn-primary {
  background: var(--light-green);
  color: white;
}

.supplier-cta .btn-primary:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 139, 34, 0.3);
}

.supplier-cta .btn-outline {
  border: 2px solid var(--light-green);
  color: var(--light-green);
  background: transparent;
}

.supplier-cta .btn-outline:hover {
  background: var(--light-green);
  color: white;
}

.supplier-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.supplier-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.solar-pump-benefits {
  padding: 5rem 2rem;
  background: var(--light-gray);
}

.solar-pump-benefits .container {
  max-width: 1200px;
  margin: 0 auto;
}

.solar-pump-benefits h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--dark-green);
  margin-bottom: 0.75rem;
  text-align: center;
  font-weight: 700;
}

.solar-pump-benefits .section-subtitle {
  color: var(--gray);
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--light-green), var(--dark-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2;
}

.benefit-item h3 {
  font-size: 1.25rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

.benefit-item p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .solar-pump-challenge .container,
  .supplier-info .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .challenge-image,
  .supplier-image {
    order: -1;
  }

  .solutions-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .supplier-cta {
    flex-direction: column;
  }

  .supplier-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* Added missing CTA section styling */
.cta-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--light-green), var(--dark-green));
  color: white;
  text-align: center;
}

.cta-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.cta-button svg {
  width: 20px;
  height: 20px;
  stroke: var(--dark-green);
}

/* Added styling for btn-cta class used in homepage */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.btn-cta svg {
  width: 20px;
  height: 20px;
  stroke: var(--dark-green);
}

/* Added missing footer styling */
.footer {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 2rem 2rem;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-column h4 {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-column p {
  line-height: 1.8;
  font-size: 0.9375rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9375rem;
}

.footer-column ul li a:hover {
  color: var(--light-green);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }
}

/* Responsive Design - Additional Mobile Styles */
@media (max-width: 1024px) {
  .sidebar {
    width: 220px;
  }

  .main-content {
    margin-left: 220px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .services-grid,
  .stats-grid,
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 280px;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar.active {
    left: 0;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .hero-content h1,
  .solar-pump-hero-content h1,
  .about-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content p,
  .solar-pump-hero-content .hero-description {
    font-size: 1rem;
  }

  .hero-carousel,
  .solar-pump-hero,
  .about-hero {
    min-height: 400px;
  }

  .services-grid,
  .stats-grid,
  .mission-vision-grid,
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .carousel-controls {
    bottom: 1rem;
  }

  .carousel-button {
    width: 40px;
    height: 40px;
  }

  .carousel-indicators {
    gap: 0.5rem;
  }

  .btn-cta,
  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .about-intro-text {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .logo h1 {
    font-size: 1.25rem;
  }

  .logo p {
    font-size: 0.625rem;
  }

  .top-bar {
    padding: 0.5rem 1rem;
  }

  .contact-info span {
    font-size: 0.75rem;
  }

  .hero-content h1,
  .solar-pump-hero-content h1,
  .about-hero h1 {
    font-size: 1.5rem;
  }

  .hero-content p,
  .solar-pump-hero-content .hero-description {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-item h3,
  .stat-item h3,
  .mission-card h3,
  .vision-card h3 {
    font-size: 1.25rem;
  }

  .btn-cta,
  .cta-button,
  .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }

  .carousel-controls {
    flex-direction: column;
    gap: 0.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-stats {
    padding: 2rem 1rem;
  }

  .solar-pump-hero-image img {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-carousel,
  .solar-pump-hero,
  .about-hero {
    min-height: 350px;
  }

  .hero-content h1,
  .solar-pump-hero-content h1,
  .about-hero h1 {
    font-size: 1.25rem;
  }

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

  .service-item,
  .stat-item,
  .mission-card,
  .vision-card {
    padding: 1.5rem;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-column ul li a {
    font-size: 0.875rem;
  }
}
