﻿.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 85vh;
   
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* .slider-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #00000073;
    color: #fff;
  } */

.slider-content {
    z-index: 2;
    max-width: 702px;
    margin-left: 17rem;
}

.slider-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* text-align: center; */
    background-color: #00000073;
    color: #fff;
}


    .slider-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

/* .slider-content {
    z-index: 2;
    max-width: 600px;
  } */

.slider-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slider-content p {
    width: 86%;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 300ms, background-color 300ms;
}

    .btn:hover {
        background-color: #0056b3;
        transform: scale(1.1);
    }

.slider-content h2,
.slider-content p,
.slider-content .btn {
    display: inline-block; /* Ensure proper animation rendering */
}

/* Custom animations */
@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-out {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Enter animation class */
.enter-animation {
    animation: slide-in 0.5s ease-out;
}

/* Exit animation class */
.exit-animation {
    animation: slide-out 0.5s ease-out;
}

/* Ensure smooth transition for content */
.slider-content > * {
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
}

/* Default visible state for active slide */
.slider-slide.active .slider-content > * {
    opacity: 1;
}


.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev-btn {
    left: 24px;
    font-size: 19px;
    color: #bcb9b9a8;
}

.next-btn {
    right: 24px;
    font-size: 19px;
    color: #bcb9b9a8;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

    .dot.active {
        background: #fff;
    }

@media (min-width:992px) and (max-width:1244px) {
    .slider-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 75vh;
    }

    .slider-content desc {
        font-size: 25px;
    }

    .slider-content p {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .slider-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 75vh;
    }

    .slider-content {
        max-width: 702px;
        margin-left: 10rem;
    }


        .slider-content desc {
            font-size: 25px;
        }

        .slider-content p {
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }
}

@media (max-width:767px) {
    .slider-container {
        width: 100%;
        height: 60vh;
    }

    .prev-btn {
        left: 6px;
        font-size: 13px;
        color: #bcb9b9a8;
    }

    .prev-btn, .next-btn {
        width: 25px;
        height: 25px;
    }

    .next-btn {
        right: 9px;
        font-size: 14px;
        color: #bcb9b9a8;
    }

    .slider-content {
        z-index: 2;
        max-width: 225px;
        margin-left: 5rem;
    }

        .slider-content h2 {
            font-size: 1.4rem;
            margin-top: 1rem 0rem 0rem 0rem;
        }

        .slider-content p {
            width: 94%;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

    .buttonsfieldmodify {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .btn {
        padding: 0.55rem 0.6rem;
        font-size: 11px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width:320px) {
}
