
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

.slider-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    width: 100%;
    padding: 20px;
    position: relative;
}

.slider-body main {
    width: 90%;
    max-width: 800px;
    position: relative;
    text-align: center;
}

.slider-body main h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: #333;
    margin-bottom: 50px;
}

.slider-content-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.slider-container {
    position: absolute;
    top: -10px;
    right: 25px;
    width: 250px;
    overflow: hidden;
    z-index: 2;
    height: 400px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.5px);
    border-radius: 15px;
}

.slider {
    display: flex;
    width: 1000px;
    height: 400px;
    transition: transform 1.5s ease-in-out;
}

.slide {
    width: 250px;
    height: 100%;
    flex-shrink: 0;
}

.slide video {
    width: 250px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    user-select: none;
    opacity: 0;
}

.content {
    height: 300px;
    padding: 20px;
    background: rgba(236, 236, 236, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4.5px);
    border-radius: 15px;
    text-align: left;
    width: 100%;
    max-width: 800px;
    z-index: 1;
    position: relative;
    margin-top: 50px;
    display: grid;
    justify-content: start;
    align-items: center;
    opacity: 0;
}

.content.show {
    animation: fadeIn 0.5s forwards;
}

.content.hide {
    animation: fadeOut 0.25s forwards;
}

.trustpilot-section {
    width: 450px;
}

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

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.video {
    opacity: 0;
    animation: fadeInVideo 1.5s forwards;
}

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

.content p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.3;
    width: 60%;
}

.content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 15px;
    color: #4d4352;
}
