﻿.services {
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.slider-btns {
    display: flex;
    gap: 10px;
}

    .slider-btns button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid #8B6B54;
        background: #fff;
        cursor: pointer;
    }

.slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .slider::-webkit-scrollbar {
        display: none;
    }

.card {
    width: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    flex-shrink: 0;
}

    .card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.content {
    height: 100%;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: column;
}

    .content p {
        color: #777;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .content button {
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 10px;
        background: #7B5A45;
        color: #fff;
        cursor: pointer;
    }




#next {
    background: var(--wg-brown);
    color: white;
}


.image-box {
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 0px;
}

    .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.last-title {
    margin-block: 50px;
}

    .last-title h1 {
        color: var(--wg-text-main);
        text-align: center;
        font-weight: 700;
        font-size: 3.1rem;
        margin-bottom:20px;
    }

    .last-title p {
        color: var(--wg-text-main);
        text-align: center;
        font-weight: 700;
        font-size: 1.3rem;
        max-width:650px;
        opacity:.7;
    }


@media (max-width: 1200px) {
    .image-box {
        height: 300px;
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    .last-title h1 {
        font-size: 2.5rem;
    }
    .last-title p {
        font-size: 1.2rem;
    }
    .image-box {
        height: 300px;
        margin-top:20px ; 
    }

}

@media (max-width: 768px) {
    .last-title h1 {
        font-size: 2rem;
    }
    .last-title p {
        font-size: 1.1rem;
    }
    .image-box {
        height: 170px;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .last-title h1 {
        font-size: 1.6rem;
    }
    .last-title p {
        font-size: .9rem;
    }
    .image-box {
        height: 120px;
        margin-top: 20px;
    }
}
