/* =========================================================
   KSQUARE LOGISTICS HERO SLIDER
========================================================= */

.ks-hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ks-hero-slider .carousel,
.ks-hero-slider .carousel-inner,
.ks-hero-slider .carousel-item {
    width: 100%;
}

.ks-hero-slide {
    position: relative;
    width: 100%;
    min-height: 720px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

/* Dark overlay */
.ks-hero-overlay {
    position: absolute;
    inset: 0;

    /*background:*/
    /*    linear-gradient(90deg,*/
    /*        rgba(12, 10, 35, 0.88) 0%,*/
    /*        rgba(12, 10, 35, 0.72) 38%,*/
    /*        rgba(12, 10, 35, 0.30) 72%,*/
    /*        rgba(12, 10, 35, 0.12) 100%);*/
    background:
        linear-gradient(90deg,
            rgba(12, 10, 35, 0.30) 0%,
            rgba(12, 10, 35, 0.30) 38%,
            rgba(12, 10, 35, 0.30) 72%,
            rgba(12, 10, 35, 0.12) 100%);

    z-index: 1;
}

/* Content */
.ks-hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
    padding: 110px 0;
    color: #fff;

    animation: ksHeroContent 1s ease both;
}

@keyframes ksHeroContent {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Logo */
.ks-hero-logo {
    margin-bottom: 18px;
}

.ks-hero-logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Small title */
.ks-hero-small-title {
    display: block;

    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;

    color: #ffffff;

    margin-bottom: 12px;
}

/* Main heading */
.ks-hero-title {
    margin: 0 0 22px;

    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.05;

    font-weight: 800;
    letter-spacing: -1px;

    color: #ffffff;

    text-transform: uppercase;
}

/* Description */
.ks-hero-description {
    max-width: 650px;

    margin: 0 0 35px;
    font-weight:500;
    font-size: 18px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.88);
}

/* Buttons */
.ks-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;
}

/* Main button */
.ks-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 165px;

    padding: 15px 25px;

    background: var(--ks-blue);
    border: 2px solid var(--ks-blue);

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 15px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    transition:
        all 0.3s ease;
}

.ks-hero-btn span {
    margin-left: 12px;

    font-size: 20px;
    line-height: 1;

    transition: transform 0.3s ease;
}

.ks-hero-btn:hover {
    background: #ffffff;
    border-color: #ffffff;

    color: var(--ks-blue) !important;
}

.ks-hero-btn:hover span {
    transform: translateX(5px);
}

/* Outline button */
.ks-hero-btn-outline {
    background: transparent;
    border-color: #ffffff;
}

.ks-hero-btn-outline:hover {
    background: var(--ks-blue);
    border-color: var(--ks-blue);

    color: #ffffff !important;
}


/* =========================================================
   ARROWS
========================================================= */

.ks-hero-control {
    width: 55px;
    height: 55px;

    top: 50%;
    transform: translateY(-50%);

    margin: 0 25px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    opacity: 1;

    transition: all 0.3s ease;
}

.ks-hero-control:hover {
    background: #3E347B;
}

.ks-arrow {
    font-size: 25px;
    color: #ffffff;
    line-height: 1;
}


/* =========================================================
   INDICATORS
========================================================= */

.ks-hero-indicators {
    bottom: 30px;

    margin-bottom: 0;

    gap: 8px;
}

.ks-hero-indicators button {
    width: 35px;
    height: 4px;

    margin: 0;

    border: 0;

    background: rgba(var(--ks-blue-rgb), 0.5);

    opacity: 1;

    transition: all 0.3s ease;
}

.ks-hero-indicators button.active {
    width: 60px;

    background: var(--ks-blue);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .ks-hero-slide {
        min-height: 650px;
    }

    .ks-hero-content {
        max-width: 650px;
        padding: 90px 0;
    }

    .ks-hero-title {
        font-size: 58px;
    }

}


@media (max-width: 991px) {

    .ks-hero-slide {
        min-height: 600px;
    }

    .ks-hero-content {
        max-width: 600px;
        padding: 80px 20px;
    }

    .ks-hero-title {
        font-size: 50px;
    }

    .ks-hero-description {
        font-size: 16px;
    }

    .ks-hero-control {
        display: none;
    }

}


@media (max-width: 767px) {

    .ks-hero-slide {
        min-height: 600px;

        background-position: center;
    }

    .ks-hero-overlay {
        background:
            linear-gradient(90deg,
                rgba(12, 10, 35, 0.40),
                rgba(12, 10, 35, 0.12));
    }

    .ks-hero-content {
        padding: 75px 20px 90px;
    }

    .ks-hero-logo img {
        width: 120px;
    }

    .ks-hero-small-title {
        font-size: 14px;
        letter-spacing: 2.5px;
    }

    .ks-hero-title {
        font-size: 40px;
        line-height: 1.1;
    }

    .ks-hero-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .ks-hero-buttons {
        gap: 10px;
    }

    .ks-hero-btn {
        min-width: 145px;
        padding: 13px 18px;
        font-size: 13px;
    }

}


@media (max-width: 480px) {

    .ks-hero-slide {
        min-height: 650px;
    }

    .ks-hero-content {
        padding: 70px 15px 90px;
    }

    .ks-hero-title {
        font-size: 34px;
    }

    .ks-hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .ks-hero-btn {
        width: 100%;
        max-width: 220px;
    }

}