header {
  /* Add necessary styles for your header, like height, background, etc. */
  position: relative; /* Important for positioning the slideshow container */
  overflow: hidden; /* Prevent potential overflow issues */
}


.slideshow-container {
  position: relative; /* Container for the slideshow */
  width: 100%; /* Adjust as needed */
  height: 100%; /* Adjust as needed */
  overflow: hidden; /* Prevents overflow of images */
}

.slideshow {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute; /* Position relative to the slideshow-container */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slideshow li {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slideshow li span {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  animation: imageAnimation 30s linear infinite 0s;
}

/* Rest of your image definitions and keyframes remain the same */
.slideshow li:nth-child(1) span {
  background-image: url("");
}
.slideshow li:nth-child(2) span {
  background-image: url("");
  animation-delay: 6s;
}
.slideshow li:nth-child(3) span {
  background-image: url("https://uploads-ssl.webflow.com/5976a3655fcd654cb3d604ca/5c00c9963ea913260bb41b0e_powerlines.jpg");
  animation-delay: 12s;
}
.slideshow li:nth-child(4) span {
  background-image: url("https://uploads-ssl.webflow.com/5976a3655fcd654cb3d604ca/5bfa14d04ae3429879830ee4_home-hero.jpg");
  animation-delay: 18s;
}
.slideshow li:nth-child(5) span {
  background-image: url("https://uploads-ssl.webflow.com/5976a3655fcd654cb3d604ca/5c00c9963ea913260bb41b0e_powerlines.jpg");
  animation-delay: 24s;
}

@keyframes imageAnimation {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes titleAnimation {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  17% {
    opacity: 1;
  }
  19% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.no-cssanimations .cb-slideshow li span {
  opacity: 1;
}

  /* Mobile Menu Toggle Button */
#mobile-menu-toggle {
  display: none; /* Hide by default on larger screens */
  background: none;
  border: none;
  color: white;
  background-color: black;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {

  /* Hide the nav links by default */
  .nav-links {
    display: flex; /* Ensures it's always visible on larger screens */
    gap: 15px; /* Adjust spacing as needed */
    background-color: black !important;
      
}

/* Hide nav-links on smaller screens */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 10;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

  #mobile-menu-toggle {
    display: block; /* Show on mobile screens */
    position: fixed; /* Fix the button to the screen */
    top: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    z-index: 1001; /* Ensure it's above other elements */
  }

  /* Style the nav links for mobile */
  .nav-links a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }

  /* Remove the border from the last link */
  .nav-links a:last-child {
    border-bottom: none;
  }
}
  .cta-section {
  background: linear-gradient(to bottom right, #1f1f1f, #0a0a0a);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.cta-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.cta-section form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-section input,
.cta-section textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.cta-section textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-details {
  flex: 1;
  text-align: left;
}

.map-container {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.contact-info {
  background: var(--card-background);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.contact-info p {
  color: #b0b0b0;
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
}

.contact-info a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
  }

  .contact-details {
    width: 100%;
  }
}
    :root {
      --primary-color: #3498db; /* Updated to blue */
      --background-dark: #1a1a1a;
      --text-light: #e0e0e0;
      --card-background: #333;
      --accent-color: #3498db; /* Updated to blue */
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Roboto', sans-serif;
      background-color: var(--background-dark);
      color: var(--text-light);
      line-height: 1.6;
      overflow-x: hidden;
    }
    header {
      height: 100vh;
      background: linear-gradient(to bottom right, #0a0a0a, #1f1f1f);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
      position: relative;
    }
    header::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(to right, #2980b9, #3498db); /* Updated to blue gradient */
    }
    #navbar {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(26, 26, 26, 0.9);
      z-index: 1000;
      padding: 10px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    #navbar .logo {
      height: 70px;
      width:100px;
      background-color: black;
    }
    #navbar .nav-links {
      display: flex;
      gap: 20px;
    }
    #navbar a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      position: relative;
      padding: 10px 15px;
      transition: color 0.3s ease;
    }
    #navbar a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: white;
      transition: width 0.3s ease;
    }
    #navbar a:hover {
      color: var(--accent-color);
    }
    #navbar a:hover::after {
      width: 100%;
    }
    #navbar a.active {
      color: var(--accent-color);
    }
    .hero-content {
      position: absolute; /* Ensure it stays on top of the slideshow */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Higher than the slideshow */
  opacity: 1 !important; /* Prevent unwanted fading */
  visibility: visible 
      
    }

    .hero-content h1 {
      white-space: wrap; /* Prevents text from wrapping */
  font-size: clamp(1.5rem, 4vw, 3rem); /* Adjust size dynamically based on screen width */
  text-align: center;
  width:100%; /* Ensures it's centered */
  max-width: 90w; /* Ensures it doesn't overflow */

      
    }

    .hero-content p {
      font-size: clamp(1rem, 2vw, 1.5rem); /* Adjust size dynamically */
      max-width: 80vw; /* Ensures it spans across the screen */
      line-height: 1.6; /* Improves readability */
      text-align: center; /* Keeps it visually centered */
      margin: 0 auto; /* Centers it properly */
    }

  
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    header h1 {
      font-size: 4rem;
      font-weight: 700;
    }
    header p {
      margin-top: 10px;
      font-size: 1.3rem;
      max-width: 600px;
      margin: 10px auto;
    }
    button {
      background: var(--primary-color);
      color: white;
      border: none;
      padding: 12px 24px;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      border-radius: 8px;
      transition: background 0.3s, transform 0.2s;
      margin-top: 20px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }
    button:hover {
      background: #2980b9; /* Darker blue on hover */
      transform: translateY(-3px);
    }
    button:focus {
      outline: 2px solid var(--accent-color);
      outline-offset: 2px;
    }
    .features {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      padding: 80px 20px;
      background-color: #262626;
    }
    .feature-card {
      background: var(--card-background);
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      text-align: center;
      transition: transform 0.2s;
    }
    .feature-card:hover {
      transform: translateY(-5px);
    }
    .feature-card i {
      font-size: 2.5rem;
      color: var(--accent-color);
      margin-bottom: 15px;
    }
    .feature-card h3 {
      font-size: 1.7rem;
      font-weight: bold;
      margin-bottom: 15px;
      color: white;
    }
    .feature-card p {
      color: #b0b0b0;
      font-size: 1rem;
    }
    .projects {
      padding: 80px 20px;
      background: var(--background-dark);
      text-align: center;
      overflow: hidden;
    }

    .projects h2 {
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 40px;
      color: white;
    }
    .projects-container {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding-bottom: 20px;
      justify-content: space-evenly;
    }
    .project-card {
      flex: 0 0 auto;
      width: 300px;
      background: var(--card-background);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      text-align: left;
      transition: transform 0.2s;
    }
    .project-card:hover {
      transform: translateY(-5px);
    }
    .project-card h3 {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 10px;
      color: white;
    }
    .project-card p {
      color: #b0b0b0;
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
    .project-card .technologies {
      font-weight: bold;
      color: var(--accent-color);
    }
    .cta-section {
      background: linear-gradient(to bottom right, #1f1f1f, #0a0a0a);
      color: white;
      text-align: center;
      padding: 100px 20px;
    }
    .cta-section h2 {
      font-size: 2.5rem;
      font-weight: bold;
    }
    .cta-section form {
      max-width: 600px;
      margin: 20px auto;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .cta-section input,
    .cta-section textarea {
      padding: 10px;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 1rem;
    }
    .cta-section textarea {
      resize: vertical;
      min-height: 150px;
    }
    .clients {
      padding: 40px 20px;
      background: #262626;
      text-align: center;
      overflow: hidden;
    }
    .clients h2 {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 20px;
      color: white;
    }
    .clients-container {
      display: flex;
      gap: 40px;
      animation: scroll 20s linear infinite;
    }
    .clients-container:hover {
      animation-play-state: paused;
    }
    .clients-container img {
      height: 50px;
      opacity: 0.7;
      transition: opacity 0.3s;
    }
    .clients-container img:hover {
      opacity: 1;
    }
    @keyframes scroll {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }
    .testimonials {
      padding: 80px 20px;
      background: var(--background-dark);
      text-align: center;
    }
    .testimonials h2 {
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 40px;
      color: white;
    }
    .testimonials-container {
      display: flex;
      gap: 20px;
      justify-content: center;
    }
    .testimonial-card {
      background: var(--card-background);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      max-width: 400px;
      text-align: left;
    }
    .testimonial-card p {
      color: #b0b0b0;
      font-size: 1rem;
      margin-bottom: 10px;
    }
    .testimonial-card .client-name {
      font-weight: bold;
      color: var(--accent-color);
    }
    footer {
      background: #111;
      color: white;
      text-align: center;
      padding: 40px 20px;
      margin-top: 40px;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 20px;
    }
    .footer-links a {
      color: white;
      text-decoration: none;
      opacity: 0.7;
      transition: opacity 0.3s;
    }
    .footer-links a:hover {
      opacity: 1;
    }
    .social-links {
      margin-bottom: 20px;
    }
    .social-links a {
      color: white;
      margin: 0 10px;
      font-size: 1.2rem;
    }
    footer p {
      opacity: 0.7;
    }
    #back-to-top {
      display: none;
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: var(--primary-color);
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: background 0.3s, transform 0.2s;
    }
    #back-to-top:hover {
      background: #2980b9; /* Darker blue on hover */
      transform: translateY(-3px);
    }
    .about {
      padding: 80px 20px;
      background: var(--background-dark);
      text-align: center;
    }
    .about h2 {
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 40px;
      color: white;
    }
    .about-content {
      display: flex;
      gap: 40px;
      align-items: center;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
    }
    .about-text {
      flex: 1;
      text-align: left;
    }
    .about-text h3 {
      font-size: 1.8rem;
      font-weight: bold;
      margin-bottom: 15px;
      color: white;
    }
    .about-text p {
      color: #b0b0b0;
      font-size: 1rem;
      margin-bottom: 20px;
    }
    .about-image {
      flex: 1;
    }
    .about-image img {
      width: 100%;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
    @media (max-width: 768px) {
      .features {
        grid-template-columns: 1fr;
      }
      header h1 {
        font-size: 2.5rem;
      }
      header p {
        font-size: 1rem;
      }
      #navbar {
        padding: 10px 20px;
      }
      #navbar .nav-links {
        gap: 10px;
      }
      .about-content {
        flex-direction: column;
      }
      .about-text {
        text-align: center;
      }
    }
