:root {
    --f_d: #753ECB;
    --f_l: #9A6CFF;
    --f_b: #00E8F6;
    --f_y: #ffc107;
    --f_f: #FE5898;
    --f_g: #24BFA3;
    --blue: #5876DA;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #753ECB #EFD3FF;
}

*::-webkit-scrollbar {
    width: .5rem;
}

*::-webkit-scrollbar-track {
    background: #EFD3FF;
}

*::-webkit-scrollbar-thumb {
    background-color: #753ECB;
    border: 1px solid #A782FF;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    padding-top: 4rem;
    /*== the navbar height ==*/
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    background-color: #F5F6FB;
    min-height: 100vh;
}

.page-content {
    min-height: 100vh;
}

a {
    text-decoration: none !important;
    color: inherit;
}


/*******************************************************
********************************** NAVBAR***************
*******************************************************/

nav .container {
    position: relative;
}

nav button:focus {
    outline: 0;
}

.navbar .navbar-toggler:hover {
    border: 0;
    box-shadow: 0 0 1px 1px var(--f_y);
    color: var(--f_y);
}

nav.navbar {
    background-color: var(--f_d);
    min-height: 4rem;
    padding: 0 .5rem;
    max-height: 100vh;
    z-index: 999;
}

#navbarNavDropdown {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

nav.navbar .navbar-brand img {
    filter: drop-shadow(0.3rem 0.3rem 0.2rem rgba(0, 0, 0, .8));
    max-width: 28vw !important;
    max-height: 3.75rem !important;
}

nav.navbar .navbar-brand {
    padding-top: .125rem;
    padding-bottom: .125rem;
}

@media (min-width: 992px) {
    #navbarNavDropdown {
        overflow: visible;
    }
}


/*==== abs ==== */

nav .container .abs {
    display: flex;
    position: absolute;
    left: 19%;
    top: 0;
    height: 4rem;
    align-items: center;
    margin-left: .7rem;
}

@media (min-width: 992px) {
    nav .container .abs {
        left: 2%;
    }
}

@media (max-width: 375px) {
    .abs .dropdown.noti .btn {
        transform: scale(.85);
    }
}

.noti button {
    border: 0;
    outline: 0;
    font-size: 1.4rem;
    background: transparent;
    transition: all .3s ease;
    color: var(--f_y);
    display: flex;
    position: relative;
    transform: translateY(5%);
    width: 4rem;
    display: flex;
    justify-content: center;
}

.noti button:hover,
.noti button:focus-within {
    border: 0;
    outline: 0;
    box-shadow: none;
    transform: scale(1.2);
    transition: .3s ease;
}

.noti-num {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--f_f);
    color: white;
    font-size: .85rem;
    transition: .3s ease;
    padding: 0 .17rem;
    border-radius: .3rem;
    max-width: 28.3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
    direction: rtl;
}

.noti .dropdown-menu {
    width: 350px;
    margin-top: .9rem;
    left: -60%;
    max-width: 86vw;
    padding-top: 0;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
    padding: 0;
}

.noti .dropdown-menu:before {
    content: "";
    position: absolute;
    top: -20px;
    left: 17%;
    border: 10px solid;
    border-color: transparent transparent #ffc107 transparent;
}

.noti .dropdown-menu .noti-body {
    width: 100%;
    text-align: right;
    overflow: hidden !important;
    border-radius: 1rem;
    border: 2px solid var(--f_y);
}

.noti .dropdown-menu .noti-body ul {
    width: 100%;
    max-height: 22rem;
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-top: 0;
    overflow-y: scroll;
    padding: 0;
    margin-bottom: 0;
    border-radius: 1rem;
}

.noti .dropdown-menu .noti-body ul::-webkit-scrollbar {
    width: 6px;
}

.noti .dropdown-menu .noti-body ul::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px grey;
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

.noti .dropdown-menu .noti-body ul::-webkit-scrollbar-thumb {
    background: #673AB7;
    border-radius: 10px;
}

.noti .dropdown-menu .noti-body ul li {
    border-bottom: 1px solid var(--f_y);
}

.noti .dropdown-menu .noti-body ul li a {
    display: flex;
    justify-content: right;
    align-items: center;
    text-decoration: none;
    max-height: 6.5rem;
    padding: .7rem 0;
    position: relative;
}

.noti .dropdown-menu .noti-body ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 300ms ease-in;
    z-index: -1;
}

.noti .dropdown-menu .noti-body ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: center;
    background-color: rgb(59 6 111 / 0.4);
}

.noti .dropdown-menu .noti-body ul li a img {
    max-width: 21%;
    height: auto;
    max-height: 4rem;
    margin: auto;
    border-radius: 50%;
}

.noti .dropdown-menu .noti-body ul li a .noti-t {
    max-width: 75%;
}

.noti .dropdown-menu .noti-body ul li a .text {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    text-align: right;
    margin-right: .2rem;
    margin-left: .5rem;
    font-size: 14px;
}

.noti .dropdown-menu .noti-body ul li a .time {
    text-align: left;
    font-size: .7em;
    padding-top: 1rem;
    padding-left: .5rem;
}

.noti .dropdown-menu .new a {
    background-color: rgb(154 108 255 / 0.3);
}

.noti .pro-pic-cont {
    height: 3rem;
    width: 3rem;
    padding: 0;
    border-radius: 50%;
    transition: all 400ms ease-in-out;
    position: relative;
    border: 2px solid transparent;
}

.noti .pro-pic-cont:hover {
    padding: .1rem;
    box-shadow: 0;
    border: 2px solid var(--f_y);
}

.noti .pro-pic-cont img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

.noti .prof-menu {
    width: 175px;
    margin-top: .5rem;
    left: -137%;
    max-width: 70vw;
    padding-top: 0;
    border: 0;
    border-radius: 11px;
    background-color: #fff;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
    padding: 0;
    border: 2px solid var(--f_y);
}

.noti .prof-menu:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    border: 10px solid;
    border-color: transparent transparent var(--f_y) transparent;
}

.noti .prof-menu ul {
    padding: .4rem 0;
}

.noti .prof-menu ul li {
    text-align: right;
    height: 3rem;
    padding: 0;
    display: flex;
    align-items: center;
}

.noti .prof-menu ul li a {
    text-decoration: none;
    height: 3rem;
    color: var(--f_d);
    text-align: right;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 3rem;
    padding-right: .4rem;
    position: relative;
}

.noti .prof-menu ul li a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--f_l);
    transform: scale(0, 1);
    transform-origin: right;
    transition: transform 300ms ease-in;
}

.noti .prof-menu ul li a:hover {
    color: #fff;
}

.noti .prof-menu ul li a:hover::after {
    transform: scale(1);
    transform-origin: right;
}

.noti .prof-menu ul li a span {
    margin-left: .2rem;
    font-size: 1.2rem;
    color: var(--f_y);
}


/*==== abs end ====== */

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu.cstm {
    box-shadow: 0 19px 38px rgb(0 0 0 / 30%), 0 15px 12px rgb(0 0 0 / 22%);
}

.navbar-nav .dropdown-menu.st {
    min-width: 14rem;
    padding: .5rem;
}

#accordion button,
#accordion a {
    text-decoration: none !important;
    color: inherit;
    width: 100%;
}

#accordion button i {
    margin-right: .5rem;
}

#accordion .card-header,
#accordion .card-body {
    padding: 0;
}

#accordion .card {
    background-color: var(--f_l);
    border: 0;
}

#accordion .card-header .btn {
    background-color: var(--f_l);
    text-align: right;
    color: white;
    border: 0;
    margin: 0;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.20);
    transition: 0.1s linear, transform 0.15s ease-out;
}

#accordion .card-header:hover .btn {
    background-color: var(--f_f);
    transform: translateY(-5px);
    box-shadow: 0 6px 8px 1px rgb(0 0 0 / 14%), 0 2px 10px 4px rgb(0 0 0 / 12%), 0 3px 4px -2px rgb(0 0 0 / 20%);
}

#accordion .card-header .btn[aria-expanded=true] {
    background-color: var(--f_f);
    transform: translateY(-5px);
    box-shadow: 0 6px 8px 1px rgb(0 0 0 / 14%), 0 2px 10px 4px rgb(0 0 0 / 12%), 0 3px 4px -2px rgb(0 0 0 / 20%);
}

#accordion .card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#accordion .card-body ul li {
    padding: .3rem 0;
    background-color: var(--f_b);
    color: var(--f_d);
    transition: all .2s;
}

#accordion .card-body ul li a {
    width: 100%;
    display: inline-block;
    min-height: 1.8rem;
    padding-right: 2rem;
}

#accordion .card-body ul li:hover {
    background-color: var(--f_d);
    color: white;
}

.navbar-nav .nav-item {
    transition: all 400ms;
    position: relative;
    padding-right: 1rem;
}

.navbar-nav .nav-item .fa-search {
    line-height: 4rem;
}

.navbar-nav .nav-item:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    transform-origin: top;
    transform: scale(1, 0);
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    transition: all 400ms;
}

.navbar-nav .nav-item:hover:after {
    transform: scale(1);
    transform-origin: top;
}

.navbar-nav .nav-item:hover .nav-link {
    color: var(--f_y) !important;
}

.navbar-collapse .nav-link {
    height: 3rem;
    line-height: 2rem;
    color: #fff !important;
    transition: all 400ms;
}

.navbar-collapse .nav-item:last-child {
    margin-bottom: .5rem;
}

.nav-link.dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown .dropdown-menu {
    margin-top: 0;
    border-top: 0;
    background-color: var(--f_l);
    border-radius: 0 0 .5rem .5rem;
    margin-right: -1px;
}

.dropdown-menu.cstm .dropdown-item {
    color: white;
    transition: all .3s;
}

.dropdown-menu.cstm .dropdown-item:hover {
    color: var(--f_d);
    background-color: white;
}

@media (min-width: 992px) {
    .navbar-collapse .nav-link {
        height: 4rem;
        line-height: 4rem;
        padding-top: 0;
        padding-bottom: 0;
        min-width: 3.5rem;
        color: #fff !important;
        text-align: center;
    }
    .navbar-collapse .nav-item:last-child {
        margin-bottom: 0;
    }
    .navbar-nav .nav-item:after {
        background: var(--f_l);
    }
    .navbar-nav .dropdown:hover .dropdown-menu.cstm {
        display: block !important;
    }
    .navbar-nav .nav-item {
        padding-right: 0;
    }
    #accordion button {
        display: flex;
        justify-content: space-between;
    }
}


/*******************************************************
********************************** main slider ***************
*******************************************************/

.swiper-container.main-slider {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    height: 60vw;
    max-height: 38rem;
    background-image: url(../pic/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.main-sw {
    position: relative;
    overflow: hidden;
    height: 60vw;
    max-height: 38rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-lay {
    height: 90%;
    width: 98%;
    margin: auto;
    display: flex;
    justify-content: flex-start;
    padding-right: 1rem;
    align-items: center;
    background-color: rgb(0 17 25 / .15);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), -11px -10px 10px rgba(0, 0, 0, 0.22);
}

.text-lay {
    max-width: 44vw;
    max-height: 100%;
    overflow: hidden;
    padding: .5rem;
}

.text-lay h2,
.text-lay h1 {
    text-shadow: 4px 3px 12px rgb(0 232 246 / .5), 0 0px 6px;
    font-weight: bold;
    font-size: 4.8vmin;
    font-family: 'Roboto', sans-serif;
    color: white;
}

.text-lay h1 {
    font-size: 5.5vmin;
    text-align: left;
}

.text-lay h1 span {
    font-size: 6.5vmin;
    color: var(--f_g);
    text-shadow: 0 0 black;
}

.text-lay p {
    font-size: 2.7vmin;
    color: white;
}

.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    top: 80%;
    color: var(--f_g);
    padding: 2rem;
    font-weight: bold;
}

.main-sw .svg-cont {
    height: 94%;
    overflow: hidden;
    width: 45vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 2%;
}

.main-sw svg {
    height: 100%;
    filter: drop-shadow(0.2rem 0.3rem 0.5rem rgba(0, 0, 0, .9));
}

.main-slider .swiper-slide-active .svg-cont {
    animation: vic 1.2s ease-out 1.1s backwards;
}

@keyframes vic {
    0% {
        transform: translateX(-170%);
    }
    100% {
        transform: translateX(0);
    }
}

.waveCont {
    margin-top: -.5rem;
    z-index: -10;
}

@media (min-width: 576px) {
    .waveCont {
        margin-top: -1rem;
    }
    .swiper-container.main-slider,
    .main-sw {
        height: 40vw;
    }
    .glass-lay {
        padding-right: 2.5rem;
    }
}

@media (min-width: 768px) {
    .waveCont {
        margin-top: -2rem;
    }
}


/*

.main-sw img {
    height: 100%;
    width: 100%;
    z-index: -1;
    position: absolute;
    .swiper-container.main-slider,
    .main-sw {
        height: 40vw;
    }
}
*/


/*=====================================================
                    courses section                     
======================================================*/

section.h-sec .container {
    padding: 1rem;
    padding-top: 1.5rem;
    border-radius: 2rem;
    background-color: white;
    margin-bottom: 4rem;
}

.h-sec h2 {
    margin-bottom: 2rem;
    font-weight: bold;
    color: var(--f_d);
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.h-sec h2 a {
    width: 100%;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.h-sec h2:hover {
    color: var(--f_l);
}

.h-sec h2:hover i {
    margin-right: 1rem;
    animation-name: none;
}

.h-sec h2 i {
    font-weight: bold;
    animation: slide-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s infinite alternate both;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-200%);
    }
}

.h-sec a {
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.cors .card {
    margin-left: 0;
    font-family: 'Tajawal', sans-serif;
    margin-right: 0;
    border-radius: 1rem;
    border: 0;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    height: 100%;
    max-width: 17rem;
    margin: auto;
}

.card {
    position: relative;
}

.card::before {
    font-family: FontAwesome;
    content: "\f023";
    font-size: 3em;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(255 255 255 / 0.5);
    z-index: 20;
}

.card.close-card::before {
    display: flex;
}

.cors .card:hover {
    box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.2);
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.cors .card-header {
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color: var(--f_d);
    color: white;
    border: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.card-pic {
    position: relative;
    width: 100%;
    padding: 33.33% 0;
    overflow: hidden;
}

.cors .card img {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 0;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.cors .card:hover img {
    transform: scale(1.2) rotate(-7deg);
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    filter: contrast(135%);
}

.cors .card-body {
    padding: .8rem;
    padding-bottom: .4rem;
}

.cors .card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--f_d);
}

.cors .card-body .c-teach {
    text-align: center;
    font-weight: bold;
    color: var(--f_g);
}

.cors .card-footer {
    display: flex;
    justify-content: space-between;
    border-top: 0;
    background: rgb(154, 108, 255);
    background: linear-gradient(0deg, rgba(154, 108, 255, 0.4) 10%, rgba(255, 255, 255, .5) 77%);
    /* background: linear-gradient(0deg, rgba(154, 108, 255, 0.8) 0%,
            rgba(19, 217, 247, 0.8) 51%, rgba(255, 255, 255, 0.7) 100%); */
}

.cors .card-footer strong {
    color: var(--f_d);
}

.rate-wrap {
    position: relative;
    overflow: hidden;
    direction: ltr;
    text-align: left;
}

.rate-wrap .rate {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100%;
}

.rate .r-active {
    color: #EEBD01;
    position: relative;
    z-index: 5;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}

.rate .r-disabled {
    position: absolute;
    overflow: hidden;
    color: gray;
}


/*=====================================================
                subjects section                     
                ======================================================*/

.sub-cm {
    padding: .5rem;
}

.subject {
    position: relative;
    max-width: 11rem;
    height: 13rem;
    overflow: hidden;
    flex-direction: column;
    margin: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.subject h6 {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: rgb(117 62 203 / 0.5);
    color: white;
    margin: 0;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 500ms ease-out;
}

.subject:hover h6 {
    height: 13rem;
    font-weight: bold;
    text-shadow: rgba(0, 232, 246, 0.5) 1px 1px 2px, #000 -2px 2px 3px;
}

.subject:hover img {
    transform: scale(1);
}

.subject img {
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    transition: all 500ms ease-out;
}


/*=====================================================
                teachers-slider                     
   ======================================================*/

.teach-sec a {
    text-decoration: none;
    color: inherit;
    height: 100%;
}

section.teach-sec .teach-slider {
    padding-top: .5rem;
    padding-bottom: 1rem;
}

section.teach-sec .teach-sl {
    padding: 1rem;
}

section.teach-sec {
    background-image: url(../pic/ne2.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

section.teach-sec .container {
    background-color: transparent;
}

section.teach-sec .container h2 {
    margin-bottom: .0;
    padding-bottom: .5rem;
    color: white;
}

section.teach-sec .container h2:hover {
    color: var(--f_b);
}

.teach-slider .swiper-button-next,
.teach-slider .swiper-button-prev {
    color: #fff;
    padding: 2rem;
    font-weight: bold;
}

.teach-sl {
    height: auto;
}

.h-teach {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22);
    align-items: center;
    max-width: 17rem;
    background-color: rgb(154 108 255 / 0.6);
    /* border-radius: 1.5rem; */
    margin: auto;
    height: 100%;
    overflow: hidden;
    transition: all 400ms ease-out;
}

.h-teach:hover {
    transform: scale(.96);
}

.h-teach:hover img {
    transform: scale(1.1);
}

.h-teach .teach-pic {
    position: relative;
    width: 100%;
    padding: 50% 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -2rem;
}

.h-teach .teach-pic .img-p {
    width: 80%;
    height: 80%;
    position: absolute;
    top: .8em;
    overflow: hidden;
    border-radius: 50%;
}

.h-teach .teach-pic .img-p img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all .4s ease-out;
    transform-origin: left;
}

.h-teach .teach-text {
    width: 90%;
    margin-bottom: 0.8rem;
    margin-top: 0.2em;
    padding: 0.5rem;
    font-family: Tajawal, sans-serif;
    border-radius: 0.2rem;
    background-color: rgb(0 232 246 / 0.5);
    color: var(--indigo);
    /* box-shadow: inset 0 0 7px 1px #333c; */
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.h-teach h6 {
    text-align: center;
    font-weight: bold;
    font-family: Tajawal, sans-serif;
    color: var(--indigo);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0px;
    padding: 0.5rem;
    width: 100%;
}

.h-teach p {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-bottom: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-teach .teach-text p {
    display: block;
}

.t-sub {
    margin-top: 0.2em;
    padding: 0.4rem 0px;
    font-size: .9rem;
    font-family: Tajawal, sans-serif;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 6px, rgba(0, 0, 0, 0.22) 0px 6px 8px;
    background-color: var(--f_d);
    text-align: center;
    color: var(--white);
}

.t-sub span {
    margin: 0 .15rem;
}


/*=====================================================
                video                     
   ======================================================*/

.vid .svg-cont {
    width: 100%;
}

.vid .svg-cont svg {
    width: 100%;
    filter: drop-shadow(0.4rem 0.4rem 0.5rem rgba(0, 0, 0, .6));
}

.vid h3 {
    color: var(--f_d);
    font-family: 'Lalezar', cursive;
    text-align: center;
    margin-top: -.8rem;
    margin-bottom: 1.5rem;
}


/*=====================================================
                foorer              
   ======================================================*/

footer {
    color: #ffffff;
    border-top: solid 5px var(--blue);
    z-index: 777;
    position: relative;
}

footer a {
    text-decoration: none !important;
    color: inherit !important;
}

footer .ftr-top {
    position: relative;
    background-color: rgb(117 62 203 / 0.5);
    position: relative;
    background-image: url(../pic/fo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 12%;
}

footer .ftr-lay {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
    background-color: rgb(59 6 111 / 0.8);
}

footer .ftr-top .container {
    padding: 2rem 1rem;
    padding-top: 0;
    z-index: 5;
}


/*=== footer text ===*/

footer .i-p {
    margin: .8rem 0;
    text-align: right;
}

footer .fc {
    display: flex;
    flex-direction: column;
}

footer .fc h4 {
    margin: 1.2rem 0;
    margin-top: 0;
}

footer .i-p img {
    height: 3.75rem;
    max-width: 28vw !important;
    filter: drop-shadow(0.3rem 0.3rem 0.2rem rgba(0, 0, 0, .8));
}


/*=== footer links ===*/

footer .ftr-lnk {
    display: flex;
    justify-content: center;
}

footer .ftr-lnk ul {
    padding-right: 2rem;
}

footer .ftr-lnk li {
    text-align: right;
    margin: .6rem 0;
    transition: all .3s ease-out;
}

footer .ftr-lnk li:hover {
    text-align: right;
    color: var(--f_b);
    transform: translateX(-5%);
}

footer .ftr-lnk li a {
    width: 100%;
    display: block;
}


/*=== footer form ===*/

footer .form-cont {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22);
    background-color: rgb(154 108 255 / 0.6);
    /* border-radius: 1.5rem; */
    margin: auto;
    height: 100%;
    overflow: hidden;
    transition: all 400ms ease-out;
    padding: 1.6rem;
}

footer .form-group {
    position: relative;
    display: flex;
    align-items: center;
    /* border-radius: 1.5rem; */
}

footer .input-i {
    position: absolute;
    padding: .3rem;
    width: 2rem;
    margin-right: .2rem;
    font-size: 1.1rem;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    color: var(--f_y);
    background-color: transparent;
}

footer label {
    display: none;
}

footer .form-group input {
    padding-right: 2.3rem;
    height: 2.6rem;
    border: none;
    /* border-radius: 1.5rem; */
    /* box-shadow: 0px 5px 28px 0px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22), 0 0 6px 2px white; */
    margin: .3rem 0;
    transition: all .4s ease-out;
}

footer .form-group input:hover,
footer .form-group input:focus,
footer .form-group textarea:focus {
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #ffc107; */
}

footer .form-group input:focus,
footer .form-group textarea:focus {
    background-color: #a3faff;
}

footer .form-group textarea {
    border: none;
    /* border-radius: 1.5rem; */
    resize: unset;
    /* box-shadow: 0px 5px 28px 0px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22), 0 0 6px 2px white; */
    margin: .3rem 0;
}

footer .form-group textarea:hover {
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #ffc107; */
}

footer .wr .btn {
    height: 3rem;
    width: 4.5rem;
    border-radius: 2rem;
    background-color: var(--f_y);
    color: var(--f_d);
    font-weight: bold;
    font-family: Tajawal, sans-serif;
    box-shadow: inset 0 0 2px 2px #343a4047;
    transition: all .5s ease-in-out;
}

footer .wr .btn:hover {
    animation: pulse .6s;
    box-shadow: 0 0 0 2em rgba(63, 16, 16, 0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #ffc107;
    }
}


/* ==== footer bottom === */

footer .footer_bottom {
    background-color: var(--f_d);
}

footer .footer_bottom .container {
    padding: 1rem;
}

footer .footer_bottom .row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

footer .footer_bottom ul {
    margin-bottom: 0;
}

footer .footer_bottom ul li {
    color: var(--f_y);
    font-size: 1.5rem;
    margin: 0 .5rem;
    transition: all .3s;
}

footer .footer_bottom ul li a {
    color: inherit;
}

footer .footer_bottom ul li:hover {
    color: var(--f_b);
    transform: scale(1.2);
}

footer .footer_bottom .footer-copyright {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    color: var(--f_y);
}

footer .footer_bottom .footer-copyright a span {
    transition: all .3s;
    color: var(--f_b);
}

footer .footer_bottom .footer-copyright a:hover span {
    color: var(--f_y);
}

@media (max-width: 767.98px) {
    footer .footer_bottom ul {
        margin-bottom: .8rem;
        order: 1;
    }
    footer .footer_bottom .footer-copyright {
        order: 2;
    }
}

@media (max-width: 360px) {
    footer .ftr-top h4 {
        font-size: 6vmin;
    }
    footer .ftr-top ul,
    footer .ftr-top p {
        font-size: 4.4vmin;
    }
}

@media (max-width: 575px) {
    footer .ftr-lnk,
    footer .fc {
        padding-left: .4rem;
        padding-right: .4rem;
    }
}


/*===== footer end=====*/


/*=====================================================
                course page 
   ======================================================*/


/*============= course cover===========================*/

section.crs-cov {
    background-color: #e1d3ff;
}

section.crs-cov .container {
    padding: 1rem;
    padding-bottom: 0;
    background-color: #e1d3ff;
}

section.crs-cov a {
    text-decoration: none !important;
    color: #343a40;
    font-weight: bold;
    font-size: .9em;
    transition: all .3s;
    text-shadow: 0;
}

section.crs-cov a:hover {
    font-size: 1em;
    text-shadow: 1px 1px 4px rgb(0 232 246 / .3), 0 0px 1px var(--f_f);
}

section.crs-cov .cc-pic {
    max-height: 25.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

section.crs-cov img {
    max-width: 100%;
    max-height: 100%;
}

section.crs-cov .container {
    padding-top: 0;
}

section.crs-cov h4 {
    padding: 1rem .5rem;
    margin: 0;
    width: 100%;
    background-color: var(--f_f);
    color: #ffffff;
}

section.crs-cov ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-right: 0;
    margin-top: .5rem;
}

section.crs-cov ul .splited {
    display: flex;
    justify-content: space-between;
}

section.crs-cov ul span {
    font-weight: bold;
    color: var(--f_d);
}

section.crs-cov ul li strong {
    color: var(--f_f);
    font-size: .9em;
}

section.crs-cov ul li {
    padding: .5rem 0;
    margin: .2rem 0;
}

section.crs-cov .crs-dis {
    padding: .5rem;
    box-shadow: inset 0 0 7px 1px rgba(0, 0, 0, 0.5);
    border-radius: .7rem;
    margin-bottom: 1rem;
    color: var(--blue);
    font-family: 'Tajawal';
}

section.crs-cov h5 {
    color: var(--f_d);
}

section.crs-cov .crs-dis p {
    height: 4.5rem;
    overflow: hidden;
    line-height: 1.5rem;
}

@media (min-width: 769px) {
    section.crs-cov {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    section.crs-cov h4,
    section.crs-cov h5 {
        font-size: 5vmin;
    }
    section.crs-cov ul,
    section.crs-cov .crs-dis p {
        font-size: 4vmin !important;
    }
}


/*============= course cover end===========================*/


/*=====================================================
                course firt video
   ======================================================*/

section.c-f-vid {
    margin-top: 4rem;
}

section.c-f-vid .container {
    padding: 1.5rem;
    padding-top: 1rem;
}

section.c-f-vid .container h3 {
    text-align: center;
    color: var(--f_d);
    margin-bottom: 1rem;
}


/*============= course first video end===========================*/


/*=====================================================
                lessons
   ======================================================*/

.less-cont h2:hover,
.fi-sec h2 {
    color: var(--f_d) !important;
}

.less-cont .less-card .card-header {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 6px, rgba(0, 0, 0, 0.22) 0px 6px 8px;
    padding: .5rem;
    font-size: .9em;
}

.less-cont .less-card .less-num {
    position: absolute;
    z-index: 10;
    width: 38%;
    top: 9%;
    left: -9%;
    text-align: center;
    color: white;
    font-weight: bold;
    background-color: var(--f_d);
    transform: rotate(-45deg);
    height: 1.5rem;
    box-shadow: 0 3px 10px -5px #000;
}

.less-cont .less-card .l-ex,
.less-cont .less-card .l-fi {
    display: flex;
    justify-content: space-around;
    border-radius: 2rem;
    box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, 0.4);
    padding: .5rem 0;
    background-color: rgb(0 232 246 / 0.5);
}

.less-cont .less-card .l-da {
    text-align: center;
    margin-bottom: .2rem;
}

.less-cont .less-card .card-body {
    padding-bottom: 0;
}

.less-cont .less-card .c-teach {
    color: var(--f_f);
}


/*=====================================================
                file card
   ======================================================*/

.fi-sec .col-6,
.ex-sec .col-6 {
    padding: 0 .4rem !important;
    padding-bottom: 1rem !important;
}

.fi-card,
.ex-card {
    font-family: Tajawal, sans-serif;
    border-radius: .5rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    overflow: hidden;
    max-width: 10.5rem;
    margin: auto;
    margin-bottom: 1rem;
    transition: all .25s ease-out;
    height: 100%;
}

.fi-card:hover,
.ex-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 19px 38px rgb(0 0 0 / 30%), 0 15px 12px rgb(0 0 0 / 22%);
}

.fi-card span {
    width: 100%;
    padding-top: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--f_l);
    font-size: 3rem;
    margin-bottom: .4rem;
}

.fi-card .card-body,
.ex-card .card-body {
    padding: .4rem;
    padding-bottom: 2.3rem;
}

.fi-card p {
    height: 6rem;
    line-height: 1.5rem;
    overflow: hidden;
    color: var(--blue);
}

.fi-card .card-body a {
    position: absolute;
    background-color: var(--f_l);
    border-radius: 50%;
    width: 5.5rem;
    height: 5.5rem;
    bottom: -15%;
    left: -18%;
    display: flex;
    padding: 1.4rem;
    color: var(--f_b);
    font-size: 1.5rem;
    transition: all .3s;
}

.fi-card a:hover {
    color: var(--f_y);
}

.fi-card strong {
    position: absolute;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--f_d);
    overflow: hidden;
    padding: .5rem;
    right: 0;
    bottom: 0;
}


/*=====================================================
                exam card
   ======================================================*/

.ex-card span {
    width: 100%;
    padding-top: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--blue);
    font-size: 3rem;
    margin-bottom: .4rem;
}

.ex-card p {
    height: 6rem;
    line-height: 1.5rem;
    overflow: hidden;
    color: var(--f_d);
}

.ex-card .card-body a,
.gen-ex .card-body a {
    position: absolute;
    background-color: var(--blue);
    border-radius: 50%;
    width: 5.5rem;
    height: 5.5rem;
    bottom: -15%;
    left: -18%;
    display: flex;
    padding: 1.4rem;
    color: var(--f_f);
    font-size: 1.5rem;
    transition: all .3s;
}

.ex-card a:hover,
.gen-ex a:hover {
    color: var(--f_y);
}

.ex-card strong,
.gen-ex strong {
    position: absolute;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--f_f);
    overflow: hidden;
    padding: .5rem;
    right: 0;
    bottom: 0;
}

@media (max-width: 300px) {
    .ex-card a,
    .fi-card a,
    .gen-ex a {
        width: 4.8rem;
        height: 4.8rem;
        padding: 1rem;
    }
}


/*=====================================================
                lesson page
   ======================================================*/

.bar-p {
    background-color: var(--f_l);
}

.page-title.less-title {
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 4rem;
    height: 100%;
}

.page-title.less-title h5 {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: .5rem;
}

.page-title.less-title .dropdown {
    display: flex;
    align-items: center;
}

.page-title.less-title .dropdown.show button {
    box-shadow: inset 0 0 3px 1px rgb(0 0 0 / 23%);
    color: var(--f_d);
}

.page-title.less-title button {
    margin: .5rem;
}

.page-title .dropdown-menu {
    margin-top: .45rem;
    border: 2px solid var(--f_y);
    border-top: 5px solid var(--f_d);
    background-color: white;
    border-radius: 0 0 1rem 1rem;
    margin-right: -1px;
    overflow: hidden;
    color: var(--f_l);
    min-width: 13rem;
    max-width: 85vw !important;
    box-shadow: 0 19px 38px rgb(0 0 0 / 30%), 0 15px 12px rgb(0 0 0 / 22%);
}

.page-title .dropdown-menu ul {
    list-style: none;
    padding: 0;
    max-height: 20rem;
    overflow-y: scroll;
}

.page-title .dropdown-menu ul li {
    height: 2.5rem;
}

.page-title .dropdown-menu ul li a {
    display: inline-block;
    padding: 0;
    padding-right: 1rem;
    height: 100%;
    width: 100%;
    height: 2.5rem;
    line-height: 2.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 26rem;
}

.page-title .dropdown-menu ul li a:hover {
    background-color: var(--f_l);
    color: white;
}

.less-head .container.vv {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgb(154 108 255 / 24%);
    border-radius: 2rem;
    margin-bottom: 2rem;
}

.container.vv .vid-btns {
    margin-top: .3rem;
    margin-bottom: .8rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.container.vv .vid-btns span {
    position: relative;
    display: inline-block;
}

.container.vv .vid-btns span:before {
    content: "";
    display: block;
    /* border-top: 1px solid #ddd; */
    /* border-bottom: 1px solid #fff; */
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    z-index: -1;
}

.container.vv .vid-btns a {
    font-size: 1.5rem;
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
    line-height: 3rem;
    margin: 0 1.2rem;
    padding: 0;
    background-color: var(--f_b);
    background-color: #f7f7f7;
    color: var(--f_l);
    position: relative;
    text-align: center;
    transition: all .2s;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.39), inset 0px 2px 3px #fff;
}

.container.vv .vid-btns a:hover {
    color: var(--f_d);
}

.container.vv .vid-btns a::before {
    content: "";
    display: block;
    background: #fff;
    border-top: 2px solid #ddd;
    position: absolute;
    top: -8px;
    left: -8px;
    bottom: -8px;
    right: -8px;
    z-index: -1;
    border-radius: 50%;
    box-shadow: inset 0px 8px 48px #ddd;
}

.container.vv .vid-btns span:nth-of-type(1) a {
    padding-left: .2rem;
}

.container.vv .vid-btns span:nth-of-type(2) a {
    padding-right: .2rem;
}

.vv .rate-p {
    display: flex;
    justify-content: flex-end;
    padding-left: .8rem;
    padding-top: .8rem;
    align-items: center;
}

.vv .rate-p span {
    margin-left: .5rem;
    color: var(--f_d);
    font-weight: bold;
}

@media (max-width: 360px) {
    .page-title.less-title h5 {
        font-size: 5vmin;
    }
    .page-title.less-title button,
    .page-title .dropdown-menu ul li a {
        font-size: 4.3vmin;
    }
}


/*===============================================================================
                                  comments                                        
================================================================================*/

.add-p {
    display: flex;
}

.c-container {
    font-family: Tajawal, sans-serif;
    color: #444444;
}

.add-p img {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    margin-left: .5rem;
}

.comb-p {
    margin: .5rem;
    display: flex;
    justify-content: flex-end;
}

.comb-p button {
    border-radius: 2rem;
    background-color: var(--f_d);
    color: white;
    box-shadow: inset 0 0 1px 1px #343a4047;
    transition: all .5s ease-in-out;
    min-height: 2.5rem;
}

.comb-p button:hover {
    color: var(--f_y);
    animation: pulse3 .6s;
    box-shadow: 0 0 0 2em rgba(63, 16, 16, 0);
}

@keyframes pulse3 {
    0% {
        box-shadow: 0 0 0 0 #753ecb;
    }
}

.comment {
    background-color: white;
    padding-top: .4rem;
    border-radius: .5rem;
    margin-bottom: .6rem;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
}

.comment p {
    min-height: 4rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.comment .comb-p {
    margin: 0 .5rem;
}

.comment .comb-p button.rr {
    background-color: transparent;
    color: var(--f_l);
    box-shadow: none;
    transition: 0s;
}

.comment .comb-p button.rr:hover {
    color: var(--f_d);
}

.reply {
    margin-right: 1rem;
    display: flex;
    padding: .5rem;
    margin-bottom: .5rem;
    border-radius: .5rem;
    box-shadow: inset 0 0 7px 0px rgb(0 0 0 / 50%);
}

.reply img {
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 50%;
    margin-left: .5rem;
}

.reply p {
    min-height: 3.5rem;
}

.rep-togg {
    display: none;
    background-color: white;
    margin-right: 1rem;
    padding: .5rem;
    margin-bottom: .5rem;
    border-radius: .5rem;
}

.rep-togg button {
    min-height: 2rem;
}

.rep-togg img {
    width: 3rem;
    height: 3rem;
}

.rep-togg .comb-p {
    margin: .1rem;
    margin-top: .5rem;
}

@media (min-width: 992px) {
    .reply,
    .rep-togg {
        margin-right: 3rem;
    }
}

@media (max-width: 360px) {
    .c-container,
    .c-container textarea,
    .c-container button {
        font-size: 3.6vmin !important;
    }
}


/*==============================================================================
                                    login page                                     
================================================================================*/

.page-content.bg-an {
    background-image: linear-gradient(to right top, #fe5898, #f854ab, #ee54bf, #de59d3, #c760e7, #9a7afa, #658cff, #159aff, #00b1ff, #00c5ff, #00d7ff, #00e8f6);
    animation: bg 15s ease-in-out infinite;
    background-size: 400% 400%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-content.bg-an .col-12 {
    height: 100%;
}

@keyframes bg {
    0% {
        /* filter: hue-rotate(0deg); */
        background-position: 0 50%;
    }
    50% {
        /* filter: hue-rotate(360deg); */
        background-position: 100% 50%;
    }
    100% {
        /* filter: hue-rotate(0deg); */
        background-position: 0 50%;
    }
}

.form-login {
    background-color: rgb(154 108 255 / 0.6);
    /* border-radius: 1.5rem; */
    margin: auto;
    height: 100%;
    overflow: hidden;
    transition: all 400ms ease-out;
    padding: 1.6rem;
    text-align: center;
    box-shadow: 0 3px 6px 4px #522b7a;
    margin: 1rem 0;
}

.bg-an form .form-group {
    position: relative;
    display: flex;
    align-items: center;
    /* border-radius: 1.5rem; */
}

.bg-an form h4 {
    margin-bottom: 1rem;
    color: white;
}

.bg-an form .form-group .input-i {
    position: absolute;
    padding: .3rem;
    width: 2rem;
    margin-right: .2rem;
    font-size: 1.1rem;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    color: var(--f_y);
    background-color: transparent;
}

.bg-an form .form-group textarea {
    width: 100%;
    padding-right: 2.3rem;
    height: 10.6rem;
    border: none;
    /* border-radius: 1.5rem; */
    /* box-shadow: 0px 5px 28px 0px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22), 0 0 6px 2px white; */
    margin: .3rem 0;
    transition: all .4s ease-out;
}

.bg-an form .form-group input,
.bg-an form .form-group select {
    width: 100%;
    padding-right: 2.3rem;
    height: 2.6rem;
    border: none;
    /* border-radius: 1.5rem; */
    /* box-shadow: 0px 5px 28px 0px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22), 0 0 6px 2px white; */
    margin: .3rem 0;
    transition: all .4s ease-out;
}

.bg-an form .form-group input:hover,
.bg-an form .form-group input:focus,
.bg-an form .form-group select:focus,
.bg-an form .form-group select:hover {
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #ffc107; */
    outline: 0;
    border: none;
}

.bg-an form .form-group input:focus,
.bg-an form .form-group select:focus {
    background-color: #a3faff;
}

.bg-an .form-check {
    text-align: right;
    margin-bottom: .5rem;
}

.bg-an .form-check input {
    width: 1rem;
    padding: 0;
    margin: 0;
    height: 1rem;
    border: 0;
    border-radius: 0;
}

.bg-an .form-check label {
    color: white;
}

.form-submit-1 input {
    height: 3rem;
    border-radius: 2rem;
    width: 38%;
    min-width: 6.5rem;
    max-width: 7.25rem;
    background-color: var(--f_y);
    color: var(--f_d);
    font-weight: bold;
    font-family: Tajawal, sans-serif;
    box-shadow: inset 0 0 2px 2px #343a4047;
    transition: all .5s ease-in-out;
    border: none;
    margin-bottom: 1rem;
}

.form-submit-1 input:hover {
    animation: pulse .6s;
    box-shadow: 0 0 0 2em rgba(63, 16, 16, 0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #ffc107;
    }
}

.bg-an form .soch i {
    margin-right: .5rem;
}

.bg-an form .soch {
    border-radius: 2rem;
    color: white;
    margin: auto;
    margin-bottom: 1rem;
    margin-top: .5rem;
    width: 80%;
    transition: all .3s ease-out;
}

.bg-an form .soch:hover {
    color: var(--f_y);
    width: 90%;
}

.bg-an form .soch:nth-of-type(1) {
    background-color: #4064AC;
}

.bg-an form .soch:nth-of-type(2) {
    background-color: #DB4437;
}

.bg-an form .link {
    color: white;
}

.bg-an form .link:hover {
    color: var(--f_y) !important;
}

@media (max-width: 475px) {
    .form-login {
        padding: .6rem;
    }
}


/* ====================================================================
                                    search page                         
==================================================================*/

.s-p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .5rem 0;
    padding: 0 .5rem;
    height: 4rem;
    border-radius: 2rem;
}

.s-p.cc {
    background-color: var(--f_f);
}

.s-p.tt {
    background-color: var(--blue);
}

.s-p.yy {
    background-color: var(--f_b);
}

.s-p.ss {
    background-color: var(--f_l);
}

.s-p h5,
.s-p h3 {
    color: white;
    margin-right: .4rem;
    margin-bottom: 0;
}

.s-p input,
.s-p select {
    max-width: 60%;
    min-width: 50%;
    border-radius: 2rem;
    margin: 0 .5rem;
    border: 2px solid var(--f_y);
    min-height: 2.5rem;
    transition: all .25s ease-out;
}

.full .wrap {
    width: 85%;
    display: flex;
    justify-content: flex-end;
}

.full .wrap input {
    max-width: 20rem;
    min-width: 5rem;
    margin-left: 1.5rem;
}

.full .wrap button {
    min-width: 2rem;
    width: 4rem !important;
}

.s-p select {
    outline: 0;
    margin: auto;
}

.s-p input:hover,
.s-p input:focus,
.s-p section:hover,
.s-p select:focus {
    border-radius: .2rem;
    outline: 0;
    border-color: var(--f_y);
    box-shadow: none;
}

.s-p button {
    min-width: 15%;
    border-radius: 2rem;
    background-color: var(--f_y);
    color: var(--f_l);
    transition: all .3s ease-out;
}

.s-p button:hover {
    color: var(--f_y);
    background-color: var(--f_l);
}

.srch-r h2:hover {
    color: var(--f_d);
}

@media (min-width: 992px) {
    .s-p button {
        margin-right: -.5rem;
    }
}

@media (max-width: 575px) {
    .s-p h5,
    .s-p h3 {
        font-size: 4.8vmin;
    }
    .full .wrap input {
        margin-left: .4rem;
    }
}

.h-teach.card {
    max-width: 17rem;
}


/* ===========================================================
                    profile
==================================================================*/

section.p-hdr {
    position: relative;
    background-image: url(../pic/1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding-bottom: 2rem;
}

section.p-hdr.stu {
    padding: 1rem 0;
    background-image: url(../pic/6.png);
}

section.p-hdr .col-12.two {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hdr-lay {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
    background-color: rgb(59 6 111 / 0.84);
}

.opc {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22);
    background-color: rgba(0, 0, 0, 0);
    /* border-radius: 1.5rem; */
    overflow: hidden;
    transition: all 400ms ease-out;
    padding: 1.5rem;
    padding-bottom: .5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: white;
    max-width: 20rem;
}

.opc h5 {
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 4px 3px 12px rgb(0 232 246 / .5), 0 0px 6px;
}

.opc h6 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 97%;
    background: var(--f_b);
    height: 2.5rem;
    padding: .5rem 1rem;
    margin-right: -1.5rem;
    border-radius: 2rem 0 0 2rem;
    margin-bottom: .8rem;
}

.opc h6:nth-of-type(1) {
    background-color: var(--f_l);
}


/* .opc h6:nth-of-type(3) {
    background-color: var(--f_f);
} */

.opc h6 span {
    flex-basis: 100%;
}

.p-hdr i {
    margin-left: .5rem;
    color: var(--f_y);
}

.p-hdr .contact {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}

.p-hdr .contact div {
    margin: .5rem;
}

.p-hdr .frame-wr {
    height: 100%;
    width: 65%;
    display: flex;
    align-items: center;
}

.p-hdr .frame {
    position: relative;
    width: 100%;
    padding: 50% 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-hdr img {
    width: 95%;
    height: 95%;
    margin: auto;
    border-radius: 50%;
    position: absolute;
}

.p-hdr a {
    background-color: var(--f_b);
    color: var(--f_d);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
    width: 11rem;
    height: 2.8rem;
    line-height: 2.8rem;
    padding: 0;
    font-family: 'Markazi Text', serif;
    border-radius: 20% 20% 0% 0 / 105% 105% 0 0%;
    font-size: 2rem;
}

.p-hdr a:hover {
    background-color: var(--blue);
    color: white;
}

@media (max-width: 767.98px) {
    section.p-hdr {
        padding-bottom: 2.5rem;
    }
    .p-hdr .frame-wr {
        width: 80%;
        margin-bottom: .4rem;
    }
}

.card.ex-card h6 {
    font-weight: bold;
    color: var(--blue);
}


/* ===========================================================
                    students req
==================================================================*/

.page-title {
    background-color: var(--f_l);
    color: white;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

section.req h3 {
    font-family: 'Tajawal', sans-serif;
    margin-bottom: 2rem;
    font-weight: bold;
    color: var(--f_d);
}

.stu-c {
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
    height: 100%;
    max-width: 17rem;
    margin: auto;
    /* border-radius: 1.5rem; */
    border: none;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    background-color: #f8ceec;
    background-image: linear-gradient(315deg, #f8ceec 0%, #a88beb 74%);
    transition: all .25s ease-out;
}

.stu-c:hover {
    transform: translateY(-10px);
    box-shadow: 0 19px 38px rgb(0 0 0 / 30%), 0 15px 12px rgb(0 0 0 / 22%);
}

.stu-wr {
    width: 80%;
    margin: auto;
    margin-top: .3rem;
}

.stu-c .imge-parent {
    width: 100%;
    padding: 50% 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stu-c .imge-parent img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.stu-c .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    color: var(--f_d);
}

.stu-c .card-body {
    padding: .5rem;
    padding-top: .3rem;
}

.stu-c .card-text {
    color: black;
    margin-right: .5rem;
}

.card-control,
.card-footer.card-control2 {
    display: flex;
    padding: .5rem;
    justify-content: space-between;
}

.card-footer.card-control2 {
    padding: 0;
    border: none;
    z-index: 30;
}

.card-control a {
    display: inline-block;
    color: white;
    border-radius: 50%;
    background-color: var(--f_g);
    text-align: center;
    line-height: 3rem;
    box-shadow: 0px 2px 2px 2px rgb(0 0 0 / 30%);
    width: 3rem;
    height: 3rem;
    transition: all .3s ease-out;
}

.card-footer.card-control2 a,
.card-footer.card-control2 button,
.card-footer.card-control2 a {
    flex-basis: 100%;
    color: white;
    text-align: center;
    background-color: var(--f_d);
    height: 2.5rem;
    line-height: 2.5rem;
    transition: all .3s ease-out;
    position: relative;
}

.card-footer.card-control2 a:not(:last-child):after,
.card-footer.card-control2 button:not(:last-child):after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(0, 0, 0, .2);
}

.card-footer.card-control2 a:hover,
.card-footer.card-control2 a:focus,
.card-footer.card-control2 button:hover,
.card-footer.card-control2 button:focus {
    background-color: var(--f_l);
    color: var(--f_y);
}

.card-control a:hover {
    color: var(--f_d);
    transform: rotate(360deg);
}

.card-control a:nth-of-type(2) {
    background-color: var(--f_f);
}


/* ===========================================================
                    side bar
==================================================================*/

.page-content {
    overflow: hidden !important;
}

#side-bar {
    height: 100%;
    max-height: 100vh;
    width: 10.5rem;
    position: fixed;
    z-index: 99;
    margin-right: -10.5rem;
    transition: all .4s ease-out;
}

#side-bar.active {
    margin-right: 0 !important;
}

#side-bar .side-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    background-image: url(../pic/side.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#sidebarCollapse {
    position: absolute;
    top: 30%;
    left: 0;
    transform: rotate(45deg) translateX(-72%);
    border: none;
    box-shadow: none;
    height: 3.7rem;
    width: 3.7rem;
    background-color: var(--f_d);
    border-radius: .7rem;
    z-index: -1;
}

#sidebarCollapse i {
    transform: rotate(-45deg) translateX(-120%);
}

#side-bar .side-content ul {
    list-style: none;
    padding: .25rem;
    max-height: 90%;
    overflow-y: auto;
}

#side-bar .side-content ul li {
    height: 3rem;
    width: 100%;
    padding-right: 1rem;
    background-color: transparent;
    border-radius: .2rem;
    line-height: 3rem;
    color: var(--f_y);
    transition: all .2s ease-out;
    font-family: 'Tajawal', sans-serif;
}

#side-bar .side-content ul li:hover {
    background-color: rgba(0, 0, 0, .4);
}

#side-bar .side-content ul li a {
    display: inline-block;
    height: 100%;
    width: 100%;
    color: inherit;
}

#side-bar .lay {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background-color: rgb(59 6 111 / 0.84);
}


/*============================================================
                        student page modal 
=============================================================*/

.modal {
    background-color: rgb(59 6 111 / 0.4);
}

.modal .modal-content {
    /* border-radius: 1.5rem; */
    background-color: white;
    padding-bottom: .4rem;
    border: 2px solid var(--f_y);
}

.modal .modal-header {
    background-color: var(--f_l);
    text-align: center;
    border-radius: 1.4rem 1.4rem 0 0;
    border: none;
}

.modal .modal-header .modal-title {
    width: 100%;
    color: white;
    margin-right: 2rem;
}

.modal form label {
    color: var(--f_d);
    transition: all 150ms ease-out;
    font-family: 'Tajawal', sans-serif;
}

.modal form label:hover {
    color: #6610f2;
    font-weight: bold;
}

.radio-p .form-check-label {
    display: flex;
    height: 2.5rem;
    align-items: center;
}

.radio-p {
    margin-bottom: .5rem;
}

.radio-p .form-check input {
    position: absolute;
    margin-top: .3rem;
    margin-right: -1.5rem;
    width: 1rem;
    height: 1rem;
}

.mod-button {
    width: 100%;
    text-align: left;
}

.mod-button button {
    background-color: var(--f_d);
    color: white;
    box-shadow: none;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    font-family: 'Tajawal', sans-serif;
    transition: all .2s ease-out;
}

.mod-button button:hover {
    /* border-radius: 1.5rem; */
}


/*============================================================
                    groups page
=============================================================*/

.page-title button {
    padding: .6rem;
    color: white;
    background-color: var(--f_f);
    /* border-radius: 1.5rem; */
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
    transition: all .1s ease;
}

.page-title button:hover,
.page-title button:focus {
    box-shadow: inset 0 0 3px 1px rgb(0 0 0 / 23%);
    color: var(--f_d);
}

.gr-cards .gr-cont {
    max-width: 30rem;
    margin-bottom: 1.5rem;
}

.gr-hdr {
    overflow: hidden;
    border-radius: 1rem;
    margin: .5rem 0;
    background-color: white;
    width: 100%;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(99 99 99 / 23%);
}

.gr-hdr h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 0rem .4rem;
    height: 2.5rem;
    margin-bottom: 0;
    line-height: 2.5rem;
    color: var(--f_l);
    border-bottom: 2px solid var(--blue)
}

.gr-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 3.5rem;
    background: rgb(154, 108, 255);
    background: linear-gradient(0deg, rgba(154, 108, 255, 0.4) 0%, rgba(0, 232, 246, 0.4) 100%);
}

.gr-btns button {
    color: white;
    background-color: var(--f_l);
    transition: all .3s ease-out;
}

.gr-btns button:hover {
    color: var(--f_l);
    background: white;
}

.gr-btns .round button {
    border-radius: 50%;
}

.gr-btns .round .del,
.gr-btns .sq .vw {
    margin: 0 .3rem;
}

.gr-btns .sq button {
    padding: .4rem;
    background-color: white;
    color: var(--f_l);
}

.gr-btns .sq button:hover {
    background-color: var(--f_l);
    color: white;
}

.gr-cont .clps-wrr {
    width: 95%;
    margin-top: -.4rem !important;
    margin: auto;
}

.student-cont {
    background-color: rgb(154 108 255 / 0.6);
    border-radius: 0 0 .8rem .8rem;
    padding: .5rem;
    max-height: 26.85rem;
    overflow-y: auto;
}

.student-cont .stud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .8rem;
    height: 3rem;
    margin-bottom: .3rem;
    background-color: rgb(0 232 246 / 0.5);
    border-radius: 2rem;
}

.student-cont .stud a {
    color: var(--f_d);
    font-weight: bold;
}

.student-cont .stud button {
    background-color: var(--f_d);
    color: white;
    /* border-radius: 1.5rem; */
    transition: all .3s ease-out;
}

.student-cont .stud button:hover {
    background-color: white;
    color: var(--f_l);
}

.student-cont .stud .del {
    border-radius: 50%;
    margin: 0 .3rem;
}

@media (max-width: 360px) {
    .gr-cont * {
        font-size: 4.3vmin !important;
    }
}

.modal .form-group {
    position: relative;
    display: flex;
    align-items: center;
    /* border-radius: 1.5rem; */
}

.modal .form-group .input-i {
    position: absolute;
    padding: .3rem;
    width: 2rem;
    margin-right: .2rem;
    font-size: 1.1rem;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    color: var(--f_y);
    background-color: transparent;
}

.modal .form-group input,
.modal .form-group select {
    width: 90%;
    padding-right: 2.3rem;
    height: 2.6rem;
    border: none;
    /* border-radius: 1.5rem; */
    box-shadow: 0 3px 6px 4px #9a6cff6b, 0 0 3px 4px #fe58985c;
    margin: .3rem 0;
    transition: all .4s ease-out;
}

.modal .form-group input:hover,
.modal .form-group input:focus,
.modal .form-group select:focus,
.modal.form-group select:hover {
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #ffc107; */
    outline: 0;
    border: none;
}

.modal .form-group input:focus,
.modal .form-group select:focus {
    background-color: #a3faff;
}

#student-modal .form-group {
    position: relative;
    display: block;
    /* border-radius: 1.5rem; */
    height: 25rem;
}

#student-modal .dropdown-select ul {
    max-height: 16.5rem !important;
}

#student-modal button span.content {
    direction: ltr;
}

.modal {
    font-family: 'Tajawal', sans-serif;
}


/*=================================================================
                            add course
==================================================================*/


/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

.form-add .custom-file-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    color: gray;
    background-color: #fff;
    width: 100%;
    padding-right: 2.3rem;
    height: 2.6rem;
    border: none;
    /* border-radius: 1.5rem; */
    /* box-shadow: 0px 5px 28px 0px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%), 8px 6px 10px rgb(0 0 0 / 22%), 0 0 6px 2px white; */
    margin: .3rem 0;
    transition: all .4s ease-out;
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.form-add .custom-file-label::after {
    display: none;
}

.form-add .form-group input:hover+.custom-file-label {
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px #ffc107;
    outline: 0;
    border: none;
}

.form-add .form-group input:focus+.custom-file-label {
    background-color: #a3faff;
}

.form-add .input-i {
    z-index: 2;
}

.form-add .activation .act-p {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    color: gray;
    background-color: #ffffff;
    height: 2.6rem;
    border: none;
    /* border-radius: 1.5rem; */
    /* box-shadow: 0px 5px 28px 0px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%), 8px 6px 10px rgb(0 0 0 / 22%), 0 0 6px 2px white; */
    margin: .3rem 0;
    margin-bottom: 1.3rem;
}

.form-add .activation .act-p:hover {
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px #ffc107;
}

.form-add .activation .act-p .form-check-inline {
    font-family: 'Tajawal', sans-serif;
}

.form-add .activation .act-p .form-check-inline:hover {
    color: var(--f_l);
}

.form-add .activation p {
    color: white;
    text-align: right;
    margin-bottom: .5rem;
    padding-right: 1rem;
    font-family: 'Tajawal', sans-serif;
}

#datetimepicker1 {
    margin-bottom: 1rem;
    margin-top: .3rem;
    display: flex;
    max-width: 100% !important;
    flex-wrap: nowrap;
}

#datetimepicker1 input {
    width: auto;
    margin: 0;
    padding-right: .5rem;
}

.input-group-append {
    /* border-radius: 1.5rem !important; */
}

.input-group-text {
    border: none !important;
    background-color: var(--f_d) !important;
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
    /* border-radius: 1.5rem; */
    /* box-shadow: 0px 5px 28px 0px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%), 8px 6px 10px rgb(0 0 0 / 22%), 0 0 6px 2px white; */
}

.img-wr {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10rem;
    width: 96%;
    margin: auto;
    background-color: rgba(0, 0, 0, .2);
    margin-bottom: 1.3rem;
    margin-top: -.8rem;
    border-radius: 1rem;
}

.img-wr img {
    height: 100%;
    width: auto;
    max-width: 100%;
}

.progress-bar-striped {
    background-color: var(--f_d);
}

.form-add .progress-bar-striped {
    background-color: var(--f_d);
}

.form-add .progress {
    height: .6rem;
    margin: auto;
    margin-top: -.5rem;
    width: 96%;
    margin-bottom: 1.3rem;
    background-color: white;
    border: 1px solid white;
}

.form-side {
    height: auto !important;
    max-height: 100%;
    padding: 1rem;
}


/*==================================================
                course 2 
==================================================*/

.gen-ex .card-header {
    padding: .5rem 1.25rem;
    margin-bottom: -1px;
    background-color: var(--blue);
    color: white;
    border: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.gen-ex,
.fi-card,
.ex-card {
    margin-bottom: 1rem !important;
}

.gen-ex .card-body,
.fi-card .card-body,
.ex-card .card-body {
    padding: .4rem;
    padding-bottom: 2.3rem;
    position: relative;
    overflow: hidden;
}

.fi-card .card-footer,
.ex-card .card-footer,
.gen-ex .card-footer {
    border-top: solid 1px white !important;
}

.ex-card .card-footer a,
.gen-ex .card-footer a {
    background-color: var(--blue);
}

.card-footer.card-control2 button,
.card-footer.card-control2 a {
    padding: 0;
    border: none;
    border-radius: 0;
    margin: 0;
}

.gen-ex p {
    height: 4.5rem;
    line-height: 1.5rem;
    overflow: hidden;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.gen-ex .card-body a {
    bottom: -19%;
    left: -9%;
}


/* search lay===========================================================*/

.search-lay {
    display: none;
    position: fixed;
    top: 4rem;
    width: 100%;
    height: 100%;
    background-image: url(../pic/grad.jpg);
    background-position: 46% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 888;
}

.search-lay .lay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background-color: rgb(59 6 111 / 0.95);
}

.search-lay button {
    position: absolute;
    z-index: 10;
    font-size: 2rem;
    color: var(--f_y);
    top: 0;
    right: 2%;
    background-color: transparent;
    transition: .2s ease-in-out;
    padding: 1.5rem;
    box-shadow: none !important;
    border: none;
}

.search-lay button:hover {
    color: var(--f_b);
}

.code-lay {
    display: none;
    position: fixed;
    top: 4rem;
    width: 100%;
    height: 100%;
    background-image: url(../pic/grad.jpg);
    background-position: 46% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 888;
}

.code-lay .lay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background-color: rgb(59 6 111 / 0.95);
}

.code-lay button {
    position: absolute;
    z-index: 10;
    font-size: 2rem;
    color: var(--f_y);
    top: 0;
    right: 2%;
    background-color: transparent;
    transition: .2s ease-in-out;
    padding: 1.5rem;
    box-shadow: none !important;
    border: none;
}

.code-lay button:hover {
    color: var(--f_b);
}

.code-cont {
    margin-top: 6rem;
    width: 100%;
    z-index: 10;
}

.inp-wr {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    width: 96%;
    height: 100%;
    margin: auto;
    position: relative;
}

.inp-wr::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg, #FE5898, #9A6CFF);
    animation: lay 15s linear infinite;
}

.inp-wr span {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background-color: rgba(0, 0, 0, .6);
    z-index: 5;
}

.inp-wr::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg, #FE5898, #9A6CFF);
    filter: blur(30px);
    z-index: -1;
}

.s-field {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 55;
}

.s-field button {
    top: 50%;
    transform: translateY(-50%);
    right: auto;
    left: 1%;
    padding: .3rem;
    color: var(--f_l);
}

.s-field button:hover {
    color: var(--f_b);
}

.s-field input {
    font-family: 'Tajawal', sans-serif;
    border: none;
    padding-left: 3.5rem;
    box-shadow: none !important;
    outline: none;
    font-size: 2rem;
    height: 4rem;
    color: white !important;
    background-color: transparent !important;
}

@media(max-width: 575px) {
    .s-field input {
        font-size: 1.3rem;
    }
}

@keyframes lay {
    0% {
        filter: hue-rotate(0deg);
    }
    25% {
        filter: hue-rotate(90deg);
    }
    50% {
        filter: hue-rotate(180deg);
    }
    75% {
        filter: hue-rotate(270deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}


/* search lay  enddd  ===========================================================*/

.empty {
    height: 100%;
    border: none;
    background: rgb(137, 48, 253);
    background: linear-gradient(90deg, rgba(137, 48, 253, 1) 0%, rgba(73, 204, 249, 1) 100%);
}

.empty a {
    height: 100%;
    width: 100%;
}

.empty a svg {
    width: 70%;
    height: auto;
    max-height: 100%;
}

.course-btn {
    background-color: var(--f_b);
    color: var(--f_d) !important;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
    width: 11rem;
    height: 2.8rem;
    line-height: 2.8rem;
    padding: 0;
    font-family: 'Markazi Text', serif;
    border-radius: 20% 20% 0% 0 / 105% 105% 0 0%;
    font-size: 2rem !important;
    font-weight: normal !important;
}

.course-btn:hover {
    color: white !important;
    background-color: var(--blue);
    font-weight: normal;
}

.btn-p {
    height: 2.2rem;
    position: relative;
}

.breadcrumb {
    background-color: white;
    color: var(--f_d);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    min-height: 3rem;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    padding: 0 1rem;
}

.breadcrumb .crumb-item {
    margin: 0 .7rem;
    line-height: 3rem;
    position: relative;
}

.breadcrumb .crumb-item:not(:last-child):hover {
    color: var(--blue);
}

.breadcrumb .crumb-item:not(:last-child)::after {
    content: " \f104";
    font-family: FontAwesome;
    position: absolute;
    left: -10px;
}

.breadcrumb .crumb-item:last-child a {
    color: #000;
    pointer-events: none;
}

.navbar-nav .dropdown-menu.st {
    min-width: 17rem;
    padding: .5rem;
}

.subject h6 {
    background-color: rgb(117 62 203 / 0.75);
}

.stu-c .imge-parent img {
    border-radius: 50%;
}

.bg-an form .form-group textarea:focus {
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #ffc107; */
}

.bg-an form .form-group textarea:focus {
    background-color: #a3faff;
}

.bg-an form .form-group textarea {
    border: none;
    /* border-radius: 1.5rem; */
    resize: unset;
    /* box-shadow: 0px 5px 28px 0px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 8px 6px 10px rgba(0, 0, 0, 0.22), 0 0 6px 2px white; */
    margin: .3rem 0;
}

.bg-an form .form-group textarea:hover {
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #ffc107; */
}

.opc {
    background-color: rgb(255 255 255 / 2%);
    backdrop-filter: blur(3px);
}

footer .fc,
footer .ftr-lnk {
    text-align: right !important;
}

.gr-btns button,
.gr-btns a {
    color: white;
    background-color: var(--f_l);
    transition: all .3s ease-out;
}

.gr-btns button:hover,
.gr-btns a:hover {
    color: var(--f_l);
    background: white;
}

.gr-btns .round button,
.gr-btns .round a {
    border-radius: 50%;
}

.gr-btns.stu-gr {
    justify-content: space-around;
}

.gr-btns.stu-gr .gr-show {
    padding: .5rem;
    border-radius: .25rem;
    transition: .3s ease;
}

.gr-btns.stu-gr .date {
    font-family: 'Roboto', sans-serif;
    color: var(--f_d);
}

.opc h6:last-of-type {
    background-color: var(--f_f);
}

.opc h6.stage {
    background-color: var(--f_b);
}

.noti .dropdown-menu .noti-body ul li a img {
    width: 4rem;
    height: 4rem;
    max-width: 21%;
    margin: auto;
    border-radius: 50%;
}
.modal-n .form-group {
    display: block !important
}
.modal-n .form-group input, .modal-n .form-group select {
    width: unset;
    padding-right: unset;
    height: unset;
    border: 1px solid #000 !important;
    border-radius: 10px !important;
    box-shadow: unset;
    /* margin: .3rem 0; */
    transition: unset;
}
.modal-n .form-group input:hover, .modal-n .form-group input:focus, .modal-n .form-group select:focus, .modal-n .form-group select:hover {
    outline: unset;
    border: 1px solid #000 !important;
    border-radius: 10px !important;
    box-shadow: unset;
    transition: unset;
}
.modal-n .form-group input:focus, .modal-n .form-group select:focus {
    background-color: unset;
}
.modal-n .input-group .input-icon{
    left:10px !important;
    right: unset !important;
}
.modal-n li.select2-search.select2-search--inline{
    width: 100%;
}
.modal-n input.select2-search__field, .modal-n input.select2-search__field:focus{
    width: 100px;
    border: 0 !important;
    text-align: right;
}

/* Lesson Card Price Styling */
.lesson-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-label {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-label i {
    font-size: 0.9rem;
}

.price-label.free {
    color: #28a745;
}

.price-label:not(.free) {
    color: #ff6b6b;
}

.price-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-badge.paid {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.price-badge.free {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

/* Subscription Badge Styling */
.subscription-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    text-align: center;
    justify-content: center;
}

.subscription-badge.not-subscribed {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.subscription-badge i {
    font-size: 0.8rem;
}

/* Responsive adjustments for lesson cards */
@media (max-width: 768px) {
    .lesson-price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .price-label {
        font-size: 0.9rem;
    }
    
    .price-badge {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .subscription-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
        margin-top: 6px;
    }
}
a.btn.btn-warning.btn-exam-subscribe {
    position: unset;
    background-color: unset;
    border-radius: unset;
    width: unset;
    height: unset;
    bottom: unset;
    left: unset;
    display: unset;
    padding: unset;
    font-size: unset;
    transition: unset;
}

/* Exam Card Styling */
.exam-card-modern {
    .exam-payment-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 2;
    }
    
    .exam-payment-badge .badge {
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 600;
      border-radius: 20px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .exam-payment-badge .badge.badge-paid {
      background: linear-gradient(135deg, #ff6b6b, #ee5a24);
      color: white;
    }
    
    .exam-payment-badge .badge.badge-free {
      background: linear-gradient(135deg, #00b894, #00a085);
      color: white;
    }
    
    .exam-payment-badge .badge.badge-conditional {
      background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
      color: white;
    }
    
    .exam-requirement .requirement-text {
      color: #6c5ce7;
      font-weight: 600;
      font-size: 14px;
    }
    
    .exam-requirement .requirement-text i {
      margin-left: 5px;
    }
    
    .exam-requirement-info {
      color: #6c5ce7;
      font-weight: 500;
      font-size: 13px;
    }
    
    .exam-requirement-info i {
      margin-left: 5px;
    }
    
    /* Modern Button Styles */
    .btn-exam-access {
      background: linear-gradient(135deg, #00b894, #00a085);
      border: none;
      color: white;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 25px;
      font-size: 14px;
      text-transform: none;
      letter-spacing: 0.5px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    }
    
    .btn-exam-access::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }
    
    .btn-exam-access:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
      background: linear-gradient(135deg, #00a085, #00b894);
    }
    
    .btn-exam-access:hover::before {
      left: 100%;
    }
    
    .btn-exam-access:active {
      transform: translateY(0);
    }
    
    .btn-exam-access i {
      margin-left: 8px;
      font-size: 16px;
    }
    
    .btn-exam-subscribe {
      background: linear-gradient(135deg, #fdcb6e, #e17055);
      border: none;
      color: white;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 25px;
      font-size: 14px;
      text-transform: none;
      letter-spacing: 0.5px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
    }
    
    .btn-exam-subscribe::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }
    
    .btn-exam-subscribe:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(253, 203, 110, 0.4);
      background: linear-gradient(135deg, #e17055, #fdcb6e);
      color: white;
      text-decoration: none;
    }
    
    .btn-exam-subscribe:hover::before {
      left: 100%;
    }
    
    .btn-exam-subscribe:active {
      transform: translateY(0);
    }
    
    .btn-exam-subscribe i {
      margin-left: 8px;
      font-size: 16px;
    }
    
    .btn-exam-requirement {
      background: linear-gradient(135deg, #74b9ff, #0984e3);
      border: none;
      color: white;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 25px;
      font-size: 14px;
      text-transform: none;
      letter-spacing: 0.5px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
    }
    
    .btn-exam-requirement::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }
    
    .btn-exam-requirement:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(116, 185, 255, 0.4);
      background: linear-gradient(135deg, #0984e3, #74b9ff);
    }
    
    .btn-exam-requirement:hover:not(:disabled)::before {
      left: 100%;
    }
    
    .btn-exam-requirement:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
      box-shadow: 0 2px 8px rgba(116, 185, 255, 0.2);
    }
    
    .btn-exam-requirement i {
      margin-left: 8px;
      font-size: 16px;
    }
    
    .btn-exam-login {
      background: linear-gradient(135deg, #6c5ce7, #a29bfe);
      border: none;
      color: white;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 25px;
      font-size: 14px;
      text-transform: none;
      letter-spacing: 0.5px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    }
    
    .btn-exam-login::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }
    
    .btn-exam-login:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
      background: linear-gradient(135deg, #a29bfe, #6c5ce7);
      color: white;
      text-decoration: none;
    }
    
    .btn-exam-login:hover::before {
      left: 100%;
    }
    
    .btn-exam-login:active {
      transform: translateY(0);
    }
    
    .btn-exam-login i {
      margin-left: 8px;
      font-size: 16px;
    }
    
    /* Special button for free exams */
    .btn-primary.btn-exam-access {
      background: linear-gradient(135deg, #00b894, #00a085);
      border: none;
      color: white;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 25px;
      font-size: 14px;
      text-transform: none;
      letter-spacing: 0.5px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    }
    
    .btn-primary.btn-exam-access::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }
    
    .btn-primary.btn-exam-access:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
      background: linear-gradient(135deg, #00a085, #00b894);
      color: white;
      text-decoration: none;
    }
    
    .btn-primary.btn-exam-access:hover::before {
      left: 100%;
    }
    
    .btn-primary.btn-exam-access:active {
      transform: translateY(0);
    }
    
    .btn-primary.btn-exam-access i {
      margin-left: 8px;
      font-size: 16px;
    }
    
    .exam-target {
      margin-bottom: 8px;
    }
    
    .exam-target .target-text {
      color: #6c757d;
      font-weight: 500;
      font-size: 13px;
    }
    
    .exam-target .target-text i {
      margin-left: 5px;
      color: #007bff;
    }
  }
  
.card .info-a-n a,
.card.fi-card .info-a-n span{
    font-size: 16px !important;
}  
.card.fi-card  p{
    height: unset;
}

.ex-card .card-body a, .gen-ex .card-body a, .fi-card .card-body a {
    position: unset;
    background-color: #753ecb;
    border-radius: 5px;
    width: unset;
    height: unset;
    bottom: -15%;
    left: -18%;
    display: block;
    padding: 5px 10px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}
.gen-ex .card-body, .fi-card .card-body, .ex-card .card-body, .fi-card-n .card-body, .ex-card .card-body{
    padding-bottom: 0;
}