:root {
	--main-color: #002469;
	--main-text-color: white;
	--slider-background: #404040;
	--grey-color: #F4F4F4;
	--accent-color: #F2A900;

	--header-padding: 50px;
	--container-max-width: 1500px;

	scroll-behavior: smooth;
}

body {
	width: 100%;
	height: 100%;

	font-size: 21px;
	font-weight: 400;
	overflow-x: hidden;
}



/* General Styles */

.container {
    position: relative;
    /* width: 100%; */
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.flex__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}



/* Services */

#services__title {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
	font-weight: 500;
}

.services__wrapper {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 120px;
    padding-top: 70px;
}

.services__image--wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 300px;
    justify-content: right;
    text-align: right;
    padding: 30px 20px;
    cursor: pointer;
}

.services__image--wrapper-right {
    justify-content: right;
    text-align: right;
}

.services__image--wrapper-left {
    justify-content: left;
    text-align: left;
}

.services__item {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 60px;
    background: var(--main-color);
    border-radius: 70px;
	padding-bottom: 100px;
}

.services__item--img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    border-radius: 70px;
    z-index: 1;
    filter: brightness(0.7);
}

.item__linear--gradient-right,
.item__linear--gradient-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    border-radius: 70px;
    z-index: 2;
}

.item__linear--gradient-right {
    background: linear-gradient(270deg, #002469 0%, rgba(0, 36, 105, 0.64) 48.4%, rgba(217, 217, 217, 0.00) 100%);
    z-index: 2;
}

.item__linear--gradient-left {
    background: linear-gradient(90deg, #002469 0%, rgba(0, 36, 105, 0.64) 48.4%, rgba(217, 217, 217, 0.00) 100%);
    z-index: 2;
}

.services__item--title,
.services__item--description {
    position: absolute;
    color: white;
    z-index: 3;
}

.services__item--title {
    font-size: 51px; 
    font-weight: 300;
    text-transform: uppercase;
}

.services__item--description {
    bottom: 20px;
    width: 600px;
    font-size: 22px;
    font-weight: 300;
    text-transform: uppercase;
    z-index: 3;
}

.services__item--full-description {
    color: white;
    padding: 40px 20px;
    font-weight: 300;
}

.services__arrows {
	position: absolute;
    bottom: 10px;
    left: 50%;
	transform: translateX(-50%);

	height: 30px;
}


.order__button {
	position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
	margin-bottom: 20px;
    background: var(--accent-color);
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    font-size: 20px;
	text-transform: uppercase;
}



/* Modal window */
.order__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
	z-index: 1001;
    overflow-y: scroll;
}

.order__modal--content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
	background: linear-gradient(45deg, var(--main-color), #1a418b);
	border-radius: 40px;
}

.order__modal--content img{
	position: absolute;
	top: 20px;
	right: 20px;
	height: 50px;
	cursor: pointer;
}

#order__modal--service-title {
	color: var(--accent-color);
}

.order__modal--content strong {
	display: block;
    color: white;
    margin-top: 25px;
	margin-bottom: 20px;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 30px;
	text-align: center;
}


.service-form {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    margin-top: 70px;
    border-radius: 10px;
}

.service-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
	color: white;
}

.service-form input,
.service-form textarea {
	width: 100%;
	padding: 20px;
	background: var(--grey-color);
	margin-bottom: 20px;
	font-size: 23px;
	font-weight: 400;
    border: none;
	border-radius: 20px;
	box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
	outline: none;
}

textarea {
	resize: none;
	max-width: 100%;
	height: 180px;
	max-height: 200px;
	overflow-y: auto;
  }

.order__modal--content button {
	margin-bottom: 20px;
    background: var(--accent-color);
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    font-size: 20px;
	text-transform: uppercase;
    transition: background 0.3s ease;
	text-transform: uppercase;
}

.order__modal--content button:hover {
    background: var(--accent-color);
}

.service__form--helper-text {
    display: block;
    margin-top: 40px;
	margin-bottom: 20px;
    font-weight: 400;
	font-size: 18px;
	color: white;
}



@media only screen and (max-width: 1930px) {
    #services__title {
        margin-top: 30px;
        margin-bottom: 30px;
        font-size: 34px;
    }

    .services__wrapper {
        padding-bottom: 90px;
        padding-top: 60px;
    }

    .services__item {
        max-width: 900px;
        margin-bottom: 50px;
        padding-bottom: 90px;
    }

    .services__image--wrapper {
        height: 270px;
        padding: 20px 15px;
    }

    .services__item--title {
        font-size: 47px; 
    }
    
    .services__item--description {
        bottom: 40px;
        width: 570px;
        font-size: 20px;
    }
    
    .services__item--full-description {
        font-size: 18px; 
        padding: 30px 15px;
    }
    
    .services__item--img {
        height: 270px;
        border-radius: 60px;
    }
    
    .item__linear--gradient-right,
    .item__linear--gradient-left {
        height: 270px;
        border-radius: 60px;
    }

    .order__button {
        bottom: 30px;
        margin-bottom: 20px;
        border-radius: 7px;
        padding: 10px 15px;
        font-size: 18px;
    }

    .services__arrows {
        bottom: 10px;
        height: 25px;
    }

    
    /* Modal window */
    .order__modal--content {
        width: 550px;
        border-radius: 30px;
    }

    .order__modal--content img{
        position: absolute;
        top: 20px;
        right: 20px;
        height: 50px;
        cursor: pointer;
    }
    .order__modal--content strong {
        margin-top: 15px;
        margin-bottom: 13px;
        font-size: 22px;
    }

    .service-form {
        padding: 15px;
        margin-top: 35px;
        border-radius: 7px;
    }

    .service-form label {
        margin-bottom: 10px;
    }

    .service-form input,
    .service-form textarea {
        width: 100%;
        padding: 15px;
        background: var(--grey-color);
        margin-bottom: 15px;
        font-size: 16px;
        border-radius: 18px;
    }

    textarea {
        height: 120px;
        max-height: 150px;
    }

    .order__modal--content button {
        margin-bottom: 15px;
        border-radius: 8px;
        padding: 10px 15px;
        font-size: 16px;
    }

    .service__form--helper-text {
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .service-form label {
        font-size: 17px;
    }
}

@media only screen and (max-width: 1200px) {
    #services__title {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 31px;
    }

    .services__wrapper {
        padding-bottom: 60px;
        padding-top: 40px;
    }

    .services__item {
        max-width: 800px;
        margin-bottom: 40px;
        padding-bottom: 80px;
    }

    .services__image--wrapper {
        height: 240px;
    }

    .services__item--title {
        font-size: 40px; 
    }
    
    .services__item--description {
        width: 540px;
        font-size: 20px;
    }
    
    .services__item--full-description {
        font-size: 15px; 
        padding: 20px 10px;
    }
    
    .services__item--img {
        height: 240px;
        border-radius: 50px;
    }
    
    .item__linear--gradient-right,
    .item__linear--gradient-left {
        height: 240px;
        border-radius: 50px;
    }

    .order__button {
        bottom: 20px;
        border-radius: 7px;
        font-size: 16px;
    }

    .services__arrows {
        bottom: 8px;
        height: 20px;
    }
}

@media only screen and (max-width: 920px) {
    #services__title {
        font-size: 28px;
    }

    .services__item {
        max-width: 650px;
    }

    .services__image--wrapper {
        height: 220px;
    }

    .services__item--title {
        font-size: 30px; 
    }
    
    .services__item--description {
        max-width: 520px;
        font-size: 15px;
    }
    
    .services__item--full-description {
        font-size: 15px; 
    }
    
    .services__item--img {
        height: 220px;
        border-radius: 35px;
    }
    
    .item__linear--gradient-right,
    .item__linear--gradient-left {
        height: 220px;
        border-radius: 25px;
    }

    /* Modal window */
    .order__modal--content {
        width: 380px;
        border-radius: 20px;
    }

    .order__modal--content img{
        position: absolute;
        top: 10px;
        right: 10px;
        height: 35px;
    }
    .order__modal--content strong {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 17px;
    }

    .service-form {
        padding: 10px;
        margin-top: 20px;
        border-radius: 5px;
    }

    .service-form label {
        margin-bottom: 8px;
    }

    .service-form input,
    .service-form textarea {
        padding: 10px;
        margin-bottom: 10px;
        font-size: 14px;
        border-radius: 13px;
    }

    textarea {
        height: 80px;
        max-height: 120px;
    }

    .order__modal--content button {
        margin-bottom: 10px;
        border-radius: 6px;
        padding: 7px 10px;
        font-size: 14px;
    }

    .service__form--helper-text {
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .service-form label {
        font-size: 15px;
    }
}

@media only screen and (max-width: 470px) {

}


