/* =====================================
   SLIDER.CSS
   INTELAI Solutions Private Limited
===================================== */

/* Hero Slider */

.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slides {
    display: none;
    width: 100%;
    height: 90vh;
    animation: fade 1s ease-in-out;
}

.slides.active {
    display: block;
}

.slides img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
}

.content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 650px;
    z-index: 10;
}

.content h1 {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 10px;
}

.content h2 {
    font-size: 55px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD700;
}

.content p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 30px;
    background: #0d6efd;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.4s;
    font-weight: 600;
}

.hero-btn:hover {
    background: #ff9800;
}

/* Overlay */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
}

.hero .content {
    z-index: 2;
}

/* Navigation Buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .2);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    user-select: none;
    z-index: 100;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background: #0d6efd;
}

/* Dots */

.dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 100;
}

.dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: .3s;
}

.dot.active,
.dot:hover {
    background: darkblue;
}

/* Fade Animation */

@keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */

@media(max-width:992px) {

    .hero {
        height: 75vh;
    }

    .slides {
        height: 75vh;
    }

    .slides img {
        height: 75vh;
    }

    .content h1 {
        font-size: 34px;
    }

    .content h2 {
        font-size: 42px;
    }

    .content p {
        font-size: 18px;
    }

}

@media(max-width:768px) {

    .hero {
        height: 60vh;
    }

    .slides {
        height: 60vh;
    }

    .slides img {
        height: 60vh;
    }

    .content {
        left: 7%;
        max-width: 90%;
    }

    .content h1 {
        font-size: 26px;
    }

    .content h2 {
        font-size: 32px;
    }

    .content p {
        font-size: 16px;
    }

    .hero-btn {
        padding: 12px 22px;
        font-size: 15px;
    }

    .prev,
    .next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

}

@media(max-width:480px) {

    .content h1 {
        font-size: 22px;
    }

    .content h2 {
        font-size: 28px;
    }

    .content p {
        font-size: 15px;
    }

    .hero-btn {
        padding: 10px 20px;
    }

}