@media screen and (min-width: 1921px){
    .banner{
        height: 100vh;
    }
    .events{
        background-size: cover;
    }
}
@media screen and (min-width: 1920px){

    .btn.border-gradient:before{
        padding: 2px;
    }
}
@media  screen and (max-width: 1640px) {
    .container{
        max-width: 1240px;
    }
    .banner__title{
        padding-top: 320px;
    }
    .about__content{
        gap: 60px;
    }
    .cases__list{
        flex-direction: column;
    }
    .cases__content{
        align-items: flex-start;
    }
    .cases__left{
        padding-top: 140px;
    }
    .story .container{
        max-width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }
    .blog .container{
        max-width: 1440px;
    }
    .single-post__img{
        max-width: 600px;
    }
    .single-post__info{
        max-width: calc(100% - 640px);
    }
}
@media  screen and (max-width: 1440px) {
    .events{
        background-position: center;
    }
    .story__gallery img:last-child{
        left: 30%;
    }
    .posts{
        flex-direction: column;
        max-width: 100%;
        margin: 100px auto 0;
    }
    .post{
        width: 100%;
    }
    .blog .container{
        max-width: 900px;
    }
    .blog__top{
        max-width: 100%;
    }
    .story-vert__item{
        gap: 60px;
    }

}

@media  screen and (max-width: 1240px) {
    .story-vertical{
        padding-bottom: 0;
    }
    .story-vert__item{
        flex-direction: column-reverse;
    }
    .story-vert__item:first-child .story-vert__info:before{
        display: none;
    }
    .story-vert__item:nth-child(2) .story-vert__info:before{
        display: none;
    }
    .container{
        max-width: 925px;
    }
    .banner__title span{
        font-size: 64px;
    }
    .banner__title {
        padding-top: 280px;
        margin-bottom: 21px;
    }
    .about .about__title{
        font-size: 100px;
        line-height: 129px;
    }
    .section__desc p{
        margin-bottom: 0;
    }
    .section__desc{
        max-width: 907px;
        width: 100%;
        margin: 0 auto;
    }
    .feature__list{
        gap: 15px;
        margin-top: 20px;
    }
    .feature__item h4{
        line-height: 33px;
        font-size: 30px;
    }
    .feature__item p{
        font-size: 12px;
    }
    .feature__item{
        padding: 15px;
        border-radius: 15px;
    }
    .feature__item.border-gradient:before{
        border-radius: 15px;
    }
    .line{
        background-size: 100%;
        max-width: 710px;
    }
    .portfolio{
        padding-top: 100px;
    }
    .swiper-slide-active{
        width: 452px!important;
        transform: scale(1) !important;
        margin-left: -159px;
    }
    .swiper-slide-next{
        width: 400px !important;
        margin-left: -167px;
    }
    .swiper-slide-prev{
        width: 400px !important;

    }
    .swiper-slide-next .portfolio__item{
        margin-left: -5px;
    }
    .swiper-slide-prev .portfolio__item{
        margin-left: 5px;
    }
    .swiper-button-prev{
        left: 50px!important;
    }
    .swiper-button-next{
        right: 50px!important;
    }
    .portfolio__list{
        padding-bottom: 0;
        margin-bottom: 40px;
    }
    .faq{
        padding-top: 100px;
    }
    .quote{
        max-width: 944px;
    }
    .quote h2{
        font-size: 60px;
    }
    .quote .btn__primary{
        margin-top: 53px;
    }
    .events__content{
        padding-left: 0;
    }
    .event__text{
        max-width: 484px;
    }
    .event__date{
        width: 200px;
    }
    .event__info{
        width: calc(100% - 244px);
    }
    .contact__content{
        padding: 22px 30px 22px 22px;
        gap: 75px;
        margin-top: 20px;
    }
    .contact__img{
        width: 56px;
        height: 56px;
    }
    .contact__item{
        gap: 15px;
    }
    .contact__item h3{
        font-size: 24px;
        margin-bottom: 7px;
    }
    .contact__item a{
        font-size: 18px;
    }
    .social__link img{
        width: 56px;
        height: 56px;
    }
    .contact__form{
        margin-top: 120px;
    }
    .contact__socials{
        gap: 30px;
    }
    .contact__form form{
        margin-top: 40px;
    }
    .form__col label{
        font-size: 24px;
    }
    .form__row{
        padding: 40px;
        gap: 40px;
    }
    input{
        font-size: 18px;
    }
    .socials .social__link img{
        width: 40px;
        height: 40px;
    }
    .cases__list{
        flex-direction: row;
    }
    .cases__content{
        flex-direction: column;
        gap: 0;
        align-items: center;
    }
    .cases__left{
        width: 100%;
    }
    .cases__right{
        width: 100%;
    }
    .cases__content .section__title{
        text-align: center;
    }
    .cases__right .btn__primary{
        display: none;
    }
    .case__img{
        height: 460px;
    }
    .cases__left .btn__primary{
        display: none;
    }
    .btn__all{
        display: flex;
        margin: 20px auto 0;
        position: relative;
        border-radius: 40px;
    }
    .btn__all:before{
        border-radius: 40px;
    }
    .btn__all svg{
        position: absolute;
        right: 35px;

    }
    .cases__left{
        padding-top: 0;
    }
    .cases{
        padding-top: 80px;
    }
    .about__left{
        width: 474px;
    }
    .about__right{
        max-width: 617px;
        width: 100%;
    }
    .about__content{
        gap: 40px;
    }

    .about-info .container{
        max-width: 1140px;
    }
    .about__left img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left;
    }
    .about__right{
        padding-top: 56px;
    }
    .story__gallery img{
        width: 240px;
    }
    .story__gallery img:last-child{
        bottom: 0;
    }
    .story{
        padding-top: 180px;
    }
    .single-post__top{
        flex-direction: column-reverse;
    }
    .single-post__info{
        max-width: 100%;
    }
    .single-post__img {
        max-width: 100%;
    }
    .menu{
        padding-left: 0;
    }
    .menu{
        gap: 50px;
    }
}
@media  screen and (max-width: 1024px) {
    .banner__title{
        padding-top: 250px;
    }
    .line{
        background: url('../images/line-h.svg') no-repeat;
    }
    .faq__item summary:after{
        right: 19px;
    }
    .quote{
        margin-top: 100px;
    }
    .event__item--prev .event__text{
        padding-bottom: 32px;
    }
    .event__item{
        align-items: flex-start;
        margin-bottom: 20px;

    }
    .event__date{
        padding-top: 16px;
    }
    .event__item:last-child .event__date{
        padding-top: 0;
        margin-top: -8px;
    }
    .event__item:nth-child(2) .event__info:before{
        bottom: 77%;
    }
    .event__item:nth-child(2)  .event__date{
        padding-top: 12px;
    }
    .event__item:nth-child(2) .event__info:after{
        bottom: -31px;
        top: auto;
    }

    .about__left {
        width: 450px;
    }
    .about__right {
        max-width: 500px;
    }
    .about-page .contacts{
        display: none;
    }
    .story__list{
        flex-wrap: wrap;
    }
    .story__item{
        width: calc(100%/2 - 20px);
        justify-content: center;
    }
    .story__item:last-child{
        margin-left: unset;
    }
    .story__item p{
        margin-bottom: 20px;
    }
    .blog{
        padding-top: 180px;
    }
    .single-post__info{
        max-width: 677px;
    }
    .single-post__img img{
        margin-bottom: 0;
    }
    .gallery{
        gap: 15px;
    }
    .gallery__item { width: calc(100%/2 - 8px) }
/*    .gallery__item {
        width: calc(100% / 3 - 10px);
    }
*/
    .certificates .section__title{
        max-width: 100%;
        text-align: left;
    }
    .menu__link{
        font-size: 16px;
    }
    .certificates .section__text{
        display: flex;
        font-size: 24px;
        font-weight: 400;
        max-width: 402px;
        margin-top: 10px;
    }
    .gallery{
        gap: 15px;
    }
    .certificate__date{
        display: flex;
        padding: 15px;
        font-size: 20px;
        border-radius: 15px;

        position: relative;
        width: fit-content;
        white-space: nowrap;
        margin-right: 20px;
        background: linear-gradient(130.41deg, rgba(255, 255, 255, 0) 7.98%, rgba(255, 255, 255, 0.06) 51.54%, rgba(255, 255, 255, 0) 91.61%);

    }
    .certificate__date:before{
        border-radius: 15px;
    }
    .certificate__date span{
    background-image:  linear-gradient(180deg,rgba(253, 238, 189, 1) 0%, rgba(109, 92, 75, 1) 100%);
    color: transparent;
    background-clip: text;
}
    .certificate__date:before{
        border-radius: 15px;
    }
    .gallery__item{
        display: flex;
        align-items: center;
        gap: 20px;
        width: 100%;
        margin-bottom: 39px;
        position: relative;
    }

    .certificate__info{
        display: flex;
        flex-direction: column;
    }
    .gallery__item img{
        width: 200px;
    }
    .gallery__item:nth-child(2) img{
        width: 230px;
    }
    .gallery__item:nth-child(2) .certificate__date{
        font-size: 24px;
        margin-left: -15px;
        margin-right: 0;
    }
    .gallery__item:nth-child(2):before{
        content: '';
        width: 6px;
        height: 220px;
        background: url('../images/line-medium.svg') no-repeat;
        background-size: 100% 100%;
        position: absolute;
        top: -68%;
        left: 125px;
    }
    .gallery__item h3{
        font-size: 24px;
        font-weight: 600;
        font-family: "Graphik SemiBold", sans-serif;
        margin-bottom: 6px;
    }
    .gallery__item p{
        max-width: 390px;
        font-size: 16px;
        font-weight: 400;
        width: 100%;
        margin-bottom: 27px;
    }
    .gallery__item .btn__more{
        justify-content: flex-start;
        font-weight: 500;
        font-family: "Graphik Medium", sans-serif;
        background-image:  linear-gradient(180deg,rgba(253, 238, 189, 1) 0%, rgba(109, 92, 75, 1) 100%);
        color: transparent;
        background-clip: text;
        text-decoration: underline;
    }
    .certificate__date:hover{
        box-shadow: 0px 0px 25px 0px rgba(230, 219, 172, 0.25);

    }
}
@media  screen and (max-width: 990px) {
    .about-info .container{
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .about__left {
        width: 400px;
    }
    .about__left img{
        object-position: center;
    }
}
@media  screen and (max-width: 900px) {
    .container{
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .banner{
        height: 100vh;
    }
    .banner__title {
        padding-top: 180px;
    }
    .banner__title span {
        font-size: 58px;
    }

    .about{
        padding-top: 60px;
    }
    .about .about__title{
        font-size: 60px;
        line-height: 80px;
    }
    .about .section__sub{
        font-size: 28px;
        margin-bottom: 20px;
    }
    .section__desc p{
        font-size: 18px;
    }
    .swiper-slide-active{
        margin-left: -200px;
    }
    .swiper-slide-next{
        margin-left: -190px;
    }
    .portfolio{
        padding-top: 60px;
    }
    .faq{
        padding-top: 60px;
    }
    .section__title{
        font-size: 40px;
    }
    .faq__item summary{
        font-size: 20px;
    }
    .quote{
        margin-top: 60px;
    }
    .quote h2 {
        font-size: 48px;
        line-height: 60px;
    }
    .quote__content{
        padding-left: 20px;
        padding-right: 20px;
    }
    .quote .btn__primary {
        margin-top: 30px;
    }
    .events{
        height: 900px;
    }
    .event__title{
        font-size: 28px;
    }
    .event__date span{
        font-size: 18px;
    }
    .contacts{
        padding-top: 60px;
    }
    .contact__content{
        gap: 50px;
    }
    .contact__col:nth-child(2):before{
        left: -50px;
    }
    .contact__col:nth-child(2):after{
        right: -50px;
    }
    .contact__item h3{
        font-size: 20px;
    }
    .contact__item a {
        font-size: 16px;
    }
    .contact__form {
        margin-top: 80px;
    }
    .form__col label {
        font-size: 20px;
    }
    .contacts{
        padding-bottom: 30px;
    }
    .about__content{
        flex-direction: column;
    }
    .about__left{
        width: 100%;
        display: flex;
        align-items: center;
        max-width: 100%;
        gap: 40px;
        justify-content: center;
        margin: 0 auto;
    }
    .about__right{
        padding-top: 0;
        width: 100%;
        max-width: 100%;
    }
    .about__right .section__title, .about__right  .section__sub{
        display: none;
    }
    .about__left img{
        height: 400px;
        object-fit: contain;
        width: auto;
        position: relative;

    }
    .about__left--img{
        position: relative;
        width: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .about__left--img:before{
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 15px;
        padding: 1px;
        background: linear-gradient(211.41deg, #FDEEBD -1.09%, #6D5C4B 102.34%);
        -webkit-mask: linear-gradient(#FDEEBD 0 0) content-box, linear-gradient(#6D5C4B 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }
    .about__left--info{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        max-width: 400px;

    }
    .experience, .cases{
        position: relative;

    }
    .experience:before, .cases:before{
        content: '';
        position: absolute;
        height: 6px;
        max-width: 500px;
        width: 100%;
        background: url('../images/line-h.svg') no-repeat;
        background-size: 100% 100%;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
    }
    .experience .btn__primary{
        margin: 40px auto 0;
    }
    .cases:before{
        top: 50px;
    }
    .story__top .section__text{
        font-size: 20px;
    }
    .story__item ul{
        font-size: 16px;
    }
    .story-page footer{
        padding-top: 0;
    }
    .single-post{
        padding-top: 100px;
    }
    .certificates{
        padding-top: 180px;
    }
    .conference__item:nth-child(2):after, .conference__item:nth-child(3):after{
        left: -13px;
    }
    .conference{
        padding-top: 200px;
    }
}
@media  screen and (max-width: 768px) {
    .conference {
        padding-top: 100px;
    }
    .conference .section__text{
        font-size: 16px;
    }
    .conference__list{
        margin-top: 80px;
    }
    .conference__item h3{
        font-size: 32px;
    }
    .conference__date{
        font-size: 14px;
    }
    .conference__place{
        font-size: 14px;
    }
    .conference__bottom .btn__more{
        font-size: 14px;
    }
    .conference__item:nth-child(2):after, .conference__item:nth-child(3):after{
        display: none;
    }
    .certificates{
        padding-top: 100px;
    }
    .about .section__sub{
        font-size: 24px;
    }
    .swiper-slide-active {
        margin-left: -36%;
    }
    .swiper-slide-next {
        margin-left: -242px;
    }
    .quote{
        padding-top: 60px;
        padding-bottom: 60px;
        background-size: contain;
    }
    .quote h2{
        font-size: 32px;
    }
    .btn__primary{
        height: 40px;
        font-size: 16px;
        width: 280px;
    }
    .events .btn__primary{
        width: 280px;
    }
    .event__title {
        font-size: 24px;
    }
    .contact__content{
        flex-direction: column;
        background: transparent;
        padding: 0;
        align-items: center;
        gap: 40px;
    }
    .contact__content:before{
        display: none;
    }
    .contact__item{
        height: 56px;
        gap: 10px;
        width: 280px;
        position: relative;
        background: linear-gradient(130.41deg, rgba(255, 255, 255, 0) 7.98%, rgba(255, 255, 255, 0.06) 51.54%, rgba(255, 255, 255, 0) 91.61%);
        align-items: center;
    }
    .contact__item:before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50px;
        padding: 1px;
        background: linear-gradient(211.41deg, #FDEEBD -1.09%, #6D5C4B 102.34%);
        -webkit-mask: linear-gradient(#FDEEBD 0 0) content-box, linear-gradient(#6D5C4B 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }
    .contact__text h3{
        display: none;
    }
    .contact__socials{
        flex-direction: column;
        gap: 10px;
    }
    .contact__socials .social__link{
        display: flex;
        height: 56px;
        gap: 10px;
        width: 280px;
        position: relative;
        background: linear-gradient(130.41deg, rgba(255, 255, 255, 0) 7.98%, rgba(255, 255, 255, 0.06) 51.54%, rgba(255, 255, 255, 0) 91.61%);
        align-items: center;
    }
    .contact__socials .social__link:before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50px;
        padding: 1px;
        background: linear-gradient(211.41deg, #FDEEBD -1.09%, #6D5C4B 102.34%);
        -webkit-mask: linear-gradient(#FDEEBD 0 0) content-box, linear-gradient(#6D5C4B 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }
    .contact__socials .social__link span{
        display: flex;
        color:  #FFFFFFCC;
    }
    .contact__col{
        gap: 10px;
    }
    .contact__socials .social__link:hover{
        box-shadow: 0px 0px 7.5px 0px #C2B18280;
        border-radius: 50px;
    }
    .contact__item:hover{
        box-shadow: 0px 0px 7.5px 0px #C2B18280;
        border-radius: 50px;
    }
    .contact__col:nth-child(2):before{
        height: 6px;
        width: 230px;
        background: url('../images/line-mob.svg') no-repeat;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    .contact__col:nth-child(2):after{
        height: 6px;
        width: 230px;
        background: url('../images/line-mob.svg') no-repeat;
        bottom: -25px;
        top: unset;
        right: unset;
        left: 50%;
        transform: translateX(-50%);
    }
    .form__row{
        flex-direction: column;
    }
    .btn__submit{
        height: 40px;
        width: 280px;
        font-size: 16px;
    }
    .experience__item:first-child .experience___info:before{
        display: none;
    }
    .experience__item{
        flex-direction: column;
        gap: 10px;
    }
    .experience h3{
        font-size: 32px;
    }
    .about-info{
        padding-top: 100px;
    }
    .experience .btn__primary svg{
        width: 15px;
        height: 15px;
        right: 18px;
    }
    .story__item{
        width: 100%;
    }
    .story {
        padding-top: 80px;
    }
    .post__info h3{
        font-size: 32px;
    }
    .post__info p{
        font-size: 14px;
    }
    .post__title{
        font-size: 32px;
    }
    .single-post__info p{
        font-size: 16px;
    }
    .single-post__content p{
        font-size: 16px;
        line-height: normal;
    }
    .story-vert__img img{
        max-width: 240px;
    }
    .story-vert__item:nth-child(2) img:first-child{
        max-width: 100%;
    }
    .story-vert__item .section__text{
        font-size: 16px;
    }
    .menu{
        display: none;
        position: fixed;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(23, 24, 26, .75);
        gap: 30px;
    }
    header{
        background: transparent;
        padding-left: 0;
        padding-right: 0;
    }
    .btn__menu{
        display: flex;
        width: 40px;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .menu__link{
        font-size: 18px;
        color: rgba(255, 255, 255, .9);
    }
    .certificates .section__text{
        font-size: 16px;
    }
    .gallery{
        margin-top: 50px;
    }
}
@media  screen and (max-width: 600px) {
    .story-vert__item .story__points{
        font-size: 10px;
    }
    .story-vert__item:first-child .story-vert__img{
        padding-top: 0;
    }
    .story-vert__item{
        gap: 20px;
        margin-bottom: 20px;
    }
    .story-vert__item .section__text{
        font-size: 10px;
    }
    .portfolio__list{
        max-width: 350px;
    }
    .swiper-slide-prev {
        width: 100%!important;
    }
    .swiper-slide-active{
        margin-left: 0;
        width: 100% !important;
    }
    .swiper-slide-next{
        margin-left: 0;
        width: 100%!important;
    }
    .swiper-button-next{
        right: 10px!important;
        width: 40px;
        height: 40px;
        background-size: 100%;
    }
    .swiper-button-prev{
        left: 10px!important;
        width: 40px;
        height: 40px;
        background-size: 100%;
    }
    .swiper-slide-active .portfolio__img, .portfolio__img{
        height: 250px;
        box-shadow: none;
    }
    .portfolio__item .portfolio__info{
        display: flex;
        flex-direction: column;
    }
    .swiper-slide-active .portfolio__item{
        padding-top: 10px;
    }
    .swiper-slide-active .portfolio__item{
        padding-top: 3px;
    }
    .portfolio__list{
        margin-bottom: 18px;
    }
     .line{
         background: url('../images/line-mob.svg') no-repeat;
         background-size: 100%;
     }
    .faq{
        padding-top: 40px;
    }
    .section__title{
        font-size: 24px;
        line-height: 52px;
        letter-spacing: -0.05em;
    }
    .faq__list{
        margin-top: 20px;
    }
    .faq__item summary{
        font-size: 16px;
        padding: 12px 40px 12px 10px;
        line-height: normal;
    }
    .faq__item summary:after{
        right: 10px;
        top: 18px;
    }
    .faq__item div {
        padding: 0 40px 11px 10px;
        font-size: 14px;
    }
    .quote{
        margin-top: 40px;
        padding-top: 16px;
        margin-bottom: 0;
    }
    .quote .btn__primary{
        margin-top: 20px;
    }
    .about{
        background: transparent;
    }
    .event__item:nth-child(2) .event__info:before, .event__item:nth-child(2) .event__info:after{
        display: none;
    }
    .event__item{
        flex-direction: column;
        gap: 4px;
    }
    .event__date{
        justify-content: flex-start;
        padding-top: 0;
        min-width: unset;
        width: fit-content;
    }
    .event__date span{
        font-size: 10px;
        padding: 7px;
        border-radius: 7px;
        line-height: 1;
    }
    .event__title {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .event__place{
        font-size: 10px;
    }
    .event__item--prev .event__text{
        font-size: 12px;
        padding-bottom: 0;
    }
    .event__text{
        font-size: 12px;
    }
    .events .btn__primary{
        display: none;
    }
    .event__date span.border-gradient:before{
        border-radius: 7px;
    }
    .event__item--active .event__date span{
        box-shadow: 0px 0px 12.5px 0px #00000040 inset, 0px 0px 7.5px 0px #CCC18780;

    }
    .gallery__item:nth-child(2):before{
        display: none;
    }
    .gallery{
        margin-top: 40px;
    }
    .certificates{
        padding-top: 40px;
    }
    .contacts{
        padding-top: 40px;
    }
    .event__item:nth-child(2) .event__date{
        padding-top: 0;
    }
    .events{
        height: auto;

        background-size: contain;
        background-position: top center;
    }
    .banner{
        background-position: right;
        position: relative;
    }
    .banner__title{
        flex-direction: column;
        padding-top: 0;
    }
    .banner__title span{
        text-align: right;
        font-size: 32px;
    }
    .banner .btn__primary{
        margin: auto auto 60px;

    }
    .banner:after{
        content: '';
        position: absolute;
        width: 100%;
        left: 0;
        height: 80px;
        bottom: -15px;
        background: url('../images/banner-overlay.png');

    }
    .banner__content{
        padding-top: 200px;
    }
    .about .about__title{
        font-size: 48px;
        line-height: 1;
        margin-bottom: 10px;
    }
    .about .section__sub{
        font-size: 16px;
        line-height: 1;
        margin-bottom: 10px;
    }
    .section__desc p {
        font-size: 14px;
    }
    .feature__list{
        gap: 10px;
        flex-wrap: wrap;
    }
    .feature__item{
        width: calc(100%/2 - 5px);
    }
    .line{
        margin-top: 20px;
    }
    .portfolio{
        padding-top: 40px;
    }
    .events__content{
        padding-top: 240px;
    }
    .form__row{
        border-radius: 15px;
        padding: 20px 21px 26px 19px;
        gap: 10px;
    }
    .form__row.border-gradient:before{
        border-radius: 15px;
    }
    input{
        height: 40px;
        border-radius: 7px;
    }
    .form__col label {
        font-size: 16px;
    }
    .btn__submit{
        margin-top: 10px;
        color: #FFFFFF;
        background: linear-gradient(130.41deg, rgba(255, 255, 255, 0) 7.98%, rgba(255, 255, 255, 0.06) 51.54%, rgba(255, 255, 255, 0) 91.61%);

    }
    .btn__submit span{
        color: #FFFFFF;
        font-size: 12px;
        border-radius: 25px;
    }
    .btn__submit:before{
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 25px;
        padding: 1px;
        background: linear-gradient(211.41deg, #FDEEBD -1.09%, #6D5C4B 102.34%);
        -webkit-mask: linear-gradient(#FDEEBD 0 0) content-box, linear-gradient(#6D5C4B 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }
    footer{
        padding-top: 30px;
    }
    .contacts{
        padding-bottom: 0;
    }
    .contact__form form{
        margin-top: 20px;
    }
    .contact__form{
        margin-top: 40px;
    }
    .home{
        background-image: none;
    }
    .about-info{
        padding-top: 13px;
    }
    .btn__menu{
        width: 40px;
    }

    .about__left--img{
        width: 200px;
    }
    .about__left img{
        height: 188px;
    }
    .about__left{
        gap: 10px;
    }
    .about__content{
        gap: 10px;
    }
    .about__right p{
        font-size: 16px;
    }
    .about__content .section__title{
        font-size: 25px;
        margin-bottom: 5px;
        line-height: normal;
    }
    .about__content .section__sub{
        font-size: 16px;
        line-height: normal;

    }
    .experience h3 {
        font-size: 24px;
        line-height: normal;
    }
    .experience__date{
        padding: 4px 14px;
        height: 30px;
        min-width: 80px;
        border-radius: 7px;
    }
    .experience__date.border-gradient:before{
        border-radius: 7px;
    }
    .experience__date span:first-child{
        font-size: 12px;
        line-height: normal;
        margin-bottom: 4px;
    }
    .experience__date span:last-child{
        font-size: 8px;
        line-height: normal;
    }
    .experience__item ul{
        padding-top: 0;
        font-size: 10px;
        line-height: 15px;
    }
    .experience__item{
        margin-bottom: 20px;
    }
    .experience .btn__primary{
        margin-top: 20px;
        width: 200px;
        font-size: 12px;
    }
    .experience .btn__primary:before{
        border-radius: 20px;
    }
    .experience .btn__primary{
        border-radius: 20px;
        padding: 13px 17px;
    }
    .experience .btn__primary svg, .btn__all svg{
        width: 10px;
        height: 10px;
    }
    .cases{
        padding-top: 40px;
    }
    .cases:before {
        top: 25px;
        width: 230px;
    }
    .cases__list{
        flex-direction: column;
    }
    .case__img{
        height: 300px;
    }
    .case{
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .story__top .section__text {
        font-size: 16px;
    }
    .story__list{
        margin-top: 40px;
    }
    .story__title{
        font-size: 12.5px;
        line-height: normal;
        margin-bottom: 5px;
    }
    .story .container{
        padding-left: 20px;
        padding-right: 20px;
    }
    .story__item ul {
        font-size: 10px;
        line-height: 15px;
        margin-bottom: 10px;
    }
    .story__gallery img:last-child{
        display: none;
    }
    .story__gallery{
        display: flex;
        justify-content: center;

    }
    .story__item{
        margin-bottom: 40px;
        position: relative;
    }
    .story__item:after{
        content: '';
        width: 230px;
        height: 6px;
        position: absolute;
        background: url('../images/line-mob.svg') no-repeat;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
    }
    .story__item p{
        font-size: 10px;
        line-height: normal;
    }
    .story__item:last-child:after{
        display: none;
    }
    .story .line{
        display: none;
    }
    .story-page .contacts{
        display: flex;
        padding-top: 0;
        margin-bottom: 30px;

    }
    .story-page .contacts .container{
        padding-left: 20px;
        padding-right: 20px;
    }
    .story__item:last-child{
        margin-bottom: 0;
    }
    .story{
        padding-bottom: 0;
        padding-top: 40px;
    }
    .post__img{
        width: 140px;
        min-height: 160px;
        border-radius: 15px;
    }
    .post__info{
        width: calc(100% - 150px);
        padding-top: 7px;
        padding-bottom: 7px;
        padding-right: 8px;
    }
    .post{
        gap: 10px;
        border-radius: 15px;
        height: 160px;
    }
    .post:before, .post__img img{
        border-radius: 15px;
    }
    .post__info h3{
        font-size: 16px;
    }
    .post__info p{
        font-size: 8px;
    }
    .post__info .btn__more{
        font-size: 8px;
    }
    .blog-page .contacts{
        display: flex;
        padding-top: 0;
        padding-left: 10px;
        padding-right: 10px;
    }
    .posts{
        gap: 20px;
        margin-top: 40px;
    }
    .blog{
        padding-top: 40px;
    }
    .blog__top .section__text{
        font-size: 10px;
        line-height: normal;
    }
    .blog .container{
        padding-left: 20px;
        padding-right: 20px;
    }
    .single-post{
        padding-top: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .post__title{
        font-size: 24px;
    }
    .single-post__info p{
        font-size: 10px;
    }
    .single-post__top{
        margin-bottom: 10px;
    }
    .single-post__content h3{
        background-image:  linear-gradient(180deg,rgba(253, 238, 189, 1) 0%, rgba(109, 92, 75, 1) 100%);
        color: transparent;
        background-clip: text;
        font-size: 12.5px;
        line-height: normal;
        margin-bottom: 6px;
    }
    .single-post__content p{
        font-size: 10px;
        line-height: 15px;
        margin-bottom: 20px;
    }
    .post-page .contacts{
        display: flex;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 0;
    }
    .single-post__content{
        padding-left: 0;
    }
    .single-post__content:before{
        display: none;
    }
    .single-post img{
        margin-bottom: 10px;
    }
    .conference__bottom{
        flex-wrap: wrap;
    }
    .conference__item{
        min-height: auto;
        padding: 20px;
        margin-bottom: 20px;
    }
    .conference__list{
        margin-top: 20px;

    }
    .gallery__item{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .gallery__item p{
        max-width: 100%;
        font-size: 12px;
    }
    .gallery__item h3{
        font-size: 16px;
    }
    .gallery__item .btn__more{
        font-size: 12px;
    }
    .gallery__item:nth-child(2) .certificate__date, .certificate__date{
        margin-left: 0;
        font-size: 10px;
        padding: 8px;
        border-radius: 8px;
    }
    .certificate__date:before{
        border-radius: 8px;
    }
    .btn__menu{
        top: 10px;
        right: 10px;
    }
}
@media  screen and (max-width: 480px) {
    .gallery {
        flex-direction: column;
        gap: 15px;
    }
    .gallery__item {
        width: 100%;
    }
    .certificates {
        padding-top: 120px;
    }
    .conference__item p{
        font-size: 10px;
        line-height: 16px;
    }
    .conference__item h3{
        font-size: 16px;
    }
    .conference__date, .conference__place {
        font-size: 10px;
        padding: 8px;
    }
    .conference__bottom .btn__more{
        font-size: 12px;
    }
    .story__top .section__text {
        font-size: 10px;
    }
    .about__content .section__sub{
        font-size: 12px;
        line-height: normal;

    }
    .about__right p{
        font-size: 10px;
    }
    .banner{
        background: url('../images/banner-mob.png') no-repeat;
        background-size: cover;
        height: 540px;
    }
    .banner:after{
        bottom: -25px;
    }
    .about{
        padding-top: 40px;
    }
    .footer__left{
        width: 135px;
    }
    .footer__right{
        max-width: 150px;
    }
    .footer__right h3{
        font-size: 24px;
        margin-bottom: 5px;
    }
    .footer__right p{
        font-size: 8px;
        line-height: 11.4px;
        margin-bottom: 8px;
    }
    .footer__right .socials{
        margin-bottom: 8px;
    }
    .footer__right a{
        font-size: 8px;
        line-height: 10px;
        margin-bottom: 5px;
    }
    .btn__submit{
        width: 200px;
    }
    .btn__primary{
        width: 200px;
        font-size: 12px;
        height: 40px;
        border-radius: 25px;
        padding: 12px 17px;
    }
    .btn__primary.border-gradient:before{
        border-radius: 25px;
    }
    .section__desc p{
        font-size: 12px;
        font-family: 'Graphik Light', sans-serif;
        font-weight: 300;
    }
    .feature__item h4{
        font-size: 20px;
        line-height: 1;
    }
    .feature__item p{
        font-size: 10px;
        line-height: normal;
        text-align: center;
        white-space: nowrap;
    }
    .feature__item{
        padding: 15px 16px;
    }
    .line{
        width: 230px;
    }
    .portfolio{
        padding-top: 20px;
    }
    .section__title{
        font-size: 24px;
        line-height: normal;
    }
    .portfolio__list{
        margin-top: 10px;
    }
    .swiper-button-next{
        width: 25px;
        height: 25px;
    }
    .swiper-button-prev{
        width: 25px;
        height: 25px;
    }
    .portfolio__list {
        max-width: 220px;
    }
    .swiper-slide-active .portfolio__img, .portfolio__img{
        height: 180px;
    }
    .portfolio__info{
        margin-top: 6px;
    }
    .portfolio__info h3{
        font-size: 10px;
        line-height: 14px;
    }
    .portfolio__info p{
        font-size: 8px;
        line-height: 12px;
    }
    .faq{
        padding-top: 20px;
    }
    .faq__item summary{
        font-size: 12px;
    }
    .faq__item summary:after{
        top: 14px;
        width: 12px;
        height: 12px;
        background-size: 100% 100%;
    }
    .faq__item div{
        font-size: 8px;
        line-height: normal;
        max-width: 250px;
        padding-right: 0;
    }
    .faq__item{
        border-radius: 7px;
    }
    .faq__item.border-gradient:before{
        border-radius: 7px;
    }
    .faq__list{
        gap: 10px;
    }
    .quote h2{
        line-height: normal;
        margin-bottom: 10px;
    }
    .quote{
        background-position: top left;
    }
    .events{
        background: none;
    }
    .events__content{
        padding-top: 0;
    }
    .event__info{
        width: 100%;
    }
    .event__image{
        height: 600px;
        width: 100%;
        display: flex;
        background: url('../images/events-mob.png') no-repeat   ;
        background-size: cover;
        position: relative;
    }
    .event__image:after{
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 80px;
        width: 100%;
        background: url('../images/event-after.png');
    }
    .event__image:before{
        content: '';
        position: absolute;
        left: 0;
        top:0;
        height: 80px;
        width: 100%;
        background: url('../images/event-after.png');
        transform: rotate(180deg);

    }
    .events__content{
        margin-top: -60px;
    }
    .event__text {
        font-size: 8px;
        max-width: 242px;
    }
    .event__place{
        line-height: normal;
        margin-bottom: 4px;
    }
    .contact__item, .contact__socials .social__link{
        width: 180px;
        border-radius: 19px;
        height: 36px;
    }
    .contact__item:before, .contact__socials .social__link:before{
        border-radius: 19px;
    }
    .contact__item a, .contact__socials .social__link {
        font-size: 12px;
    }
    .contact__img ,.contact__socials .social__link img{
        width: 37px;
        height: 37px;
    }
    .form__col label{
        line-height: normal;
    }
    .form__col label span{
        width: 15px;
        height: 15px;
        background-size: 100% 100%;
    }
    .form__col:first-child label span, .form__col:last-child label span{
        background-size: 100%;
    }
    input{
        font-size: 12px;
    }
    .btn__submit{
        border-right: 25px;
    }
    .btn__menu{
        width: 40px;
    }

    .container{
        padding-left: 10px;
        padding-right: 10px;
    }
    .experience{
        margin-top: 40px;
    }
    .experience:before{
        top: -25px;
        width: 230px;
    }
    .experience__date span:first-child{
        margin-bottom: 0;
    }
    .about-page .contacts{
        display: flex;
        position: relative;
    }
    .about-page .contacts:before{

        content: '';
        position: absolute;
        height: 6px;
        max-width: 230px;
        width: 100%;
        background: url(../images/line-h.svg) no-repeat;
        background-size: 100% 100%;
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
    }
    .story-vert__img img {
        max-width: 150px;
    }
    .story-vert__img{
        gap: 10px;
    }
    .menu{
        gap: 20px;
    }
    .menu__link{
        font-size: 24px;
    }
}



@media screen and (max-width: 1024px) {
    .gallery__item {
        width: calc(100%/2 - 8px); /* две колонки */
    }
}

@media screen and (max-width: 600px) {
    .gallery {
        flex-direction: column;
        gap: 15px;
    }
    .gallery__item {
        width: 100%; /* одна колонка */
    }
    .certificates {
        padding-top: 120px;
    }
}