/* ================================================================
   PREMIUM HERO SLIDER STYLING (CONSISTENT LAPTOP, TAB & MOBILE)
   ================================================================ */

.hero-slider-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: unset;
    max-height: unset;
    overflow: hidden;
    background: #fdf3d8;
    display: flex;
    align-items: center;
}

.revolution-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rev-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    z-index: 1;
}

.rev-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Full image/video display aligned properly to showcase the cart */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transform: none;
    transition: none;
    z-index: 1;
}

.slide-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slide-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 1;
    pointer-events: none;
}

.rev-slide.active .slide-bg {
    transform: none;
}

/* NO dark overlay */
.slide-overlay {
    display: none;
}

/* Slide Content Wrap */
.slide-content-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 20px 0;
}

.slide-content-box {
    max-width: 680px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* Multi-layer Content Styling */
.slide-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: clamp(0.76rem, 1.2vw, 0.86rem);
    color: #f7ce68;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 14px;
    background: #1a0b04;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(247, 206, 104, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.rev-slide.active .slide-counter-badge {
    opacity: 1;
    transform: translateY(0);
}

.layer-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    color: #1a0b04;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 10px rgba(255, 235, 180, 0.6);
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.rev-slide.active .layer-title {
    opacity: 1;
    transform: translateX(0);
}

.gold-gradient {
    color: #c47600;
    display: inline-block;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(194, 130, 19, 0.25);
}

.layer-desc {
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    color: #2b1408;
    line-height: 1.65;
    margin-bottom: 24px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    max-width: 640px;
}

.rev-slide.active .layer-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Actions & Buttons */
.layer-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.rev-slide.active .layer-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-white-outline {
    background: #25d366;
    color: #ffffff;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-white-outline:hover {
    background: #1ebc59;
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

/* Franchise Quick Points below buttons */
.hero-franchise-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin-top: 22px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.rev-slide.active .hero-franchise-points {
    opacity: 1;
    transform: translateY(0);
}

.point-item {
    font-size: clamp(0.82rem, 1.1vw, 0.94rem);
    color: #1a0b04;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.point-item i {
    color: #c47600;
    font-size: 1rem;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.8));
}

/* Animated Kulfi Floating Badges */
.hero-kulfi-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.05s;
}

.rev-slide.active .hero-kulfi-badges {
    opacity: 1;
    transform: translateY(0);
}

.kulfi-badge-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(196, 118, 0, 0.4);
    border-radius: 14px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(194, 130, 19, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kulfi-badge-card:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 12px 25px rgba(194, 130, 19, 0.25);
}

.badge-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #c47600 0%, #d83a15 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(216, 58, 21, 0.3);
    flex-shrink: 0;
}

.badge-text-wrap {
    display: flex;
    flex-direction: column;
}

.badge-val {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1a0b04;
    line-height: 1.2;
}

.badge-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: #7a4810;
    line-height: 1.2;
}

/* Floating Animations */
@keyframes kulfiFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(0.8deg); }
}

@keyframes kulfiFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(-0.8deg); }
}

@keyframes kulfiFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(0.6deg); }
}

.badge-float-1 {
    animation: kulfiFloat1 4.2s ease-in-out infinite;
}

.badge-float-2 {
    animation: kulfiFloat2 5s ease-in-out infinite 0.7s;
}

.badge-float-3 {
    animation: kulfiFloat3 4.6s ease-in-out infinite 1.3s;
}

/* Slider Controls (Arrows & Indicator Dots) */
.rev-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
    pointer-events: none;
}

.rev-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(35, 18, 8, 0.65);
    border: 1.5px solid rgba(247, 206, 104, 0.5);
    color: #f7ce68;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.rev-nav-btn:hover {
    background: var(--primary-gradient);
    border-color: #ffffff;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(247, 206, 104, 0.4);
}

/* Dynamic Indicator Dots */
.rev-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.rev-dot {
    width: 26px;
    height: 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.rev-dot.active {
    width: 48px;
    background: #f7ce68;
    box-shadow: 0 0 12px rgba(247, 206, 104, 0.8);
}

/* Automatic Progress Timer Bar */
.rev-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #c28213, #f7ce68, #ffffff);
    z-index: 25;
    width: 0%;
}

/* ================================================================
   RESPONSIVE SLIDER: COMPACT PROPORTIONAL BANNER ON MOBILE
   ================================================================ */

/* Tablet & iPad (769px - 991px) */
@media (max-width: 991px) {
    .hero-slider-section, .revolution-slider {
        height: auto;
        min-height: unset;
        max-height: unset;
        aspect-ratio: 16 / 9;
    }
    .rev-slide {
        min-height: unset;
    }
    .slide-content-wrap {
        padding: 20px 0;
    }
    .slide-content-box {
        max-width: 480px;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
    }
    .layer-title {
        font-size: clamp(1.5rem, 3.2vw, 2rem);
        margin-bottom: 8px;
    }
    .layer-desc {
        font-size: 0.85rem;
        max-width: 400px;
        margin-bottom: 16px;
    }
    .rev-controls {
        padding: 0 12px;
    }
    .hero-franchise-points {
        gap: 8px 14px;
        margin-top: 14px;
    }
    .point-item {
        font-size: 0.8rem;
    }
    .hero-kulfi-badges {
        gap: 8px;
        margin-top: 12px;
    }
    .kulfi-badge-card {
        padding: 6px 10px;
    }
    .badge-icon-wrap {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .badge-val {
        font-size: 0.72rem;
    }
    .badge-sub {
        font-size: 0.60rem;
    }
}

/* Standard Mobile Devices (481px - 768px) */
@media (max-width: 768px) {
    .hero-slider-section, .revolution-slider {
        height: auto;
        min-height: unset;
        max-height: unset;
        aspect-ratio: 16 / 9;
    }
    .slide-content-wrap {
        padding: 16px 0;
    }
    .slide-content-box {
        max-width: 65%;
        background: transparent;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
    }
    .slide-counter-badge {
        font-size: 0.60rem;
        padding: 3px 8px;
        margin-bottom: 6px;
    }
    .layer-title {
        font-size: 1.35rem;
        line-height: 1.15;
        margin-bottom: 6px;
    }
    .layer-desc {
        font-size: 0.80rem;
        line-height: 1.35;
        margin-bottom: 12px;
        max-width: 290px;
    }
    .layer-actions {
        display: flex;
        flex-direction: row;
        gap: 8px;
        flex-wrap: wrap;
    }
    .layer-actions .btn {
        padding: 5px 12px;
        font-size: 0.72rem;
        min-height: 28px;
        border-radius: 18px;
    }
    /* Hide points & badges on mobile */
    .hero-franchise-points,
    .hero-kulfi-badges {
        display: none !important;
    }
}

/* Small Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
    .hero-slider-section, .revolution-slider {
        height: auto;
        min-height: unset;
        max-height: unset;
        aspect-ratio: 16 / 9;
    }
    .slide-content-wrap {
        padding: 10px 0;
    }
    .slide-content-box {
        max-width: 68%;
        background: transparent;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
    }
    .slide-counter-badge {
        font-size: 0.50rem;
        padding: 2px 6px;
        margin-bottom: 4px;
    }
    .layer-title {
        font-size: 1.10rem;
        line-height: 1.15;
        margin-bottom: 4px;
    }
    .layer-desc {
        font-size: 0.68rem;
        line-height: 1.3;
        margin-bottom: 8px;
        max-width: 220px;
    }
    .layer-actions {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
    }
    .layer-actions .btn {
        padding: 4px 10px;
        font-size: 0.65rem;
        min-height: 25px;
        border-radius: 14px;
    }
    /* Hide points & badges on small mobile */
    .hero-franchise-points,
    .hero-kulfi-badges {
        display: none !important;
    }
}
