.dream-slider {
    width: 100%;
    height: 100vh;
}

.dream-slider .swiper {
    width: 100%;
    height: 100%;
}

.dream-slider .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.dream-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.dream-slider .slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 4s ease;
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.dream-slider .slide-bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    mix-blend-mode: multiply;
}

.dream-slider .slide-content {
    transform: translateY(80px);
    transition: none;
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: white;
    text-align: left;
    margin-left: 112px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 5em 3em;
}

.dream-slider .swiper-slide.swiper-slide-active .slide-content {
    animation: boxFadeUp 1s ease forwards;
}

/* Animation type classes */
.dream-slider.box-animation-scaleY .swiper-slide.swiper-slide-active .slide-content {
    animation: boxFadeUp 1s ease forwards;
}

.dream-slider.box-animation-scaleX .swiper-slide.swiper-slide-active .slide-content {
    animation: boxScaleX 1s ease forwards;
}

.dream-slider.box-animation-scale .swiper-slide.swiper-slide-active .slide-content {
    animation: boxScale 1s ease forwards;
}

.dream-slider.box-animation-fadeIn .swiper-slide.swiper-slide-active .slide-content {
    animation: boxFadeIn 1s ease forwards;
}

.dream-slider.box-animation-rotateX .swiper-slide.swiper-slide-active .slide-content {
    animation: boxRotateX 1s ease forwards;
    perspective: 1000px;
}

.dream-slider.box-animation-rotateY .swiper-slide.swiper-slide-active .slide-content {
    animation: boxRotateY 1s ease forwards;
    perspective: 1000px;
}

.dream-slider.box-animation-slideUp .swiper-slide.swiper-slide-active .slide-content {
    animation: boxSlideUp 1s ease forwards;
}

.dream-slider.box-animation-slideDown .swiper-slide.swiper-slide-active .slide-content {
    animation: boxSlideDown 1s ease forwards;
}

.dream-slider.box-animation-slideLeft .swiper-slide.swiper-slide-active .slide-content {
    animation: boxSlideLeft 1s ease forwards;
}

.dream-slider.box-animation-slideRight .swiper-slide.swiper-slide-active .slide-content {
    animation: boxSlideRight 1s ease forwards;
}

.dream-slider .slide-content h1,
.dream-slider .slide-content p,
.dream-slider .slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
}

.dream-slider .swiper-slide.swiper-slide-active .slide-content h1 {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1s;
}

.dream-slider .swiper-slide.swiper-slide-active .slide-content p {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.2s;
}

.dream-slider .swiper-slide.swiper-slide-active .btn {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.4s;
}

/* Animation Keyframes */
@keyframes boxFadeUp {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

@keyframes boxScaleX {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes boxScale {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes boxFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes boxRotateX {
    0% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

@keyframes boxRotateY {
    0% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

@keyframes boxSlideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes boxSlideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes boxSlideLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes boxSlideRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dream-slider .slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dream-slider .slide-content p {
    font-size: 1.1rem;
}

.dream-slider .btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #111;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    transform-origin: center center;
}

.dream-slider .btn:hover {
    background: #111;
    color: #fff;
    /* Transform will be added by Elementor controls */
}

/* Button Animations */
@keyframes elementor-animation-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Custom Pagination */
.dream-slider .custom-pagination {
    position: absolute;
    bottom: 30px;
    left: 100px;
    display: flex;
    gap: 40px;
    z-index: 10;
    flex-wrap: wrap;
    width: 80%;
    max-width: 1200px;
}

.dream-slider .custom-pagination.grid-layout {
    display: grid;
    grid-gap: 20px;
}

.dream-slider .pagination-item {
    color: white;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    position: relative;
    --progress-duration: 6s;
    width: 180px;
    overflow: visible;
    box-sizing: border-box;
    padding-top: 15px;
}

.dream-slider .pagination-item .number {
    font-size: 20px;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

.dream-slider .pagination-item .label {
    max-width: 100%;
    display: block;
    line-height: 1.4;
    margin-top: 5px;
}

/* Progress bar container */
.dream-slider .pagination-item .progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 2;
    overflow: hidden;
}

/* Progress bar indicator */
.dream-slider .pagination-item .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: white;
    z-index: 3;
    transition: width 0.1s linear;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes numberedPulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    .dream-slider .slide-content {
        margin-left: 60px;
        padding: 3em 2em;
        max-width: 600px;
    }
    
    .dream-slider .custom-pagination {
        left: 60px;
        bottom: 25px;
        gap: 30px;
    }

    .dream-slider .pagination-item {
        width: 150px;
    }

    .dream-slider .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .dream-slider .slide-content p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 767px) {
    .dream-slider .slide-content {
        margin-left: 30px;
        margin-right: 30px;
        padding: 2em 1.5em;
        max-width: 100%;
        width: calc(100% - 60px);
    }
    
    .dream-slider .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .dream-slider .slide-content p {
        font-size: 0.9rem;
    }
    
    .dream-slider .btn {
        padding: 0.6rem 1.2rem;
        margin-top: 1rem;
        font-size: 0.9rem;
    }
    
    .dream-slider .custom-pagination {
        left: 0;
        right: 0;
        margin: 0 auto;
        gap: 15px;
        bottom: 20px;
        width: 90%;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        scrollbar-width: none; /* Firefox */
    }
    
    .dream-slider .custom-pagination::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    .dream-slider .pagination-item {
        width: 40px;
        text-align: center;
        flex-shrink: 0;
        padding-top: 10px; /* Reduced padding for mobile */
    }
    
    .dream-slider .pagination-item .number {
        font-size: 16px;
    }
    
    .dream-slider .pagination-item .label {
        display: none;
    }
    
    .dream-slider .pagination-item .progress-container {
        top: 0;
        height: 2px;
    }
    
    /* Mobile Pagination Styles */
    /* Dots style */
    .mobile-pagination-dots .dream-slider .custom-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        bottom: 15px;
    }
    
    .mobile-pagination-dots .dream-slider .pagination-item {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.4);
        margin: 0 5px;
        position: relative;
        padding-top: 0;
    }
    
    .mobile-pagination-dots .dream-slider .pagination-item.active {
        background-color: #fff;
    }
    
    .mobile-pagination-dots .dream-slider .pagination-item .number,
    .mobile-pagination-dots .dream-slider .pagination-item .label {
        display: none;
    }
    
    .mobile-pagination-dots .dream-slider .pagination-item .progress-container {
        display: none;
    }
    
    .mobile-pagination-dots .dream-slider .pagination-item.active {
        position: relative;
    }
    
    .mobile-pagination-dots .dream-slider .pagination-item.active::before {
        content: "";
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        animation: dotPulse var(--progress-duration, 6s) linear;
        display: block;
    }
    
    /* Minimal style */
    .mobile-pagination-minimal .dream-slider .custom-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        bottom: 15px;
    }
    
    .mobile-pagination-minimal .dream-slider .pagination-item {
        width: 20px;
        height: 3px;
        background-color: rgba(255, 255, 255, 0.4);
        margin: 0 3px;
        padding-top: 0;
    }
    
    .mobile-pagination-minimal .dream-slider .pagination-item.active {
        background-color: transparent;
    }
    
    .mobile-pagination-minimal .dream-slider .pagination-item .number,
    .mobile-pagination-minimal .dream-slider .pagination-item .label {
        display: none;
    }
    
    .mobile-pagination-minimal .dream-slider .pagination-item .progress-container {
        height: 100%;
        top: 0;
    }
    
    .mobile-pagination-minimal .dream-slider .pagination-item .progress-bar {
        height: 100%;
    }
    
    /* Numbers only style */
    .mobile-pagination-numbered .dream-slider .custom-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        bottom: 15px;
    }
    
    .mobile-pagination-numbered .dream-slider .pagination-item {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        margin: 0 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }
    
    .mobile-pagination-numbered .dream-slider .pagination-item.active {
        background-color: #fff;
    }
    
    .mobile-pagination-numbered .dream-slider .pagination-item.active .number {
        color: #000;
    }
    
    .mobile-pagination-numbered .dream-slider .pagination-item .label {
        display: none;
    }
    
    .mobile-pagination-numbered .dream-slider .pagination-item .progress-container {
        display: none;
    }
    
    .mobile-pagination-numbered .dream-slider .pagination-item.active::before {
        content: "";
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        animation: numberedPulse var(--progress-duration, 6s) linear;
        display: block;
    }
}

@media only screen and (max-width: 480px) {
    .dream-slider .slide-content {
        margin-left: 20px;
        margin-right: 20px;
        padding: 1.5em 1.2em;
        width: calc(100% - 40px);
    }
    
    .dream-slider .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .dream-slider .custom-pagination {
        bottom: 15px;
        width: 90%;
    }
    
    .dream-slider .pagination-item {
        width: 30px;
    }
    
    .dream-slider .pagination-item::after {
        height: 2px;
        top: -6px;
    }
    
    /* Adjust dot pagination for very small screens */
    .mobile-pagination-dots .dream-slider .pagination-item {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    /* Adjust minimal pagination for very small screens */
    .mobile-pagination-minimal .dream-slider .pagination-item {
        width: 15px;
        height: 2px;
        margin: 0 2px;
    }
    
    /* Adjust numbered pagination for very small screens */
    .mobile-pagination-numbered .dream-slider .pagination-item {
        width: 20px;
        height: 20px;
    }
    
    .mobile-pagination-numbered .dream-slider .pagination-item .number {
        font-size: 12px;
    }
} 

/* Tablet-specific pagination improvements */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .dream-slider .custom-pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }
    
    .dream-slider .pagination-item {
        width: 120px;
    }
    
    .dream-slider .pagination-item .number {
        font-size: 18px;
    }
    
    .dream-slider .pagination-item .label {
        font-size: 14px;
        white-space: nowrap;
    }
    
    .dream-slider .pagination-item .progress-container {
        top: 0;
        height: 2px;
    }
    
    /* Grid layout for tablet */
    .dream-slider .custom-pagination.grid-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        grid-gap: 15px;
        width: calc(100% - 120px);
        max-width: 600px;
    }
} 

/* Grid layout for mobile */
@media only screen and (max-width: 767px) {
    .dream-slider .custom-pagination.grid-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
        grid-gap: 10px;
        overflow: visible;
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }
} 