* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
}

/* Header */
.header {
    padding: 40px 0;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.header__contacts {
    flex: 1;
    text-align: right;
}
.header__action {
    display: flex;
    align-items: center;
}
.mod-languages {
    margin-left: 20px;
}
.mod-languages .btn-group {
    position: relative;
}
.mod-languages .btn-group .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px 5px 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    color: #111;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    transition: border-color 0.2s linear;
}
.mod-languages .btn-group.open .dropdown-toggle,
.mod-languages .btn-group .dropdown-toggle:hover {
    border-color: #111;
    transition: border-color 0.2s linear;
}
.mod-languages .flag img {
    width: 15px;
    height: 15px;
}
.mod-languages .caret {
    width: 11px;
    height: 6px;
    background: url(../images/icon-caret.svg)no-repeat center center;
}
.mod-languages .btn-group .dropdown-menu {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    display: none;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
}
div.mod-languages li {
    margin-left: 0;
    margin-right: 0;
}
.mod-languages .btn-group.open .dropdown-menu {
    display: block;
}
.mod-languages .btn-group .dropdown-menu a {
    display: flex;
    width: 100%;
    gap: 5px;
    padding: 7px 12px 7px 10px;
    line-height: 1;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #111;
}
.mod-languages .btn-group.open .dropdown-menu:hover {
    border-color: #111;
}

.logo {
    max-width: 190px;
    min-width: 110px;
}
.logo img {
    width: 100%;
}
.header__link {
    white-space: nowrap;
}
.header__link--facebook {
    margin-left: 20px;
}
@media (max-width: 576px) {
    .header__link--facebook {
        display: none;
    }
    .header__link {
        font-size: 14px;
    }
}
/* Hero */
.hero {
    position: relative;
    padding: 170px 0;
    background: url(../images/main-bg.jpg)no-repeat 0 0;
    background-size: cover;
}
.hero::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero__title {
    margin-bottom: 20px;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}
.hero__text {
    margin-bottom: 20px;
    padding-right: 100px;
    font-size: 18px;
    font-weight: 300;
    color: #fff;
}
.hero__btn {
    display: inline-block;
    line-height: 1;
    padding: 15px 40px;
    border-radius: 25px;
    border: 1px solid #fff;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease-in;
}
.hero__btn:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease-out;
}
.advantages {
    display: flex;
    justify-content: center;
}
.advantages__item {
    position: relative;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    background: #fff;
}
.advantages__item:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: -14px;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 15px solid #fff;
}
.advantages__icon {
    width: 60px;
    height: 60px;
    padding: 15px;
    margin-right: 20px;
    background: #3867DF;
    fill: #fff;
}
@media (max-width: 767px) {
    .hero__title {
        font-size: 32px;
    }
    .advantages {
        margin-top: 40px;
        justify-content: start;
    }
    .advantages__list {
        width: 100%;
    }
    .advantages__item {
        font-size: 16px;
    }
    .hero__text {
        padding-right: 0;
    }
}

@media (max-width: 990px) {
    .hero {
        padding: 80px 0;
    }
    .advantages__list {
        width: 90%;
    }
}

/* Services */
.services {
    padding-top: 140px;
}
.services__title {
    margin-bottom: 60px;
    text-align: center;
    font-size: 40px;
    line-height: 1.25;
    color: #000;
}
.service__item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}
.service__title {
    width: 50%;
    padding-right: 30px;
    font-size: 32px;
    font-weight: 600;
    color: #000;
}
.service__text {
    width: 50%;
}
.service__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .services {
        padding-top: 70px;
    }
    .services__title {
        font-size: 32px;
        margin-bottom: 30px;
        padding-right: 0;
    }
    .service__item {
        padding: 30px 0;
    }
    .service__title {
        width: 100%;
        font-size: 20px;
    }
    .service__text {
        width: 100%;
    }
}

/* About */
.about {
    padding: 140px 0;
}
.about__title {
    margin-bottom: 60px;
    text-align: center;
    font-size: 40px;
    line-height: 1.25;
    color: #000;
}
.about__list {
    border: 1px solid #eee;
}
.about__item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.about__image {
    width: 50%;
}
.about__text {
    width: 50%;
    padding: 105px;
}
.about__item:nth-child(even) .about__image {
    order: 1;
}
.about__text h3 {
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #000;
}
.about__text span {
    display: block;
    line-height: 1;
    margin-bottom: 10px;
    color: #3867DF;
}
@media (max-width: 1200px) {
    .about__text {
        padding: 60px;
    }
}
@media (max-width: 992px) {
    .about__text {
        padding: 20px;
    }
}
@media (max-width: 768px) {
    .about__title {
        font-size: 32px;
        margin-bottom: 30px
    }
    .about {
        padding: 70px 0;
    }
    .about__item:nth-child(even) .about__image {
        order: 0;
    }
    .about__image {
        width: 100%;
    }
    .about__text {
        width: 100%;
        padding: 20px;
    }
    .about__text h3 {
        font-size: 20px;
    }
}

/* Slogan */
.slogan {
    padding: 55px 0;

    background: #3867DF;
}
.slogan__text {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.25;
    color: #3867DF;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}

/* Footer */
.footer {
    padding: 60px 0;
    background: url(../images/map.png) no-repeat top center;
}
.footer__title {
    margin-bottom: 60px;
    padding-right: 100px;
    font-size: 28px;
}
.contacts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.contacts__item {
    width: 50%;
    padding-right: 20px;
    margin-bottom: 60px;
}
.contacts__item:nth-child(1),
.contacts__item:nth-child(2) {}
.contacts__title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contacts-form {
    padding: 100px;
    background: #fff;
}
.contacts-form__title {
    margin-bottom: 20px;
    font-size: 24px;
}
.contacts-form .control-group {
    margin-bottom: 20px;
}
.contacts-form input[type="text"],
.contacts-form input[type="email"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 5px;
    border-radius: 3px;
    border: 1px solid #e5e5e5;
}
.contacts-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 5px;
    border-radius: 3px;
    border: 1px solid #e5e5e5;
}
.contacts-form button {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    border-radius: 25px;
    border: 0;
    background: #3867DF;
    transition: background-color 0.2s ease-in;
    color: #fff;
}
.contacts-form button:hover {
    background: #214ec0;
    transition: background-color 0.2s ease-out;
}
.contacts-form label {
    font-size: 14px;
}
.contacts-form span {
    color: #ff0000;
}

@media (max-width: 767px) {
    .contacts-form {
        padding: 20px;
        margin-bottom: 30px;
    }
    .footer__title {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .contacts__item {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
}