/* Media Start */
.media{
    overflow: hidden;
    position: relative;
}
.media h2{
    text-align: center;
    font-weight: 650;
    font-size: calc(1.1rem + 1vw);
    color: #386c94;
}
.media-boxes h3{
    font-size: calc(0.5rem + 0.5vw);
}
.media-boxes .media-aside h3{
    margin-top: 1rem;
}

.media .swiper-button-prev,
.media .swiper-button-next {
    position: absolute;
    top: 96.8%;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    background-color: #366d96;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}
.media .swiper-button-prev span,
.media .swiper-button-next span{
    margin-top: -3px;
    user-select: none;
}
.media .swiper-button-next::after,
.media .swiper-button-prev::after{
    display: none;
}
.media .swiper-button-prev:hover,
.media .swiper-button-next:hover {
    background-color: #22567e;
}
.media .swiper-button-prev {
    left: calc(51% - 60px); /* Position the previous button to the left of the center */
}
.media .swiper-button-next {
    right: calc(51% - 60px); /* Position the next button to the right of the center */
}

.swiper-pagination-bullet {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #9e9e9e;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  margin: 0 5px;
  opacity: 1;
  transition: background 0.3s;
}
.swiper-pagination-bullet-active {
  background: #2a587d;
}

/* For 110% in 15 inch screens */
@media screen and (min-width: 1230px) and (max-width: 1399px){
    .swiper-pagination-bullet {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }
    
}

/* For 100% in 15 inch screens */
@media screen and (min-width: 1400px) {
     .swiper-pagination-bullet {
        width: 33px;
        height: 33px;
        font-size: 18px;
        margin: 0 5px !important;
    }
}

/* For small screens */
@media screen and (max-width: 767px) {
    .media{
        padding-bottom: 4rem;
    }
    .media .media-slider{
        display: none;
    }
    .media h2{
        font-size: calc(1.3rem + 0.5vw);
        margin-top: 0.2rem;
        margin-bottom: -0.4rem;
    }
    /* .media-boxes h3{
        font-size: calc(0.85rem + 0.5vw);
        margin-top: 1rem;
    }
    .swiper-pagination-bullet {
        width: 30px;
        height: 30px;
        font-size: 16px;
    } */
    .media .swiper-button-prev,
    .media .swiper-button-next {
        top: 97%;
        width: 35px;
        height: 35px;
        font-size: 1.6rem;
    }
    .media .swiper-button-prev {
        left: calc(54% - 60px);
    }
    .media .swiper-button-next {
        right: calc(54% - 60px);
    } 
}
/* Media End */

/* Media Slider Mobile View Start */
@media screen and (min-width: 767px) {
    .media .media-slider-mobile{
        display: none;
    }
}

.media .media-slider-mobile{
    margin-top: 2rem;
}
.media .media-slider-mobile .mobile-media-box{
    padding: 0.7rem;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.media .media-slider-mobile .mobile-media-box img{
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.media .media-slider-mobile .mobile-media-box span{
    font-size: calc(0.95rem + 0.5vw);
    margin-top: 1rem;
    display: block;
    margin-bottom: 0.6rem;
    line-height: normal;
    font-weight: 500;
}
.media .media-slider-mobile .mobile-media-box p{
    font-size: calc(0.75rem + 0.5vw);
}
.media .media-slider-mobile .mobile-media-box button{
    font-size: calc(0.7rem + 0.5vw);
    padding: 0.2rem 0.7rem;
    margin-top: 0.2rem;
    background-color: #366d96;
    font-weight: 500;
    border: none;
    color: #fff;
    border-radius: 5px;
    transition: all 0.2s ease;
}
.media .media-slider-mobile .mobile-media-box button:hover{
    background-color: #22567e;
}
/* Media Slider Mobile View End */