.weathersealourprojects_tabs_wrapper {
  /* display: flex; */
  position: relative;
}

.weathersealourprojects_tabs_left {
  padding: 0 40px;
  /* max-width: 405px; */
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

.weathersealourprojects_tabs_right {
  display: none;
}

.weathersealourprojects_tabs_left img {
  width: 175px;
  height: 36px;
  display: inline;
}

.weathersealourprojects_tabs_left h2 {
  font-family: Archivo;
  font-weight: 500;
  font-size: 44px;
  line-height: 101%;
  letter-spacing: 0;
  background: linear-gradient(90.41deg,#7c35e9 -3.6%,#3a3a3a 17.16%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
}

.weathersealourprojects_tabs_left p {
  font-family: Archivo;
  font-weight: 400;
  font-size: 20px;
  line-height: 132%;
  color: #696F75;
  margin-bottom: 30px;
}

.weathersealourprojects_tabs_buttons {
  display: flex;
  gap: 12px;
}

.tabs-button-none .weathersealourprojects_tabs_buttons {
  display: none;
}

.tabs-button-none .pagination_wrapper {
  display: none;
}

.tabs-button-none .weathersealourprojects_tabs_nav {
  bottom: -9px;
}

.weathersealourprojects_tabs_buttons button {
  padding: 12px 20px;
  border-radius: 60px;
  border: 1px solid #E6E6E8;
  font-family: Archivo;
  font-weight: 500;
  font-size: 20px;
  line-height: 126%;
  text-align: center;
  color: #74798A;
  cursor: pointer;
}

.weathersealourprojects_tabs_buttons button.active {
  background: #252729;
  color: #FFFFFF;
  font-weight: 700;
}

.weathersealourprojects_tabs_card {
  height: 585px;
  width: 345px;
  position: relative;
}

.weathersealourprojects_tabs_card img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.weathersealourprojects_tabs_card_content {
  position: absolute;
  bottom: 10px;
  /* bottom: 0;
  width: 100%;

  background: #0000004D;
  backdrop-filter: blur(40px);
  max-height: 0;
  max-height: 0;
  overflow: hidden; */
  transition: max-height 0.6s ease;
  z-index: 1;
  bottom: 16px;
  left: 16px;
}

/* .weathersealourprojects_tabs_card_content_box {
  padding: 30px 38px;
} */

/* .weathersealourprojects_tabs_card:hover .weathersealourprojects_tabs_card_content {
  max-height: 250px;
} */

.weathersealourprojects_tabs_card_content h2 {
  font-family: Archivo;
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0;
  color: #fff;
}

.weathersealourprojects_tabs_card_content p {
  font-family: Archivo;
  font-weight: 400;
  font-size: 14px;
  line-height: 134%;
  color: #EEEEEF;
}

/* swiper arrows and pegination  */
.weathersealourprojects_tabs_nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  position: absolute;
  bottom: 36px;
  right: 40px;
}

.weathersealourprojects_tabs_arrows {
  display: flex;
  gap: 20px;
}

.weathersealourprojects_tabs_arrows button {
  width: 64px;
  height: 64px;
  background: none;
  border: none;
  cursor: pointer;
}

.weathersealourprojects_tabs_arrows button img {
  width: 100%;
  height: 100%;
}



.weathersealourprojectstabs-swiper-button-next.swiper-button-disabled,
.weathersealourprojectstabs-swiper-button-prev.swiper-button-disabled {
  opacity: .35;
  cursor: auto;
  pointer-events: none;
}

.weathersealourprojects_tabs .pagination_wrapper {
  position: absolute;
  /* left: 80px; */
  /* bottom: 10px; */
  top: 123px;
  right: 40px;
}

.sleek_tabs_pagination {
  position: relative;
  display: flex;
  gap: 5px;
}

.sleek_tabs_pagination .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 8px;
  background: #00000026;
  opacity: 1;
  margin: unset !important;
}

.sleek_tabs_pagination .swiper-pagination-bullet-active {
  background: #000000;
  width: 56px;
  margin-right: -0.4px !important;
  border-radius: 2px;
}

.sleek_tabs_pagination {
  position: unset !important;
}

.weathersealourprojects_tabs_left .swiper-button-next,
.weathersealourprojects_tabs_left .swiper-button-prev {
  position: unset;
  margin-top: unset;
}

.weathersealourprojects_tabs_left .swiper-button-next::after,
.weathersealourprojects_tabs_left .swiper-button-prev::after {
  display: none;
}

/* .weathersealourprojects_tabs_arrows .swiper-button-prev{
  transform: unset !important;
}
.weathersealourprojects_tabs_arrows .swiper-button-next{
  transform: unset !important;
}
.testimonial_arrows .swiper-button-prev{
  transform: unset !important;
}
.testimonial_arrows .swiper-button-next{
  transform: unset !important;
} */


/* my code */

.weathersealourprojects_tabs_right .swiper-slide {
  border-radius: 8px;
  width: 280px;
  height: 395px;
}

.weathersealourprojects_tabs_right .swiper-slide:first-child {
  margin-left: 40px;
}

/* Add right margin to the last slide */
.weathersealourprojects_tabs_right .swiper-slide:last-child {
  margin-right: 40px !important;
}


.weathersealourprojects_tabs_card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* optional for smooth corners */
  cursor: pointer;
}

/* Image styling */
.weathersealourprojects_tabs_card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

/* Zoom-in effect on hover */
.weathersealourprojects_tabs_card:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

/* Overlay effect */
.weathersealourprojects_tabs_card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(178.86deg,
      rgba(0, 0, 0, 0) 64.76%,
      rgba(0, 0, 0, 0.72) 99.02%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Show overlay on hover */
.weathersealourprojects_tabs_card:hover::after {
  opacity: 1;
}

.weathersealourprojects_tabs_card_content {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.weathersealourprojects_tabs_card:hover .weathersealourprojects_tabs_card_content {
  opacity: 1;
}

/* my code */


@media (max-width: 768px) {
  .weathersealourprojects_tabs_wrapper {
    flex-wrap: wrap;
    margin-bottom: 110px;
  }

  .weathersealourprojects_tabs_left {
    padding: 0 16px;
    margin-bottom: 30px;
  }

  .weathersealourprojects_tabs_left img {
    width: 107px;
    height: 22px;
    margin-right: 6px;
  }

  .weathersealourprojects_tabs_left h2 {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 8px;
    text-align: center;
    background: linear-gradient(90.41deg, #7C35E9 -35.6%, #3A3A3A 78.16%); /* You can change colors here */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  .weathersealourprojects_tabs_left p {
    font-size: 16px;
    line-height: 136%;
    color: #74798A;
    margin-bottom: 20px;
    text-align: center;
    max-width: 328px;
    margin-left: auto;
    margin-right: auto;
  }

  .weathersealourprojects_tabs_buttons {
    gap: 9px;
    margin-bottom: 30px;
    justify-content: center;
  }

  .weathersealourprojects_tabs_buttons button {
    font-size: 16px;
    padding: 8px 20px;
  }

  .weathersealourprojects_tabs_card {
    height: 560px;
    width: 328px;
  }


  /* .weathersealourprojects_tabs_card_content {
    max-height: unset;
    height: 220px;
    overflow: unset;
  } */

  /* .weathersealourprojects_tabs_card_content_box {
    padding: 30px 20px;
  } */


  .weathersealourprojects_tabs_card_content p {
    line-height: 130%;
    color: #FFFFFF;
    height: 109px;
    overflow: hidden;
  }

  .weathersealourprojects_tabs .pagination_wrapper {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    top: unset;
    right: unset;
  }

  .weathersealourprojects_tabs_nav {
    display: none;
  }

  .first-three {
    display: block;
    /* forces break after first 3 words */
    text-align: center;
    /* optional: center align first line */
  }

  /* swiper code */

  .weathersealourprojects_tabs_right .swiper-slide {
    width: 300px;
    height: 460px;
  }

  .weathersealourprojects_tabs_right .swiper-slide:first-child {
    margin-left: unset;
  }

  .weathersealourprojects_tabs_right .swiper-slide:last-child {
    margin-right: unset !important;
  }

  .weathersealourprojects_tabs_card::after {
    opacity: 1;
    /* always visible */
  }

  /* Disable hover zoom on mobile for stability */
  .weathersealourprojects_tabs_card:hover img {
    transform: none;
    filter: none;
  }

  .weathersealourprojects_tabs_card .weathersealourprojects_tabs_card_content {
    opacity: 1;
  }

  .weathersealourprojects_tabs .swiper.swiper-cards {
    overflow: hidden !important;
  }

  .tabs-button-none .pagination_wrapper {
    display: flex;
  }

  /* swiper code */

}