.hover-effect {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(111, 66, 22, 0.15) !important;
}

.service-img {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(111, 66, 22, 0.1);
}

.hover-effect:hover .service-img {
    transform: scale(1.05);
    border-color: #b9863d !important;
}

.home-service-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -10px 0 34px;
}

.home-service-tab {
    border: 1px solid #d9c39f;
    border-radius: 999px;
    background: #fffaf0;
    color: #6f4216;
    font-weight: 700;
    min-height: 44px;
    padding: 9px 18px;
    touch-action: manipulation;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.home-service-tab:hover,
.home-service-tab.is-active {
    background: #9c6826;
    border-color: #9c6826;
    color: #fff;
    box-shadow: 0 8px 18px rgba(111, 66, 22, 0.16);
}

.home-service-panel {
    display: none;
}

.home-service-panel.is-active {
    display: block;
}

.home-service-carousel {
    position: relative;
    padding: 0 48px;
}

.home-service-viewport {
    overflow: hidden;
    padding: 2px;
}

.home-service-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.home-service-slide {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 12px;
}

.home-service-card {
    background-color: #fffaf0;
    border-top: 4px solid #b9863d !important;
    min-height: 100%;
}

.home-service-img {
    width: 195px;
    height: 195px;
    object-fit: cover;
    border: 3px solid #e8dcc5;
}

.home-service-title {
    color: #6f4216;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-service-desc {
    min-height: 48px;
}

.home-service-link {
    background-color: #9c6826;
    color: white;
}

.home-service-link:hover {
    color: white;
}

.home-service-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #9c6826;
    color: #fff;
    box-shadow: 0 8px 18px rgba(111, 66, 22, 0.18);
    transform: translateY(-50%);
    transition: background-color 0.25s, transform 0.25s, opacity 0.25s;
}

.home-service-control:hover {
    background: #6f4216;
    transform: translateY(-50%) scale(1.04);
}

.home-service-control:disabled {
    cursor: default;
    opacity: 0.35;
}

.home-service-control-prev {
    left: 0;
}

.home-service-control-next {
    right: 0;
}

.divider {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(111, 66, 22, 0.22);
}

@media (max-width: 991.98px) {
    .home-service-slide {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media (max-width: 767.98px) {
    .home-service-carousel {
        padding: 0 38px;
    }

    .home-service-slide {
        flex-basis: 100%;
        max-width: 100%;
        padding: 0 8px;
    }

    .home-service-img {
        width: 170px;
        height: 170px;
    }

    .home-service-title,
    .home-service-desc {
        min-height: 0;
    }

    .home-service-control {
        width: 36px;
        height: 36px;
    }
}
