﻿.bannerCover {
}

.homePageBannerWrapper {
    max-width: 2020px;
    margin: auto;
    position: relative;
    min-height: 714px;
}
.homePageBanner {
    width: 100%;
    padding: 0 50px;
    margin-bottom: 130px;
    position: relative;
}
.homePageBanner .owl-item{
    margin-left:3px;
}
.item {
    height: 714px;
    border: 1px solid #465058;
    border-radius: 24px;
    overflow: hidden;
}
    .item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
.homePageBanner .hpitem {
    width: 100%;
    border: 4px solid #4CAF50
}

.bannerTextWrapper {
    display: flex;
    justify-content:flex-end;
    flex-direction: column;
    padding-left:40px;
    padding-bottom:100px;
    max-width:700px;
    height: 100%;
}

.bannerHeader {
    font-weight: 700;
    font-size: 56px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
    margin-top: 40px;
    color: white;
    display: flex;
}



.bannerDescOverlay {

}

.bannerDescription {
    font-size: 25px;
    font-weight: 500;
    line-height: 35px;
    text-align: left;
    max-width: 700px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
}
.bannerDescription p{
    margin-top:30px;
    font-size:20px;
    font-weight:400;
    line-height:24px;
}
.bannerButtons {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}
.slideInfo {
    position: absolute;
    color: red;
    font-size: 24px;
    right: 400px;
    bottom: 82px;
}
.bannerSliderControls {
    position: absolute;
    right: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
    bottom:100px;
}
.bannerImageCounterWrapper {
    font-size: 22px;
    font-weight: 400;
}
    .bannerImageCounterWrapper span:nth-child(2) {
        color: #6B7379
    }

.bannerProgressBar {
    flex-grow: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 40px;
    position: relative;
    overflow: hidden;
    width:150px;
}

.bannerProgressFill {
    height: 100%;
    width: 0%;
    background: white;
    transition: width 0.3s ease-in-out;
}

.bannerCustomNav {
    display: flex;
    gap: 9px;
}

    .bannerCustomNav button {
        background: transparent;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
        border: 2px solid #FFFFFF40;
    }

.certificateBannerMobile{
    display:none;
}
.certificateBannerTablet{
    display:none;
}

@media (max-width:992px) {
    .homePageBannerWrapper{
        min-height:500px;
        max-height:500px;
        overflow:hidden;
    }
    .homePageBanner {
        padding: 0 20px;
    }
    .bannerTextWrapper{
        max-width:360px;
    }
    .item{
        height:500px;
    }
    .bannerTextWrapper {
        padding-left: 30px;
        padding-bottom: 50px;

    }
    .bannerDescription p {
        font-size: 14px;
        margin-top: 15px;
        line-height: 20px;
    }
    .bannerButtons {
        margin-top: 30px;
        gap: 15px;
    }
    .bannerSliderControls {
        bottom: 50px;
        right:53px;
    }
    .bannerProgressBar {
        margin: 0 15px;
        width: 125px;
    }

    .bannerImageCounterWrapper {
        font-size: 20px;
    }
}
@media (max-width:768px) {
    .bannerSliderControls {
        right: 53px;
    }
}
@media (max-width:630px) {
        .bannerTextWrapper {
            max-width: 100%;
            padding: 0 20px 110px;
        }
        .bannerDescription p {
            font-size: 14px;
            margin-top: 15px;
            line-height: 20px;
        }

        .bannerButtons {
            gap: 15px;
        }

        .bannerProgressBar {
            margin: 0 10px;
            width: 125px;
        }

        .bannerImageCounterWrapper {
            font-size: 16px;
        }

        .bannerSliderControls {
            bottom: 42px;
            left: 40px;
            right: 40px;
            max-width: 430px;
        }

        .bannerCustomNav button {
            width: 30px;
            height: 30px;
        }

    .certificateBanner {
        display: none !important;
        opacity: 0 !important;
    }
   .certificateBannerTablet {
        display: block !important;
        opacity: 1 !important;
    }
}
@media (max-width:440px){
    .homePageBannerWrapper {
        min-height: 580px;
        max-height: 580px;
    }
    .item {
        height: 580px;
    }
    .certificateBanner {
        display: none !important;
        opacity: 0 !important;
    }
    .certificateBannerMobile {
        display: block !important;
        opacity: 1 !important;
    }
    .certificateBannerTablet {
        display: none !important;
        opacity: 0 !important;
    }
}