﻿/* ===== অফার / প্যাকেজ ব্যানার স্লাইডার (হোম পেজ) ===== */
.promo {
    padding-top: clamp(28px, 3.5vw, 48px);
}

.promo__frame {
    position: relative;
    border-radius: var(--radius-lg, 26px);
    overflow: hidden;
    background: #e5ebee;
    box-shadow: 0 14px 40px rgba(16, 24, 40, .12);
}

.promo__track {
    display: flex;
    transition: transform .7s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
    touch-action: pan-y;
}

.promo__slide {
    flex: 0 0 100%;
    aspect-ratio: 1600 / 550;
}

    .promo__slide a, .promo__slide img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .promo__slide img {
        object-fit: cover;
        user-select: none;
        -webkit-user-drag: none;
    }

.promo__arrow {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #1b7c80;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s, background .2s, color .2s, scale .2s;
}

    .promo__arrow svg {
        width: 20px;
        height: 20px;
    }

.promo__arrow--prev {
    left: 16px;
}

.promo__arrow--next {
    right: 16px;
}

.promo__frame:hover .promo__arrow, .promo__arrow:focus-visible {
    opacity: 1;
}

.promo__arrow:hover {
    background: #1b7c80;
    color: #fff;
    scale: 1.06;
}

.promo__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.promo__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c9d6da;
    cursor: pointer;
    transition: width .3s, background .3s;
}

.promo__dots button.is-active {
    width: 24px;
    background: linear-gradient(90deg, #1b7c80, #0ea5dc);
}

.promo__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255,255,255,.25);
    z-index: 2;
}

    .promo__progress span {
        display: block;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, #1b7c80, #0ea5dc);
    }

@media (max-width: 700px) {
    .promo__arrow {
        opacity: 1;
        width: 34px;
        height: 34px;
    }

    .promo__arrow--prev {
        left: 8px;
    }

    .promo__arrow--next {
        right: 8px;
    }

    .promo__dots {
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo__track {
        transition: none;
    }
}
