@import url(/Content/css/variable.css);

body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
   
}

.backgr {
    background: #F2F3F5;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 0px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 260px !important;
    transition: transform 0.2s ease-in-out;
}

   /* .card:hover {
        transform: translateY(-5px);
    }*/

.card-img {
    /*        background: #00AEEF;*/
    height: 210px !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-img img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

.card-title {
    position: absolute;
    top: -15px !important;
    left: 10px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.card-content {
    padding: 11px;
    font-size: 1rem;
    font-weight: 600;
}



.card h3 {
    margin-top: 12px;
    font-size: 1.1rem;
    display: flex;
    margin-left: 12px;
}



.swiper-button-next,
.swiper-button-prev {
    background-color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 40%;
    z-index: 100;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev {
    left: -24px;
}

.swiper-button-next {
    right: -24px;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: #f0f0f0;
    }

/* Position nav container relative to carousel */
.carousel-container {
    position: relative;
    margin: 40px auto;
    max-width: 1200px;
}

/*@media(max-width:768px){
    .card{
        margin-left:50px
    }
}*/
@media(max-width:998px) {
    .card {
        width: 200px !important;
    }
}
@media(max-width: 578px){
    .card {
        width: 320px !important;
        margin-left: 12px;
        margin: auto;
    }
}


