*,
*:before,
*:after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, ol{
    list-style: none;
}

.img{
    display: block;
    max-width: 100%;
    height: auto;
}

.text-center{
    text-align: center;
}

body{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container{
    width: 100%;
    max-width: 1381px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    padding: 15px 0;
    width: 100%;

    background-color: #fff;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__logo {
    margin-right: 100px;
}

.nav {
    margin-right: 100px;
}

.nav__list {
    display: flex;
}

.nav__item {
    position: relative;
}

.subnav {
    display: none;
    opacity: 0;
    width: 100%;
    max-width: 205px;
    padding: 5px 0;

    background-color: #1B8036;
    border-radius: 5px;
    box-shadow: 3px 10px 20px 0 rgba(27, 128, 54, 0.51);

    position: absolute;
    top: 100%;
    left: 0;

    transition: opacity .2s linear;
}

.subnav__link {
    display: block;
    padding: 10px 20px;

    font-size: 18px;
    color: #fff;
    text-decoration: none;

    transition: background-color .2s linear;
}

.subnav__link:hover {
    background-color: #176b2d;
}

.nav__link {
    display: inline-block;
    margin: 0 40px;

    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-decoration: none;

    transition: color .2s linear;
}

.nav__link:hover {
    color: #1B8036;
}

.nav__link.has-subnav {
    position: relative;
    padding-right: 35px;
    margin-left: 55px;
    cursor: pointer;
}

.nav__link.has-subnav:after {
    content: "";
    display: block;
    margin-top: -2px;

    width: 8px;
    height: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;

    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%) rotate(135deg);

    transition: border .2s linear;
}

.nav__link.has-subnav:hover:after {
    border-top: 2px solid #1B8036;
    border-right: 2px solid #1B8036;
}

.btn--green {
    display: inline-block;
    vertical-align: middle;
    padding: 15px 25px;

    background: #1B8036;
    border: none;
    cursor: pointer;
    border-radius: 24px;
    box-shadow: 3px 10px 20px 0 rgba(27, 128, 54, 0.51);

    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;

    transition: background .2s linear;
}

.btn--green:hover {
    background: #176b2d;
}

/* Burger */
.burger{
    display: none;
    position: relative;
    width: 30px;
    height: 14px;
    cursor: pointer;
    background: none;
    border: none;
    color: transparent;
    font-size: 0;
}

.burger__line{
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 2px;
    background-color: #000;
    transition: transform .2s ease-out;
}

.burger__line:first-child{
    margin-top: 0;
}

.burger__line:nth-child(1){
    width: 20px;
    margin-left: auto;
}

.burger__line:nth-child(1),
.burger__line:nth-child(3){
    transform-origin: right;
    transition: width .2s ease-out;
}

.burger.active .burger__line:nth-child(1),
.burger.active .burger__line:nth-child(3){
    width: 0;
}

.burger.active .burger__line:nth-child(2),
.burger.active .burger__line:nth-child(4){
    position: absolute;
    left: 0;
    top: 50%;
    transform-origin: center;
    transition: transform .2s ease-out;
}

.burger.active .burger__line:nth-child(2){
    transform: rotate(45deg);
}

.burger.active .burger__line:nth-child(4){
    transform: rotate(-45deg);
}

/* Intro */
.intro {
    height: 571px;
    background-image: url(assets/images/intro.jpg);
    background-size: cover;
    background-position: center;

    font-family: "Red Hat Display", sans-serif;
}

.intro__title {
    padding-top: 210px;
    max-width: 600px;

    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.intro__text {
    margin-top: 12px;

    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.intro__btn {
    margin-top: 25px;

    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 500;
}

/* benefits */
.benefits__inner {
    display: flex;
}

.benefits__left {
    margin-top: 210px;
    max-width: 504px;
}

.benefits__suptitle {
    padding-left: 22px;
    position: relative;

    font-size: 15px;
    font-weight: 700;
    line-height: 200%;
    color: #C4C4C4;
    text-transform: uppercase;
}

.benefits__suptitle:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;

    background-color: #C4C4C4;
    border-radius: 50%;

    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;

    transform: translateY(-50%);
}

.benefits__title {
    margin-top: 10px;

    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.benefits__subtitle {
    margin-top: 15px;

    font-size: 24px;
    font-weight: 400;
    line-height: 170%;
    color: #464749;
}

.benefits__text {
    margin-top: 30px;

    font-size: 15px;
    font-weight: 400;
    line-height: 200%;
    color: #99999A;
}

.benefits__right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 150px;
}

.benefits__card {
    margin-right: 30px;
    margin-bottom: 30px;
    padding: 40px 42px;
    max-width: 270px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: #fff;
    border-radius: 10px;
    box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.25);
}

.card-2 {
    transform: translateY(-95px);
}

.card-4 {
    transform: translateY(-95px);
}

.card__title {
    margin-bottom: 25px;

    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
    color: #202020;
    text-align: center;
}

.card__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 170%;
    color: #000;
    text-align: center;
}

/* Team */
.team {
    margin-top: 120px;
    padding-bottom: 60px;
}

.team__suptitle {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
}

.team__suptitle:before,
.team__suptitle:after {
    content: "";
    display: block;
    margin: 0 15px;
    width: 10px;
    height: 10px;

    background-color: #C4C4C4;
    border-radius: 50%;
}

.team__title {
    margin-top: 15px;

    font-size: 36px;
    font-weight: 700;
    color: #000;
    text-align: center;
}

.team__subtitle {
    margin: 25px auto 85px;

    max-width: 600px;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-align: center;
}

.team__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 45px;
    grid-template-rows: 320px;
}

.team__item {
    position: relative;
}

.team__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.team__card {
    max-width: 210px;
    padding: 15px 40px;

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    text-align: center;

    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: -35px;
    z-index: 2;
}

.team__name {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.team__prof {
    margin-top: 12px;

    font-size: 13px;
    font-weight: 300;
    color: #7C7C7C;
}

.team__link {
    cursor: pointer;

    position: absolute;
    right: 25px;
    bottom: -18px;
    z-index: 3;

    transition: transform 1s linear;
}

.team__btn {
    display: block;
}

.team__link:hover {
    transform: scale(1.3);
    transition-duration: 1s;
}

/* Footer */
.footer {
    margin-top: 130px;
    position: relative;

    background: url(assets/images/footer/footer-bg.jpg);
    background-size: cover;
    background-position: center;
    height: 341px;
}

.footer__inner {
    display: flex;
    justify-content: center;
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__column:first-child {
    margin-right: 200px;
}

.footer__column:nth-child(2),
.footer__column:nth-child(3) {
    margin-right: 80px;
}

.column__title {
    margin-top: 30px;

    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.social {
    margin-top: 30px;
    display: flex;
}

.social__item {
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;

    border-radius: 50%;
    background-color: #000;

    transition: background .1s linear;
}

.social__item:hover {
    background-color: #fff;
}

.social__item:hover .social__icon {
    fill: #52FA43;
}

.social__icon {
    display: block;
    height: 15px;
    fill: #fff;

    transition: fill .1s linear;
}

.icon--fb {
    height: 20px;
}

.column__links {
    margin-top: 30px;

    max-width: 250px;
    font-style: normal;
}

.column__address {
    font-size: 14px;
    font-weight: 400;
    color: #F5F5F5;
}

.column__a {
    margin-top: 15px;

    font-size: 14px;
    font-weight: 400;
    color: #F5F5F5;
}

.column__a a {
    color: inherit;
    text-decoration: none;
}

.column__a a:hover {
    text-decoration: underline;
}

.span--green {
    color: #52FA43;
}

.column__links li {
    margin-bottom: 20px;

    line-height: 16px;
}

.column__links li:last-child {
    margin-bottom: 0;
}

.column__link {
    font-size: 14px;
    font-weight: 400;
    color: #F5F5F5;
    text-decoration: none;
}

.column__link:hover {
    text-decoration: underline;
}

.footer__copyright {
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;

    font-size: 18px;
    font-weight: 400;
    color: #F5F5F5;
    border-top: 1px solid rgba(245, 245, 245, .5);

    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Up */
.up {
    display: none;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;

    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    cursor: pointer;

    position: fixed;
    right: 10px;
    bottom: 50px;
    z-index: 10;

    transition: background-color .1s linear;
}

.up__icon {
    display: block;
    height: 25px;
    fill: #4AB566;

    transition: fill .1s linear;
}

.up:hover {
    background-color: #4AB566;
}

.up:hover .up__icon {
    fill: #fff;
}

/* Modal */
.modal {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px;

    background-color: rgba(0, 0, 0, .8);

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.modal__content {
    width: 100%;
    max-width: 500px;
    padding: 80px;
    position: relative;

    background-color: #fff;
    border-radius: 5px;
    opacity: 0;

    transform: translateY(-50px);
    transition: transform .2s linear, opacity .2s linear;
}

.modal__close {
    padding: 0;
    background: 0;
    border: 0;
    cursor: pointer;
    opacity: .5;

    position: absolute;
    top: -30px;
    right: 0px;

    transition: transform .2s linear, opacity .2s linear;
}

.modal__close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.modal__text {
    font-size: 50px;
    font-weight: 700;
    color: #000;
    text-align: center;
}


/* Media */
@media (max-width: 1360px) {
    /* Header */
    .header__inner {
        justify-content: space-between;
    }

    .header__logo {
        margin-right: 0;
    }

    .nav {
        margin-right: 0;
    }

    .nav__link {
        margin: 0 20px;
    }

    .nav__link.has-subnav {
        margin-left: 30px;
    }

    /* Team */
    .team__card {
        padding: 15px 30px;
        max-width: 180px;
    }

    .team__name {
        font-size: 14px;
    }

    /* Footer */
    .column__title {
        margin-top: 20px;
    }

    .column__links {
        margin-top: 20px;
    }

    .social {
        margin-top: 20px;
    }
}

@media(max-width: 1160px) {
    /* Benefits */
    .benefits__title {
        font-size: 24px;
    }

    .benefits__subtitle {
        font-size: 18px;
    }

    .benefits__text {
        font-size: 13px;
    }

    .benefits__card {
        padding: 20px 20px;
        max-width: 200px;
    }

    .card__title {
        font-size: 16px;
    }

    .card__text {
        font-size: 12px;
    }

    .card-2, .card-4 {
        margin-right: 10px;
    }
}

@media (max-width: 991px) {
    /* Header */
    .nav {
        display: none;
    }

    .header__btn {
        display: none;
    }

    .burger {
        display: block;
    }

    /* Benefits */
    .benefits__inner {
        flex-direction: column;
    }

    .benefits__left {
        margin: 50px auto 0;
    }

    .benefits__title {
        font-size: 36px;
    }

    .benefits__subtitle {
        font-size: 24px;
    }

    .benefits__text {
        font-size: 15px;
    }

    .benefits__card {
        padding: 40px 42px;
        max-width: 270px;
    }

    .card__title {
        font-size: 18px;
    }

    .card__text {
        font-size: 14px;
    }

    .card-2, .card-4 {
        margin-right: 35px;
    }

    .card-1, .card-3 {
        margin-left: 35px;
    }

    .benefits__right {
        justify-content: center;
    }

    /* Team */
    .team {
        margin-top: 45px;
    }

    .team__subtitle {
        margin-bottom: 50px;
    }

    .team__inner {
        grid-column-gap: 20px;
    }

    .team__card {
        padding: 10px 15px;
        max-width: 150px;
    }

    /* Footer */
    .footer {
        margin-top: 50px;
    }

    .footer__column:first-child {
        margin-right: 40px;
    }

    .footer__column:nth-child(2), .footer__column:nth-child(3) {
        margin-right: 40px;
    }

    .column__links {
        margin-top: 10px;
    }

    .column__a {
        margin-top: 10px;
    }

    .column__links li {
        margin-bottom: 10px;
    }

    .footer__copyright {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    /* Header */
    .header {
        padding: 5px 0;
    }

    /* Intro */
    .intro__title {
        padding-top: 150px;
        font-size: 38px;
    }

    .intro__text {
        font-size: 18px;
    }

    /* Benefits */
    .benefits__right {
        margin-top: 50px;
    }

    .benefits__title {
        font-size: 24px;
    }

    .benefits__subtitle {
        font-size: 18px;
    }

    .benefits__text {
        margin-top: 15px;
        font-size: 13px;
    }

    .card-2, .card-4 {
        margin-right: 0;
        transform: translateY(0);
    }

    .card-1, .card-3 {
        margin-left: 0;
    }

    .benefits__card {
        max-width: 250px;
    }

    /* Team */
    .team {
        margin-top: 30px;
        padding-bottom: 0;
    }

    .team__inner {
        grid-template-columns: 250px 250px 250px 250px;
        grid-template-rows: 380px;
        overflow: auto;
    }

    .team__item {
        margin-bottom: 60px;
    }

    .team__title {
        margin-top: 10px;
        font-size: 24px;
    }

    .team__subtitle {
        margin: 15px auto;
    }

    .team__link {
        right: 5px;
    }

    /* Footer */
    .footer__inner {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer__column {
        width: 40%;
    }

    .column__title {
        margin-top: 10px;
        font-size: 15px;
    }

    .column__address,
    .column__a,
    .column__link {
        font-size: 12px;
    }

    .column__links li {
        margin-bottom: 5px;
    }

    .column__a {
        margin-top: 5px;
    }

    .social {
        margin-top: 10px;
    }

    .social__item {
        margin-right: 10px;
    }

    .footer__column:nth-child(3), .footer__column:nth-child(4) {
        margin-top: 20px;
    }

    .footer__copyright {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    /* Benefits */
    .benefits__card {
        margin: 0;
        margin-bottom: 20px;
        max-width: 55%;
    }

    .benefits__left {
        margin: 30px auto 0;
    }

    .benefits__right {
        margin-top: 30px;
    }


    /* Team */
    .team__title {
        font-size: 20px;
    }

    .team__subtitle {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        margin-top: 30px;
        height: auto;
    }

    .footer__inner {
        flex-direction: column;
        padding-bottom: 50px;
    }

    .footer__column:nth-child(3), .footer__column:nth-child(4) {
        margin-top: 0px;
        margin-right: 0;
    }

    .social {
        margin-top: 5px;
    }

    .footer__copyright {
        font-size: 11px;
    }

    .footer__column {
        width: auto;
    }
}

@media (max-width: 475px) {
    /* Benefits */
    .benefits__card {
        max-width: 250px;
    }
}

@media (max-width: 340px) {
    /* Intro */
    .intro__title {
        font-size: 30px;
        padding-top: 130px;
    }
}
