/* Importing Google fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');


.slider-title-container {
    text-align: center;
    margin-bottom: 20px;
}

.slider-title {
    margin-top: 70px;
    margin-bottom: -160px;
    font-size: 2rem;
    font-weight: bold;
    color: #333; /* Adjust the color as needed */
}

.swiper-pagination {
    margin-bottom: 60px; /* Adjust this value to set the desired spacing */

}

.container-slider {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;

    display: flex;  /* Optional: If you want internal flex behavior */
    flex-direction: column;
    padding: 20px;
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 800px;

  

}

.card-wrapper{

    max-width: 100%;
    margin: 0 60px;
    padding: 0px 10px;
    overflow: hidden;
    margin-bottom: -40px;
    
}

.card-list .card-item{
    list-style: none;
}

.card-list .card-item .card-link {
    user-select: none;
    display: block;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

.card-link p{
    color: black;
}

.card-list .card-item .card-link:active {
    cursor: grabbing;
}

.card-list .card-item .card-link:hover{
    border-color: #ce4a4a;
}
.card-list {
    padding: 0;
    margin: 0;
  }

.card-list .card-link .card-image {
    width: 100%;
    max-width: 400px; /* Prevents the card from getting too big */
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.card-list .card-link .badge {
    color: #ce4a4a;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 16px 0 18px;
    background: #ffdddd;
    width: fit-content;
    border-radius: 50px;
}

.card-list .card-link .card-title {
    font-size: 1.19rem;
    color: #000;
    font-weight: 600;
}

.card-list .card-link .card-button {
    height: 35px !important; 
    width: 35px !important;
    color: #ce4a4a;
    border-radius: 50% !important;
    margin: 30px 0 5px;
    background: none;
    cursor: pointer;
    border: 2px solid #ce4a4a;
    transform: rotate(-45deg);
    transition: 0.4s ease;
}



.card-button {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    box-sizing: border-box;
}


.card-list .card-link:hover .card-button {
    color:#fff;
    background: #ce4a4a;
}

.card-list .card-link:hover .card-button {
    color: #fff;
    background: #ce4a4a;
}

.card-wrapper .swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #ce4a4a;
}



.card-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}



.card-wrapper .swiper-slide-button {
    color: #ce4a4a;
    margin-top: 25px;
}

@media screen and (max-width: 768px) {
    .card-wrapper {
        margin: 0 10px 25px;
        max-width: 110%;

    }

    .card-wrapper .swiper-slide-button{
    position: absolute !important;
    margin-top: 265px;
    background: none; /* Use your desired background or remove this */
    border: none;
    cursor: pointer;
    padding: 5px; /* Adjust for desired clickable area */
  }
  
  /* Place the left arrow slightly left of center */
  .swiper-button-prev {
    left: 48%;
    transform: translateX(-40px); /* Adjust to control the gap between arrows */
  }
  
  /* Place the right arrow slightly right of center */
  .swiper-button-next {
    left: 48%;
    transform: translateX(40px); /* Adjust to control the gap between arrows */
  }

   
}

@media screen and (max-width: 760px) {
    .card-wrapper {
        margin: 0 10px 25px;
        max-width: 130%;
        margin-bottom: -200px;
    }

    .container-slider {

        margin-bottom: 20px;
        min-height: 900px;
    
    
    }

    .slider-title{
        margin-bottom: -250px;

    }

    .swiper-pagination {
        display: none;
    }

    .card-wrapper .swiper-slide-button{
        margin-top: 395px;
      }

}

@media screen and (max-width: 390px) {

    .card-wrapper .swiper-slide-button{
        margin-top: 385px;
      }

}

@media screen and (max-width: 330px) {

    .card-wrapper .swiper-slide-button{
        margin-top: 365px;
      }

}


.badge{

    padding: 7px !important;
}

@media (max-width: 350px) {
    /* Decrease the badge size and padding */
    .badge {
      font-size: 0.7em !important;

    }
    

    
    /* Reduce spacing between the button and the preceding element */
    .card-button {
      margin-top:15px !important; /* Adjust this value to your liking */
    }
  }
  
