@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap');
/* body{
    font-family: Poppins;
    margin: 0;
    background-color: #010101;
    color: #eee;
} */
svg{
    width: 25px;
}
/* header{
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}
header .brand{
    font-weight: bold;
}
header .navigation{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
} */
/* css carousel */
.carousel{
    height: 100vh;
    margin-top: -50px;
    position: relative;
}
.carousel .carousel-items .slide{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.carousel .carousel-items .slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .carousel-items .slide::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    /* background-image: linear-gradient(
        to top, #000 40%, transparent
    ); */
}
.carousel .carousel-items .slide .details{
    position: absolute;
    left: 5%;
    top: 65%;
    width: 500px;
    max-width: 80%;
    /* z-index: 1; */
    text-align: left;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    color: white; /* Ensure text is readable */
}
.carousel .carousel-items .slide .details p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.carousel .carousel-items .slide .details h2{
    font-size: 40px;
    margin: 0;
}
.carousel .carousel-items .slide.active{
    opacity: 1;
    z-index: 10;
}
@keyframes revealContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.carousel .carousel-items .slide.active p:nth-child(1),
.carousel .carousel-items .slide.active h2,
.carousel .carousel-items .slide.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: revealContent .5s .7s ease-in-out 1 forwards;
}
.carousel .carousel-items .slide.active h2{
    animation-delay: 1s;
}
.carousel .carousel-items .slide.active p:nth-child(3){
    animation-duration: 1.3s;
}
.controls{
    /* position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100; */
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}
.controls button{
    /* background-color: black;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s; */
    background-color: transparent;
    border: 2px solid #DB3832;
    font-family: 'Poppins', sans-serif;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    color: #DB3832;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.controls button:hover{
    /* background-color: #eee;
    color: black; */
    background-color: white;
    color: #DB3832;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(219, 56, 50, 0.7); /* Updated shadow color */
}

/* Active Effect */
.controls button:active {
    transform: scale(0.9);
}


/* Individual positioning for the buttons */
#previous {
    position: absolute;
    left: 10px; /* Distance from the left side */
}

#forward {
    position: absolute;
    right: 10px; /* Distance from the right side */
}


.preview{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.preview::-webkit-scrollbar{
    width: 0;
}
.preview .thumb{
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.preview .thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    /* margin-left: 150px; */
}
.preview .thumb.active{
    filter: brightness(1.5);
}
.preview .thumb .caption{
    position: absolute;
    inset: auto 40px 40px 40px;
    color: white;
}
@media screen and (max-width: 678px) {
    .preview{
        justify-content: start;
    }
    .carousel .carousel-items .slide .details h2{
        font-size: 60px;
    }
    .controls{
        top: 10%;
    }
}



/* Style for the Slide Button */
.slide-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #000000; /* Button background color */
    color: white; /* Text color */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    pointer-events: auto;
    position: relative;
}

.slide-button:hover {
    background-color: #000000; /* Darker color on hover */
    color: white;
    transform: translateY(-2px); /* Slight lift effect */
}


/* Thumbnail Styling */
/* Thumbnail Styling */
.slider-thumbnail {
    position: absolute;
    top: 10px; /* Position at the top */
    right: 10px; /* Position on the right */
    z-index: 150; /* Ensure it's above other elements */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Thumbnail Image Styling */
.slider-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
}

/* Hover Effect */
.slider-thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(219, 56, 50, 0.7);
}


/* Play Button Styling (No Movement) */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(219, 56, 50, 0.8);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

/* Play Icon */
.play-button::before {
    content: '\25B6'; /* Play icon (▶) */
    font-size: 36px;
    color: white;
    margin-left: 5px;
}

/* Glow Effect on Hover (No Movement) */
.play-button:hover {
    box-shadow: 0 0 15px rgba(219, 56, 50, 1);
}



/* Video Modal Styling */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 200;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Modal Content */
.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    padding: 20px;
    text-align: center;
}

#videoFrame {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fade-out Animation */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}


