.span {
  color: #4cbb17;
}

.title {
  font-size: 35px;
}

.title h2 {
  color: black;
}

/* our partners */

.marquee-wrapper {
      --marquee-width: 100vw;
      --marquee-height: 20vh;
      --marquee-elements-displayed: 5;
      --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
      --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
      font-family: 'Montserrat', sans-serif;
    }

    .marquee-wrapper .marquee {
      width: var(--marquee-width);
      height: var(--marquee-height);
      background-color: #fff;
      overflow: hidden;
      position: relative;
      margin: 0 auto;
    }

    .marquee-wrapper .marquee::before,
    .marquee-wrapper .marquee::after {
      position: absolute;
      top: 0;
      width: 10rem;
      height: 100%;
      content: "";
      z-index: 1;
    }

    .marquee-wrapper .marquee::before {
      left: 0;
      background: linear-gradient(to right, #fff 0%, transparent 100%);
    }

    .marquee-wrapper .marquee::after {
      right: 0;
      background: linear-gradient(to left, #fff 0%, transparent 100%);
    }

    .marquee-wrapper .marquee-content {
      list-style: none;
      height: 100%;
      display: flex;
      animation: marquee-scroll var(--marquee-animation-duration) linear infinite;
      padding: 0;
      margin: 0;
    }

    @keyframes marquee-scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
      }
    }

    .marquee-wrapper .marquee-content li {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-shrink: 0;
      width: var(--marquee-element-width);
      max-height: 100%;
      white-space: nowrap;
      padding: 0.5rem;
    }

    .marquee-wrapper .marquee-content li img {
      max-width: 100%;
      max-height: 100%;
      border-radius: 8px;
      object-fit: contain;
    }

    @media (max-width: 600px) {
      .marquee-wrapper {
        --marquee-width: 100vw;
        --marquee-height: 16vh;
        --marquee-elements-displayed: 3;
      }

      .marquee-wrapper .marquee::before,
      .marquee-wrapper .marquee::after {
        width: 5rem;
      }
    }

/* contact section css */

        .contact-section {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
        }

        .contact-section .map,
        .form {
            width: 50%;
            padding: 20px;
        }

        .contact-section iframe {
            width: 100%;
            height: 100%;
            min-height: 400px;
            border: none;
        }

        .contact-section form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .contact-section input,
        .contact-section textarea {
            padding: 10px;
            font-size: 14px;
            width: 100%;
        }

        .contact-section .captcha-row {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .contact-section .captcha-box {
            background-color: white;
            padding: 8px;
            font-weight: bold;
            font-size: 16px;
            width: 80px;
            text-align: center;
            letter-spacing: 2px;
            user-select: none;
            border: 1px solid black;
        }

        .contact-section input[name="captcha_input"] {
            width: 120px;
            border: 1px solid black;
        }

        .contact-section .form button {
            padding: 10px;
            background-color: #0BDA51;
            color: black;
            border: none;
            cursor: pointer;
        }

        @media screen and (max-width: 768px) {

            .contact-section .map,
            .contact-section .form {
                width: 100%;
            }
        }

/* testimonial section css */

.carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 20px;
  background-image: url('../images/bg1.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.client-image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  margin-bottom: 15px;
  border-radius: 50%;
}

.client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.client-details .review {
  font-style: italic;
  margin: 5px 0;
  max-width: 1200px;
}

.client-details .name {
  font-weight: bold;
  margin-top: 5px;
}

.client-details .location,
.client-details .designation {
  font-size: 14px;
  color: #666;
  margin: 2px 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .client-image {
    width: 90px;
    height: 90px;
  }

  .client-details .review {
    font-size: 14px;
    max-width: 300px;
    text-align: justify;
  }
}


/* about section css */

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 10px;
  background-image: url('../images/bg1.webp');
  background-size: cover;
}

.about-image-container {
  flex: 1 1 300px;
  text-align: center;
}

.text-container {
  flex: 1 1 300px;
}

.text-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.text-container p {
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
}

.title {
  text-align: center;
  color: #333;
  font: 24px Helvetica, Arial, serif;
}
.creds {
  text-align: center;
  color: #666;
  font: 12px Helvetica, Arial, serif;
}
.creds a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
}
.three-d-container {
  margin: 0px auto;
  width: 300px;
  height: 300px;
  position: relative;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  -ms-perspective: 1000px;
  -o-perspective: 1000px;
  perspective: 1000px;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 0, 0, 0.2) inset;
  -moz-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 0, 0, 0.2) inset;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.2) inset;
}
.three-d-cube {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transition: -webkit-transform 1s;
  -moz-transition: -moz-transform 1s;
  -o-transition: -o-transform 1s;
  transition: transform 1s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(-150px);
  -moz-transform: translateZ(-150px);
  -ms-transform: translateZ(-150px);
  -o-transform: translateZ(-150px);
  transform: translateZ(-150px);
}
.three-d-cube .three-d-item {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  position: absolute;
}
.three-d-cube .three-d-item img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
}
.three-d-item:nth-child(1) {
  -webkit-transform: rotateY(0deg) translateZ(150px);
  -moz-transform: rotateY(0deg) translateZ(150px);
  -ms-transform: rotateY(0deg) translateZ(150px);
  -o-transform: rotateY(0deg) translateZ(150px);
  transform: rotateY(0deg) translateZ(150px);
}
.three-d-item:nth-child(2) {
  -webkit-transform: rotateX(180deg) translateZ(150px);
  -moz-transform: rotateX(180deg) translateZ(150px);
  -ms-transform: rotateX(180deg) translateZ(150px);
  -o-transform: rotateX(180deg) translateZ(150px);
  transform: rotateX(180deg) translateZ(150px);
}
.three-d-item:nth-child(3) {
  -webkit-transform: rotateY(90deg) translateZ(150px);
  -moz-transform: rotateY(90deg) translateZ(150px);
  -ms-transform: rotateY(90deg) translateZ(150px);
  -o-transform: rotateY(90deg) translateZ(150px);
  transform: rotateY(90deg) translateZ(150px);
}
.three-d-item:nth-child(4) {
  -webkit-transform: rotateY(-90deg) translateZ(150px);
  -moz-transform: rotateY(-90deg) translateZ(150px);
  -ms-transform: rotateY(-90deg) translateZ(150px);
  -o-transform: rotateY(-90deg) translateZ(150px);
  transform: rotateY(-90deg) translateZ(150px);
}
.three-d-item:nth-child(5) {
  -webkit-transform: rotateX(90deg) translateZ(150px);
  -moz-transform: rotateX(90deg) translateZ(150px);
  -ms-transform: rotateX(90deg) translateZ(150px);
  -o-transform: rotateX(90deg) translateZ(150px);
  transform: rotateX(90deg) translateZ(150px);
}
.three-d-item:nth-child(6) {
  -webkit-transform: rotateX(-90deg) translateZ(150px);
  -moz-transform: rotateX(-90deg) translateZ(150px);
  -ms-transform: rotateX(-90deg) translateZ(150px);
  -o-transform: rotateX(-90deg) translateZ(150px);
  transform: rotateX(-90deg) translateZ(150px);
}
.a:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateY(0deg);
  -moz-transform: translateZ(-150px) rotateY(0deg);
  -ms-transform: translateZ(-150px) rotateY(0deg);
  -o-transform: translateZ(-150px) rotateY(0deg);
  transform: translateZ(-150px) rotateY(0deg);
}
.b:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateX(-180deg);
  -moz-transform: translateZ(-150px) rotateX(-180deg);
  -ms-transform: translateZ(-150px) rotateX(-180deg);
  -o-transform: translateZ(-150px) rotateX(-180deg);
  transform: translateZ(-150px) rotateX(-180deg);
}
.c:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateY(-90deg);
  -moz-transform: translateZ(-150px) rotateY(-90deg);
  -ms-transform: translateZ(-150px) rotateY(-90deg);
  -o-transform: translateZ(-150px) rotateY(-90deg);
  transform: translateZ(-150px) rotateY(-90deg);
}
.d:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateY(90deg);
  -moz-transform: translateZ(-150px) rotateY(90deg);
  -ms-transform: translateZ(-150px) rotateY(90deg);
  -o-transform: translateZ(-150px) rotateY(90deg);
  transform: translateZ(-150px) rotateY(90deg);
}
.e:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateX(-90deg);
  -moz-transform: translateZ(-150px) rotateX(-90deg);
  -ms-transform: translateZ(-150px) rotateX(-90deg);
  -o-transform: translateZ(-150px) rotateX(-90deg);
  transform: translateZ(-150px) rotateX(-90deg);
}
.f:checked ~ .three-d-cube {
  -webkit-transform: translateZ(-150px) rotateX(90deg);
  -moz-transform: translateZ(-150px) rotateX(90deg);
  -ms-transform: translateZ(-150px) rotateX(90deg);
  -o-transform: translateZ(-150px) rotateX(90deg);
  transform: translateZ(-150px) rotateX(90deg);
}
.three-d-bullet {
  margin: 350px 10px 0 0;
  float: left;
}
.three-d-bullet:first-child {
  margin: 350px 10px 0 88px;
}

:root {
  --t: 0.3s;
}

/* about button css */

.wrapper {
  display: grid;
  place-items: center;
}

.wrapper button {
   padding: 12px;
   border-top-right-radius: 20px;
   border-bottom-left-radius: 20px;
   border: 2px solid green;
}

.wrapper button:hover{
  background-color: green;
  color: white;
  transition: 0.5s;
}

/* services section css */

.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 25px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  position: relative;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #32cd32;
  color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: height 0.4s ease;
  padding: 0 10px;
  text-align: center;
}

.card .overlay h2,
.card .overlay p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
  margin: 5px 0;
}

.card .overlay h2 {
  font-size: 20px;
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover .overlay {
  height: 100%;
}

.card:hover .overlay h2,
.card:hover .overlay p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr !important;
  }
}

/* products section css */

.hex-section {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.hex-image {
  position: relative;
  width: 350px;
  height: 330px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

.hex-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hex-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: width 0.4s ease;
  z-index: 1;
}

.hex-image::after {
  content: attr(data-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hex-image:hover::before {
  width: 100%;
}

.hex-image:hover::after {
  opacity: 1;
}

/* ✅ Tablet View */
@media (max-width: 768px) {
  .hex-image {
    width: 200px;
    height: 180px;
  }

  .hex-image::after {
    font-size: 14px;
  }
}

/* ✅ Mobile View */
@media (max-width: 480px) {
  .hex-image {
    width: 140px;
    height: 126px;
  }

  .hex-image::after {
    font-size: 12px;
  }

  .hex-section {
    gap: 12px;
  }
}

/* why choose us section css */

.why-choose-us .content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  max-width: 100%;
  margin: auto;
  flex-wrap: wrap;
  background-image: url('../images/bg2.jpg');
  background-size: cover;
}

.why-choose-us .text-section {
  flex: 1;
  min-width: 300px;
  max-height: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-choose-us .scrollable-paragraph {
  overflow-y: auto;
  padding-right: 10px;
  max-height: 390px;
  text-align: justify;
}

.why-choose-us .image-section {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose-us .image-section img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .why-choose-us .content {
    flex-direction: column;
  }

  .why-choose-us .image-section,
  .why-choose-us .text-section {
    max-height: unset;
  }

  .why-choose-us .scrollable-paragraph {
    max-height: 200px;
  }

  .why-choose-us .image-section{
    order:1;
  }

  .why-choose-us .text-section {
 order: 2;
}
}

/* projects section css */



.custom-gallery-wrapper .title {
  font-size: 46px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: black;
  text-align: center;
}

.custom-gallery-wrapper .filter {
  text-align: center;
  max-width: 1050px;
  margin: auto;
}

.custom-gallery-wrapper .btn {
  padding: 10px 20px;
  margin: 5px;
  display: inline-block;
  background: linear-gradient(to right, #607079, #37da52);
  border: 1px solid black;
  transition: all 0.3s;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.custom-gallery-wrapper .btn:hover,
.custom-gallery-wrapper .btn-active {
  background: linear-gradient(to right, #607079, #37da52);
  color: #fff;
  transform: translateY(2px);
}

.custom-gallery-wrapper .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.custom-gallery-wrapper .gallery a {
  display: block;
}

.custom-gallery-wrapper .gallery img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border: 3px solid black;

.custom-gallery-wrapper .hide {
  display: none !important;
}

.btn {
  text-decoration: none;
}

/* Modal Viewer */
.custom-gallery-wrapper .openDiv {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-gallery-wrapper .imgPreview {
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  object-fit: contain;
}

.custom-gallery-wrapper .closeBtn,
.custom-gallery-wrapper .nextButton,
.custom-gallery-wrapper .prevButton {
  margin-top: 15px;
  padding: 10px 30px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  background: linear-gradient(to right, #607079, #37da52);
  border-radius: 6px;
  transition: 0.3s;
}

.custom-gallery-wrapper .closeBtn:hover,
.custom-gallery-wrapper .nextButton:hover,
.custom-gallery-wrapper .prevButton:hover {
  background: linear-gradient(to right, #607079, #37da52);
  color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .custom-gallery-wrapper .title {
    font-size: 38px;
  }

  .custom-gallery-wrapper .gallery {
    max-width: 100%;
    justify-content: center;
  }

  .custom-gallery-wrapper .gallery img {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .custom-gallery-wrapper .gallery img {
    width: 220px;
    height: 220px;
  }

  .custom-gallery-wrapper .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media (max-width: 600px) {
  .custom-gallery-wrapper .filter {
    overflow-x: auto;
    white-space: nowrap;
    display: block;
    padding: 10px 0;
  }

  .custom-gallery-wrapper .btn {
    display: inline-block;
    margin: 5px 8px;
    white-space: nowrap;
  }

  .custom-gallery-wrapper .gallery {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .custom-gallery-wrapper .gallery a {
    width: 100%;
    text-align: center;
  }

  .custom-gallery-wrapper .gallery img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }

  .custom-gallery-wrapper .imgPreview {
    width: 100%;
    max-height: 60vh;
  }
}

