.custom-solutions-container {
  display: flex;
  flex-direction: column;
}
.custom-tabs {
  display: flex; 
  width: 60%;
  gap: 30px;
}
.custom-tabs-parent{
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-tab-content-wrapper{
  margin-top: 20px;
}
.custom-tab {
  flex: 1;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #cccccc00;
  border-radius: 10px;
  border: 2px solid rgba(128, 128, 128, 0.288);
  background-color: #ffffff;
  font-size: 20px;
  z-index: 1;
}
.custom-tab.active {
  color: white;
  background-color: #5992f4;
  border: 2px solid #5992f4;
  font-weight: bold;
}
.custom-tab:hover {
  background-color: #5992f4;
  font-weight: bold;
  color: white;
  transition: background-color 0.3s ease, transform 0.4s ease-out;
}
.custom-content {
  display: flex;
}
.custom-tab-content {
  display: none;
  flex: 1;
}
.custom-tab-content.active {
  display: flex;
}
.custom-tab-content-item-wrapper {
  flex: 1;
  max-height: 410px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 128, 128, 0.288) #f0f0f0;
  padding-right: 5px;
}

.custom-tab-content-item-wrapper::-webkit-scrollbar {
  width: 10px;
}

.custom-tab-content-item-wrapper::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

.custom-tab-content-item-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.288);
  border-radius: 5px;
  border: 2px solid #f0f0f0;
}

.custom-tab-content-item-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: rgba(128, 128, 128, 0.288);
}

.custom-tab-content-item {
  border: 0px solid #ccc;
  margin-bottom: 10px;
}

.custom-tab-content-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  margin: 0px;
  padding: 10px;
  background-color: #EAF6FE;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px !important;
  font-weight: bold !important;
}

.custom-tab-content-header .text-content {
  flex: 1 1 auto;
  display: block;
}

.custom-tab-content-header span {
  display: inline;
}

.custom-tab-content-header p {
  margin-bottom: 0px;
}
.tab-underline {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  display: flex;
}
.tab-underline::before,
.tab-underline::after {
  content: '';
  height: 3px;
  flex: 1;
}
.tab-underline::before {
  background: rgba(128, 128, 128, 0.288);
}
.tab-underline::after {
  background: rgba(128, 128, 128, 0.288);
}

.left-icon {
  flex-shrink: 0;
  margin-right: 10px;
}

.a-item {
  margin-left: auto;
}

.custom-tab-content-header i.hidden {
  display: none;
}

.custom-tab-content-body {
  background-color: #EAF6FE;
  padding: 15px 10px;
  display: none;
  padding-top: 50px;
}

.custom-long-text {
  background-color: #EAF6FE;
  padding: 10px;
  display: none;
  padding-top: 75px;
}

.custom-tab-content-button button {
  border: 3px solid #5993F4;
  color: #5993F4;
  font-weight: bold;
  background-color: transparent;
  border-radius: 5px;
  font-size: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.fa-arrow-right {
  margin-left: 5px;
}

.custom-tab-content-body.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 5px;
  margin-top: -45px;
}

.custom-long-text.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 5px;
  margin-top: -75px;
}

.custom-tab-content-button {
  margin-left: auto;
}

.custom-image-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-image-preview img {
  max-width: 95%;
  height: auto;
  transition: opacity 0.3s ease-in-out;
}

.custom-image-preview img.changing {
  opacity: 0;
}

img.loading {
  opacity: 0.5;
  transition: opacity 0.3s;
}

/* SWIPER CORE STYLES */
.swiper {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 30px 0 !important;
}

.swiper-wrapper {
  display: flex;
  align-items: flex-start;
}

.swiper-slide-tabs {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  padding: 9px 0;
  border: 1px solid #ababab;
  /*width: 30% !important;*/
  cursor: pointer;
}

.swiper-slide-tabs img {
  max-width: 95% !important;
  height: auto !important;
  border-radius: 10px !important;
  display: block;
  background-color: white;
  margin: 0 auto;
}
.swiper-slide-tabs:hover img {
  opacity: 1;
}
.swiper-slide-tabs h3 {
  font-size: 22px !important;
  font-weight: 600;
  margin: 10px 0 8px 0;
  color: #222;
  padding: 0 10px;
  transition: color 0.3s ease-in-out;
}
.swiper-slide-tabs p {
  font-size: 15px !important;
  line-height: 1.4 !important;
  margin-bottom: 0 !important;
  padding: 0 10px !important;
  transition: color 0.3s ease-in-out;
}
.swiper-bubbles{
  display: flex;
  margin-top: 10px;
  margin-left: 20px;
}
.swiper-bubble{
  opacity: 1;
  color: #222;
  background-color: #f8f9fa;
  border: 1px solid #ababab;
  border-radius: 10px;
  padding: 3px 10px;
  margin-left: 10px;
  margin-right: 10px;
  width: auto;
  display: flex;
  align-items: center;
}
.swiper-bubble p{
  margin-bottom: 0px;
}
.swiper-slide-tabs:hover .swiper-bubble p{
  color: #222 !important;
}
.swiper-bubble img{
  padding: 0px;
}
.swiper-text{
  margin-left: 20px;
}
.custom-tab-content-button {
  margin-top: auto;
  padding: 0 10px;
}
.hover-pointer {
  position: fixed;
  left: 80%;
  top: 45%;
  width: 200px;
  height: 200px;
  background-image: url(output-onlinegiftools.gif);
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.swiper-slide-tabs:hover .hover-pointer {
  opacity: 1;
}
.overlay {
  width: 250px;
  height: 250px;
  position: absolute;
  background: #5993F4;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-out;
  z-index: 1; 
}

.swiper-content {
  position: relative;
  z-index: 2; 
  transition: color 0.3s ease-in-out;
}

.swiper-slide-tabs:hover .overlay {
  transform: translate(-50%, -50%) scale(5);
  clip-path: inset(0 0 0 0); 
}
@media (hover: hover) and (pointer: fine) {
  .swiper-slide-tabs:hover h3,
  .swiper-slide-tabs:hover strong,
  .swiper-slide-tabs:hover p {
    color: white !important;
  }
}
.swiper-slide-tabs:hover .custom-tab-content-button button {
    background-color: #4687f4 !important;
    color: white !important;
    border-color: white !important;
}

.swiper-slide-tabs:hover .custom-tab-content-button button i {
    color: #ffffff !important;
}
.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    background: white; 
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    box-shadow: 0 1px 4px #747474;
}
.swiper-button-next.swiper-button-disabled, 
.swiper-button-prev.swiper-button-disabled {
  opacity: 0 !important;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important; 
    color: rgba(0, 0, 0, 0.6); /* Darker gray */
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.1); /* Darker on hover */
}

.swiper-button-prev:active,
.swiper-button-next:active {
    background: rgba(0, 0, 0, 0.2); /* Pressed effect */
}
.swiper-button-next svg, .swiper-button-prev svg{
  height: 50% !important;
}
/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hide-mobile-tabs {
      display: none !important;
  }
  .custom-long-text {
      margin-top: -45px !important;
  }
  .custom-tab {
      font-size: 22px !important;
  }
  .custom-content {
      margin-left: 5px;
  }
  .custom-tabs { 
    width: 100%;
    gap: 30px;
  }
  .custom-tab.active{
    color: white !important;
    background-color: #5992f4 !important;
  }
  .custom-tab:hover {
    background-color: white;
    color: #222;
  }
  .swiper {
    padding: 0 0 70px 0 !important;
  }
  .swiper-bubble{
    border-radius: 5px !important;
  }
  .overlay{
    display: none !important;
  }
  .swiper-slide{
    border: 5px solid transparent;
  }
  .swiper-slide-active.swiper-slide-tabs {
    border: 5px solid #5992f4e0;
    background-color: #ffffff;
    border-radius: 12px;
    box-sizing: border-box;
    transition: border 1s ease 1s, transform 1s ease-out;
  }
  .swiper-slide-active.swiper-slide-tabs .swiper-bubble p{
    color: #222 !important;
  }
  .swiper-slide-tabs .swiper-bubble p{    
    font-size: 13px !important;
  }
  .hover-pointer {
    display: none;
  }
}

@media (max-width: 1280px) and (min-width: 769px) {
  .hide-tablet-tabs {
      display: none !important;
  }
  .custom-content {
      margin-left: 5px;
  }
  .custom-long-text {
      margin-top: -45px !important;
  }
  .custom-tab:hover {
    background-color: white;
    color: #222;
  }
  .custom-tab.active{
    color: white !important;
    background-color: #5992f4 !important;
  }
  .swiper {
    padding: 0 0 70px 0 !important;
  }
  .overlay{
    display: none !important;
  }
  .swiper-slide-active.swiper-slide-tabs {
    background-color: #5992f4 !important;
    color: white;
    transition: background-color 0.5s ease, transform 0.4s ease-out;
  }
  .swiper-slide-active.swiper-slide-tabs h3,
  .swiper-slide-active.swiper-slide-tabs strong,
  .swiper-slide-active.swiper-slide-tabs p {
    color: white !important;
  }
  .swiper-slide-active.swiper-slide-tabs .swiper-bubble p{
    color: #222 !important;
    font-size: 13px !important;
  }
  .hover-pointer {
    display: none;
  }
}

@media (min-width: 1280px) {
  .hide-desktop-tabs {
      display: none !important;
  }
}
