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

body {
    margin: 0;
    background-color: #f1f4f3;
}

h1, h2, h3 {
    margin: 0;
}

p {
    margin: 0;
}

a {
    margin: 0;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

form {
    margin: 0;
}

.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 90px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    padding-top: 35px;
    align-items: center;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    margin-left: 20px;
}

.site-navigation a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 45px;
    text-decoration: none;
    color: #ffffff;
    transition: .3s;
}

.site-navigation a:last-child {
    margin-right: 0px;
}

.site-navigation a:focus,
.site-navigation a:hover {
    color: #636e72;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
    z-index: -100;
    background: url(../assets/mobile-bg.png) no-repeat center;
    background-size: cover;
}

.mobile-menu {
    display: none;
    justify-content: center;
    padding: 20 0px;
    box-shadow: 0px 0px 18px 9px rgb(34 60 80 / 36%);
    overflow: hidden;
    background: #e2e2e2;
}

.mobile-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    color: #000
}

/* Головний блок */

.introduction {
    background-color: rgba(0, 0, 0, 0.62);
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.introduction.solid {
    background-color: #2d3436;
    min-height: 140px;
    position: relative;
    box-shadow: 0px 0px 18px 9px rgb(34 60 80 / 36%);
    overflow: hidden;
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    height:auto;
    width:auto;
    z-index: -100;
}

.introduction-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 750px;
    margin: 250px 0 65px 0;
}

.main-title span {
    font-weight: 200;
    max-width: 570px;
}

.main-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    max-width: 560px;
    margin-bottom: 65px;
}

.main-description::before {
    margin-bottom: 20px;
    display: block;
    content: "";
    height: 6px;
    border-radius: 1px;
    background-color: #5c5c70;
    width: 77px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.button {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
}

.button.turquoise {
    background-color: #636e72;
    transition: .3s;
}

.button.turquoise:hover,
.button.turquoise:focus {
    background-color: #2d3436;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    /* color: #ffffff; */
}

.section-title.services,
.section-title.contacts {
    padding: 50px 0;
}

.services {
    background: rgba(178, 190, 195,1.0);
}

.services-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.services-item {
    margin-bottom: 40px;
    border-radius: 3px;
    border: 3px solid rgba(45, 52, 54, 1.0);
    width: 350px;
    height: 200px;
    transition: 0.3s;
}

.services-item:hover,
.services-item:focus {
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    -webkit-font-smoothing: subpixel-antialiased;
    transform: scale(1.05);
    backface-visibility: hidden;
    border: 3px solid #ffffff;
}

.services-item:hover a {
    font-weight: 700;
}

.services-item.driver {
    background: linear-gradient( rgba(87, 101, 116, 0.15), rgba(87, 101, 116, 0.90)), url(../assets/services/driver.jpg) center no-repeat;
    background-size: cover;
}

.services-item.guard {
    background: linear-gradient( rgba(87, 101, 116, 0.15), rgba(87, 101, 116, 0.90)), url(../assets/services/guard.jpg) center no-repeat;
    background-size: cover;
}

.services-item.foreigner {
    background: linear-gradient( rgba(87, 101, 116, 0.15), rgba(87, 101, 116, 0.90)), url(../assets/services/foreigner.jpg) center no-repeat;
    background-size: cover;
}

.services-item.event-security {
    background: linear-gradient( rgba(87, 101, 116, 0.15), rgba(87, 101, 116, 0.90)), url(../assets/services/event-security.jpg) center no-repeat;
    background-size: cover;
}

.services-item.due-diligence {
    background: linear-gradient( rgba(87, 101, 116, 0.15), rgba(87, 101, 116, 0.90)), url(../assets/services/due-diligence.jpg) center no-repeat;
    background-size: cover;
}

.services-item.lawyer {
    background: linear-gradient( rgba(87, 101, 116, 0.15), rgba(87, 101, 116, 0.90)), url(../assets/services/lawyer.jpg) center no-repeat;
    background-size: cover;
}

.services-item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 300;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

a.service-link::before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    margin-bottom: 20px;
    background: #f2f2f2;
}



.main-footer {
    /* margin-top: 20px; */
    background: #dfe4ea;
}

.footer-inner {
    display: flex;
    flex-direction: row;
    padding: 50px 0;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    min-width: 390px;
    font-size: 16px;
    font-weight: 300;
}

li.contacts {
    display: flex;
    margin-bottom: 35px;
}

li.contacts:last-child {
    margin-bottom: 0px;
}

li.contacts::before {
    content: "";
    padding: 12px;
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 1px solid #bdc3c7;
    margin-right: 20px;
}

li.contacts.name::before {
    content: url(../assets/contacts/moonlight.png);
}

li.contacts.phones::before {
    content: url(../assets/contacts/phone.png);
}

li.contacts.emails::before {
    content: url(../assets/contacts/email.png);
}

.contact-description a {
    line-height: 1.5;
}

.contact-title {
    margin-bottom: 10px;
}

.contact-description a {
    color: #000;
    transition: 0.3s;
}

.contact-description a:hover {
    color: rgb(90, 90, 90);
}

.feedback-form {
    width: 100%;
}

.customer-info {
    display: flex;
    flex-direction: row;
}

.feedback-form input,
.feedback-form textarea {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 18px;
    padding: 10px;
    width: 340px;
    background-color: #ffffff;
    border: 0;
    border: 1px solid #bdc3c7;
    margin-bottom: 15px;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border: 1px solid #636e72;
    outline: none;
}

.feedback-form input {
    height: 40px;
    width: 100%;
}

.feedback-form input:first-child {
    margin-right: 15px;
}

.feedback-form textarea {
    height: 130px;
    resize: none;
}

.submit-button {
    background-color: #636e72;
    transition: .3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    padding: 18px 40px;
    width: 100%;
    outline: 0;
    border: none;
    cursor: pointer;
}

.submit-button:hover,
.submit-button:focus {
    background-color: #2d3436;
}

/* Services Page */

.service-detailed {
    padding: 80px 0;
    background: rgba(178, 190, 195,1.0);
}

.service-details {
    display: flex;
    background: #dfe4ea;
    border-radius: 5px;
    padding: 80px;
    border: 3px solid rgba(45, 52, 54, 1.0);
}

.service-image {
    width: 500px;
    height: 333px;
    margin-right: 50px;
    border-radius: 5px;
}

.service-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-description h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-description h2::after {
    display: block;
    content: "";
    height: 3px;
    border-radius: 3px;
    background-color: #5c5c70;
    width: 45px;
    margin-top: 20px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.service-description h2:hover::after {
    width: 90px;
}

.service-description p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    margin-top: 10px;
}

#result-form {
    transition: .3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    margin-top: 10px;
}