.strativ-tab {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  transition: background-image 0.3s ease;
  border-radius: 24px;
}

.strativ-tab-list {
  display: flex;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.strativ-tab-item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s ease;
  border-right: 1px solid #ffffff18;
}

.tab-info {
  padding: 20px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 120px;
  h3 {
    margin-bottom: 8px;
  }
}

.tab-content {
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}
.strativ-tab-item:hover {
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.5);
}

.strativ-tab-item:hover .tab-info > h3 {
  color: #fc1025;
}

.strativ-tab-item:hover .tab-content {
  opacity: 1;
}

/* Mobile Slider Styles */

.swiper {
  padding-left: 5%;
  padding-right: 5%;
  overflow: visible; /* Allow next slide to peek in */
}

/* Each slide */
.swiper-slide {
  width: 85% !important;     /* Current slide should take up ~85% */
  border-radius: 24px;
  overflow: hidden;
}

.strativ-mobile-slider {
  display: none;
}

.mobile-slide {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden;
}

.mobile-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, #000000 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.slide-content h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
}

.slide-content p {
  font-size: 20px;
  line-height: 24px;
}

.slide-content .subtitle {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 110%;
}

.slide-content .content {
  margin-top: auto;
}

.swiper-slide {
  margin-left: 8px;
}

/* Media Query for Mobile */
@media screen and (max-width: 992px) {
  .desktop-tab {
    display: none;
  }

  .strativ-mobile-slider {
    display: block;
  }

}
