.banner-header{
    width: 100%;
    position: relative;
    padding: 180px 0 75px;
    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%);
}
.banner-image{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: bottom;
    z-index: 1;
}

.banner-header .container{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:flex-end;
}
h1{
    font-weight: 800;
    font-size: 52px;
    line-height: 110%;    
    color: #fff;
    text-transform: uppercase;
}
.banner-prev-contet{
    display: flex;
    flex-direction: column-reverse;
    max-width: 750px;
}
.banner-prev-contet p{
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    line-height: initial;
    color: #fff;
}
.service{
    width: 100%;
    margin: 100px 0 50px;
}
.service h2{
    font-weight: 800;
    font-size: 40px;
    color: #111;
    margin-bottom: 20px;
}
.advantages-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items:stretch;
    gap: 30px;
}
.advantages-item{
    width: calc(50% - 15px);
    background: #f0f0f0;
    border-radius: 20px;
padding: 30px 20px;

}
.advantages-wrapper-for{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.advantages-item-content{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.advantages-item-content h3{
    font-weight: 600;
    font-size: 24px;
    color: #111;
}
.advantages-item-content p{
    font-weight: 400;
font-size: 12px;
color: #111;
}
.advantages-icons{
    width: 44px;
    height: 44px;
}
.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;
}
.service-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items:stretch;
    justify-content: space-between;
    gap: 40px 25px;
}
.card{
    width: calc((100% / 4) - 30px );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
.post-img{
    width: 100%;
    height: 100%;
    aspect-ratio: 1.19 / 1;
    object-fit: cover;
    transition: all .3s ease-in;
}
.posts .container{
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.card-content h3{
    font-weight: 400;
font-size: 18px;
color: #030303;
}
.card-content{
    border-radius: 20px 20px 0 0;
padding: 15px;
background: #f1f1f1;
}
.card-content-area p{
    font-weight: 400;
font-size: 12px;
color: #030303;
}
.card-content-area p:first-of-type{
    font-weight: 700;
font-size: 12px;
color: #030303;
margin-bottom: 10px;
}
.button-cards{
font-weight: 400;
font-size: 16px;
color: #536a56;
background: #f1f1f1;
border-radius: 15px;
padding: 14px 22px;
justify-content: center;
transition: all .3s ease;
}
.button-cards svg path{
    transition: all .3s ease;
}
.button-cards:hover {
    color: #fff;
    background: #536a56;
    transition: all .3s ease;
}
.button-cards:hover svg path{
    stroke: #fff;
}
.posts-content h2{
    font-weight: 800;
font-size: 32px;
color: #111;
}
.posts-content{
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-between;
}
.posts{
    margin: 60px 0 0 0;

}
.button-wrapper{
    border-radius: 30px;
    border-radius: 20px;
    background: #f0f0f0;
    cursor: pointer;
}
.button-to{
    padding: 10px 80px;
    background: #f0f0f0;
    border-radius: 30px;
    border: none;
    transition: all .3s ease;
    cursor: pointer;
    font-weight: 400;
font-size: 18px;
color: #111;
}
.button-to.active{
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
    background:#fff;
transition: all .3s ease;
}
@media screen and (max-width: 1100px){
    .banner-header .container{
        flex-direction: column;
        gap: 40px;
        justify-content: space-between;
        align-items:stretch;
    }
    .banner-header .container .button{
        width: max-content;
        margin: 0 0 0 auto;
    }
    .banner-prev-contet{
        max-width: 100%;
    }
}
@media screen and (max-width: 992px){
    h1{
        font-size: 38px;
    }
    .banner-image,
    .banner-header::after,
    .banner-header{
        border-radius:0;
    }
    .banner-header .container{
        gap: 100px;
    }
    .button-to{
        cursor:initial;
    }
    .card {
        width: calc((100% / 3) - 15px);
    }
    .posts-content{
        flex-direction: column;
        gap: 50px;
        align-items:flex-start
    }
    .posts-content h2 br{
        display: none;
    }
    .button-wrapper{
        width: 100%;
        display: flex;
        cursor:initial;
    }
    .button-to{
        width: 50%;
    }
    .service-wrapper{
        gap: 30px 15px;
    }
}
@media screen and (max-width: 768px){
    .banner-header .container{
        gap: 150px;
    }
    .banner-header{
        padding: 140px 0 30px;
    }
    .advantages-item{
        width: 100%;
    }
    .advantages-wrapper{
        gap: 20px;
    }
    .service h2{
        margin-bottom: 30px;
        font-size: 32px;
    }
    .card {
        width: calc((100% / 2) - 15px);
    }
}
@media screen and (max-width: 576px){
    .card {
        width: 100%;
    }
    .card-content h3{
        font-size: 20px;
    }
    .posts-content{
        gap: 40px;
    }
    .button-to{
        padding: 10px;
    }
}
@media screen and (max-width: 500px){
    .banner-header .container .button{
        width: 100%;
        justify-content: center;
    }
}
@media screen and (max-width: 375px){
    .banner-header .container{
        gap: 100px;
    }
    h1{
        font-size: 28px;
    }
    .service h2{
        margin-bottom: 20px;
        font-size: 28px;
    }
    .advantages-wrapper-for{
        gap: 15px;
    }
    .advantages-item-content h3 {
        font-size: 20px;
    }
    .advantages-item-content{
        gap: 5px;
    }
    .advantages-icons {
        width: 40px;
        height: 40px;
        background-size: contain;
    }
    .service {
        margin: 60px 0 40px;
    }
    .posts-content h2{
        font-size: 28px;
    }
    .button-to{
        font-size: 16px;
    }
    .button-cards{
        font-size: 14px;
    }
    .card-content h3{
        font-size: 16px;
    }
}