:root {
    --btn-bg: rgba(0, 0, 0, 0.7);
    --btnColor: #7E633C;
    --btn-color: #fff;
}

.carousel-container {
    position: relative;
    width: 90%;
    margin: 40px auto;
    overflow: visible;
    /* max-height: 1000px; ✅ carousel ki limit */
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    align-items: center;
}

.carousel-slide {
    min-width: 30%; /* ✅ agla slide thoda nazar aayega */
    margin: 0 10px;
    display: flex;
    justify-content: center;
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--btn-bg);
    color: var(--btn-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999 !important;
}

.carousel-btn:hover {
    background: var(--btnColor);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
    z-index: 1 !important;
}

/* -------------------- */
/* RESPONSIVENESS */
/* -------------------- */

/* Large tablets / small laptops */
@media (max-width: 1200px) {
    .carousel-slide {
        width: 100%;
        /* height: 100vh; */
    }
}

/* Tablets */
@media (max-width: 992px) {
    .carousel-slide {
        min-width: 50%; /* 2 slides visible */
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

/* Large phones */
@media (max-width: 768px) {
    .carousel-slide {
        min-width: 70%; /* 1.3 slides visible */
        margin: 0 8px;
    }
    .prev-btn { left: -15px; }
    .next-btn { right: -15px; }
}

/* Small phones */
@media (max-width: 576px) {
    .carousel-slide {
        min-width: 90%; /* almost full width */
        /* height: 100vh !important; almost full width */
        margin: 0 5px;
    }
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}
