
@font-face {
  font-weight: 300; /* Соответствует значению normal */
  font-family: Montserrat;
  src: url("../fonts/Montserrat/Montserrat-Light.ttf");
}

@font-face {
  font-weight: 400; /* Соответствует значению normal */
  font-family: Montserrat;
  src: url("../fonts/Montserrat/Montserrat-Regular.ttf");
}

@font-face {
  font-weight: 500; /* Соответствует значению normal */
  font-family: Montserrat;
  src: url("../fonts/Montserrat/Montserrat-Medium.ttf");
}

@font-face {
  font-weight: 600; /* Соответствует значению normal */
  font-family: Montserrat;
  src: url("../fonts/Montserrat/Montserrat-SemiBold.ttf");
}

@font-face {
  font-weight: 700; /* Соответствует значению normal */
  font-family: Montserrat;
  src: url("../fonts/Montserrat/Montserrat-Bold.ttf");
}

@font-face {
  font-weight: 800; /* Соответствует значению normal */
  font-family: Montserrat;
  src: url("../fonts/Montserrat/Montserrat-ExtraBold.ttf");
}

@font-face {
  font-weight: 900; /* Соответствует значению normal */
  font-family: Montserrat;
  src: url("../fonts/Montserrat/Montserrat-Black.ttf");
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Montserrat;
}

html, body{
	width: 100%;
	overflow-x: hidden;
}

a{
	text-decoration: none;
}

b{
	font-weight: 600!important;
}

.container{
	max-width: 1300px;
	display: block;
	margin: auto;
}

h2{
	font-size: 36px;
	font-weight: 900;
	color: #003167;
	text-align: center;
	position: relative;
	z-index: 1;
}

section{
	padding-top: 65px;
	padding-bottom: 65px;
}

header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 120px;
}

#logo{
	height: 81px;
}

.some-nav{
	display: flex;
}

.some-nav a{
	font-size: 16px;
	color: #003167;
	font-weight: 600;
	margin: 0px 17.5px;
	transition: all .2s;
}

.some-nav a:hover{
	color: #F8A45A;
}

.contact-btn{
	width: 300px;
	height: 60px;
	border-radius: 100px;
	color: #fff;
	border: 0px;
	font-size: 16px;
	font-weight: 600;
	background: linear-gradient(90deg, #477DAC 0%, #6DC0E2 100%);
	transition: all .2s;
	cursor: pointer;
	z-index: 1;
	flex-shrink: 0;
}

.contact-btn:hover{
	box-shadow: 6px 10px 0px #4286D0;
	transform: translate(-6px, -10px);
}


.small-btn{
	width: 160px;
	height: 50px;
	border-radius: 100px;
	color: #003167;
	border: 0px;
	font-size: 16px;
	font-weight: 600;
	background: #fff;
	transition: all .2s;
	cursor: pointer;
}

.small-btn:hover{
	box-shadow: 6px 10px 0px rgb(256, 256, 256, 0.5);
	transform: translate(-6px, -10px);
}

.form-btn{
	width: 300px;
	height: 66px;
	border-radius: 15px;
	color: #fff;
	border: 0px;
	font-size: 16px;
	font-weight: 600;
	background: #477DAC;
	transition: all .2s;
	cursor: pointer;
	z-index: 1;
	font-weight: 600;
}

.form-btn:hover{
	box-shadow: 6px 10px 0px #4286D0;
	transform: translate(-6px, -10px);
}


.socials a{
	margin: 0px 10px;
}

.socials img{
	transition: all .2s;
}

.socials img:hover{
	transform: scale(1.1);
}

.complect{
	display: flex;
	flex-direction: column;
}

.main-phone{
	font-size: 16px;
	font-weight: 600;
	color: #003167;
	transition: all .2s;
}

.main-phone:hover{
	color: #F8A45A;
}

main{
	padding: 88px 0px;
	background: linear-gradient(180deg, #FFF 0%, #BAE7FC 73.33%, #6DC0E2 100%);
}

main .main{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

main h1{
	font-size: 64px;
	color: #003167;
	font-weight: 900;
}

main p{
	margin-top: 50px;
	margin-bottom: 30px;
	font-size: 24px;
	color: #003167;
	font-weight: 600;
}

main .main-image{
	width: 529px;
	margin: 0px 65px;
}

main input{
	width: 300px;
	height: 60px;
	margin-right: 21px;
	border-radius: 100px;
	background: #fff;
	padding: 0px 30px;
	font-weight: 600;
	border: 1px solid transparent;
	font-size: 16px;
	outline: none;
	color: #003167;
	transition: all .2s;
	margin-top: 20px;
}

main .contact-btn{
	margin-top: 20px;
}

main input:focus{
	border: 1px solid #003167;
}

#about_us{
	position: relative;
}

#about_us .line{
	width: 100%;
	position: absolute;
	left: 0;
	top: 40%;
	transform: translateY(-50%);
	opacity: 0.3;
}

#about_us .about_us{
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 1;
	gap: 30px;
}

#about_us .about_us .part{
	width: 310px;
	text-align: center;
	margin-top: 33px;
}

#about_us .about_us .part:nth-child(even){
	margin-top: 101px;
}

#about_us .about_us .part:nth-child(3){
	margin-top: 62px;
}

#about_us .about_us .part .image{
	width: 100%;
	height: 310px;
	border-radius: 25px;
	background-size: cover;
}

#about_us .about_us .part h3{
	font-size: 20px;
	color: #003167;
	font-weight: 900;
	margin-top: 20px;
}

#about_us .about_us .part p{
	font-size: 16px;
	color: #003167;
	margin-top: 12px;
}

#about_us .contact-btn{
	display: block;
	margin: auto;
	margin-top: 47px;
}

#courses{
	background: #F0FBFF;
}

#courses .courses{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 35px;
}

#courses .courses .course{
	height: 290px;
	width: 630px;
	padding: 38px;
	border-radius: 30px;
	background: linear-gradient(180deg, #6DC0E2 0%, #477DAC 100%);
	color: #fff;
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

#courses .courses .course.hit{
	border: 4px solid #b97aff;
  box-shadow: 2px 2px 10px rgb(83 141 255 / 60%);
}

#courses .courses .course:nth-child(12n + 1){
	background: linear-gradient(180deg, #FFB36B 0%, #FF6B6B 100%);
}

#courses .courses .course:nth-child(12n + 2){
	background: linear-gradient(180deg, #6DC0E2 0%, #477DAC 100%);
}

#courses .courses .course:nth-child(12n + 3){
	background: linear-gradient(180deg, #A8E063 0%, #56AB2F 100%);
}

#courses .courses .course:nth-child(12n + 4){
	background: linear-gradient(180deg, #C471F5 0%, #FA71CD 100%);
}

#courses .courses .course:nth-child(12n + 5){
	background: linear-gradient(180deg, #F6D365 0%, #FDA085 100%);
}

#courses .courses .course:nth-child(12n + 6){
	background: linear-gradient(180deg, #35E6DB 0%, #895AD6 100%);
}

#courses .courses .course:nth-child(12n + 7){
	background: linear-gradient(180deg, #667EEA 0%, #764BA2 100%);
}

#courses .courses .course:nth-child(12n + 8){
	background: linear-gradient(180deg, #34d66b 0%, #4fc6b1 100%);
}

#courses .courses .course:nth-child(12n + 9){
	background: linear-gradient(180deg, #FA709A 0%, #FEE140 100%);
}

#courses .courses .course:nth-child(12n + 10){
	background: linear-gradient(180deg, #30CFD0 0%, #330867 100%);
}

#courses .courses .course:nth-child(12n + 11){
	background: linear-gradient(180deg, #49eae1 0%, #a966d2 100%);
}

#courses .courses .course:nth-child(12n + 12){
	background: linear-gradient(180deg, #F093FB 0%, #F5576C 100%);
}

#courses .courses .course h3{
	font-size: 20px;
	font-weight: 900;
}

#courses .courses .course p{
	font-size: 16px;
}

#courses .courses .course .buttons{
	display: flex;
	align-items: center;
	position: absolute;
	right: 38px;
	bottom: 38px;
}

#courses .courses .course .more{
	color: #fff;
	text-decoration: underline;
	font-size: 16px;
	margin-left: 19px;
	font-weight: 600;
	transition: all .2s;
}

#courses .courses .course .more:hover{
	opacity: 0.8;
}

#teachers{
	position: relative;
}

#teachers .wheel{
	position: absolute;
	right: 198px;
	top: 10px;
}

#teachers .teachers{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	margin-top: 20px;
	position: relative;
	z-index: 1;
}

#teachers .teachers .teacher{
	width: 310px;
	text-align: center;
	color: #003167;
	margin-top: 30px;
}

#teachers .teachers .teacher .image{
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	display: block;
	margin: auto;
}

#teachers .teachers .teacher .name{
	font-size: 20px;
	margin-top: 39px;
	font-weight: 900;
}

#teachers .teachers .teacher .description{
	font-size: 16px;
	margin-top: 10px;
}

#teachers .contact-btn{
	display: block;
	margin: auto;
	margin-top: 50px;
}

#reviews{
	background: #F0FBFF;
}

#reviews .contents-swipe{
	position: relative;
	margin-top: 50px;
	padding: 0px 35px;
}

#reviews .swiper-slide img{
	width: 100%;
	border-radius: 20px;
}

#reviews .swiper-button-next:after, #reviews .swiper-button-prev:after{
	font-size: 35px;
	color: #003167;
}

#reviews .swiper-button-next{
	right: 0;
}

#reviews .swiper-button-prev{
	left: 0;
}

#reviews .swiper-button-next, #reviews .swiper-button-next{
	transition: all .2s;
}

#reviews .swiper-button-next:hover, #reviews .swiper-button-next:hover{
	transform: scale(1.2);
}

#contacts .contacts{
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	flex-wrap: wrap-reverse;
}

#contacts .contacts .left-part{
	position: relative;
	z-index: 1;
}

#map{
	width: 575px;
	height: 354px;
	background: #eee;
	border-radius: 30px;
	box-shadow: 0px 10px 20px 0px rgba(109, 192, 226, 0.20);
	margin-top: 40px;
}

#contacts .contacts .parts-one{
	width: 100%;
	display: flex;
	justify-content: space-between;
}

#contacts .contacts .parts-two{
	width: 100%;
	display: flex;
	align-items: center;
}

#contacts .contacts .parts-two img{
	margin: 0px 12px;
	transition: all .2s;
}

#contacts .contacts .parts-two img:hover{
	transform: scale(1.1);
}

#contacts .contacts .parts-two .part:first-child{
	margin-right: 58px;
}

#contacts .contacts .part{
	margin-top: 30px;
	max-width: 200px;
}

#contacts .contacts .part .title{
	font-size: 20px;
	font-weight: 900;
	color: #003167;
	margin-bottom: 10px;
}

#contacts .contacts .part .content{
	font-size: 16px;
	font-weight: 600;
	color: #003167;
	transition: all .2s;
}

#contacts .contacts .part .content:hover{
	color: #F8A45A;
}

#contacts .contacts .form{
	max-width: 650px;
	margin-top: 40px;
	background: #AEE7FF;
	border-radius: 20px;
	padding: 56px 61px;
	position: relative;
}

#contacts .contacts .form .arrow{
	position: absolute;
	top: -109px;
	left: -32px;
}

input{
	width: 100%;
	font-size: 18px;
	background: #EFFAFF;
	border-radius: 15px;
	padding: 0px 35px;
	color: #003167;
	border: 1px solid transparent;
	height: 64px;
	margin-bottom: 27px;
	outline: none;
	position: relative;
	z-index: 1;
	transition: all .2s;
}

textarea{
	width: 100%;
	height: 165px;
	font-size: 18px;
	background: #EFFAFF;
	border-radius: 15px;
	padding: 35px;
	color: #003167;
	border: 1px solid transparent;
	margin-bottom: 27px;
	outline: none;
	resize: none;
	position: relative;
	z-index: 1;
	transition: all .2s;
}

input::placeholder, textarea::placeholder{
	color: #003167;
}

input:focus, textarea:focus{
	border: 1px solid #003167;
}

#contacts .form button{
	display: block;
	margin: auto;
}

footer{
	height: 120px;
	background: #003167;
}

footer .container{
	height: 100%;
}

.footer{
	height: 100%;
	justify-content: space-between;
	align-items: center;
	display: flex;
}

.footer .some-nav a{
	color: #fff;
}

.footer .main-phone{
	color: #fff;
}

.footer .some-nav a:hover{
	color: #F8A45A;
}

.footer .main-phone:hover{
	color: #F8A45A;
}

.footer .document-link{
	color: #fff;
	transition: all .2s;
	display: none;
}
.footer .document-link:hover{
	color: #F8A45A;
}

.modal{
	background: rgba(0, 49, 103, 0.5);
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	visibility: hidden;
	opacity: 0;
	transform: scale(0.6);
	transition: all .4s;
}

.modal.active{
	opacity: 1;
	transform: scale(1);
	visibility: visible;
}

#contact-modal{
	z-index: 9999999;
}

.modal .modal-content{
	width: 1000px;
  max-width: calc(100vw - 60px);
  height: 650px;
  max-height: calc(100vh - 60px);
  background: #fff;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  padding: 60px 30px;
  color: #003167;
  position: relative;
  overflow: scroll;
  gap: 20px;
}

.modal .modal-content .stats{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
	text-align: left;
	width: 100%;
}

.modal .modal-content .post_description{
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.modal .modal-content .close{
	cursor: pointer;
	position: absolute;
	top: 45px;
	right: 45px;
	transition: all .2s;
}

.modal .modal-content .close:hover{
	transform: scale(1.3);
}

.modal .modal-content h4{
	font-size: 20px;
	font-weight: 600;
}

.modal .modal-content h3{
	font-size: 36px;
	font-weight: 600;
}

.modal .modal-content p{
	font-size: 16px;
}

.form-modal input, .form-modal textarea{
	background: #D9F3FF;
}

#contact-modal .modal-content{
	height: unset;
}

#contact-modal .modal-content .form-modal{
	margin-top: 27px;
}

.extra-scroll{
	z-index: 99999999;
}

.extra-scroll .modal-content{
				padding: 30px;
				padding-top: 66px;
			}
			.extra-scroll .more-content{
				overflow-y: scroll;
				text-align: left;
				width: 100%;
				height: 100%;
				line-height: 26px;
			}

			.extra-scroll .modal-content .close{
				top: 25px;
				right: 35px;
			}

.whole-checkbox{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 27px;
}	

.whole-checkbox p{
	color: #003167;
	width: calc(100% - 30px);
	text-align: left;
	line-height: 26px;
	margin-top: -7px;
	position: relative;
	z-index: 2;
}

.whole-checkbox p a{
	transition: all .2s;
	color: blue;
}

.whole-checkbox p a:hover{
	color: #ff7e0c;
}

.whole-checkbox .checkbox{
	position: relative;
	width: 20px;
	height: 20px;
	border: 2px solid #003167;
	cursor: pointer;
}

.whole-checkbox .checkbox.active::before{
	content: "";
	width: 80%;
	height: 80%;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	background: #003167;
}

@media screen and (max-width: 1300px){
	.container{
		padding: 0px 30px;
	}
	#courses .courses .course{
		width: 100%;
	}
	#map{
		width: 100%;
	}
	#contacts .contacts .left-part{
		width: 100%;
	}
	#contacts .contacts .form{
		width: 100%;
		max-width: inherit;
		margin-top: 80px;
	}
	#contacts .contacts .parts-one{
		flex-wrap: wrap;
		justify-content: space-evenly;
	}
	#contacts .contacts .parts-two{
		justify-content: center;
	}
	#contacts .contacts .parts-two .soc{
		display: none;
	}
	#contacts .contacts .parts-two .part{
		margin-right: 0!important;
	}
}

@media screen and (max-width: 1056px){
	#desktop-nav{
		display: none;
	}
	header .socials{
		display: none;
	}
	#about_us .about_us{
		flex-wrap: wrap;
		justify-content: space-around;
		margin-top: 10px;
		gap: 0px;
	}
	#about_us .about_us .part{
		margin-top: 40px!important;
	}
	#about_us .line{
		display: none;
	}
}

@media screen and (max-width: 700px){
	main h1{
		font-size: 45px;
	}
	main .main-image{
		display: none;
	}
	main input{
		width: 100%;
	}
	main .contact-btn{
		width: 100%;
	}
	#courses .courses .course{
		height: inherit;
	}
	#courses .courses .course .part{
		margin: 10px 0px;
	}
	#courses .courses .course .buttons{
		position: relative;
		margin-top: 10px;
		right: inherit;
		bottom: inherit;
	}
	#footer-nav{
		display: none;
	}
	.modal .modal-content{
		padding: 50px 30px;
		border-radius: 30px;
	}
	.modal-description .modal-content p{
		margin: 15px 0px;
	}
	.modal-description .modal-content{
		height: inherit;
	}
	.modal .modal-content .close{
		top: 25px;
		right: 25px;
	}
	.footer .document-link{
		display: block;
	}
}

/* Согласие и политика обработки персональных данных */
.legal-document .modal-content {
	justify-content: flex-start;
	overflow: hidden;
	padding-top: 66px;
}

.legal-document .more-content {
	height: auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	padding-right: 8px;
	overflow-wrap: anywhere;
}

.legal-document .more-content p,
.legal-document .more-content ul {
	margin: 0 0 10px;
}

.legal-document .more-content ul {
	padding-left: 1.35em;
}

.legal-document .more-content h4,
.legal-document .more-content h5 {
	margin: 20px 0 10px;
}

.legal-document .more-content h5 {
	font-size: 16px;
	font-weight: 600;
}

.legal-document .more-content hr {
	border: 0;
	border-top: 1px solid #D9F3FF;
	margin: 12px 0;
}

.legal-document .more-content a {
	color: inherit;
	text-decoration: underline;
}

.legal-document .more-content :last-child {
	margin-bottom: 0;
}
