.banner-header{
    width: 100%;
    position: relative;
    padding: 260px 0 110px;
    background:transparent;
}
.banner-header::after{
    content:"";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(37, 37, 37, 0.9) 0%, rgba(72, 79, 73, 0.3) 85.89%);
}
.video,
.banner-image{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    z-index: 1;
}
.banner-image{
    -webkit-transition: opacity 1s ease-out;
    transition: opacity 1s ease-out;
}
.banner-image.hidden{
    opacity: 0;
}
.video{
    z-index: 0;
}
.banner-header .container{
    position: relative;
    z-index: 3;
}
h1{
    font-weight: 800;
    font-size: 52px;
    line-height: 120%;    
    color: #fff;
}
.banner-content{
    text-transform: uppercase;
    display: flex;
    flex-direction: column-reverse;
    max-width: 750px;
}
.banner-prev-contet p{
    font-weight: 500;
    font-size: 14px;
    line-height: initial;
    color: #fff;
}
.years-expiriance-wrapper{
    width: max-content;
    margin: -50px 0 0 auto;
}
.years{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    line-height: initial;
    font-size: calc(24px + 12*((100vw - 320px) /(1920 - 320)));
    color: #ececec;
    text-align: right;
}
.years-work{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: right;
    color: #fff;
}

.banner-header .button{
    margin: 35px 0 0 0;
}
/* Advantages */
.advantages{
    width: 100%;
    margin: 60px 0 100px;
}
.advantages h2{
    font-weight: 800;
    font-size: 40px;
    color: #33363f;
    margin-bottom: 30px;
}
.advantages-icons{
    width: 40px;
    height: 40px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.advantages-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    }
.advantages-item:nth-child(1){ grid-area: 1 / 1 / 2 / 2; }
.advantages-item:nth-child(2){ grid-area: 1 / 2 / 2 / 3; }
.advantages-item:nth-child(3){ grid-area: 2 / 1 / 4 / 2; }
.advantages-item:nth-child(4){ grid-area: 2 / 2 / 3 / 3; }
.advantages-item:nth-child(5){ grid-area: 3 / 2 / 4 / 3; }
.advantages-item{
    border-radius: 20px;
    padding: 30px 20px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
.advantages-item-content,
.advantages-wrapper-for{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.advantages-item-content{
    gap: 15px;
}
.advantages-item-content h3{
    font-weight: 700;
    font-size: 24px;
    color: #111;
}
.advantages-item-content p{
    font-weight: 400;
    font-size: 16px;
    color: #111;
}
.advantages-image{
    width: 100%;
    max-width: 180px;
    object-fit: contain;
}

.advantages{
    margin: 50px 0 100px;
}
/* Advantages */
/* Posts */
.posts-title-wrapper h2{
    font-weight: 800;
    font-size: 40px;
    line-height: 130%;
    color: #111;
}
.posts-title-wrapper{
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-between;
    gap: 10px;
}
.button-container{
    display: flex;
    flex-direction: row;
    align-items:center;
    gap: 10px;
}
.card-wrapper{
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-between;
    gap: 25px;
}
.card{
    width: calc(100% / 4);
    border-radius:20px;
}
.post-img{
    width: 100%;
    height: 100%;
    aspect-ratio: 1.19 / 1;
    object-fit: cover;
    border-radius:0 0 20px 20px;
    transition: all .3s ease-in;
}
.card h3{
    font-weight: 400;
    font-size: 20px;
    color: #030303;
}
.card-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #f1f1f1;
    border-radius: 20px 20px 0 0;
    padding: 15px 20px 15px 15px;
}
.card-content p{
    font-weight: 500;
    font-size: 10px;
    color: #030303;
    text-wrap: balance;
}
.posts .container{
    display: flex;
    flex-direction: column;
    gap: 55px;
}
.posts{
    width: 100%;
    margin: 40px 0;
}

.img-wrapper{
    display: block;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}
.card:hover .post-img{
    transform: scale(1.02);
    transition: all .3s ease-in;
}
/* Posts */
/* swiper */
.slider-section{
    width: 100%;
    height: 450px;
}
.slider-section .container{
    display: flex;
    align-items:center;
    position: relative;
}
.images-slider{
    width: 100%;
    height: 100%;
}
.slider-image{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size:cover;
    background-position:center center;
}
.swiper .container{
    display: flex;
    align-items:center;
    justify-content: flex-start;
}
.slider-content{
    border-radius: 20px;
    padding: 30px;
    background: #f0f0f0;
    max-width: 520px ;
    width: 100%;
}
.slider-content{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.slider-content h2{
    font-weight: 700;
    font-size: 24px;
    color: #111;
}
.slider-content p{
    font-weight: 400;
    font-size: 16px;
    color: #111;
}
.slider-icons{
    width: 44px;
    height: 44px;
}
.swiper-button-next:after, .swiper-button-prev:after{
    display: none;
}
.slider-section{
    width: 100%;
    position: relative;
}
.images-slider{
    position: absolute !important;
    left: 0;
    top: 0;
}
.swiper-slide{
    display: flex !important;
    flex-direction: row;
    align-items:center;
}
.container .swiper-slide.swiper-slide-visible.swiper-slide-active{
    opacity: 1 !important;
}
.container .swiper-slide{
    opacity: 0 !important;
}
.swiper-button-next{
    left: 580px !important;
    right: auto;
}
.swiper-button-prev{
    left: 10px !important;
    transform: rotate(180deg);
}
.swiper-pagination {
    position: initial !important;
    display: flex;
    align-items:center;
    justify-content: center;
}
.content-slider {
    margin-left: 35px !important;
}
.swiper-pagination {
    max-width: 520px !important;
    margin-top: 10px;
}
.swiper-pagination-bullet{
    background: #ced2da !important;
    border-radius: 20px !important;
    width: 32px !important;
    height: 5px !important;
    transition:  all .3s ease;
    opacity: 1 !important;
}
.swiper-pagination-bullet:hover{
    transition:  all .3s ease;
    background: #9fcfa5 !important;
}
.swiper-pagination-bullet-active{
    border-radius: 20px !important;
    opacity: 1 !important;
width: 120px !important;
height: 5px !important;
background: #9fcfa5 !important;
}
.images-slider .swiper-slide{
    position: relative;
}
.images-slider .swiper-slide::after{
    content:"";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(91deg, rgba(17, 17, 17, 0.3) 0%, rgba(72, 79, 73, 0.0) 85.89%);
}
/* swiper */
.sertificate .container{
    display: flex;
    flex-direction: row;
    align-items:center;
    gap: 15px;
    justify-content: flex-start;
}
.sertificate a{
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items:center;
    gap: 15px;
    line-height: 140%;
}
.sertificate a{
    transition: all .3s ease;
}
.sertificate a:hover{
    transition: all .3s ease;
    padding: 0 0 0 10px;
}
.sertificate{
    background: #536a56;
    padding: 20px 0;
}
@media screen and (max-width: 1800px) {
    .banner-header{
        padding: 190px 0 100px;
    }
}
@media screen and (max-width: 1100px) {
.button-container{
    flex-direction: column;
    width: 100%;
    max-width: 330px;
    align-items: stretch;
    gap: 20px;
}
}
@media screen and (max-width: 992px) {
    h1 {
        font-size: 38px;
    }
    .banner-header{
        padding: 120px 0 50px;
    }
    .years-expiriance-wrapper{
        margin: 0 0 0 auto;
    }
    .banner-header .container{
        display: flex;
        flex-direction: column;
    }
    .banner-content{
        max-width: 500px;
    }
    .button{
        cursor:initial;
    }
    .banner-header,
    .video, 
    .banner-image,
    .banner-header::after{
        border-radius:0;
    }
    .advantages {
        margin: 40px 0 80px;
    }
    /* Posts */
    .card-wrapper{
        flex-wrap: wrap;
        gap: 20px;
    }
    .card{
        width: calc((100% / 2) - 10px);
    }
    .card-content p{
        font-size: 14px;
    }
    .posts-title-wrapper{
        flex-direction: column;
    }
    .posts-title-wrapper h2 br{
        display: none;
    }
    .button-container{
        max-width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    .button-container .button{
        width: calc(50% - 10px);
    }
    .posts .container{
        gap: 35px;
    }
    .posts-title-wrapper{
        gap: 55px;
    }
    /* Posts */
    .swiper-button-next, .swiper-button-prev{
        display: none !important;
    }
    .content-slider{
        margin: 0 !important;
    }
    .slider-content{
        max-width: 80%;
        margin: 0 auto;
    }
    .swiper-pagination {
        max-width: 80% !important;
        margin: 15px auto 0 auto;
    }
}
@media screen and (max-width: 768px) {
    .banner-content{
        max-width: 100%;
        gap: 5px;
    }
    .banner-header{
        padding: 170px 0 40px;
    }
    .banner-header .container{
        gap: 50px;
    }
    /* Advantages */
    .advantages-wrapper{
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .advantages-item-content, .advantages-wrapper-for{
        gap: 15px;
    }
    .advantages-item:nth-child(3){
        gap: 120px;
    }
    /* Advantages */
    /* Posts */
    .posts-title-wrapper{
        gap: 35px;
    }
    .button-container{
        flex-direction: column;
    }
    .button-container .button{
        width: 100%;
    }
    /* Posts */
}
@media screen and (max-width: 576px){
    /* Posts */
    .card{
        width: 100%;
    }
    /* Posts */
    .slider-content{
        max-width: 100%;
    }
}
@media screen and (max-width: 500px) {
    .years-expiriance-wrapper,
    .button{
        width: 100%;
    }
    .button{
        justify-content: center;
    }
    .banner-header .button {
        margin: 20px 0 0 0;
    }
    /* Advantages */
    .advantages-item-content p{
        font-size: 14px;
    }
    .advantages h2{
        margin-bottom: 30px;
    }
    /* Advantages */ 
    .posts .container{
        gap: 45px;
    }
    .slider-section{
        height: 600px;
    }
    .slider-content{
        padding: 20px 20px 40px 20px;
    }
}
@media screen and (max-width: 375px) {
    h1{
        font-size: 28px;
    }
    .banner-header {
        padding: 120px 0 40px;
    }
 
    .banner-header .container{
        gap: 25px;
    }
    /* Advantages */
    .advantages h2{
        font-size: 28px;
    }
    .advantages-wrapper{
        gap: 20px;
    }
    .advantages-item-content h3{
        font-size: 20px;
    }
    .advantages-item-content, .advantages-wrapper-for{
        gap: 10px;
    }
    .advantages-item:nth-child(3){
        gap: 40px;
    }
    .advantages{
        margin: 50px 0 80px;
    }
    /* Advantages */ 
    /* Posts */
    .card-content p{
        font-size: 12px;
    }
    .posts .container{
        gap: 25px;
    }
    .posts-title-wrapper h2{
        font-size: 28px;
    }
    .posts-title-wrapper{
        gap: 20px;
    }
    /* Posts */
    .slider-section{
        height: 550px;
    }
    .slider-content h2{
        font-size: 22px;
    }
    .slider-content p{
        font-size: 14px;
    }
}