
  /* ==================== DESKTOP ==================== */
 /* html,
  body {
    margin: 0;
    padding: 0;
  }*/

  .expanding-section,
  .expand-card {
    box-sizing: border-box;
  }

  .text-blue {
    color: #223f88;
  }

  .expand-card-text h2 {
    display: inline-block !important;
    position: relative;
    margin-bottom: 1rem;
    font-weight: 700;
    
  }

  /* .expand-card-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 75%;
    height: 3px;
    background-color: #223f88;
    border-radius: 2px;
  } */

  /* Common styling */
  .expand-card-text p {
    color: #444;
    margin-bottom: 1rem;
  }

  .expand-card-text .btn {
    background: #223f88;
    color: #fff;
    padding: 0.6rem 1.4rem !important;
    border-radius: 30px;
    text-decoration: none;
    width: fit-content;
  }

  .expand-card-text .btn:hover {
    background: #1a316e;
  }
  .expand-card-text .card-text p{
    margin-top: 0px !important;
  }
  .pricing{
    font-weight: 900;
    font-size: 28px;
    color:#223f88;
  }
  @media (min-width: 769px) {

  /* Reset + Layout */
  .expanding-section {
    display: flex;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top:5px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
    background: #fff; /* hides subpixel seams */
  }

  .expand-card,
  .expand-card * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  
.expand-card {
  margin-top: 10px !important;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  overflow: hidden;
  border: none;
  perspective: 1000px;
  transition: flex 0.6s ease, border-bottom 0.3s ease, filter 0.4s ease;
  transform: translateZ(0);
}

/* Bottom gradient overlay */
.expand-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px; /* adjust the height of the gradient */
   background: linear-gradient(to bottom, #223f88, transparent);
  pointer-events: none; /* allows clicks to pass through */
  z-index: 2;
}
/* Remove gradient on hover */
.expand-card:hover::after {
  opacity: 0;
}
  /* Layers */
   .image-static
{
    position: absolute;
    inset: 0;
  } 

.expand-card .image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 51%; 
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
  /* Image behavior */
  .expand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .expand-card .image-static img {
    transition: transform 0.8s ease, filter 0.6s ease;
  }

  /* Title overlay */
  .expand-card-title {
     position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%); /* centers horizontally */
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  z-index: 3;
  text-align: center;
  transition: transform 0.6s ease, opacity 0.4s ease;
  transform-origin: bottom center;
  width: 100%; /* optional, helps with long titles */
    /* position: absolute;
    bottom: 25px;
    left: 25px;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    z-index: 3;
    transition: transform 0.6s ease, opacity 0.4s ease;
    transform-origin: bottom left; */
  }

  /* Text panel */
  .expand-card-text {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background: #fff;
    padding: 2rem;
    opacity: 0;
    transform: rotateY(90deg);
    transform-origin: left center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 4;
  }

  /* Swiper container */
  .image-slider {
    display: block; /* keep it block so transition works */
  transform: translateY(-100%); /* start above */
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 2;
  }

  .image-slider .swiper {
    width: 100%;
    height: 100%;
    /* position: relative; */
  }

  /* .image-slider .swiper-wrapper
  {
    width: 100%;
    height: 100%;
  } */

  .image-slider .swiper-slide {
   width: 100% !important;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
 
  }

 .image-slider img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}

/* Show slider on hover */
.expand-card:hover .image-static {
  display: none;
}

.expand-card:hover .image-slider {
  /* display: block; */
  transform: translateY(0);
  opacity: 1;
}

  /* Pagination */
  .image-slider .swiper-pagination {
    position: absolute;
    bottom: 15px !important;
    left: 50%;
  
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
  }

  /* .image-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
  }

  .image-slider .swiper-pagination-bullet-active {
    background: #F16E26 !important;
    transform: scale(2);
  } */
.image-slider .swiper-pagination-bullet {
  width: 12px;       /* base width */
  height: 12px;      /* base height */
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50%; /* make it circular */
  transition: all 0.3s ease;
 margin: 0 8px !important;    /* spacing between bullets */
}

.image-slider .swiper-pagination-bullet-active {
  background: #F16E26 !important;
  width: 16px;       /* slightly bigger than base */
  height: 16px;
}
  /* Hover effects */
  .expand-card:hover {
    flex: 5;
    /* border: 4px solid #F16E26; */
    border-bottom: 4px solid #F16E26;
    /* border-right: 4px Solid #F16E26; */
  }

  /* .expand-card:hover .image-static {
    display: none;
  }

  .expand-card:hover .image-slider {
    display: block;
  } */

  .expand-card:hover .image-static img {
    transform: scale(1.1);
    filter: brightness(0.8);
  }

  .expand-card:hover .expand-card-text {
    opacity: 1;
    transform: rotateY(0deg);
    padding: 2.5rem !important;
  }

  .expand-card:hover .expand-card-text p {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
  }

  .expand-card:hover .expand-card-title {
    opacity: 0;
    transform: rotateY(-90deg);
  }

  /* Dim non-hovered */
  .expanding-section:hover .expand-card:not(:hover) {
    flex: 0.8;
    filter: brightness(0.5);
  }

  .expanding-section:hover .expand-card:not(:hover) .expand-card-title {
    display: none;
  }

  /* Seam guard */
  .expanding-section > .expand-card + .expand-card {
    margin-left: -0.5px;
  }
}


  /* ==================== MOBILE / TABLET ==================== */
  @media (max-width: 768px) {
    .expanding-section {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .expand-card {
      flex: none;
      flex-direction: column;
      margin-bottom: 15px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      border: 1px solid #ddd;
      border-radius: 8px;
      background: #fff;
      padding: 1rem;
      transition: all 0.3s ease;
    }

    .expand-card-title {
      font-size: 1.6rem;
      font-weight: 600;
      color: #223f88;
    }

    .expand-card img,
    .expand-card-text {
      display: none;
    }

    .expand-card.expanded img,
    .expand-card.expanded .expand-card-text {
      display: block;
    }

    .expand-card.expanded .expand-card-title {
      display: none;
    }

    .expand-card img {
      /* width: 100%;
      height: 257px; */
      width:375px;
      height:500px;
      object-fit: cover;
      margin: 0.5rem 0;
      border-radius: 6px;
    }

    .expand-card-text h2 {
      font-size: 1.5rem;
      color: #223f88;
      margin-bottom: 0.5rem;
    }

    .expand-card-text p {
      color: #444;
      margin-bottom: 1rem;
    }

    /* .expand-card-text .btn {
      background: #223f88;
      color: #fff;
      padding: 0.6rem 1.4rem !;
      border-radius: 30px;
      text-decoration: none;
      width: fit-content;
    }

    .expand-card-text .btn:hover {
      background: #1a316e;
    } */

    .expand-card .image-static,
    .expand-card .image-slider {
      display: none;
    }

    /* Show only static image when expanded */
    .expand-card.expanded .image-static {
      display: none;
    }

    /* OR: if you want slider on mobile when expanded */
    .expand-card.expanded .image-slider {
      display: block;
    }
  }
  .product-slider-section>h1 span {
    font-family: Syne, sans-serif;
    font-weight: 700;
    text-align: center;
}
.product-slider-section h1 {
    font-family: Syne, sans-serif;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
}
