.custom-tabs {
    margin: 20px 0;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-action-btn {
  background-color: transparent;
  border: 2px solid #5194cc;
  border-radius: 44px;
  color: #5194cc;
  font-size: clamp(.9rem,1.3vw,1.625rem);
  font-weight: 300;
  line-height: 1.1;
  padding: 16px 71px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 2%;
}

.tab-action-btn:hover {
  background-color: var(--active-blue);
  color: #fff;
  border-color: var(--active-blue);
}

.tab-list {
    list-style: none;
    display: flex;
    padding: 0;
}

.tab-item {
    font-size: clamp(1rem, 2vw, 2.5rem);
    padding: 10px 25px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-item.active {
    font-weight: 200;
}

.tab-content {
    margin-top: 5%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* General Slider Styles */
.category-slider {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

/* Wrapper for the slider (keeps buttons visible) */
.slider-wrapper {
    width: 100%;
    max-width: 100%
    margin: 0 auto;
    overflow: hidden; /* Prevents extra slides from being visible */
    position: relative;
}

/* Slide Wrapper */
.slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Individual Slides */
.product-slide {
    flex: 0 0 28%; /* Adjust this slightly to account for .product-plus width */
    max-width: 28%;
    margin: 0 1%;
    background: #fff;
    overflow: hidden;
    text-align: center;
    min-height: 100%; /* Ensures slides don’t get cut off */
    display: flex;
    flex-direction: column; /* Ensures content stacks properly */
    justify-content: space-between; /* Pushes buttons to bottom */
    border-right: none;
}

/* Image Styling */
.product-slide img {
    width: 100%; /* Ensures full width of the container */
    max-width: 330px;
    height: 260px;
    object-fit: contain; /* Ensures images fill the space without distortion */
    display: block;
    margin: 0 auto;
    padding: 0 5%;
    transition: transform 0.3s ease-in-out;
}

/* Product Info */
.product-slide-info {
    padding: 15px;
    flex-grow: 1;
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-slide-into-text {
    width: 100%;
}

.product-slide-info h3 {
    color: #1a5a97;
    font-size: clamp(2rem, 2vw, 2.625rem);
    font-weight: 300;
    line-height: 1.1;
}

.product-slide-info p {
    color: #1a5a97;
    font-size: clamp(1rem, 1.4vw, 1.65rem);
    font-weight: 300;
}

/* Buttons Container */
.product-slide-btns {
    margin-top: 10px;
    padding-bottom: 15px; /* Prevents buttons from touching the bottom */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.product-btn {
    background-color: #5194cc;
    border-radius: 44px;
    color: #fff;
    display: inline-block;
    font-size: clamp(.9rem,1.3vw,1.625rem);
    font-weight: 300;
    padding: 10px 15%;
    text-decoration: none;
    max-width: 292px;
    width: 100%;
    margin: 0 auto;
    transition: all 0.2s ease-in-out;
}

.product-btn:hover {
    background-color: #3FD5DB;
}

.rep-btn {
    background-color: transparent;
    border: 2px solid #5194cc;
    border-radius: 44px;
    color: #5194cc;
    display: inline-block;
    font-size: clamp(.9rem,1.3vw,1.625rem);
    font-weight: 300;
    padding: 8px 15%;
    text-decoration: none;
    max-width: 292px;
    width: 100%;
    margin: 0 auto;
    transition: all 0.2s ease-in-out;
}

.rep-btn:hover {
    background-color: #3FD5DB;
    border-color: #3FD5DB;
    color: #fff;
}

/* Product Divider */

.product-plus {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 3%;
  width: 5%; /* narrow enough to act as a spacer */
  font-size: 6rem;
  color: #5194cc;
  font-weight: 300;
}


/* Tab Pane Description */
.tab-pane-description {
  margin-top: 5%;
}


.tab-benefits-considerations {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.tab-benefits-considerations > div {
  flex: 1 1 45%;
}

.tab-benefits-considerations h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
  color: #1a5a97;
}

.tab-benefits-considerations ul {
  padding-left: 1rem;
  margin: 0;
}

.tab-benefits-considerations li {
  margin-bottom: 0.5rem;
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
}

.solution-margin-top {
  margin-top: 10%;
}

@media (max-width: 1300px) {
   
  .tab-action-btn {
    padding: 15px 15px;
  }
  
}


@media (max-width: 1200px) {
   
  .product-plus {
    font-size: 3rem;
    margin-top: 10%;
  }
  
}

@media (max-width: 992px) {
  
  .tab-header{
    justify-content: center;
  }
  
  .tab-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .tab-item {
    display: inline-block;
    border: 1px solid #5194cc;
    border-radius: 16px;
    padding: 12px 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 0 1 180px; /* consistent button width */
    white-space: normal;
  }

  .tab-item.active {
    background-color: #5194cc;
    color: white;
  }
  
  .tab-action-btn {
    padding: 16px 71px;
  }
  
}




@media (max-width: 768px) {
   .product-slide {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .tab-benefits-considerations > div {
    flex: 1 1 100%;
    max-width: 100%;
  }
}