/* Global */
@media ( max-width: 992px ) {
    .title {
        font-size: 50px;
    }

    .subtitle {
        width: 75% !important;
        font-size: 18px;
    }
}

@media ( max-width: 768px ) {
    .title {
        font-size: 46px;
    }

    .subtitle {
        width: 80% !important;
        font-size: 16px;
    }
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

header .nav-link:hover {
    color: #1472C1 !important;
}

header.scrolled {
    background-color: #2e2e2e;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

header .dropdown-menu {
    min-width: 240px;
}

header .dropdown-item:hover {
    color: #F8F9FA;
    background: linear-gradient(to right, #1472C1, #1E96FC);
    padding-left: 26px !important;
}  

/* Home */
.home {
    background: top/cover no-repeat url(../assets/Photos/Focal_img_6_2.png);
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 36, 34, 0.85);
    z-index: 1;
}

@media ( max-width: 992px ) {
    .home h2 {
        width: 100% !important;
    }
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .maintitle {
        font-size: 94px;
        line-height: 96px;
    }

    .maintitle + h2 {
        font-size: 18px;
    }
}

@media ( max-width: 768px ) {
    .maintitle {
        font-size: 84px;
        line-height: 84px;
    }

    .maintitle + h2 {
        font-size: 18px;
    }
}

@media ( max-width: 576px ) {
    .maintitle {
        font-size: 60px;
        line-height: 62px;
    }

    .maintitle + h2 {
        font-size: 16px;
    }

    .home button {
        width: 150px;
    }
}

@media ( max-width: 384px ) {
    .maintitle {
        font-size: 58px;
        line-height:60px;
    }

    .home button {
        width: 134px;
    }
}



.socials div:hover {
    border-color: #1472C1 !important;
    background-color: #1472C1 !important;
}

@media ( max-width: 992px ) {
    .home .socials {
        left: 50% !important;
        transform: translateX(-50%);
    }
}

@media ( max-width: 384px ) {
	.home .social {
		transform: none !important;
	}
}

/* Services */
.serv-card {
    background: linear-gradient(to bottom, #F8F9FA, #E9E9E9);
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .serv-card p {
        font-size: 18px;
    }
}

/* About */
.ab-title {
    color: transparent;
    background: linear-gradient(to right, #252422, #1472C1);
    background-clip: text;
}

@media ( max-width: 1400px ) {
    .ab-cont {
        gap: 50px;
    }

    .ab-desc {
        font-size: 18px;
    }
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .ab-desc {
        font-size: 16px;
    }
}

@media ( max-width: 576px ) {
    .ab-desc {
        font-size: 16px;
    }
}

@media ( max-width: 992px ) {
    .ab-img,
    .ab-txt {
        width: 100%;
    }
}

@media (min-width: 992px ) and ( max-width: 1200px ) {

    .ab-cont {
        gap: 40px;
    }

    .edu-card .edu-img {
        min-width: 60px;
        height: 60px;
    }

    .edu-card .edu-img > img {
        height: 40px;
    }

    .edu-card h3 {
        font-size: 18px;
    }

    .edu-card p {
        font-size: 14px;
        line-height: 18px !important;
    }

}

@media ( max-width: 768px ) {
    .edu-img {
        display: none !important;
    }
}

@media ( max-width: 360px ) {
    .edu-card-wrapper {
        width: 100% !important;
    }

    .edu-cards {
        gap: 12px;
    }
}

/* Safad */
@media ( max-width: 1400px ) {
    .safad-cont {
        gap: 50px;
    }

    .safad-desc {
        font-size: 18px;
    }
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .safad-desc {
        font-size: 16px;
    }

    .safad-goal p {
        font-size: 16px;
    }
}

@media ( max-width: 992px ) {
    .safad-txt,
    .safad-img {
        width: 100% !important;
    }
}

/* Courses */
.slider {
    height: 580px;
    overflow-x: scroll;
    scrollbar-width: none;
    gap: 30px;
}

@media ( max-width: 1200px ) {
    .slider {
        height: 620px;
    }
}

@media ( max-width: 576px ) {
    .slider {
        height: 560px;
    }
}

@media ( max-width: 992px ) {
    .slider {
        gap: 15px;
    }
}

.slider-card {
    min-width: 420px;
    height: 100%;
}

@media ( min-width: 1200px ) and ( max-width: 1400px ) {
    .slider-card {
        min-width: 360px;
    }
}

@media ( max-width: 1200px ) {
    .slider-card {
        min-width: 465px;
    }
}

@media ( max-width: 992px ) {
    .slider-card {
        min-width: 352.5px;
    }
}

@media ( max-width: 766px ) {
    .slider-card {
        min-width: 540px;
    }
}

@media ( max-width: 576px ) {
    .slider-card {
        min-width: 100%;
    }
}

@media ( max-width: 576px ) {
    .course-desc {
        font-size: 16px;
    }
}

@media ( max-width: 576px ) {
    .course-btns {
        position: absolute;
        left: 50%;
        bottom: -6px;
        transform: translateX(-50%);
    }
}

@media ( min-width: 576px ) and ( max-width: 992px ) {
    .course-right,
    .course-left {
        width: 40px;
        height: 40px;
    }
}

/* Gallery */
.gy-showcase {
    height: 640px;
}

@media ( max-width: 1400px ) {
    .gy-showcase {
        height: 600px;
    }
}

@media ( max-width: 1200px ) {
    .gy-showcase {
        height: 500px;
    }
}

@media ( max-width: 992px ) {
    .gy-showcase {
        height: 100%;
    }
}

.img-display::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #252422, transparent);
}

@media ( max-width: 992px ) {
    .img-display {
        height: 540px;
    }
}

@media ( max-width: 992px ) {
    .img-shape-top {
        transform: rotate(180deg);
        top: calc(100% - 85px) !important;
        left: 0;
    }
}

@media ( max-width: 992px ) {
    .img-shape-top {
        top: calc(100% - 70px) !important;
    }
}

.gy-slider {
    gap: 15px;
    overflow-y: scroll;
    scrollbar-width: none;
}

@media ( max-width: 992px ) {
    .gy-slider {
        overflow-x: scroll;
    }
}

.img-wrapper {
    min-height: 202px;
}

@media ( max-width: 1400px ) {
    .img-wrapper {
        min-height: 190px;
    }
}

@media ( max-width: 1200px ) {
    .img-wrapper {
        min-height: 155px;
    }
}

@media ( max-width: 992px ) {
    .img-wrapper {
        min-width: 230px;
        max-height: 160px;
    }
}

@media ( max-width: 768px ) {
    .img-wrapper {
        min-width: 260.5px;
    }
}

@media ( max-width: 576px ) {
    .img-wrapper {
        min-width: calc((100% - 10px) / 2);
    }
}

.img-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 36, 34, 0.5);
    transition: all ease 0.3s;
    opacity: 0;
}

.img-wrapper:hover::before {
    opacity: 1;
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .img-up-btn,
    .img-down-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}

@media ( max-width: 992px ) {
    .img-up-btn {
        /* left btn */
        transform: rotate(90deg); 
    }

    .img-down-btn {
        /* right btn */
        transform: rotate(-90deg);
    }
}

/* Banner */
.banner {
	height: 474px;
	background: top/100% no-repeat url(../assets/banner.svg);
}

@media ( max-width: 1400px ) {
	.banner {
		height: 410px;
	}
}

@media ( max-width: 1200px ) {
	.banner {
		height: 340px;
	}

	.banner-txt h2 {
		font-size: 50px;
	}

	.banner-txt p {
		font-size: 20px;
	}

}

@media ( max-width: 992px ) {
	.banner {
		height: 256px;
	}

	.banner-txt {
		width: 60% !important;
	}
	
	.banner-txt h2 {
		font-size: 42px;
	}

	.banner-txt p {
		font-size: 18px;
	}
}

@media ( min-width: 768px ) and ( max-width: 992px ) {
	.banner button {
		width: 180px;
		height: 40px;
		font-size: 18px;
	}
}

@media ( max-width: 768px ) {
	.banner {
		height: 100%;
		background: linear-gradient(145deg, #444343, #44434394, #444343);
		border-radius: 30px;
	}

	.banner-txt {
		width: 100% !important;
	}
}

@media ( max-width: 576px ) {
	.banner-txt {
		text-align: center;
	}
}

/* Stories */
.story-card {
    height: 300px;
}

@media ( max-width: 1400px ) {
    .story-card {
        height: 260px;
    }
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .story-card {
        height: 240px;
    }
}

@media ( max-width: 992px ) {
    .story-card.first {
        height: 526px;
    }
}

@media ( max-width: 766px ) {
    .story-card {
        height: 380px !important;
    }
}

@media ( max-width: 576px ) {
    .story-card {
        height: 280px !important;
    }
}

@media ( max-width: 362px ) {
    .story-card {
        height: 240px !important;
    }
}


.story-card::before {
    content: "Our Review";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background-color: rgba(37, 36, 34, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #F8F9FA;
    z-index: 5;
    transition: all ease 0.3s;
}

.story-card.play::before {
    opacity: 0;
}

.story-card.play > img {
    opacity: 0;
}

.story-card.play .fa-play {
    opacity: 0;
}

.story-card.play .fa-pause {
    opacity: 1;
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .btn-video {
        width: 42px;
        height: 42px;
    }

    .btn-video > svg {
        font-size: 22px;
    }
}

@media ( max-width: 576px ) {
	.btn-video > svg {
		font-size: 20px;
	}
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #939393, #E9E9E9);
}

@media ( min-width: 992px ) and ( max-width: 1200px ) {
    .contact-img {
        width: 45%;
    }
}

@media ( max-width: 992px ) {
    .contact-img,
    .contact-form {
        width: 100% !important;
    }
}

@media ( max-width: 576px ) {
    .contact-btn {
        width: 100%;
    }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(248, 249, 250, 0.8);
    z-index: 100;
    gap: 14px;
}

.loader.hidden {
    display: none;
}

.three-body {
	position: relative;
	display: inline-block;
	height: 50px;
	width: 50px;
	animation: spin78236 calc(var(0.8s) * 2.5) infinite linear;
}

.three-body__dot {
	position: absolute;
	height: 100%;
	width: 30%;
}

.three-body__dot:after {
	content: "";
	position: absolute;
	height: 0%;
	width: 100%;
	padding-bottom: 100%;
	background-color: #1472c1;
	border-radius: 50%;
}

.three-body__dot:nth-child(1) {
	bottom: 5%;
	left: 0;
	transform: rotate(60deg);
	transform-origin: 50% 85%;
}

.three-body__dot:nth-child(1)::after {
	bottom: 0;
	left: 0;
	animation: wobble1 0.8s infinite ease-in-out;
	animation-delay: calc(0.8s * -0.3);
}

.three-body__dot:nth-child(2) {
	bottom: 5%;
	right: 0;
	transform: rotate(-60deg);
	transform-origin: 50% 85%;
}

.three-body__dot:nth-child(2)::after {
	bottom: 0;
	left: 0;
	animation: wobble1 0.8s infinite
		calc(0.8s * -0.15) ease-in-out;
}

.three-body__dot:nth-child(3) {
	bottom: -5%;
	left: 0;
	transform: translateX(116.666%);
}

.three-body__dot:nth-child(3)::after {
	top: 0;
	left: 0;
	animation: wobble2 0.8s infinite ease-in-out;
}

@keyframes spin78236 {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes wobble1 {
	0%,
	100% {
		transform: translateY(0%) scale(1);
		opacity: 1;
	}

	50% {
		transform: translateY(-66%) scale(0.65);
		opacity: 0.8;
	}
}

@keyframes wobble2 {
	0%,
	100% {
		transform: translateY(0%) scale(1);
		opacity: 1;
	}

	50% {
		transform: translateY(66%) scale(0.65);
		opacity: 0.8;
	}
}

.loader-txt {
    color: #252422;
    font-size: 18px;
    /*font-size: 26px;*/
    font-weight: 600;
    text-transform: capitalize;
}

/* Sign In Page */
.form-cont {
    width: 500px;
}

.form-page {
    /* background: center/cover no-repeat url(../assets/Photos/Blured_BG.webp); */
    background: top/cover no-repeat url(../assets/Photos/Focal_img_Blured.png);
}

.form-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 36, 34, 0.7);
}

.star {
    right: 100px;
    bottom: 50px;
}