html {
	scroll-behavior: smooth;
}
body {
	background: #1D1D2C;
	font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
body.hidden {
    overflow: hidden;
}
.page {
	overflow: hidden;
	position: relative;
}
.header {
	position: relative;
	padding: 0 16px;
	z-index: 1;
}
.title {
	font-family: 'Outfit', sans-serif;
	font-weight: 700;
	font-size: 58px;
	line-height: 78px;
	color: #FFFFFF;
}
.title.small {
	font-size: 32px;
	line-height: 48px;
}
.desc {
	font-size: 16px;
	line-height: 26px;
	color: #ABAEB5;
}
.mob {
	display: none;
}
button,
a {
	border: 0;
	outline: 0;
	cursor: pointer;
	transition: .3s;
}
a:hover  {
	opacity: .5;
}
.button {
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	color: #FFFFFF;
	transition: .3s;
	border-radius: 12px;
	position: relative;
	padding: 16px;
	width: 100%;
	max-width: 200px;
	background: #E81546;
	display: inline-block;
	text-align: center;
}
.wrapper {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
}
.section {
	padding: 0 16px;
}


/* header */
.header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	background: #13131E;
}
.header .wrapper {
	min-height: 128px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.logo .img {
	width: 188px;
}
.nav {
	display: flex;
}
.nav a {
	font-weight: 700;
	font-size: 14px;
	line-height: 19px;
	color: #ABAEB5;
}
.nav__item {
	text-transform: uppercase;
}
.header .nav__item {
	margin-left: 48px;
}

/* hero */
.hero-section .wrapper {
	padding: 367px 0 140px;
	text-align: center;
}
.hero-section .desc {
	margin: 38px auto 0;
	max-width: 740px;
}
.hero-section .button {
	margin-top: 42px;
}

/* about us */
.about-section {
	background: url('../assets/about-bg.jpg');
	background-position: top 140px center;
	background-size: contain;
	background-repeat: no-repeat;
}
.about-section .wrapper {
	padding: 140px 0 0;
	max-width: 850px;
	text-align: center;
}
.about-section .desc {
	margin: 32px auto 0;
	max-width: 795px;
}
.about-section .card {
	background: #272736;
	border-radius: 40px 40px 22px 22px;
	margin-top: 42px;
	text-align: left;
}
.about-section .card .desc {
	margin-top: 32px;
	color: #7F8798;
}
.about-section .card .desc + .desc {
	margin-top: 22px;
}
.about-section .card .title {
	margin-top: 36px;
}
.about-section .card .text {
	padding: 0 64px 64px;
}

/* services */
.services-section .wrapper {
	padding: 140px 0;
	text-align: center;
}
.services-section .title + .title {
	margin-top: 20px;
}
.services-section .custom-slider {
	margin-top: 46px;
}
.services-section .custom-slider {
	text-align: left;
	display: flex;
	align-items: center;
}
.services-section .prev-slide {
	flex: 1;
	background: #13131E;
	border-radius: 22px 0 0 22px;
	padding: 80px 32px 32px;
	height: 354px;
}
.services-section .next-slide {
	flex: 1;
	background: #13131E;
	border-radius: 0 22px 22px 0;
	padding: 80px 32px 32px;
	height: 354px;
	position: relative;
}
.services-section .current-slide {
	flex: 3;
	background: #13131E;
	border-radius: 22px;
	padding: 67px 55px 55px;
	height: 435px;
	background-position: center;
	background-size: cover;
	transition: .3s;
}
.services-section .custom-slider .title {
	transition: .3s ease;
}
.services-section .prev-slide .title,
.services-section .next-slide .title {
	font-size: 20px;
	line-height: 28px;
}
.services-section .custom-slider .desc {
	margin-top: 16px;
	color: #FFFFFF;
	transition: .3s ease;
}
.services-section .custom-slider .arrow {
	width: 28px;
	height: 49px;
	position: absolute;
	background: url('../assets/arrow.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	bottom: 70px;
	cursor: pointer;
	transition: .3s;
}
.services-section .custom-slider .arrow:hover {
	opacity: .7;
}
.services-section .custom-slider .prev-arrow {
	left: 32px;
}
.services-section .custom-slider .next-arrow {
	transform: scaleX(-1);
	left: 110px;
}


/* afterservices */
.afterservices-section .wrapper {
	max-width: 1180px;
	padding-bottom: 150px;
	display: flex;
	gap: 16px;
}
.afterservices-section .left {
	min-height: 398px;
	background: url('../assets/left.png');
	background-position: center;
	background-size: cover;
	width: calc(65% - 8px);
	border-radius: 22px;
	padding: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.afterservices-section .left .desc {
	margin-top: 18px;
	max-width: 500px;
	color: #7F8798;
}
.afterservices-section .left .title {
	max-width: 500px;
}
.afterservices-section .right {
	min-height: 398px;
	background: url('../assets/right.png');
	background-position: center;
	background-size: cover;
	width: calc(35% - 8px);
	border-radius: 22px;
	padding: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.afterservices-section .right .title {
	font-size: 20px;
	line-height: 32px;
}
.afterservices-section .right .button {
	margin-top: 30px;
}


/* footer */
.footer-top {
	background: #333344;
	background-image: url('../assets/footer.svg');
	background-position: center right;
	background-size: cover;
	padding: 105px 16px;
}
.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	padding: 28px 16px;
    margin: 0 auto;
    max-width: 1280px;
}
.footer-bottom .legal-info {
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    color: #ABAEB5;
}
.footer .nav__item {
	margin-right: 106px;
}

.social-list img {
	width: 43px;
}
.social-list {
	flex-wrap: wrap;
	display: flex;
	gap: 44px;
}
.footer-top .wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: space-between;
}
.footer-top .wrapper .title {
	width: 100%;
}
.footer-top .left {
	width: calc(50% - 16px);
	padding-top: 42px;
}
.footer-top .right {
	width: calc(50% - 16px);
	max-width: 450px;
}
.label .title {
	font-size: 20px;
	line-height: 25px;
}
input {
	margin-top: 10px;
	line-height: 34px;
	border: 0;
	border-bottom: 2px solid #7F8798;
	background: transparent;
	outline: 0;
	font-size: 16px;
	color: #fff;
	width: 100%;
}
input::placeholder {
	color: #7F8798;
}
.label {
	width: calc(50% - 10px);
}
.form {
	gap: 26px 20px;
	flex-wrap: wrap;
	display: flex;
}
.label.full {
	width: 100%;
}
input[type=checkbox] {
	display: none;
}
input[type=checkbox] + .desc {
	padding-left: 40px;
	font-size: 12px;
	color: #7F8798;
	line-height: 22px;
	position: relative;
}
input[type=checkbox] + .desc a {
	color: #fff;
	font-weight: 700;
}
input[type=checkbox] + .desc::before {
	content: '';
	width: 24px;
	height: 24px;
	position: absolute;
	top: -1px;
	left: 0;
	box-shadow: inset 0px 0px 12px #8A97B114;
	border-radius: 2px;
	background: #E81546;
}
input[type=checkbox] + .desc::after {
	content: '';
	width: 24px;
	height: 24px;
	position: absolute;
	top: -1px;
	left: 0;
	background: url('../assets/check.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 15px 15px;
	opacity: 0;
	transition: .3s;
}
input[type=checkbox]:checked + .desc::after {
	opacity: 1;
}
.form .button {
	transition: .3s;
}
.form .button:hover {
	opacity: .7;
}

.footer-top .right .title {
	font-size: 20px;
	line-height: 25px;
}
.footer-top .right .desc {
	margin-top: 28px;
	color: #7F8798;
}
.footer-top .right .desc + .title {
	margin-top: 60px;
}
.footer-top .right .title + a {
	margin-top: 24px;
	font-size: 16px;
	color: #fff;
	text-decoration: underline;
	display: table;
}
.footer-top .right .title + a:hover {
	text-decoration: none;
	opacity: 1;
}
.footer-top .right a + .title {
	margin-top: 50px;
}
.footer-top .right .social-list {
	margin-top: 50px;
}

/* text page */
.text-section .wrapper {
	text-align: center;
	padding: 186px 0 110px;
	position: relative;
}
.text-section .back {
	position: absolute;
	top: 213px;
	left: 0;
	padding-left: 15px;
	background: url('../assets/back.svg');
	background-size: 8px 13px;
	background-repeat: no-repeat;
	background-position: center left;
}
.text-section .desc {
	color: #7F8798;
}
.text-section .desc b {
	font-weight: 700;
}
.text-section .title + .desc {
	margin-top: 32px;
}
.text-section .text {
	margin-top: 60px;
	text-align: left;
}
.text-section .text .title {
	font-size: 20px;
	line-height: 28px;
}
.text-section .text .desc + .title {
	margin-top: 32px;
}
.text-section .text .title + .desc {
	margin-top: 24px;
}
.text-section ul {
	padding-left: 24px;
	list-style: disc;
}
.text-section .text a {
	color: #fff;
	text-decoration: underline;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
	z-index: 10;
  }

  .modal {
	background-color: #333344;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	text-align: center;
	max-width: 500px;
	margin: 40px auto 0;
	border-radius: 8px;
  }

  .modal .button {
	margin: 16px 8px;
	width: 120px;
  }


.table-container {
	margin: 32px 0;
}
table {
	border: 1px solid #7F8798;
}
th, td {
	color: #7F8798;
	padding: 20px;
	border: 1px solid #7F8798;
  	border-collapse: collapse;
}


@media screen and (max-width: 1024px) {
	.hero-section .wrapper {
		padding: 150px 0 0;
	}
	.title {
		font-size: 36px;
		line-height: 42px;
	}
	.title.small {
		font-size: 20px;
		line-height: 24px;
	}
	.about-section .wrapper {
		padding: 90px 0 0;
	}
	.header .wrapper {
		min-height: 70px;
	}
	.logo .img {
		width: 120px;
	}
	.services-section .prev-slide {
		display: none;
	}
	.services-section .current-slide {
		width: 100%;
		flex: none;
	}
	.services-section .custom-slider {
		position: relative;
	}
	.services-section .next-slide {
		width: 0;
		flex: none;
		padding: 0;
		background: none;
		height: 100%;
		position: absolute;
		bottom: 0;
		right: 0;
	}
	.services-section .next-slide .title {
		display: none;
	}
	.services-section .current-slide {
		height: auto;
		padding: 50px 24px;
	}
	.services-section .custom-slider .prev-arrow {
		left: auto;
		right: 132px;
		bottom: -12px;
	}
	.services-section .custom-slider .next-arrow {
		left: auto;
		right: 32px;
		bottom: -12px;
	}
	.afterservices-section .wrapper {
		flex-direction: column;
	}
	.afterservices-section .left {
		width: 100%;
	}
	.afterservices-section .right {
		width: 100%;
	}
    footer .footer-bottom {
        flex-direction: column;
    }
    footer .footer-bottom .right {
        margin-top: 24px;
    }
}


@media screen and (max-width: 768px) {
	.header .nav__item {
		margin-left: 16px;
	}
	.nav a {
		text-align: center;
		font-size: 12px;
		display: inline-block;
	}
	.about-section .card .text {
		padding: 0 16px 16px;
	}
	.services-section .wrapper {
		padding: 90px 0 48px;
	}
	.afterservices-section .wrapper {
		padding-bottom: 48px;
	}
	.footer-top {
		padding: 90px 16px 48px;
	}
	.footer-top .wrapper {
		flex-direction: column;
	}
	.footer-top .left {
		width: 100%;
	}
	.label {
		width: 100%;
	}
	.footer-top .right {
		width: 100%;
	}
	.footer .nav__item {
		margin-right: 24px;
	}
	.text-section .wrapper {
		padding-top: 148px;
	}
	.text-section .back {
		top: 100px;
	}
}

#overlay .pop {
    background: #fff;
    max-width: 90%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 60px 50px 50px 50px;
    border-radius: 6px;
    display: none;
}
#overlay .pop .close {
    position: absolute;
    right: 25px;
    top: 20px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}
#overlay .pop .close:hover {
    opacity: 1;
}
#overlay .pop .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}
#overlay .pop .close:before {
    transform: rotate(45deg);
}
#overlay .pop .close:after {
    transform: rotate(-45deg);
}
#overlay .pop .message {
    text-align: center;
    font-size: 18px;
}
