@font-face {
    font-family: tajawal;
    src: url('./Tajawal-Regular.ttf');
}
@font-face {
    font-family: CenturyGothic;
    src: url('./Century Gothic.ttf');
}
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
    font-family: CenturyGothic;
    background: rgb(7 7 8) !important;
}

/* *::selection {
    color: #fff !important;
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
} */

img {
    max-width: 100%;
}
.btn-stack{
    position: absolute;
    z-index: 5;
}


.mouse-cursor {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    border-radius: 50%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    visibility: hidden;
}

.cursor-inner {
    width: 6px;
    height: 6px;
    z-index: 10000001;
    border-radius: 50%;
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out,
        margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out, height 0.3s ease-in-out,
        margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out,
        margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cursor-inner.cursor-hover {
    margin-left: -35px;
    margin-top: -35px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    opacity: 0.3;
}

.cursor-outer {
    margin-left: -12px;
    margin-top: -12px;
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    border-image-source: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    border-image-slice: 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10000000;
    opacity: 0.5;
    -webkit-transition: all 0.08s ease-out;
    -o-transition: all 0.08s ease-out;
    transition: all 0.08s ease-out;
    border-radius: 50%;
}

.cursor-outer.cursor-hover {
    opacity: 0;
}

.scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.scroll-btn .arrow {
    position: absolute;
    font-size: 16px;
    color: #C471ED;
    z-index: 2;
}

.circular-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2;
}

.circle {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 0, 100;
    transition: stroke-dasharray 0.3s;

}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
}

nav{
    z-index: 8;
}

/* add image as border bottom using before */
.nav-link {
    position: relative;
    text-decoration: none;
    color: #f5c6c8;
    /* Adjust color to match your design */
}

.nav-link.active:not(.contact-link)::after {

    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    /* Adjust position */
    width: 100%;
    height: 6px;
    /* Adjust thickness */
    background: url('/imgs/nav-active.svg') no-repeat center;
    background-size: contain;
    transform: translateX(-50%);
}

@media screen and (min-width : 992px) {
    .contact-link {
        border-radius: 12px;
        border: 1px solid rgba(68, 72, 85, 1);
    }
}

.navbar-toggler-btn {
    border-color: #C471ED;
    color: #F64658;
}

@media screen and (max-width : 991px) {
    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-size: cover;
        width: fit-content;
    }

    .nav-item {
        border-bottom: 1px solid transparent;
        border-image-source: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
        border-image-slice: 1;
        padding: 10px 0 15px 0;
        /* Adjust padding */
    }
}

@media screen and (min-width : 992px) {
    .nav-link.active:not(.contact-link)::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -5px;
        /* Adjust position */
        width: 100%;
        height: 6px;
        /* Adjust thickness */
        background: url('/imgs/nav-active.svg') no-repeat center;
        background-size: contain;
        transform: translateX(-50%);
    }
    .nav-link.active.contact-link {
        background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%) !important;
    }

    .contact-link {
        border-radius: 12px;
        border: 1px solid rgba(68, 72, 85, 1);
    }
}

.navbar-toggler-btn,
.navbar-toggler-btn:active,
.navbar-toggler-btn:focus,
.navbar-toggler-btn:focus-visible {
    position: relative;
    border: none;
    /* Remove border */
    border-radius: 8px !important;
    background-color: transparent;
    padding: 8px 12px;
    /* Adjust for better appearance */
}

.navbar-toggler-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    /* Ensure rounded corners */
    padding: 2px;
    /* Border thickness */
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@media screen and (max-width: 991px) {
    #navbarNavDropdown{
        position: fixed !important;
        width: 95vw !important;
        left: 0vw !important;
        top: 0vh !important;
        background: rgba(255, 255, 255, 0.2);
        border-bottom-right-radius: 25px;
        border: 1px solid #eee;
        box-shadow: 6px 10px 7px rgb(225, 225, 225, 0.5) inset;
        backdrop-filter: blur(32px);
        padding-left: 4vw;
        padding-bottom: 4vw;
        padding-right: 4vw;
        z-index: 9;
    }

}
.menu-close-btn{
    width: 40px;
    height: 40px;
}
.banner-img {
    text-align: end;
    position: relative;
}

.overlay {
    z-index: -1;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
}

/* .banner-section,.banner-section .row{
    min-height: 90vh;
} */
.banner-img img {
    scale: 70%;
    transform: translate(10px, -190px);
}
.banner-text h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 86.4px;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.banner-text p {
    font-size: 2rem;
    font-weight: 400;
    line-height: 38.4px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.banner-text button {
    width: 25vw;
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);;
    border: none !important;
}
@media screen and (max-width: 767px) {
    .banner-text button {
        width: 85vw;
        margin: auto;
    }
}

.banner-text {
    margin-top: 15vh;
}

@media screen and (max-width:1200px) {
    .banner-text h1 {
        font-size: 3.5rem;
        font-weight: 700;
        line-height: 86.4px;
        letter-spacing: -0.03em;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .banner-text p {
        font-size: 2rem;
        font-weight: 400;
        line-height: 38.4px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .banner-text {
        margin-top: 10vh;
    }
}

@media screen and (max-width: 992px) {

    .banner-img img {
        margin: auto;
        width: 100%;
        scale: 80%;

        transform: translateY( -10px);

    }
}
@media screen and (max-width: 767px) {

    .banner-img img {
        margin: auto;
        width: 100%;
        scale: 80%;
        /* transform: translateY( -10px); */

    }
}

.who-we-are {
    min-height: 45vh;
    position: relative;
}
.who-we-are2 {
    z-index: -1;
}

.who-we-are img {
    position: absolute;
    width: 100%;
    top: -10vh;
}

@media screen and (max-width:767px) {
    .who-we-are.home-who-we-are {
        overflow: hidden;
    }

    .who-we-are.home-who-we-are img {
        left: -37vw;
        height: 100%;
        max-width: none !important;
        top: -5vh;
        width: auto;
    }
}
@media screen and (min-width: 1300px) {
    .who-we-are img {
        top: -42vh;
    }
}

.who-we-are-text h4 {
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    line-height: 45px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    font-size: 2rem;
}

.why-to-learn {
    background-image: url('/imgs/Mathematics.png');
    padding-top: 8vh;
    padding-bottom: 8vh;
}

.why-to-learn .item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid #eee;
    backdrop-filter: blur(32px);
    transition: all 0.3s;
}

.why-to-learn .item:hover {
    border-color: #C471ED;
    box-shadow: 6px 10px 7px rgb(225, 225, 225, 0.5) inset;
}

.why-to-learn .item:hover>h3 {
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-to-learn .item:hover>h3 {
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.explore-courses {
    /* background-image: url('../imgs/Background.png'); */
    min-height: 70vh;

    background-repeat: no-repeat;
    background-position: bottom;
}

.course-card {
    padding: 20px 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-align: start;
    box-shadow: 6px 10px 7px rgb(225, 225, 225, 0.5) inset;

}

.course-card h2 {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, #ff4d94, #9f6ef1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.course-card .btn-custom {
    background: linear-gradient(90deg, #ff4d94, #9f6ef1);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    transition: 0.3s;
}

.course-card .btn-custom:hover {
    opacity: 0.8;
}

.course-card .tag {
    background: white;
    color: black;
    padding: 5px 10px;
    border-radius: 20px;
    margin: 5px;
    display: inline-block;
    font-size: 0.9rem;
}

.course-card .img-container img {
    max-height: 350px;
    /* aspect-ratio: 1/1; */
}

.course-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}


.ghost-item {
    width: 25vw;
    height: 1px;
    visibility: hidden;
}

.course-cursor {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    z-index: -1;
    margin: 0 !important;
    left: -40px;
    top: -35px;
}

.testimonial-card {
    padding: 15px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
    backdrop-filter: blur(10px);
    border: 1px solid #ff4d94;
    color: white;
    text-align: start;
    /* box-shadow: 6px 10px 7px rgb(225,225,225,0.5) inset; */
}

.testimonial-card {
    /* width: 432.25px; */
}

.testimonial-card.active {
    width: 35vw !important;
    box-shadow: 6px 10px 7px rgb(225, 225, 225, 0.5) inset;
}

@media screen and (max-width: 1200px) {
    .testimonial-card.active {
        width: 45vw !important;
    }

}

@media screen and (max-width: 900px) {
    .testimonial-card.active {
        width: 65vw !important;
    }
}

@media screen and (max-width: 768px) {
    .testimonial-card.active {
        width: 80vw !important;
    }
}

.testimonials-owl-carousel .owl-item.active {

    /* width: fit-content !important;  */
}

.w-fit-content {
    width: fit-content !important;
}

.contact-section input,
.contact-section input:focus,
.contact-section textarea,
.contact-section textarea:focus {
    background: transparent;
    box-shadow: none;
}

.contact-section .btn-primary {
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    border: none;
}

.contact-section form {
    width: 75%;
}

@media screen and (max-width:991px) {
    .contact-section form {
        width: 100%;
    }
}

footer ul {
    list-style: none;
}

footer ul li a {
    text-decoration: none;
    color: #fff;
    text-align: center;
    width: fit-content;
}

footer ul li a:hover {
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.min-height-none {
    min-height: 0 !important;
}

.social-media a {
    text-decoration: none;
}

.about-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.our-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}



.our-team-section{
    background-image:url('/imgs/Mathematics.png');
    padding-top: 8vh;
    padding-bottom: 8vh;
}

.our-team{
    border-radius: 18px;
    position: relative;
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);;
}

.our-team span{
    position: absolute;
    bottom: 5px;
    left: 15px;
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.5s;
    cursor: pointer;
}
.our-team .info{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    border-radius: 18px;
    background-color: rgb(54, 52, 52);
    background-image:url('/imgs/Mathematics.png');
    opacity: 1;
    transform: 1s;
    display: none;
}
.locked{
    transform: none !important;
}

.our-team img {
    width: 99%;
    height: 99%;
    max-width: 350px;
    max-height: 350px;
    margin: auto;
    border-radius: 18px;
    transition: 0.5s;
}
.our-team:hover > img {
    transform: rotate(20deg);
}
.our-team:hover > span{
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    color: #fff;
    -webkit-text-fill-color: #fff;
    border-radius: 8px;
    padding: 5px 10px;
}
.z-1{
    z-index: -1 !important;
}



.video-container {
    position: relative;
    width: 100%;
    max-height: 60vh;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}
.video-overlay , .video-thumbnail{
    max-height: 60vh;
}
.play-button {
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: white;
    outline: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 45%;
    left: 45%;
}

.video {
    width: 100%;
    display: none;
    max-height: 60vh;
    background: #000;
}

.course-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ff4d94;
    position: sticky;
    top: 0;


}

.btn-primary {
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}
.course-container {
    margin-left: 7vw;
    margin-right: 7vw;

}
@media (max-width:1200px) {

    .course-container {
        margin-left: 5vw;
        margin-right: 5vw;
    }
}
.course-data-btn{
    cursor: pointer !important;
}
.course-data-btn.active{
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    border-top-left-radius: 5px;
    border-top-right-radius:5px ;
    border-color: #F64658 !important;
}
.course-data-content h5{
    background: linear-gradient(270deg, #12C2E9 0%, #C471ED 50%, #F64658 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}
.accordion-item{
    border-radius: 5px !important;
    background:  rgba(70, 70, 83, 1) !important;
    border-color:rgba(70, 70, 83, 1) !important;
}
.accordion-item button{
    border-color:rgba(70, 70, 83, 1) !important;
    background:  rgba(70, 70, 83, 1) !important;
    color: #fff;
    box-shadow: none !important;
    border-top-left-radius: 5px;
    border-top-right-radius:5px ;
}
.accordion-body{
    color: #fff;
    background: rgba(46, 46, 56, 1) !important;

}
.accordion-item button:not(.collapsed){
    background: rgba(46, 46, 56, 1) !important;
    color: #fff;
    box-shadow: none;
}
.course-data-content:not(.active){
    display: none;
}

@media screen and (max-width: 767px) {
    .bg-title{
        background-image: url('/imgs/Frame\ 1.png');
        background-position: center;
        min-height: 55vh !important;
        padding-top: 7vh;
    }
    .bg-title img{
        display: none !important;
    }
    /* add custom css fot the next section after .bg-title */
    .bg-title + section{
        transform: translateY(-25vh);
        margin-top: 0 !important;
        margin-bottom: -25vh;
    }
    .bg-title + section.course-bg-section{
        transform: translateY(-55vh) !important;
        margin-top: 0 !important;
        margin-bottom: -55vh;
    }
}
.course-btns-cont{
    width: 100%;
    overflow-x: scroll;
    /* hide scrol bar */
    scrollbar-width: none;
    -ms-overflow-style: none;  /* IE 10+ */
    /* Firefox */
    overflow: -moz-scrollbars-none;
}


#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: #030303;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
