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

  html,
    body {
        scroll-behavior: smooth;
        scroll-behavior: auto;
        height: 100%;
        width: 100%;
        overflow-x: hidden;
    }
  
  body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
  }


  /* Hamburger Menu Start */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 25px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #0a2540;
  transition: all 0.6s ease;
}

/* Mobile View */
@media (max-width: 900px) {
  .nav-bar{
    justify-content: space-between !important;
    padding-inline: 30px;
  }
  .nav-link {
      display: none; /* Hide navigation links by default */
      position: absolute;
      top: 110px;
      left: 0;
      width: 100%;
      flex-direction: column;
      padding: 10px 0;
      background-color: #fafafa;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link ul {
      flex-direction: column; /* Stack links vertically */
      gap: 1rem;
      align-items: center;
  }

  .nav-link ul li {
      width: 100%; /* Full width for each item */
      text-align: center;
  }

  .button {
    display: none;
    margin: 10px auto;
  }

  .hamburger {
      display: flex; /* Show hamburger menu */
  }

  /* Toggle Hamburger Menu */
  .nav-bar.active .nav-link{
      display: flex; /* Show navigation links when active */
      z-index: 100;
  }
}

/* Hamburger Menu End */
.nav-bar{
    background-color: #fafafa;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.nav-link ul{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.nav-link ul li{
    list-style: none;
    position: relative;
}

.nav-link ul li a{
    text-decoration: none;
    color: #0a2540;
}

.nav-link ul li:after {
    content: "";
    position: absolute;
    background-color: #0a2540;
    height: 3px;
    width: 0;
    left: 0;
    top: 22px;
    transition: all ease-in-out .3s;
 }
 
 .nav-link ul li:hover:after{
    width: 100%;
 }

.nav-link ul li a:hover{
    color: #084179;
}

.button{
    padding-inline: 20px;
    padding-block: 8px;
    border: 2px solid #0a2540;
    border-radius: 18px;
    background-color: transparent;
    color: #0a2540;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button a{
  text-decoration: none;
  color: #0a2540;
}

.button:hover{
    background-color: #0a2540;
    color: #fafafa;
}


  /* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  .blend-mode-overlay{
    height: 100vh;
    width: 100%;
    background-color: #0077b5;
    mix-blend-mode: color;
    opacity: 0.4;
    position: absolute;
  }


  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 2;
  }
  
  .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 10;
  }
  
  .overlay h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    width: auto;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  }
  
  .overlay p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  }
  
  .overlay .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    background: #003366;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
  }
  
  .overlay .btn:hover {
    background: #005599;
  }
  
  
  /* About Section Styles */
  .about-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  
  .about-container {
    display: flex;
    align-items: center; /* Aligns items vertically */
    gap: 20px; /* Adds space between the columns */
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .about-content {
    max-width: 600px;
  }
  
  .about-content h2 {
    margin-bottom: 10px;
    font-size: 2rem;
    color: #333;
  }
  
  .about-content blockquote {
    margin: 20px 0;
    font-style: italic;
    color: #555;
    border-left: 4px solid #1DA1F2;
    padding-left: 10px;
  }
  .italic {
    font-style: italic;
  }
  
  
  .about-content p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.6;
    color: #666;
  }
  
  .about-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1DA1F2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .about-content .btn:hover {
    background-color: #0d8ecf;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }
  
    .about-image {
      max-width: 100%;
    }

    .overlay .btn{
      font-size: 1rem;
    }
  }
  
  
  /* Left Column: Image and Label */
  .about-image {
    /* flex: 1; */
    position: relative;
  }
  
  .about-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .about-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #003366;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
  }
  
  /* Right Column: Content */
  .about-content {
    padding: 20px;
  }
  
  .about-content h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 10px;
  }
  
  .about-content blockquote {
    font-size: 20px;
    color: #005599;
    font-style: italic;
    margin: 10px 0 20px;
    border-left: 4px solid #003366;
    padding-left: 10px;
  }
  
  .about-content p {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  .about-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #003366;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
  }
  
  .about-content .btn:hover {
    background: #005599;
  }
  @media screen and (max-width: 768px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }
  
    .about-image img {
      width: 100%;
      margin-bottom: 10px;
    }
  
    .about-content {
      padding: 0 10px;
    }

    .content h1{
      font-size: 24px !important;
    }

    .content p{
      font-size: 14px !important;
    }
  }
  
  @media screen and (max-width: 480px) {
    .about-content p {
      font-size: 0.9rem;
    }
  
    .about-content h2 {
      font-size: 1.5rem;
    }
  }
  
/* Section Styling */
.hero-hvac {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  padding: 50px;
  background-image: url('backgrounds.jpg');
  background-size: cover;
  background-position: bottom;
  color: #ffffff;
}

.content {
  /* flex: 2; */
  max-width: 500px;
  /* padding-right: 20px; */
}

.content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.content p {
  font-size: 18px;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 8px;
  text-align: justify;
}
@media screen and (max-width: 768px) {
  .hero-slider .overlay {
    text-align: center;
    padding: 0 10px;
  }

  .hero-slider .overlay h1 {
    font-size: 2rem;
  }

  .hero-slider .overlay p {
    font-size: 1rem;
  }

  .hero-slider .btn {
    margin: 10px auto;
  }
}

@media screen and (max-width: 480px) {
  .hero-slider .overlay h1 {
    font-size: 1.5rem;
  }

  .hero-slider .overlay p {
    font-size: 0.9rem;
  }
}

/* Slider Styling */
.slider {
/* flex: 1; */
overflow: hidden;
position: relative;
max-width: 500px; /* Adjusted size for larger images */
height: fit-content;    /* Square dimensions */
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media(max-width: 980px)
{
.hero-hvac {
  flex-direction: column;
  gap: 2rem;
}
}

.slider-wrapper {
display: flex;
transition: transform 0.5s ease-in-out;
}

.aslide {
min-width: 100%;
box-sizing: border-box;
}

.aslide img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image fills the square container */
border-radius: 10px;
}


/* Navigation Buttons */
button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

button.prev:hover, button.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}



  .column-section{
    width: 100vw;
    text-align: center;
    padding-inline: 4rem;
    padding-block: 2rem;
  }

  .column-section > h1{
    color: #003366;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .why-dcpl{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    width: 100%;
  }

  .why-container{
    display: grid;
    /* place-items: center; */
    background-color: #003366;
    color: white;
    height: 40vh;
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    padding: 20px;
  }

  .why-container p{
    text-align: justify;
    text-wrap: wrap;
    font-size: 16px;
  }
  .why-container h1{
    text-align: left;
    text-wrap: wrap;
  }

  .why-container .fa-solid{
    font-size: 40px;
    text-align: left;
  }

  @media screen and (max-width: 768px) {
    .why-dcpl {
      flex-direction: column;
      gap: 10px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .why-container {
      padding: 10px;
      font-size: 0.9rem;
    }
  }
  
  /* General section styling */
.services {
  text-align: center;
  padding: 20px;
  background-image: url('backgrounds.jpg'); /* Background for the whole section */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* General section styling */
/* Projects title */
.projects {
 display: grid;
 place-items: center;
 gap: 1.4rem;
 margin-block: 2rem;
}

.projects h1 {
  font-size: 2rem;
  color: #003366;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.sliders{
  width: 100%;
  max-width: 80vw;
  height: var(--height);
  padding-bottom: 15px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #252525 10% 90%, transparent);
}

.sliders .list{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.sliders .list .item{
  display: grid;
  place-items: center;
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  top: 50%;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  border-radius: 8px; 
  cursor: pointer;
  transition: filter 0.5s;
  animation: autoRun 12s linear infinite;
}

.sliders .list .item:nth-child(1){
  animation-delay: 0s;
}
.sliders .list .item:nth-child(2){
  animation-delay: 1s;
}
.sliders .list .item:nth-child(3){
  animation-delay: 2s;
}
.sliders .list .item:nth-child(4){
  animation-delay: 3s;
}
.sliders .list .item:nth-child(5){
  animation-delay: 4s;
}
.sliders .list .item:nth-child(6){
  animation-delay: 5s;
}
.sliders .list .item:nth-child(7){
  animation-delay: 6s;
}
.sliders .list .item:nth-child(8){
  animation-delay: 7s;
}
.sliders .list .item:nth-child(9){
  animation-delay: 8s;
}
.sliders .list .item:nth-child(10){
  animation-delay: 9s;
}
.sliders .list .item:nth-child(11){
  animation-delay: 10s;
}
.sliders .list .item:nth-child(12){
  animation-delay: 11s;
}
.sliders .list .item:nth-child(13){
  animation-delay: 12s;
}

.sliders .list .item img{
  width: 100%;
  object-fit: contain; 
  object-position: center;
}

.sliders:hover .item{
  animation-play-state: paused !important;
  filter: grayscale(0.8);
}

.sliders .item:hover{
  filter: grayscale(0);
}

.sliders[reverse="true"] .item{
  animation: reversePlay 12s linear infinite;
}

@keyframes autoRun{
  from{
      left: 100%;
  }
  to{
      left: calc(var(--width) * -1);
  }
}

@keyframes reversePlay{
  from{
    left: calc(var(--width) * -1);
  }
  to{
    left: 100%;
  }
}




/* Optional: Style the background color of the section */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}




  /* LAbout Section Styles */
.labout-section {
  padding: 50px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
}

.labout-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

/* Left Column: Image and Label */
.labout-image {
  position: relative;
}

.labout-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.labout-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #003366;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

/* Right Column: Content */
.labout-content {
  flex: 2;
  padding: 20px;
}

.labout-content h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 10px;
}

.labout-content blockquote {
  font-size: 20px;
  color: #005599;
  font-style: italic;
  margin: 10px 0 20px;
  border-left: 4px solid #003366;
  padding-left: 10px;
}

.labout-content p {
  font-size: 16px;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.labout-content .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #003366;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.labout-content .btn:hover {
  background: #005599;
}

  
  /* Footer Styling */
  footer {
    background-color: #0a2540;
    width: 100%;
    bottom: 0;
    left: 0;
  }
  footer .content {
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
  }
  footer .content .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 50px;
  }
  .content .top .logo-details {
    color: #fff;
    font-size: 30px;
  }

  .content .top .logo-details img {
    width: 100%;
    max-width: fit-content;
    max-height: fit-content;
  }
  .content .top .media-icons {
    display: flex;
  }
  .content .top .media-icons a {
    height: 40px;
    width: 40px;
    margin: 0 8px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s ease;
  }
  .top .media-icons a:nth-child(1) {
    background: #4267b2;
  }
  .top .media-icons a:nth-child(1):hover {
    color: #4267b2;
    background: #fff;
  }
  .top .media-icons a:nth-child(2) {
    background: #e1306c;
  }
  .top .media-icons a:nth-child(2):hover {
    color: #e1306c;
    background: #fff;
  }
  /* Twitter icon */
.top .media-icons a:nth-child(4) {
  background: #1DA1F2; /* Twitter blue background */
}

.top .media-icons a:nth-child(4):hover {
  color: #1DA1F2; /* Twitter blue text on hover */
  background: #fff; /* White background on hover */
}

  .top .media-icons a:nth-child(3) {
    background: #0077b5;
  }
  .top .media-icons a:nth-child(3):hover {
    color: #0077b5;
    background: #fff;
  }
  
  
  footer .content {
    border-bottom: 1px solid white;
  }
  footer .content .link-boxes {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }
  
  footer .content .link-boxes .box {
    width: calc(100% / 5 - 10px);
  }
  
  .content .link-boxes .box .link_name {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
  }
  .link-boxes .box .link_name::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
  }
  .content .link-boxes .box li {
    margin: 6px 0;
    list-style: none;
    width: fit-content;
  }
  .content .link-boxes .box li a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease;
  }

  .MBO{
    color: #fff;
    text-align: justify;
  }

  .content .link-boxes .box li a:hover {
    opacity: 1;
    text-decoration: underline;
  }
  .content .link-boxes .input-box {
    margin-right: 55px;
  }

  .location{
    display: grid;
    place-items: center;
    gap: 1.4rem;
    margin-top: 2rem;
    max-width: 100%;
    display: none;
  }
  
  .location h1{
    font-size: 2rem;
    color: #003366;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .location iframe{
    /* mask-image: linear-gradient(to top, transparent, #252525 10% 90%, transparent); */
    width: 100%;
  }

  .map{
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 16px;
  }

  .map iframe{
    width: 100%;
  }


  footer .bottom-details {
    width: 100%;
    background: #0a2540;
  }
  footer .bottom-details .bottom_text {
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
  }
  .bottom-details .bottom_text a:hover {
    opacity: 1;
    text-decoration: underline;
  }
  .bottom-details .bottom_text a {
    margin-right: 10px;
  }
  @media (max-width: 900px) {
    footer .content .link-boxes {
      flex-wrap: wrap;
    }
    footer .content .link-boxes .input-box {
      width: 40%;
      margin-top: 10px;
    }
    .map{
      display: none !important;
    }
    .location{
      display: grid;
    }
  }
  @media (max-width: 700px) {
    footer {
      position: relative;
    }
    .content .top .logo-details {
      font-size: 26px;
    }
    .content .top .media-icons a {
      height: 35px;
      width: 35px;
      font-size: 14px;
      line-height: 35px;
    }
    footer .content .link-boxes .box {
      width: calc(100% / 3 - 10px);
    }
    footer .content .link-boxes .input-box {
      width: 60%;
    }
    .bottom-details .bottom_text span,
    .bottom-details .bottom_text a {
      font-size: 12px;
    }
  }
  @media (max-width: 520px) {
    footer::before {
      top: 145px;
    }
    footer .content .top {
      flex-direction: column;
    }
    .content .top .media-icons {
      margin-top: 16px;
    }
    footer .content .link-boxes .box {
      width: calc(100% / 2 - 10px);
    }
    footer .content .link-boxes .input-box {
      width: 100%;
    }
    .text-wrapper{
        padding: 1rem !important;
    }
    .awesome{
        max-width: 250px !important;
    }
  }



  /* Animating Website */
  .animatedDiv{
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s, opacity 0.5s ease-in-out;
  }

  .animate-zoomIn{
    opacity: 1;
    visibility: visible;
    animation: zoomIn alternate 1.2s ease-in;
  }

  @keyframes zoomIn {
    0% {
      transform: scale(0);
      opacity: 0;
      visibility: hidden;
    }
    50% {
      transform: scale(1.2);
      opacity: 1;
      visibility: visible;
    }
    100% {
      transform: scale(1);
      opacity: 1;
      visibility: visible;
    }
  }

  .animate-fadeLeft{
    opacity: 1;
    visibility: visible;
    animation: fadeLeft alternate 1.2s ease-in;
  }

  @keyframes fadeLeft {
    0% {
      transform: translateX(-50px);
      opacity: 0;
      visibility: hidden;
    }
    100% {
      transform: translateX(0px);
      opacity: 1;
      visibility: visible;
    }
  }

  .animate-fadeRight{
    opacity: 1;
    visibility: visible;
    animation: fadeRight alternate 1.2s ease-in;
  }

  @keyframes fadeRight {
    0% {
      transform: translateX(50px);
      opacity: 0;
      visibility: visible;
      }
    100% {
      transform: translateX(0px);
      opacity: 1;
      visibility: visible;
    }
  }

  .animate-fadeUp{
    opacity: 1;
    visibility: visible;
    animation: fadeUp alternate 1.2s ease-in;
  }

  @keyframes fadeUp {
    0% {
      transform: translateY(50px);
      opacity: 0;
      visibility: visible;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
      visibility: visible;
    }
  }

  .animate-fadeDown{
    opacity: 1;
    visibility: visible;
    animation: fadeDown alternate 1.2s ease-in;
  }

  @keyframes fadeDown {
    0% {
      transform: translateY(-50px);
      opacity: 0;
      visibility: visible;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
      visibility: visible;
    }
  }