/* 
 * Theme Name: MIPS
 * Author: DT Gallery
 * Version: 1.0
 * Text Domain: mips
 */


/* Chrome, Edge, Safari */
::-webkit-scrollbar{
    width:10px;
}
::-webkit-scrollbar-track{
    background:#f2f2f2;
}
::-webkit-scrollbar-thumb{
    background:#5B227D;
    border-radius:10px;
}
::-webkit-scrollbar-thumb:hover{
    background:#b81dbb;
}
*{
    scrollbar-width:thin;
    scrollbar-color:#5B227D #f2f2f2;
}
::-webkit-scrollbar{
    width:8px;
}
html{
    scroll-behavior:smooth;
}
*{
	padding:0;
	margin:0;
	box-sizing:border-box;
}
::selection{
	background:#efa01a;
	color:white;
}
a{
	color:#5B227D;
}
input[type="checkbox"]{
	accent-color:#5B227D;
}
@font-face {
    font-family: 'Segoe UI';
    src: url('/assets/fonts/SegoeUI-Italic.woff2') format('woff2'),
        url('SegoeUI-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUI.woff2') format('woff2'),
        url('assets/fonts/SegoeUI.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUI-Bold.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUI-Light.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUI-BoldItalic.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI Semilight';
    src: url('assets/fonts/SegoeUI-Semilight.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-Semilight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUIBlack.woff2') format('woff2'),
        url('assets/fonts/SegoeUIBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUIBlack-Italic.woff2') format('woff2'),
        url('assets/fonts/SegoeUIBlack-Italic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUI-LightItalic.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUI-Semibold.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI Semilight';
    src: url('assets/fonts/SegoeUI-SemilightItalic.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-SemilightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('assets/fonts/SegoeUI-SemiboldItalic.woff2') format('woff2'),
        url('assets/fonts/SegoeUI-SemiboldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}



*:not(i, .elementor-icon){
	font-family: 'Segoe UI', Arial, sans-serif !important;
}
body{
	overflow-x:hidden;
}
.ehf-header #masthead {
    z-index: 99;
    position: sticky;
    top: 0;
    transition: all 500ms ease;
}
#masthead.shadow{
	box-shadow:0 0 10px lightgray;
	background:white;
}
.current-menu-item > a{
	font-weight:700;
}
.hfe-flyout-wrapper .hfe-side.hfe-flyout-right{
	display: block;
    transition: all 300ms ease;
}
.menu-item a{
	transition:all 300ms ease;
}
.hfe-flyout-content{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow {
    width: 100% !important;
}
.marquee {
	overflow: hidden;
	white-space: nowrap;
	color: #000;
	padding: 10px 0;
	font-weight:600;
}
.marquee:hover .marquee-track{
	animation-play-state:paused;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}
.marquee-track  span {
  padding-right: 200px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.img-box-img {
    aspect-ratio: 1;
}
.wpcf7 label{
	font-size: 13px; 
	color: #505050;
	font-weight: bold;
	text-transform:uppercase;
	position:relative;
}
.wpcf7 input,
.wpcf7 select{
    margin-block: 10px;
    display: block;
	padding:8px 12px;
	font-size:13px;
	text-transform:none;
	color:#000;
	border:1px solid lightgray;
	outline:none;
	width:100%;
	border-radius:5px;
}
input:focus,
select:focus {
  outline: none;
  border-color: #5B227D;
  box-shadow: 0 0 0 3px rgba(91, 34, 125, 0.2);
  transition: all 0.2s ease;
}
input[type="submit"]{
	background:#e83123;
	width:100%;
	text-align:center;
	color:white;
	font-weight:700;
	margin-top:20px;
	cursor:pointer;
	margin-bottom:0;
}
span.wpcf7-not-valid-tip {
    margin-bottom: 10px;
    text-transform: none;
}
span.wpcf7-spinner {
    position: absolute;
}
.wpcf7-response-output {
    font-size: 15px;
}
input[type="tel"]{
	padding-left:60px;
}
.prefix {
	background: #f5f5f5;
    padding: 7px 10px; 
    font-size: 14px;
    color: #333;
    position: absolute;
    left: 1px;
    top: 29px; 
    color: #555;
    z-index: 1;
    border-radius: 5px 0 0 5px;
}
footer a:not(.fixed-btn):hover{
	text-decoration:underline;
	color:white;
}
.cpt-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
}

.cpt-card {
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: 0.3s;
	width: calc(25% - 40px);
}
.cpt-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.cpt-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.cpt-content {
  	padding: 15px;
	min-height: 130px;
}
.cpt-content h3 {
	margin-bottom: 5px;
	font-size: 18px;
	color:#000;
}
.cpt-content p {
  font-size: 14px;
  color: #000;
}
.fixed-btn,
.form-popup-close{
	cursor:pointer;
}
.fixed-btn:hover{
	background-color:white !important;
}
.fixed-btn:hover h2{
	color:#000 !important;
}
.fixed-btn:hover  img{
	filter:brightness(0);
}
.form-popup,
.form-popup-overlay{
	inset:0;
}
.form-popup{
	overflow-y:auto;
}
.form-popup.active{
	display:flex;
}
.form-popup-form{
	transform:scale(0) translateY(20px);
	transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	opacity:0;
	margin:auto;
}
.form-popup-form.active{
	transform:scale(1) translateY(0);
	opacity:1;
}
.popup-form .prefix{
	top: 1.5px;
    background-color: transparent;
    color: white;
    border-right: 1px solid white;
	font-weight:400;
}
.popup-form input{
	border-color:white;
	background-color:transparent;
	color:white;
}
.popup-form select {
	border-color:white;
    background: #EFA01A;
    color: #fff;
}
.popup-form select  option {
    color: #000;
    background: #fff;
}
.popup-form input::placeholder{
	color:white;
}
.popup-form input[type="submit"]{
	background-color:#5b227d;
	text-transform:uppercase;
	border-color: #5b227d;
    padding-block: 10px;
}
.animate-scroll {
/*     animation: 40s linear infinite scrollSection; */
	width: max-content;
	will-change: transform;
	gap:0;
/* 	transform: translate3d(0,0,0);  */
    backface-visibility: hidden;
}
.animate-scroll .slick-track {
    display: flex;
}
.vertical-divider {
    height: auto !important;
}
.animate-scroll .slick-dots {
    bottom: -60px;
}
.animate-scroll .slick-dots li button:before {
    font-size: 10px;   
    color: #fff;       
    opacity: 0.5;      
}
.animate-scroll .slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}
.animate-scroll > div{
	flex-shrink:0 !important;
	margin-right:20px;
}
.purple-marker ul li::marker{
	color:#5b227d;
}
.purple-marker ul{
	padding-left: 15px;
}
.purple-marker ul li{
	margin-bottom:13px;
}
.top-bottom-zero{
	top:0;
	bottom:0;
}

.open-form button,
.open-form a{
	cursor:pointer;
}
@keyframes scrollSection {
	0% {
		transform: translate(0);
	}
	100% {
/* 		transform: translate(-50%); */
		transform: translateX(calc(-1 * var(--w)));
	}
}
@media (min-width:1025px){
	.animate-scroll .slick-slide:not(.vertical-divider){
		width:350px;
	}
}
@media (min-width:1500px){
	.banner-section{
		min-height:520px;
	}
}
@media (max-width:381px){
	.seed-of-dream{
		min-height:700px;
	}
}
@media (min-width:1025px) and (max-width:1500px){
	.seed-of-dream{
		min-height:600px;
	}
	.seed-of-dream .elementor-widget-text-editor{
		max-width:85% !important;
	}
}
@media (min-width:768px){
	.animate-scroll .slick-slide {
		position: relative;
		padding-right: 20px;
		margin-right: 20px;
		height:auto;
	}
	
	.animate-scroll .slick-slide:not(:last-child)::after {
		content: '';
		position: absolute;
		right: 0;
		top: 20%;
		height: 70%;
		width: 2px;
		background: #fff;
	}
	.form-flex {
		display: flex;
		gap: 10px;
		align-items: center;
		justify-content: center;
	}
	.form-flex > p{
		width:50%;
	}
	.form-flex input{
		margin-bottom:0;
	}
	.form-flex .wpcf7-not-valid-tip{
		margin-top:10px;
	}
}
@media  (max-width:1024px){
	.desktop-absolute{
		position:static !important;
		transform:none !important;
	}
	.admission-process{
		height:84%;
	}
}
@media  (max-width:767px){
	.vertical-divider{
/* 		margin:auto; */
		height:auto !important;
	}
	.marquee {
		font-size:14px;
	}
	.cpt-card {
		width: 100%;
	}
	.facilities .elementor-image-box-img img{
		margin-bottom:10px;
	}
}
@media  (max-width:1025px) and (min-width:768px) {
	.cpt-card {
		width: calc(50% - 40px);
	}
}
@media  (max-width:1200px) and (min-width:1025px) {
	.header-logo{
		width:160px;
	}
	.hfe-nav-menu .hfe-menu-item{
		padding-left: 7px !important;
        padding-right: 7px !important;
        font-size: 15px !important;
	}
	.header-apply-container{
		width:278px !important;
	}
	.header-apply-container a{
		font-size:15px !important;
	}
}
@media  (max-width:1350px) and (min-width:1025px) {
	.banner-content{
		--width:525px !important;
	}
}

