/*No course*/

.modal-no-course .modal-content{
	padding: 40px;
	background: #fff;
	border: 0;
}
.modal-no-course .modal-content img{
	position: relative;
	max-width: 30%;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	margin-right: 40px;
}
.modal-no-course .modal-content h2{
	font-size: 24px;
	font-weight: 450;
}

/*Main*/

.main{
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: url("../assets/images/eegroup-wallpaper.jpeg") center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}
.main .overlay{
	background: #162747;
	background: linear-gradient(120deg, #162747 50%, transparent 90%);
	opacity: 0.65;
}
.main .container div{
	position: relative;
	top: -40px;
}
.main h1{
	color: #fff;
	font-size: 48px;
	font-weight: bold;
	letter-spacing: 3px;
	margin-bottom: 20px;
}
.main h2{
	color: #fff;
	margin-bottom: 30px;
}
.main p{
	color: rgba(255, 255, 255, .8);
	font-size: 18px;
	margin-bottom: 40px;
	max-width: 50%;
}
.main button{
	position: relative;
	padding: 8px 32px;
	border-radius: 20px;
	background: #6c5ce7;
	color: #fff;
	display: inline-block;
	border: 0;
	font-weight: 450;
}
.down{
	position: absolute;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 100%;
	display: flex;
	cursor: pointer;
	bottom: 100px;
}
.down:hover{
	border-color: #fff;
}
.down i{
	color: rgba(255, 255, 255, 0.8);
	margin: auto;
}
.down:hover i{
	color: #fff;
}

/*About*/

.about{
	position: relative;
	padding: 100px 0;
	height: 90vh;
}
.about h2{
	margin-bottom: 60px;
}
.about .carousel-inner{
	position: relative;
	z-index: 1;
}
.about h4{
	font-size: 20px;
	font-weight: 550;
	margin-bottom: 20px;
}
.about p{
	font-size: 18px;
	margin-bottom: 20px;
}
.about ul{
	padding: 10px 0 0 40px;
}
.about ul li{
	margin-top: 25px;
	cursor: pointer;
}
.about ul li:hover{
	font-weight: bold;
}
.about ul li i{
	margin-right: 30px;
	color: #6c5ce7;
}
.about .carousel-indicators{
	top: -30px;
	margin: 0;
	justify-content: flex-start;
	z-index: 0;
}
.about ol li, .about ol li.active{
	background: #6c5ce7;
	border: 0;
}
.about img{
	width: 80%;
	max-width: 400px;
	max-height: 60vh;
	object-fit: cover;
	margin-left: auto;
	border-radius: 8px;
	z-index: 1;
}
.about .circle{
	position: absolute;
	content: "";
	top: -30px;
	right: -30px;
	width: 80px;
	height: 80px;
	border-radius: 100%;
	background: #f8d9db;
}
.about .circle:nth-child(3){
	background: #cceee8;
	top: auto;
	bottom: -40px;
	right: 340px;
	width: 120px;
	height: 120px;
}

/*Fields*/

.fields{
	position: relative;
	padding: 100px 0;
}
.fields ul{
	display: flex;
	justify-content: space-between;
}
.fields ul li{
	position: relative;
	min-width: 15%;
	max-width: 15%;
	padding: 30px 20px;
	background: #d0e0ff;
	border-radius: 8px;
	text-align: center;
}
.fields ul li:nth-child(2){
	background: #e2ddfb;
}
.fields ul li:nth-child(3){
	background: #f8d9db;
}
.fields ul li:nth-child(4){
	background: #fff1de;
}
.fields ul li:nth-child(5){
	background: #cceee8;
}
.fields ul li:nth-child(6){
	background: #475777;
	color: #fff;
}
.fields ul li img{
	width: 35%;
	height: auto;
	object-fit: contain;
	margin-bottom: 15px;
}
.fields ul li p{
	font-size: 14px;
	margin-bottom: 0;
	word-break: break-all;
}

/*Courses*/

.courses{
	position: relative;
	padding: 0 0 100px 0;
}
.courses h2 span{
	color: rgba(0, 0, 0, .4);
}
.courses button{
	position: relative;
	padding: 8px 32px;
	border-radius: 20px;
	border: 2px solid rgba(0, 0, 0, .2);
	background: transparent;
	color: rgba(0, 0, 0, .6);
	display: inline-block;
	font-weight: 450;
}
.courses button:hover{
	background: #6c5ce7;
	color: #fff;
	border-color: #6c5ce7;
}
.courses .card{
	min-width: 32%;
	max-width: 32%;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
}
.courses .card-header{
	padding: 0;
}
.courses .card-header img{
	width: 100%;
	height: 230px;
	object-fit: cover;
}
.courses .card-body{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.courses .card-body h4{
	font-size: 20px;
}
.courses .card-body .d-flex p:nth-child(1){
	font-size: 14px;
	color: rgba(0, 0, 0, .6);
	margin-bottom: 0;
}
.courses .card-body .d-flex p:nth-child(2){
	font-size: 14px;
	padding: 6px 22px;
	color: #6c5ce7;
	background: #e2ddfb;
	border-radius: 20px;
	margin-bottom: 0;
}
.courses .add-data p{
	font-size: 14px;
	font-weight: 550;
	color: #000!important;
	background: transparent!important;
	padding: 0!important;
}

/*Teachers*/

.teachers{
	position: relative;
	padding: 0 0 100px 0;
}
.teachers h2{
	margin-bottom: 50px;
}
.teachers .card{
	min-width: 32%;
    max-width: 32%;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}
.teachers .card img{
	max-width: 100%;
	max-height: 320px;
	object-fit: contain;
}
.teachers .card button{
	position: relative;
    padding: 8px 32px;
    border-radius: 20px;
    border: 2px solid rgba(0, 0, 0, .2);
    background: transparent;
    color: rgba(0, 0, 0, .6);
    display: inline-block;
    font-weight: 450;
    margin-top: 10px;
}
.teachers .card button:hover{
	background: #6c5ce7;
	color: #fff;
	border-color: #6c5ce7;
}

/*1100px*/

@media (max-width: 1100px){
	.main p{
		display: none!important;
	}
	.about .circle:nth-child(3){
		right: 60%;
	}
}

/*970px*/

@media (max-width: 970px){
	.modal-no-course .d-flex{
		flex-direction: column;
	}
	.modal-no-course .d-flex img{
		margin-bottom: 40px;
		max-width: 100%;
		margin-right: 0;
	}
	.about{
		height: auto;
		padding-bottom: 0;
	}
	.about .container{
		flex-direction: column-reverse;
	}
	.about .col-md-6{
		min-width: 100%;
	}
	.about .col-md-6:nth-child(2){
		margin-bottom: 80px;
	}
	.about img{
		max-height: 50vh;
		margin: auto;
	}
	.about .circle:nth-child(2){
		right: 0;
	}
	.about .circle:nth-child(3){
		left: -5%;
	}
	.fields ul{
		flex-wrap: wrap;
	}
	.fields li{
		min-width: 23%!important;
		margin-bottom: 20px;
	}
	.courses .d-flex{
		flex-direction: column;
	}
	.courses h2{
		margin-bottom: 20px;
	}
	.courses .card{
		max-width: 100%;
		margin-bottom: 40px;
	}
	.courses .card img{
		height: 300px;
	}
	.courses .card .d-flex{
		flex-direction: row;
	}
	.footer{
		flex-wrap: wrap;
	}
	.footer .col-md-4{
		min-width: 100%;
	}
	.footer .col-md-3{
		padding: 0;
		margin-top: 40px;
		margin-right: auto;
	}
}

/*700px*/

@media (max-width: 700px){
	.teachers .d-flex{
		flex-direction: column;
	}
	.teachers .d-flex .card{
		max-width: 100%;
		margin-bottom: 40px;
	}
}

/*576px*/

@media (max-width: 576px){
	.main{
		text-align: center;
		background-position: center;
		min-height: 90vh;
	}
	.main .container{
		top: 6vh;
	}
	.main h1{
		font-size: 38px;
	}
	.main .down{
		bottom: 20px;
	}
	h2{
		font-size: 28px;
	}
	.menu{
		display: flex;
	}
	.about{
		height: auto;
		padding-bottom: 0;
	}
	.about .container{
		flex-direction: column-reverse;
	}
	.about .col-md-6:nth-child(2){
		margin-bottom: 80px;
	}
	.about img{
		max-height: 50vh;
		margin: auto;
	}
	.about .circle:nth-child(2){
		right: 0;
	}
	.about .circle:nth-child(3){
		left: -5%;
	}
	#about p{
		text-align: justify;
	}
	.fields ul{
		flex-wrap: wrap;
	}
	.fields ul li{
		min-width: calc(50% - 10px)!important;
		margin-bottom: 20px;
	}
	.courses, .fields{
		padding-bottom: 50px;
	}
	.courses .d-flex{
		flex-direction: column;
	}
	.courses h2{
		margin-bottom: 20px;
	}
	.courses .card{
		max-width: 100%;
		margin-bottom: 40px;
	}
	.courses .card img{
		height: 180px;
	}
	.courses .card .d-flex{
		flex-direction: row;
	}
}

/*320px*/

@media (max-width: 320px){
	.main h1{
		font-size: 28px;
	}
	.main h2{
		font-size: 24px;
	}
	.down{
		width: 30px;
   		height: 30px;
   		bottom: 25px!important;
	}
	.down i{
		font-size: 12px;
	}
}




