* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  overflow-x: hidden;
  background-color: #f1f1f1;
}
/* Loader Styles */
.loader {
  --dim: 3rem;
  width: var(--dim);
  height: var(--dim);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin988 2s linear infinite;
  z-index: 9999;
}
.loader .circle {
  --color: #333;
  --dim: 1.2rem;
  width: var(--dim);
  height: var(--dim);
  background-color: var(--color);
  border-radius: 50%;
  position: absolute;
}

.loader .circle:nth-child(1) {
  top: 0;
  left: 0;
}

.loader .circle:nth-child(2) {
  top: 0;
  right: 0;
}

.loader .circle:nth-child(3) {
  bottom: 0;
  left: 0;
}

.loader .circle:nth-child(4) {
  bottom: 0;
  right: 0;
}

@keyframes spin988 {
  0% {
    transform: scale(1) rotate(0);
  }
  20%, 25% {
    transform: scale(1.3) rotate(90deg);
  }
  45%, 50% {
    transform: scale(1) rotate(180deg);
  }
  70%, 75% {
    transform: scale(1.3) rotate(270deg);
  }
  95%, 100% {
    transform: scale(1) rotate(360deg);
  }
}
/* Hide the content initially */
#pageContent {
  display: block;
}
/* Navbar styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem;
  top: 0;
  position: sticky;
  z-index: 1000;
}
.brand-title {
  color: black;
  font-size: 1.5rem;
}
.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
  z-index: 3;
}
.bar {
  width: 30px;
  height: 3px;
  background-color: black;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.top-bar {
  width: 30px;
}

.middle-bar {
  width: 25px;
}

.bottom-bar {
  width: 20px;
}
/* For wide screens - show the nav-links inline */
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links ul {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin: 0 1rem;
  position: relative; /* Needed for dropdown positioning */
}
.nav-links a {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f0a500;
}
/* Dropdown menu for the Services link */
.services-link .dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  font-size: small;
  width: max-content;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.services-link:hover .dropdown {
  display: block;
}
.dropdown li {
  margin: 0;
}
.dropdown a {
  color: black;
  padding: 0.5rem 1rem;
  display: block;
  text-decoration: none;
  font-size: 1rem;
}
/* Mobile sidebar */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px; /* Initial hidden position */
  height: 100%;
  width: 250px;
  background-color: #333;
  transition: left 0.3s ease; /* Smooth slide-in effect */
  padding-top: 60px;
  z-index: 1000;
  overflow-y: auto; /* Allow scrolling for entire sidebar */
}

.side-menu.active {
  left: 0; /* Sidebar in view when active */
  max-height: 100vh; /* Restrict height to viewport to enable scrolling */
}
.side-menu ul {
  list-style: none;
  padding-left: 0;
}
.side-menu li {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.side-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
}

/* Side menu dropdown for services link with animation and scrollable content */
.side-services-link .side-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Smooth slide-down effect */
  list-style: none;
  padding: 0;
  margin-top: 10px;
  background-color: #444;
}

.side-services-link.active .side-dropdown {
  max-height: 200px; /* Set a specific height to enable scrolling */
  overflow-y: auto; /* Allow scrolling within the dropdown */
}

.side-dropdown li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-dropdown a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

.side-dropdown a:hover {
  background-color: #555;
}

/* Overlay for background when side menu is open */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Animation when menu is clicked */
.toggle-button.active .top-bar {
  transform: rotate(45deg) translate(5px, 5px);
}

.toggle-button.active .middle-bar {
  opacity: 0;
}

.toggle-button.active .bottom-bar {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* On mobile screens, hide the nav-links and show side menu */
@media (max-width: 768px) {
  .toggle-button {
      display: flex;
  }

  .nav-links {
      display: none;
  }

  .side-menu {
      display: block;
  }
}

/* On wide screens, hide the side menu and display nav-links inline */
@media (min-width: 769px) {
  .nav-links {
      display: flex;
  }

  .side-menu,
  .overlay {
      display: none;
  }
}
/* hero section */
.carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Occupy the entire slide */
  display: flex; /* To center content */
  flex-direction: column;
  justify-content: center; /* Vertical centering */
  align-items: center; /* Horizontal centering */
  color: white;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  background-color: rgba(0, 0, 0, 0.5); /* Full overlay background */
  animation: fadeInUp 1s ease-out;
}
.carousel-caption h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}
.carousel-caption p {
  max-width: 1100px;
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #f0f0f0;
}
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0051ff;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background-color 0.3s, transform 0.3s;
}
.cta-button:hover {
  background-color:#0051ffe0;
  transform: translateY(-3px);
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
.prev {
  left: 10px;
}

.next {
  right: 10px;
}
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Fade-in animation for the caption */
@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-caption {
      bottom: 10%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 90%;
      padding: 15px;
      text-align: center;
  }

  .carousel-caption h2 {
      font-size: 2rem;
  }

  .carousel-caption p {
      font-size: 1rem;
  }

  .cta-button {
      padding: 10px 25px;
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-caption {
      top: 50%;
      bottom: unset;
      transform: translate(-50%, -50%);
      max-width: 100%;
      padding: 10px;
      text-align: center;
  }

  .carousel-caption h2 {
      font-size: 1.8rem;
  }

  .carousel-caption p {
      font-size: 0.9rem;
  }

  .cta-button {
      padding: 8px 20px;
      font-size: 0.9rem;
  }
}

  /* Slider container */
  .slider-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 20px auto;
  }

  /* Slider track */
  .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  /* Slide items */
  .slide-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    min-width: 100%;
    color: #333;
    height: 200px;
  }

  /* Alternating colors */
  .slide-item:nth-child(odd) {
    color: #333333; 
  }

  .slide-item:nth-child(even) {
    color: #333333; 
  }

  /* Adjust width for large screens */
  @media (min-width: 768px) {
    .slide-item {
      min-width: 33.33%;
    }
  }

  /* Navigation buttons */
  .controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
  }

  .nav-button {
    background: rgba(0, 0, 0, 0);
    color: blue;
    border: none;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
  }

  /* Indicator dots */
  .indicators {
    text-align: center;
    margin-top: 15px;
  }

  .indicator-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .indicator-dot.active {
    background-color: #717171;
  }

  /* Services Heading */
.services-heading {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #004080;
}

.services-heading h1 {
  font-size: 2.5rem;
  color: #ffffff;
}

/* Energy Services Section */
.energy-services {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #004080;
  color: #fff;
  padding: 2rem;
  margin: 0; /* Removes margin */
}

.image-container {
  flex: 1;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px 0 0 10px;
  object-fit: cover;
}

.content-container {
  flex: 1;
  padding: 2rem;
}

.content-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.content-container p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.read-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #f0a500;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #cc8500;
}

/* Responsive Design for Energy Services Section */
@media (max-width: 768px) {
  .services-heading h1 {
    font-size: 2rem;
  }

  .energy-services {
    flex-direction: column;
  }

  .image-container img {
    border-radius: 10px 10px 0 0;
  }

  .content-container {
    padding: 1rem;
  }

  .content-container h2 {
    font-size: 1.5rem;
  }

  .content-container p {
    font-size: 0.9rem;
  }
}

/* Energy Services Section 2 */
.energy-services-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  color: black;
  padding: 2rem;
  margin: 0; /* Removes margin */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.energy-services-content {
  flex: 1;
  padding: 1.5rem;
}

.energy-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: black;
}

.energy-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: black;
}

.energy-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ffa500;
  color: #004080;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.energy-button:hover {
  background-color: #ff8800;
}

.energy-image {
  flex: 1;
}

.energy-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsive Design for Energy Services Section 2 */
@media (max-width: 768px) {
  .energy-services-section {
    flex-direction: column;
  }

  .energy-image img {
    border-radius: 10px 10px 0 0;
  }

  .energy-services-content {
    padding: 1rem;
    text-align: center;
  }

  .energy-title {
    font-size: 1.5rem;
  }

  .energy-description {
    font-size: 0.9rem;
  }
}
/* Reset Margins for Headings and Paragraphs */
.energy-services h2,
.energy-services p,
.energy-services-section h2,
.energy-services-section p {
  margin: 0; /* Removes margins for headings and paragraphs */
}


/* Container for the partner slider */
.partner-slider-section {
  text-align: center;
  margin: 40px auto;
  max-width: 100%;
}

/* Section Heading */
.slider-heading {
  font-size: 2rem;
  color: #0044cc;
  margin-bottom: 20px;
}

/* Partner slider container */
.partner-slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

/* Partner slider track */
.partner-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Partner items */
.partner-item {
  min-width: 100%;
  padding: 20px;
}

/* Responsive image styling */
.partner-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Adjust width for larger screens */
@media (min-width: 768px) {
  .partner-item {
    min-width: 33.33%;
  }
}

/* Navigation buttons */
.partner-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.partner-nav-btn {
  background: rgba(0, 0, 0, 0);
  color: blue;
  border: none;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
}

/* Indicator dots */
.partner-indicators {
  text-align: center;
  margin-top: 15px;
}

.partner-dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.partner-dot.active {
  background-color: #717171;
}



  /* Container for the client slider */
  .client-slider-section {
    text-align: center;
    margin: 40px auto;
    max-width: 100%;
  }

  /* Section Heading */
  .slider-heading {
    font-size: 2rem;
    color: #0044cc;
    margin-bottom: 20px;
  }

  /* Client slider container */
  .client-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
  }

  /* Client slider track */
  .client-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  /* Client items */
  .client-item {
    min-width: 100%;
    padding: 20px;
  }

  /* Responsive image styling */
  .client-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  /* Adjust width for larger screens */
  @media (min-width: 768px) {
    .client-item {
      min-width: 33.33%;
    }
  }

  /* Navigation buttons */
  .client-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
  }

  .client-nav-btn {
    background: rgba(0, 0, 0, 0);
    color: blue;
    border: none;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
  }

  /* Indicator dots */
  .client-indicators {
    text-align: center;
    margin-top: 15px;
  }

  .client-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .client-dot.active {
    background-color: #717171;
  }

/* footer */
.footer {
  background-color: #0D3973;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  margin: 20px;
}
.footer-col a{
  text-decoration: none;
  color: white;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-col p,
.footer-col ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.social-icons a img {
  width: 20px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
  margin: 5px 0;
}

.footer-bottom a{
  text-decoration: none;
  color: black;
  font-weight: bolder;

}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-col {
      margin: 10px 0;
  }

  .social-icons {
    margin-top: 10px;
    justify-content: center;
  }
}

/* back to top  */
#scrollToTopBtn {
  display: none; 
  position: fixed; 
  bottom: 20px; 
  right: 30px;
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: #555; 
  color: white; 
  cursor: pointer; 
  padding: 10px; 
  border-radius: 10px; 
  font-size: 18px; 
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

#scrollToTopBtn:hover {
  background-color: #333; 
  transform: scale(1.1); 
}



