html{
    box-sizing: border-box;
}

*,
*::before,
*::after{
    box-sizing: inherit;
}

a{
    color: inherit;
    text-decoration: none;
}

img{
    max-width: 100%;  
}

body{
    font-family: "Plus Jakarta Sans", sans-serif;
    /* font-family: "Playfair Display", serif; */
    /* font-family: "Poppins", sans-serif;  */
}

.container{
    max-width: 1130px;
    padding: 0 15px;
    margin: 0 auto;
}

.header__menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 7px;
}

.header-portfolio {
    position: fixed;
    color: #000;
    display: block;
    margin-top: 90px;
    padding: 5px 10px;
    border-radius: 4px;
    background: #f31d1d;
    transition: all .2s ease-in;
    z-index: 100;
}

.header-portfolio:hover{
    background-color: #be0924;
    color: #fff;
}

/* Burger */
.header__burger-btn{
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.header__burger-btn span{
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #000;
    left: 5px;
    transition: transform .5s, opacity .5s, background-color .5s;
}

.header__burger-btn span:nth-child(1){
    transform: translateY(-10px);
}

.header__burger-btn span:nth-child(3){
    transform: translateY(10px);
}

.header.open .header__burger-btn span{
    background-color: #fff;
}

.header.open .header__burger-btn span:nth-child(1){
    transform: translateY(0) rotate(45deg);
}
.header.open .header__burger-btn span:nth-child(2){
    opacity: 0;
}
.header.open .header__burger-btn span:nth-child(3){
    transform: translateY(0) rotate(-45deg);
}
/* /menu-burger */

.menu-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu__list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 110px;
}

.menu__item{
    padding-right: 56px;
}

.menu__link{
    font-size: 12px;
    text-transform: uppercase;
    line-height: 23px;
    color: gray;
    transition: color .3s;
}

.menu__link:hover{
    color: rgb(55, 53, 53);
    text-decoration: underline;
}

.header__info-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 435px;
    height: 40px;
    background-color: #e7f6ff;
    border-radius: 26px;
    margin-top: 94px;
}

.box__btn{
    width: 86px;
    height: 28px;
    font-size: 14px;
    background-color: #094b72;
    color: #fff;
    border: none;
    border-radius: 26px;
    margin-left: 6px;
    cursor: pointer;
    transition: background-color .3s;
}

.box__btn:hover{
    background-color: #1e638a;
}

.box__text{
    font-size: 14px;
    line-height: 36px;
    color: #193e6c;
    margin-right: 21px;
}

.header-block__inner{
    /* position: relative; */
    display: flex;
   justify-content: space-between;
    /* align-items: center; */
}

.header-block__left{
   z-index: 1;
}

.header__title{
    font-family: "Playfair Display", serif;
    width: 720px; 
    font-size: 90px;
    font-weight: 700;
    line-height: 120%;
    color: #094b72;
    margin-top: 16px;
    margin-bottom: 45px;

}

.header__text{
    width: 590px;
    font-size: 24px;
    font-weight: 600;
    line-height: 158%;
    color: #4f4f4f;
    margin-bottom: 42px;
}

.header__btn{
    width: 190px;
    height: 80px;
    text-align: center;
    background-color: #094b72;
    border: none;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    text-transform: uppercase;
    color: #f9f8f9;
    cursor: pointer;
    transition: background-color .3s;
    margin-bottom: 115px;

}

.header__btn:hover{
    background-color: #1e638a;
}

.header__info span{
    font-size: 22px;
    line-height: 140%;
    color: #8b8c8c;
}

.header__info-list{
    margin-top: 34px;
    display: flex;
    
    align-items: center;
    gap: 30px;
    width: 238px;
    flex-wrap: wrap;
}

.header-block__right{
    position: relative;
}


.header__right-photo{
    position: absolute;
    right: 0;
    bottom: 60px;
    display: inline-block;
    max-width: 550px;
   
}

.header__right-info{
    position: absolute;
    bottom: -20px;
    right: 100px;
    width: 382px;
    height: 114px;
    background-color: #fff;

    text-align: center;
    align-items: center;
    border-radius: 10px;

}

.header__right-title{
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    color: #33475b;
    padding-top: 20px;
}

.header__right-text{
    font-size: 16px;
    line-height: 36px;
    font-weight: 600;
    color: #87898c;
}

.help{
    background-color: #f2f7ff;
    padding: 120px 0 110px;
}

.help__inner{
    width: 415px;
    margin-top: 40px;
}

.help-block__inner{
    display: flex;
    justify-content: space-between;
}

.content__title{
    font-family: "Playfair Display", serif;
    width: 415px;
    font-size: 48px;
    font-weight: 700;
    line-height: 130%;
    color: #2d2f30;
}

.content__text{
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 36px;
    color: #8b8c8c;
    padding: 20px 27px 10px 7px;
}

.help-box{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-left: 52px;
}

.help-box__content{
    width: 260px;
    background-color: #fcfcfc;
    border-radius: 8px;
    padding: 24px;
}

.help__icon{
   margin-bottom: 18px;
}

.help__title{
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 22px;
    font-weight: 700;
    color: #363940;
    margin-bottom: 10px;
}

.help__text{
    font-size: 14px;
    line-height: 24px;
    color: #8b8c8c;
}

.count{
    background-image: url(../images4/rectangle.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 55px;
}

.count-content{
    text-align: center;
    color: #fff;
    margin-bottom: 48px;
}

.count-content__title{
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
}

.count-content__text{
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 32px;
}

.count__inner{
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #fff;
    text-align: center;
}

.count__box{
    width: 255px;
}

.count__box span{
    font-size: 48px;
    line-height: 64px;
    font-weight: 900;
}

.count__text{
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 32px;
}

.testimonial{
    padding: 60px 0 90px;
    background-color: #f2f7ff;
}

.testimonial-content__title{
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
    color: #2d2f30;
    margin-bottom: 50px;
}

.testimonial__inner{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial__inner-box{
    width: 520px;
    text-align: center;
}

.testimonial__block{
    background-color: #fff;
    padding: 32px 32px 60px 32px;
    margin-bottom: 20px;
}

.testimonial__title{
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #151617;
    margin-bottom: 8px;
}

.testimonial__text{
    font-size: 14px;
    line-height: 24px;
    color: #4f4f4f;
}

.testimonial__info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: start;
}

.testimonial__info-title{
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: #151617;
}

.testimonial__info-link{
    font-size: 14px;
    line-height: 18px;
    color: #2d2f30;
    transition: color .3s ease-in;
}

.testimonial__info-link:hover{
    color: #8c061a;
    text-decoration: underline;
}

.contact{
    padding: 40px 0;

}

.contact__inner{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.contact__content{
    max-width: 820px;
}

.contact-content__title{
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
    color: #2d2f30;
    margin-bottom: 15px;
}

.contact-content__text{
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    line-height: 36px;
    color: #4f4f4f;
    margin-bottom: 20px;
}

.contact__btn{
    font-family: "Poppins", sans-serif;
    background-color: #094b72;
    color: #f9f8f9;
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    border-radius: 8px;

    font-size: 22px;
    line-height: 36px;
    width: 219px;
    height: 64px;
    transition: background-color .3s;
    
}

.contact__btn:hover{
    background-color: #1e638a;
}

.footer{
    background-color: #094b72;
    padding-top: 73px;
}

.footer__inner{
    display: flex;
    justify-content: space-between;
}

.footer__block{
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 27px;
   
}

.footer__block-box{
    width: 160px;
}

.footer__title{
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    color: #f4f5f7;
    margin-bottom: 32px;
}

.footer__item{
    list-style-type: none;
    margin-bottom: 12px;
}

.footer__link{
    font-size: 16px;
    line-height: 26px;
    color: #eeeff4;
    transition: color .3s;
}

.footer__link:hover{
    text-decoration: underline;
    color: #b3b4be;
}

.footer__info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e638a;
    margin-top: 92px;
    padding: 23px 165px 23px 185px;
} 

.footer__info-text{
    font-size: 14px;
    line-height: 24px;
    color: #d9dbe1;
}

.footer__info-list{
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__info-item{
    list-style-type: none;
}


@media(max-width:1100px){
    .header__title{
        font-size: 70px;
    }
}

/* Burger */
@media(max-width:971px){
    .header__burger-btn{
        display: block;
        z-index: 4;
    }
    .menu__list{
        position: absolute;
        left: -100%;
        top: 0;
        background-color: deepskyblue;
        display: block;
        width: 100%;
        height: 700px;
        padding: 100px 20px 20px 20px;
        z-index: 2;
        transition: transform .5s;
    }
    .menu__item{
        margin-top: 30px;
    }
    .menu__link{
        font-size: 16px;
        color: #000;
    }
    .header.open .menu__list{
        transform: translateX(100%);
    }
}

/*/Burger*/


@media(max-width:771px){
    .header__title{
        font-size: 50px;
        width: 100%;
    }
    .help{
        padding: 50px 0;
    }
    .help-block__inner{
        display: block;
    }
    .content__title{
        font-size: 38px;
    }
    .footer__inner{
        display: block;
    }
    .footer__info{
        display: block;
        margin-top: 50px;
        padding: 30px;
    }
    .footer__info-links{
        margin-top: 20px;
    }
}

@media(max-width:671px){
    .contact__inner{
        display: block;
    }
    .contact-content__title{
        font-size: 38px;
        line-height: 44px;
    }
    .contact-content__text{
        font-size: 16px;
        line-height: 26px;
    }
    .contact__img{
        margin-top: 30px;
    }
    .contact__btn{
        width: 160px;
        height: 54px;
    }
}

@media(max-width:650px){
    .header__info-box{
        margin-top: 44px;
    }
    .header__title{
        font-size: 50px;
        width: 100%;
    }
    .header__text{
        width: 100%;
    }
    .header__info-list{
        display: block;
    }
    .header__info-img{
        display: block;
        margin-top: 20px;
    }
    .count{
        padding: 30px 0;
    }
    .count-content{
        margin-bottom: 20px;
    }
    .count-content__title{
        font-size: 38px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    .count-content__text{
        line-height: 22px;
    }
    .count__inner{
        display: block;
    }
    .count__box{
        width: 100%;
    }
    .count__box span{
        font-size: 38px;
    }
    .footer__block{
        flex-wrap: wrap;
    }
}


@media(max-width:495px){
    .header__title{
        font-size: 30px;
    }
    .header__text{
        font-size: 16px;
    }
    .header__info span{
        font-size: 16px;
    }
    .header__info-box{
        margin-top: 20px;
        width: 100%;
    }
    .box__text{
        display: none;
    }
    .header__btn{
        width: 130px;
        height: 50px;
        font-size: 12px;
    }
    .header__right-photo{
        width: 450px;
    }
    .header__right-info{
        bottom: 120px;
        right: 0;
        width: 150px;
        height: 60px;
    }
    .header__right-title{
        font-size: 16px;
        line-height: 18px;
        padding-top: 10px;
    }
    .header__right-text{
        font-size: 12px;
        line-height: 20px;
    }
    .content__title{
        font-size: 24px;
        width: 100%;
    }
    .content__text{
        font-size: 16px;
        line-height: 26px;
    }
    .help__title{
        font-size: 20px;
    }
    .help__inner{
        width: 100%;
    }
    .help-box{
        margin-left: 10px;
    }
    .testimonial{
        padding: 40px;
    }
    .testimonial-content__title{
        font-size: 38px;
        line-height: 40px;
    }
    .footer__block-box{
        margin-left: 50px;
    }
}

