/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.0.1723110508
Updated: 2024-08-08 09:48:27

*/
.et_pb_menu .et-menu>li.apply-btn{
    background-color: #5ec6d1;
    padding: 10px 20px;
	border: 0px;
	border-radius: 50px;
	margin: 15px 0px 15px 11px;
}
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.apply-btn>a{
    color: white!important;
	padding: 0px;
}
/* div.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
    color: white !important;
} */
/* contact form */
.contact-flex-wrap{
	display:flex;
	justify-content:space-between;
	gap: 50px;
}
.contact-flex-wrap p{
	width:calc((100% - 50px)/2)
}
.submit-btn{
	font-size: 16px;
    color: white;
    background-color: #5ec6d1;
    border-radius: 0px;
    padding: 10px 30px;
	border: 0px;
}
.submit-btn:hover{
	background-color: #F8A40E;
}
.contact-form label,.contact-form .wpcf7-response-output{
	color:white;
}
.contact-form label input{
	width: 100%;
	padding: 10px;
	margin: 7px 0px 14px;
	border-radius:10px;
}

textarea{
	min-width:100%;
	max-width:100%;
	padding: 10px;
	margin: 7px 0px 14px;
	border-radius:10px;
}


/* home page */
.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item ul.sub-menu a {
    color: rgba(0, 0, 0, 0.6) !important;
}
.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul{
	left: -70px;
}
#mobile_menu1{
	height:85vh;
	overflow:auto;
	border-radius:20px;
}

.homepage-banner {
    position: relative;
}
.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.banner-image-wrapper img {
    width: 100%;
	height:80vh;
	object-fit:cover;
    display: block;
}
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Adjust the opacity and color as needed */
    z-index: 1;
}
.homepage-details {
    position: absolute;
    top: 60%;
    left: calc((100% - 1230px) / 2);
    transform: translate(0%, -50%);
    z-index: 2;
	max-width: 865px;
}
.programs-list .et_pb_text_inner{
	display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
	flex-wrap: wrap;
	gap: 50px;
}
p.program-list-item{
	position:relative;
	width: calc((100% - 200px) / 5);
	padding: 100px 0px !important;
    background: #5ec6d1;
    display: flex;
    justify-content: center;
    align-items: center;
	min-width:200px;
}
p.program-list-item:hover{
	background: #f8a509;
}
p.program-list-item a{
	color:white;
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.homepage-program-section img{
	border-radius:10px;
}
.testimonial{
	background:#ffffff;
	padding:30px;
	margin: 5px 15px;
	border-radius: 5px;
	box-shadow: 0 0 10px 0 RGBA(0,0,0,0.1);
}
.testimonial img{
	width: 120px;
	margin-bottom: 30px;
}

.news-events {
    display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
}

.news-event-item {
    flex: 1;
    margin: 0 10px;
    position: relative;
}

.news-event-thumbnail {
    display: block;
    position: relative;
	 border-radius: 5px;
    overflow: hidden;
}

.news-event-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
	aspect-ratio: 4 / 3;
    object-fit: cover;
	border-radius: 5px;
	transition: background 0.3s ease-in-out;
}

.news-event-thumbnail .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    color: #fff;
    display: flex;
    align-items: end;
    opacity: 1; /* Always show overlay */
	border-radius: 5px;
	transition: background 0.3s ease-in-out;
}

.news-event-title {
    padding: 20px;
    z-index: 2; /* Ensure the text is above the overlay */
}
.news-event-thumbnail:hover img {
    transform: scale(1.05); /* Slightly zoom the image on hover */
}

.news-event-thumbnail:hover .overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%); /* Darken the overlay on hover */
}

/*about us page*/
.core-values ul li{
	list-style-type:none;
}

/* program page */
.programs-list{
	display:flex;
	align-items:center;
	margin-bottom: 100px;
}
.programs-list:nth-child(odd) .program-image{
  order: 0;
}
.programs-list:nth-child(even) .program-image{
  order: 1;
}
.programs-list:nth-child(odd) .program-details{
	margin-left:-100px;
}
.programs-list:nth-child(even) .program-details{
  margin-right:-100px;
}
.program-image img{
	min-width:700px;
	object-fit:cover;
	aspect-ratio:4/3;
}
.program-details{
	background: #fdfdfd;
	padding:50px;
	z-index:1;
	box-shadow: 0 0 16px 0px rgba(0, 0, 0, 0.1);
}
.program-details h2{
	margin-bottom:16px;
}
.program-details p {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	margin-bottom: 48px;
}
.program-details .learn-more-button{
	font-size: 16px;
	color: white;
    background-color: #5ec6d1;
    border-radius: 0px;
	padding: 10px 30px;
}
.program-details .learn-more-button:hover{
    background-color: #f8a509;
}

.award-slider .slick-slide{
	margin: 0px 30px;
}
.et_pb_gutters2 .et_pb_column_4_4.award-slider .et_pb_module{
	margin-bottom:0px;
}
.single-programs #main-content a{
	color:white;
	background-color: #5ec6d1;
    padding: 10px 20px;
    border: 0px;
    border-radius: 50px;
    margin: 15px 0px 15px 11px;
}
/* alumni page */
.alumni-list .level-list{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
    gap: 12px 24px;
}
/* testimonial page */
.testimonials-container .testimonial-details{
	display:flex;
	align-items: center;
	gap: 30px;
	margin-bottom: 30px;
	padding: 30px;
	box-shadow:0px 0px 16px 5px rgba(0, 0, 0, 0.1);
}
.testimonials-container .testimonial-details img{
	max-width:200px;
}
/* admission page */
.admission-number{
	color:#F8A40E;
	text-decoration: underline;
}
.admission-number:hover{
	color:#5EC6D1;
	text-decoration: underline;
}
/* staff page */
.staff-info img {
    width: 140px;
}
.staff-list {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
    gap: 30px 20px;
}
.staff-list .staff-info img {
    width: 120px;
}
.staff-category h2{
	font-size:34px;
	font-weight:500;
}
.et_pb_text_8 .staff-info h3{
	font-weight: 400;
    font-size: 16px;
}
.contact-info a:hover{
	    color: #F8A40E;
}
/*=============admission - form - page=================*/
.application-form-wrap label{
	font-size:18px;
}
.application-form-wrap p label span select, .application-form-wrap p
span select, .application-form-wrap p
span input, .application-form-wrap p
span textarea, .application-form-wrap p label{
	width:100%;
	border-radius:10px;
	font-size:16px;
}
.application-form-wrap p label span select, .application-form-wrap p
span select, .application-form-wrap p
span input, .application-form-wrap p
span textarea{
		padding:10px;
	margin:5px 0 30px;
}

div#management-fields p{
		margin-bottom:0;
}
.form-flex-item, .info-flex-item p{
	display:flex;
	gap:30px;
}
.form-flex-item p, .form-flex-item .fields-wrap{
	width:100%;
}
.application-form-wrap label br, .application-form-wrap p br {
    display: none;
}
.application-form-wrap p label {
	font-size:18px;
	color:#333;
}
.application-form-wrap p{
padding:0!important;
}

.application-form-wrap .gender-wrap input{
	width:auto;
}
.acceptance p label{
	font-size:15px;
	font-style:italic;
	color:#666;
}
.application-form-wrap strong{
	font-size:20px;
	color:#111;
	font-weight:600;
}
.application-form-wrap input.wpcf7-form-control.wpcf7-submit.has-spinner{
	padding:10px 20px;
	border-radius:30px;
	font-size:16px;
	color:#fff;
	border:none!important;
	background-color:#5ec6d1;
	margin-top:30px;
}
.application-form-wrap input.wpcf7-form-control.wpcf7-submit.has-spinner:hover{
		background-color:#F8A40E;
}
.application-form-wrap span{
	font-size:15px;
	font-style:italic;
}
.application-form-wrap .wpcf7-not-valid-tip{
	display:none;
}
@media only screen and (min-width: 981px) {
	.homepage-details p{
		max-width:65%!important;
	}
}
@media only screen and (max-width: 1440px) {
	.homepage-details {
		left: 0px;
		margin:0px 30px;
	}
}
@media only screen and (max-width: 1125px) and (min-width: 980px) {
    .et_pb_menu_0_tb_header.et_pb_menu .et-menu > li {
        padding: 0px 5px;
    }
	.et_pb_menu .et-menu>li.apply-btn{
		padding: 10px 20px;
	}
    .et_pb_menu_0_tb_header.et_pb_menu ul li a {
        font-size: 14px !important;
    }
}


@media only screen and (max-width: 1024px) {
	.programs-list{
		flex-direction:column;
	}
	.programs-list:nth-child(odd) .program-image,.programs-list:nth-child(even) .program-image{
	  order: 0;
	}
	.programs-list:nth-child(odd) .program-details,.programs-list:nth-child(even) .program-details{
		margin:-120px -20px 0px 20px;
	}
}
@media only screen and (max-width: 980px) {
	div.et_pb_menu_0_tb_header .sub-menu {
		box-shadow:none;
	}
	.programs-list{
		margin-bottom: 70px;
	}
		.form-flex-item, .info-flex-item p{
		flex-wrap:wrap;
		gap:0
	}
	.et_pb_menu .et_mobile_menu{
		top:113%;
	}
}
@media only screen and (max-width: 768px) {
	.news-events .news-event-item {
        flex: 0 0 100%; /* Make each item take full width on mobile */
        margin: 10px 0; /* Add vertical margin between items */
    }
	.program-image img{
		min-width:100%;
	}
}
@media only screen and (max-width: 575px){
	p.program-list-item{
		width:100%;
	}
	.testimonial{
		margin:0px 5px;
	}
	.milestone-item {
		width: calc((100% - 30px) / 2);
		margin-bottom: 30px;
	}
	.programs-list{
		margin-bottom: 50px;
	}
	.programs-list:nth-child(odd) .program-details,.programs-list:nth-child(even) .program-details{
		margin:-100px -10px 0px 10px;
	}
	.program-details{
		padding:30px;
	}
	.program-details h2{
		margin-bottom:0px;
	}
	.program-details p{
		margin-bottom:32px;
	}
	.testimonials-container .testimonial-details{
		display:block;
	}
}
@media only screen and (orientation: landscape) {}