* {
    box-sizing: border-box;
  }
  
  .custom-service-item {
    border-radius: 20px; /* Rounded edges */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 3D effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px; /* Add padding to create space inside the item */
    display: flex;
    flex-direction: column;
    align-items: center;
  
    height: 100%; /* Ensure items have the same height */
  }
  
  .custom-service-item h4{
    padding-bottom: 20px;
  }
  .custom-service-item h4,
  .custom-service-item h5 {
    text-align: center;
    width: 100%; /* Ensure titles and text are aligned */
  }
  
  .custom-service-item:hover {
    transform: translateY(-10px); /* Floating effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced 3D effect on hover */
  }
  
  .service-icon {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%; /* Make icons circular */
    transform: rotate(-45deg);
  }
  
  .service-icon i {
    transform: rotate(45deg);
  }
  
  @media (min-width: 768px) {
    .custom-service-item {
        max-width: 300px;
    }
  }
  
  .blog-slider {
    width: 95%;
    position: relative;
    max-width: 800px;
    margin: auto;
    background: #EEF9FF;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    padding: 25px;
    border-radius: 25px;
    height: 50%;
    transition: all 0.3s;
    margin-top: 48px;
  }
  
  @media screen and (max-width: 992px) {
    .blog-slider {
      max-width: 680px;
      height: 400px;
    }
  }
  @media screen and (max-width: 768px) {
    .blog-slider {
      min-height: 500px;
      height: auto;
      margin: 180px auto;
      margin-bottom: 0;
    }
  }
  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider {
      height: 350px;
    }
  }
  .blog-slider__item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center; /* Center horizontally */
    min-height: 100%; /* Ensure full height for centering */
} 
  @media screen and (max-width: 768px) {
    .blog-slider__item {
      flex-direction: column !important;
    }
  }
  .blog-slider__item.swiper-slide-active .blog-slider__img img {
    opacity: 1;
    transition-delay: 0.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > * {
    opacity: 1;
    transform: none;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
    transition-delay: 0.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
    transition-delay: 0.4s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
    transition-delay: 0.5s;
  }
  
  .blog-slider__img {
    width: 300px;
    flex-shrink: 0;
    height: 300px;
  
    
    border-radius: 20px;
    transform: translateX(-80px);
    overflow: hidden;
  }
  .blog-slider__img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    border-radius: 20px;
    opacity: 0.8;
  }
  .blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    border-radius: 20px;
    transition: all 0.3s;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__img {
      transform: translateY(-50%);
      width: 90%;
    }
  }
  @media screen and (max-width: 576px) {
    .blog-slider__img {
      width: 95%;
    }
  }
  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider__img {
      height: 270px;
    }
  }
  .blog-slider__content {
    padding-right: 25px;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__content {
      margin-top: -80px;
      text-align: center;
      padding: 0 30px;
    }
  }
  @media screen and (max-width: 576px) {
    .blog-slider__content {
      padding: 0;
    }
  }
  .blog-slider__content > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s;
  }
  .blog-slider__code {
    color: #7b7992;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
  }
  .blog-slider__title {
    font-size: 36px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
    
  }
  .blog-slider__text {
    color: #0d0925;
    margin-bottom: 30px;
    line-height: 1.5em;
    font-size: 20;
    font-family: Arial, Helvetica, sans-serif;
    text-align:justify;
    padding-right: 25px;
    
  }
  
  
  
  
  @media screen and (max-width: 576px) {
    .blog-slider__button {
      width: 100%;
    }
  }
  
  .blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
      position: relative;
      display: inline-block;
      margin: 0 5px;
      width: 15px;
      height: 15px;
      background: #DDDDDD;
      border-radius: 2px;
      transition: 1s;
  }
  
  .blog-slider__pagination {
    margin-top: 15px;
    display: flex;
    flex-direction: column; /* Align items vertically */
    position: absolute;
    z-index: 21;
    right: 20px;
    width: 11px !important;
    text-align: center;
    left: auto !important;
    top: 50%;
    bottom: auto !important;
    transform: translateY(-50%);
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination {
      transform: translateX(-50%);
      left: 50% !important;
      top: 205px;
      width: 100% !important;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 8px 0;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
      margin: 10px 0;
    }
  }
  .blog-slider__pagination .swiper-pagination-bullet {
    position: relative;
    display: inline-block;
    margin: 5px 0 !important;
    width: 15px;
    height: 15px;
    background: #8f8f8f;
    border-radius: 2px;
    transition: .5s;
  }
  .blog-slider__pagination .swiper-pagination-bullet-active {
      margin: 5px;
      height: 30px;
      background: var(--primary);
      opacity: 1;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination .swiper-pagination-bullet-active {
      height: 11px;
      width: 30px;
    }
  }
  
  
  .blog-slider__img::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    z-index: 1;
  }
  
  
  
  
  
  .blog-slider__title {
    color: #00a79d; /* Secondary color */
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;
  }
  
  .blog-slider__text {
    color: #333; /* Dark text */
    font-size: 1.2rem;
    text-align: center;
    margin: 1rem 0;
  }
  
  .blog-slider__button {
    display: inline-flex;
    padding: 15px 35px;
    border-radius: 50px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
    background-color: #00a79d;
    
  }
  
  .blog-slider__button:hover {
    display: inline-flex;
    padding: 15px 35px;
    border-radius: 50px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
    background-color: rgba(0, 167, 157, 0.6); /* Adjusted button color */
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    
  
  }
  @media screen and (max-width: 768px) {
    .swiper-pagination {
        display: none;
    }
  }
  
  /* Hide dots in mobile view and faster transition */
  @media (max-width: 767px) {
  
  
  .blog-slider{
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .blog-slider__text{
    text-align: center;
    font-size: 16px;
    padding-right: 0;
  }
    
    .blog-slider__wrp {
        transition: transform 0.3s ease; /* Faster transition */
    }
  }