@import url(https://fonts.googleapis.com/css?family=Montserrat);

.elementor-widget-parallax_slider {
    overflow: hidden;
    height: 100vh;
    width: 100%;
    position: relative;
    touch-action: none;
    -ms-touch-action: none;
    cursor: default;
}

.container {
    height: 100vh;
    overflow: hidden;
}

.background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    height: 130vh;
    position: fixed;
    width: 100%;
    transform: translateY(30vh);
    transition: all 1.2s cubic-bezier(0.22, 0.44, 0, 1);
    z-index: 1;
}

/* First slide should be visible by default */
.background:first-child {
    z-index: 3;
    transform: translateY(-15vh);
}

.background:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.3);
}

.background:first-child {
    transform: translateY(-15vh);
}

.background:first-child .content-wrapper {
    transform: translateY(15vh);
}

.content-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-flow: column nowrap;
    color: #fff;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    transform: translateY(40vh);
    will-change: transform;
    backface-visibility: hidden;
    transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
    padding: 0 20px;
}
.content-wrapper {
    width: 15%;
    position: absolute;
    left: 10%;
    height: 60vh;
    top: 20%;
    border-left: 15px solid red;
    border-top: 15px solid blue;
    border-bottom: 15px solid green;
}
.content-title {
    font-size: clamp(1rem, 3vw, 12vh);
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
}
p.content-title {
    position: absolute;
    top: 20vh;
    text-align: left;
}

p.content-subtitle {
    position: absolute;
    top: 10px;
    width: 200px;
    text-align: left;
}
.content-subtitle {
    margin: 20px 0 0;
    font-size: clamp(1rem, 1vw, 2.5vh);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.background.up-scroll {
    transform: translate3d(0,-15vh,0);
}

.background.up-scroll .content-wrapper {
    transform: translateY(15vh);
}

.background.up-scroll + .background {
    transform: translate3d(0,30vh,0);
}

.background.up-scroll + .background .content-wrapper {
    transform: translateY(30vh);
}

.background.down-scroll {
    transform: translate3d(0,-130vh,0);
}

.background.down-scroll .content-wrapper {
    transform: translateY(40vh);
}

.background.down-scroll + .background:not(.down-scroll) {
    transform: translate3d(0,-15vh,0);
}

.background.down-scroll + .background:not(.down-scroll) .content-wrapper {
    transform: translateY(15vh);
}

/* Pagination Styles */
.pagination {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.numbers {
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    color: white;
    min-width: 150px;
    text-align: center;
    right: 15vw;
    position: absolute;
    bottom: 10vh;
}

.number-current {
    color: white;
    font-weight: bold;
    font-size: 50px;
    top: 40px;
    position: absolute;
    left: 20px;
}

.number-total {
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
}

.dots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Button Styles */
.slide-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 30px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.slide-btn:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slide-btn:active {
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .pagination {
        right: 10px;
    }

    .numbers {
        font-size: 14px;
        min-width: 60px;
        padding: 8px 12px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .slide-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
