.services{
    padding-top: clamp(0.9rem,2vw,4.5rem);
    padding-left: clamp(0.9rem,3vw,3rem);
    padding-right: clamp(0.9rem,3vw,3rem) ;
    padding-bottom: clamp(0.9rem,2vw,4.5rem) ;

    overflow:visible;
}

/* ==========================================================
   SERVICES SWIPER
========================================================== */
.servicesSwiper{
    position: relative;
    overflow:visible;
    padding:0;
}

.servicesSwiper .swiper-slide{
    height:auto;
    display:flex;
}

/* ==========================================================
   SERVICE CARD
========================================================== */

.service-card{
    position:relative;
    overflow:hidden;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    width:100%;
    height:100%;
    aspect-ratio:.8;

    border-radius:var(--radius-small);

    text-decoration:none;
    color:inherit;

    box-shadow:0 10px 25px rgba(0,0,0,.18);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

/* ==========================================================
   IMAGE
========================================================== */
.service-image{
    position:absolute;
    inset:0;
}

.service-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:grayscale(0.8);
    
    transition:
        transform .6s ease,
        filter .8s ease;
}

.service-image::after{
    content:"";

    position:absolute;
    inset:0;

    transition:.45s;
}
/* ==========================================================
   NUMBER
========================================================= */
.service-number{
    position:absolute;
    top:16px;
    left:16px;

    z-index:5;

    font-size:clamp(2.8rem,4.2vw,5rem);
    font-weight:700;
    color:#fff;
    line-height:1;

    transition:.45s;
}

/* ==========================================================
   CONTENT
========================================================== */

.service-content{
    position:relative;
    z-index:3;

    margin:18px;
    padding:20px;

    background:#e6e6e6;

    border-radius:var(--radius-small);

    transition:
        background .35s ease,
        transform .35s ease;

}

.service-content h3{
    margin-bottom:18px;

    font-size:1.5rem;
    line-height:1.25;
    color:var(--text-dark);

    transition:.35s;
}
/* ==========================================================
   BUTTON
========================================================== */
.service-link{
    display:inline-flex;
    align-items:center;
    gap:.6rem;

    width:fit-content;

    padding:
        .7rem
        1rem;

    border-radius:var(--radius-small);

    background:#7b7b7b;
    color:#fff;
    font-weight:600;

    transition:.35s;
}

.service-link img{
    width:20px;
    transition:.35s;
}

/* ==========================================================
   HOVER
========================================================== */
.service-card:hover{
    transform:translateY(-8px);
    box-shadow:
        0 20px 45px rgba(0,0,0,.25);
}

.service-card:hover .service-image img{
    transform:scale(1.02);
    filter:brightness(1.08);
}

.service-card:hover .service-image::after{
    opacity:.15;
}

.service-card:hover .service-number{
    color: var(--primary-color);
    transform:translateY(-2px);

}

.service-card:hover .service-content{
    background:var(--primary-color);
}

.service-card:hover .service-content h3{
    color:#fff;
}

.service-card:hover .service-link{
    background:#7b3a00;
}

.service-card:hover .service-link img{
    transform:translateX(4px);
}

/* ==========================================================
   SWIPER PAGINATION
========================================================== */

.servicesSwiper .swiper-pagination{
    position:relative;
    margin-top:1.2rem;
    bottom:0 !important;

}

.servicesSwiper .swiper-pagination-bullet{
    width:12px;
    height:12px;

    background:var(--text-gray);

    opacity:1;

    transition:.3s;
}

.servicesSwiper .swiper-pagination-bullet-active{
    width:20px;

    border-radius:999px;
    background:var(--primary-color);

}

/* ==========================================================
   SWIPER ARROWS
========================================================== */
.swiper-controls {
    overflow: visible;
    padding: 0;
}

.servicesSwiper .swiper-button-prev,
.servicesSwiper .swiper-button-next{
    width:48px;
    height:48px;

    border-radius:50%;
    background:#fff;

    color:var(--primary-color);

    box-shadow:0 8px 20px rgba(0,0,0,.12);

    transition:.3s;

}

.servicesSwiper .swiper-button-prev::after,
.servicesSwiper .swiper-button-next::after{
    font-size:20px;
    font-weight:700;
}

.servicesSwiper .swiper-button-prev:hover,
.servicesSwiper .swiper-button-next:hover{
    background:var(--primary-color);
    color:#fff;
}

.servicesSwiper .swiper-button-prev{
    left:0;
}

.servicesSwiper .swiper-button-next{
    right:0;
}
/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:768px){

    .servicesSwiper{

        padding-bottom:3rem;

    }

    .servicesSwiper .swiper-button-prev,
    .servicesSwiper .swiper-button-next{

        display:none;

    }

}