/* ===============================
   Slider Container
================================ */
#premium-quote-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 520px;
    overflow: hidden;
}

/* ===============================
   Slides
================================ */
.slider-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 10;
    transform: translateX(50px) scale(1.05);
    transition: opacity 1s ease, transform 1s ease;
}

.slider-item.active {
    opacity: 1;
    z-index: 20;
    transform: translateX(0) scale(1);
}

/* Parallax overlay */
.slider-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.3;
    transform: scale(1.1);
    transition: transform 1s ease;
    z-index: 1;
}

.slider-item.active::before {
    transform: scale(1);
}

/* Dark overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 5;
}

/* ===============================
   Text / Quote
================================ */
.text-container {
    position: relative;
    z-index: 30;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Quote Box (Framer-style) */
.quote-box {
    background: rgba(1,107,97,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245,238,142,0.4);
    border-radius: 24px;
    padding: 2rem;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);

    opacity: 0;
    transform: translateY(25px) scale(0.94);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.slider-item.active .quote-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.slider-item:not(.active) .quote-box {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
}

.quote-box p {
    font-size: 2rem;
    font-weight: 600;
    color: #f5ee8e;
    line-height: 1.5;
    text-shadow: 0 4px 12px rgba(0,0,0,0.9);
}

/* ===============================
   Progress Bar
================================ */
.progress-bar {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 40;
}

.progress-inner {
    width: 0%;
    height: 100%;
    background: #f5ee8e;
}

/* ===============================
   Dots
================================ */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 40;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #f5ee8e;
    transform: scale(1.4);
    box-shadow: 0 0 10px #f5ee8e;
}



/* ===============================
   Responsive
================================ */
@media(max-width:1024px) {
    .quote-box p { font-size: 1.5rem; }
}

@media(max-width:768px) {
    #premium-quote-slider { height: 60vh; }
    .quote-box p { font-size: 1.2rem; }
}

@media(max-width:480px) {
    #premium-quote-slider { height: 50vh; }
    .quote-box p { font-size: 1rem; }
}
