﻿/* =========================================
   HERO SLIDER
========================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #061b31;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}


/* SLIDE */

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
    }


/* IMAGE */

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    left: 0;
    top: 0;
}


/* DARK OVERLAY */

.hero-slide::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 58%;
    height: 100%;
    background: linear-gradient( 90deg, rgba(3, 24, 45, 0.98) 0%, rgba(3, 24, 45, 0.90) 55%, rgba(3, 24, 45, 0) 100% );
    z-index: 1;
}


/* CONTENT */

.slide-content {
    position: relative;
    z-index: 2;
    width: 50%;
    max-width: 650px;
    padding-left: 6%;
    padding-top: 80px;
    color: white;
}


/* SMALL TITLE */

.small-title {
    display: block;
    color: #20a9f5;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}


/* HEADING */

.slide-content h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 700;
    color: #ffffff;
}

    .slide-content h1 span {
        display: block;
        color: #20a9f5;
    }


/* LINE */

.title-line {
    width: 50px;
    height: 3px;
    background: #20a9f5;
    margin: 24px 0;
}


/* DESCRIPTION */

.slide-content p {
    font-size: 17px;
    line-height: 1.65;
    max-width: 540px;
    color: #f2f5f8;
    margin-bottom: 25px;
}


/* BUTTON */

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    background: #109bea;
    color: white !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.3s;
}

    .hero-btn:hover {
        background: #087dcc;
        transform: translateY(-2px);
    }

    .hero-btn i {
        font-size: 14px;
    }


/* =========================================
   ARROWS
========================================= */

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(3, 25, 48, 0.75);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    .slider-arrow:hover {
        background: #109bea;
    }

    .slider-arrow.prev {
        left: 25px;
    }

    .slider-arrow.next {
        right: 25px;
    }


/* =========================================
   DOTS
========================================= */

.slider-dots {
    position: absolute;
    z-index: 5;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: 0.3s;
}

    .dot.active {
        width: 30px;
        border-radius: 10px;
        background: #20a9f5;
    }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .hero-slider {
        height: 520px;
    }

    .slide-content {
        width: 65%;
        padding-top: 70px;
    }

        .slide-content h1 {
            font-size: 40px;
        }

    .hero-slide::after {
        width: 70%;
    }
}


@media (max-width: 768px) {

    .hero-slider {
        height: 600px;
    }

    .hero-slide::after {
        width: 100%;
        background: linear-gradient( 90deg, rgba(3, 24, 45, 0.95), rgba(3, 24, 45, 0.65) );
    }

    .slide-content {
        width: 90%;
        padding: 70px 25px;
    }

        .slide-content h1 {
            font-size: 34px;
        }

        .slide-content p {
            font-size: 15px;
        }

    .slider-arrow {
        width: 42px;
        height: 42px;
    }

        .slider-arrow.prev {
            left: 10px;
        }

        .slider-arrow.next {
            right: 10px;
        }
}
