/*==================================================
HERO SLIDER
==================================================*/

.hero-slider {
    position: relative;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 90vh;
    min-height: 720px;
}

.collectionsSwiper .collection-wrapper {
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; */
    gap: 24px !important;
    justify-content: space-between !important;
}

.collection-wrapper .collection-slide {
    position: relative;
    overflow: hidden;
    /* flex: 1 !important; */
    /* width: 100%; */
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(18, 38, 107, 40%) 0%,
            /* rgba(0,0,0,.45) 35%,
        rgba(0,0,0,.15) 65%, */
            rgba(18, 38, 107, 0) 100%);
    z-index: 2;
}

.hero-slider .container {
    position: absolute;
    inset: 0;
    width: min(1400px, 92%);
    margin: auto;
    top: 253px;
    z-index: 5;
    /* display:flex; */
    /* align-items:start; */
    /* justify-content: center; */

}

.hero-content {
    max-width: 620px;
    color: #fff;
}

.container .hero-content h1 {
    font-family: "Newsreader", serif;
    font-size: 48px;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 24px;
}

.container>.hero-content>.home-hero--p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #fff !important;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 15px 0;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: .3s;
}

.hero-buttons .btn-primary {
    background: #fff;
    color: #12266B;
}

.hero-buttons .btn-primary:hover {
    background: #ebebeb;
    color: #12266B;
}

.hero-buttons .btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: #fff;
    color: #12266B;
}

/* ==========================
Fade Effect
========================== */
.hero-content {

    opacity: 0;

    transition: opacity .8s ease .25s;

}

.swiper-slide-active .hero-content {

    opacity: 1;

}

.hero-media {

    opacity: 0;

    transition: opacity .8s ease;

}

.swiper-slide-active .hero-media {

    opacity: 1;

}

.hero-overlay {

    opacity: 0;

    transition: opacity .8s ease;

}

.swiper-slide-active .hero-overlay {

    opacity: 1;

}

.hero-content h1,
.hero-content p,
.hero-buttons {

    opacity: 0;

    transform: translateY(15px);

}

.swiper-slide-active h1 {

    animation: fadeUp .7s ease .2s forwards;

}

.swiper-slide-active p {

    animation: fadeUp .7s ease .45s forwards;

}

.swiper-slide-active .hero-buttons {

    animation: fadeUp .7s ease .7s forwards;

}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(15px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* End */



/*==================================================
NAVIGATION
==================================================*/

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .18);

    backdrop-filter: blur(10px);

    transition: .3s;

    color: #fff;

}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {

    background: #12266B;

}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {

    font-size: 18px;
    font-weight: 700;
    color: #fff;

}

/*==================================================
PROGRESS
==================================================*/

.slider-progress {

    position: absolute;

    left: 50%;
    bottom: 45px;

    transform: translateX(-50%);

    display: flex;

    gap: 18px;

    width: min(320px, 80%);

    z-index: 20;

}

.progress-item {

    flex: 1;

    height: 4px;

    border: none;

    padding: 0;

    overflow: hidden;

    cursor: pointer;

    background: rgba(255, 255, 255, .3);

}

.progress-item span {

    display: block;

    width: 0;

    height: 100%;

    background: #fff;

}

.progress-item.active span {

    animation: sliderProgress 6s linear forwards;

}

@keyframes sliderProgress {

    from {

        width: 0%;

    }

    to {

        width: 100%;

    }

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px) {

    .heroSwiper {

        min-height: 650px;

    }

    .hero-content h1 {

        font-size: 56px;

    }

}

@media(max-width:992px) {

    .heroSwiper {

        min-height: 600px;

    }

    .hero-content {

        max-width: 520px;

    }

    .hero-content h1 {

        font-size: 46px;

    }

    .hero-content p {

        font-size: 18px;

    }

}

@media(max-width:768px) {

    .heroSwiper {

        height: 80vh;
        min-height: 540px;

    }

    .hero-slider .container {

        justify-content: center;
        text-align: center;

    }

    .hero-content {

        max-width: 100%;

    }

    .hero-content h1 {

        font-size: 38px;

    }

    .hero-content p {

        font-size: 16px;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-buttons a {

        width: 100%;

    }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {

        display: none;

    }

    .slider-progress {

        width: 220px;
        bottom: 25px;

    }

}

@media(max-width:480px) {

    .heroSwiper {

        min-height: 500px;

    }

    .hero-content h1 {

        font-size: 30px;

    }

    .hero-content p {

        margin-bottom: 30px;

    }

}