/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;
  --hue: 65;
  --sat: 80%;
  --first-color: hsl(var(--hue), var(--sat), 40%);
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 80%, 98%); /* Light yellow color */
  --container-color: #FFF;
  --body-font: 'Open Sans', sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;
  --tiny-font-size: .625rem;
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none !important;
}

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

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.title {
  color: #343a40;
}

.text-sub{
    font-size: 15px;
    color: #9b9bae !important;
}

.bg_gradient {
    background: #010048;
    background: linear-gradient(to right, #010057, #090088);
    color: #fff;
}
.btn_0 {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 10%;
  font-size: 14px;
  color: #fff;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  text-transform: capitalize;
  background-size: 200% auto;
  border: 1px solid transparent;
  box-shadow: 0px 12px 20px 0px rgba(31, 26, 100, 0.15);
  text-decoration: none;
}

.btn_0:hover{
  color: #090088;
  background: #fff;
}

.btn_0,.btn_1, .btn_2:hover,.bg_gradient .main_menu .navbar-toggler::after, .banner_part .banner_text .btn_1, .feature_part .single_feature:hover span {
  background: #010048;
    background: linear-gradient(to right, #010057, #090088);
    color: #fff;
}
.btn_1 {
  display: inline-block;
  padding: 13.5px 45px;
  border-radius: 50px;
  font-size: 14px;
  color: #fff;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  text-transform: capitalize;
  background-size: 200% auto;
  border: 1px solid transparent;
  box-shadow: 0px 12px 20px 0px rgba(255, 126, 95, 0.15);
  text-decoration: none;
}
.btn_1:hover{
  color: #090088;
  background: #fff;
}
.btn_2 {
  display: inline-block;
  padding: 13px 39px;
  border-radius: 50px;
  background-color: transparent;
  border: 1px solid #010048;
  color: #010048;
  font-size: 14px;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  text-transform: capitalize;
  background-size: 200% auto;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.btn_more {
  color: #010048;
  font-weight: 700;
  text-decoration: none;
}
.right-icon {
  line-height: 0;
  font-size: 19px;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
 padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
}

.section__height {
  height: 100vh;
}
.section__title::after, .testimonial-block_user_info_name::after {
  content: "";
  height: 4px;
  width: 100px;
  background-color: #010057;
  position: absolute;
  bottom: 0;
  left: calc(50% - 50px);
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
}


/*********************************************/
/*              HEADER CSS                     */
/*********************************************/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav-menu {
  margin-right: 30px;
}
.nav__img {
  width: 4vh;
  height: 4vh;
  border-radius: 100%;
}

.nav__avatar {
  width: 10vh;
  height: 10vh;
  border-radius: 100%;
}

.nav__logo {
  color: var(--title-color);
  font-weight: 600;
  text-decoration: none;
}
#languageDropdown{
 margin-left: 50px;
}
 .lang-btn {   
  margin-right: auto;
  margin-left: 0;
}
.dropdown-profile .dropdown-menu {
right: 0 !important;
  left: auto;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--container-color);
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
  }
}

.nav__list, 
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
  text-decoration: none;
}
.nav__link:hover{
    text-decoration: none;
    color: #02006c !important;
}

.nav__list {
  justify-content: space-around;
}

.nav__name {
  font-size: var(--tiny-font-size);
  /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  text-decoration: none;
  color: #02006c !important;
  transition: .3s;
}

/* Minimalist design, active link */
/* .active-link::before{
  content: '';
  position: absolute;
  bottom: -.5rem;
  width: 4px;
  height: 4px;
  background-color: var(--first-color);
  border-radius: 50%;
} */

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}
 /*********************************************/
/*              Banner CSS                   */
/*********************************************/
  
.header-bg {
  padding: 170px 0 40px;
  background-image: url('../images/header-background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left bottom;
}
.header-bg .header-small-title {
  letter-spacing: 2px;
}
.header-bg .main-title {
  font-size: 2.8rem;
  line-height: 1.35;
  color: #010048;
}
 /*********************************************/
/*              SERVICES CSS                  */
/*********************************************/

  .services-container{
  text-align: center;
  }
.services-container .services-icon {
  height: 72px;
  width: 72px;
  background: rgba(60, 54, 232, 0.08);
  font-size: 30px;
  display: inline-block;
  border-radius: 50% 50%;
  line-height: 74px;
  text-align: center;
  color: #010048;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.services-container .services-icon img {
  width: 70%;
  margin-bottom: 10px;
  }
  
.services-container .services-title {
  font-size: 1.4rem;
  color: #343a40;
}


/*********************************************/
/*              COURSES CSS                     */
/*********************************************/
   .image-container {
        position: relative;
        overflow: hidden;
    }

    .image-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
        z-index: 1;
    }
    .image-container::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: #02006c;
      z-index: 1;
    }
    .card-img-top {
        transition: transform 0.3s;
    }

    .card:hover .card-img-top {
        transform: scale(1.05);
    }
  /*///////////////  */
  
#news-slider {
    margin-top: 80px;
}

.post-slide {
    background: #fff;
    margin: 20px 15px 20px;
    border-radius: 15px;
    padding-top: 1px;
    box-shadow: 0px 14px 22px -9px #bbcbd8;
}

.post-slide .post-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 10px;
    height: 250px;
}

.post-slide .post-img img {
    width: 100%;
    height: 100%;
    transform: scale(1, 1);
    transition: transform 0.2s linear;
}

.post-slide:hover .post-img img {
    transform: scale(1.1, 1.1);
}

.post-slide .over-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: linear-gradient(-45deg, rgba(6, 190, 244, 0.75) 0%, rgba(45, 112, 253, 0.6) 100%);
    transition: all 0.50s linear;
}

.post-slide:hover .over-layer {
    opacity: 1;
    text-decoration: none;
}

.post-slide .over-layer i {
    position: relative;
    top: 45%;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 25px;
}

.post-slide .post-content {
    background: #fff;
    padding: 2px 20px 40px;
    border-radius: 15px;
}

.post-slide .post-title a {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.post-slide .post-title a:hover {
    text-decoration: none;
    color: #3498db;
}

.post-slide .post-description {
    line-height: 24px;
    color: #808080;
    margin-bottom: 25px;
}

.post-slide .post-date {
    color: #a9a9a9;
    font-size: 14px;
}

.post-slide .post-date i {
    font-size: 20px;
    margin-right: 8px;
    color: #CFDACE;
}

.post-slide .read-more {
    padding: 7px 20px;
    float: right;
    font-size: 12px;
    background: #2196F3;
    color: #ffffff;
    box-shadow: 0px 10px 20px -10px #1376c5;
    border-radius: 25px;
    text-transform: uppercase;
}

.post-slide .read-more:hover {
    background: #3498db;
    text-decoration: none;
    color: #fff;
}

.owl-controls .owl-buttons {
    text-align: center;
    margin-top: 20px;
}

.owl-controls .owl-buttons .owl-prev {
    background: #fff;
    position: absolute;
    top: -13%;
    left: 15px;
    padding: 0 18px 0 15px;
    border-radius: 50px;
    box-shadow: 3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-next {
    background: #fff;
    position: absolute;
    top: -13%;
    right: 15px;
    padding: 0 15px 0 18px;
    border-radius: 50px;
    box-shadow: -3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-prev:after,
.owl-controls .owl-buttons .owl-next:after {
    content: "\f104";
    font-family: FontAwesome;
    color: #333;
    font-size: 30px;
}

.owl-controls .owl-buttons .owl-next:after {
    content: "\f105";
}

@media only screen and (max-width:1280px) {
    .post-slide .post-content {
        padding: 0px 15px 25px 15px;
    }
}
    
/*********************************************/
/*              EXAM CSS                     */
/*********************************************/

section.examing {
    background: #fff;
}

.examing .card {
  border: none;
  border-radius: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
  background: #010048;
  background: linear-gradient(to right, #F04B2, #090088);
  color: #fff;
}

.examing hr {
    margin: 1.5rem 0;
}

.examing .card-title {
    font-size: 2rem;
    margin: 0;
}

.examing .card-title .quiz-count {
    font-size: 0.8rem;
}

.examing ul li {
    margin-bottom: 1rem;
}

.examing .text-muted {
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.75) !important;
}

.examing .btn {
 font-size: 70%;
  border-radius: 0.75rem;
  letter-spacing: .1rem;
  font-weight: bold;
  padding: 0.95rem;
  transition: all 0.2s;       
  border: 1px solid #eee;
background: transparent;
  color: #fff;
}
.examing .btn:hover{       
  border: none;
 background: #fff;
  color: #010048;
}

/* Hover Effects on Card */

@media (min-width: 992px) {
    .examing .card:hover {
        margin-top: -.25rem;
        margin-bottom: .25rem;
        box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.3);
    }

    .examing .card:hover .btn {
        border: 1px solid #fff;
background: #fff;
  color: #010048;
    }
}

/*********************************************/
/*              CONTACT US CSS               */
/*********************************************/

#contact_us .form-control:focus {
  background-color: #fbfbfb;
  border-color: #6C55A3;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#contact_us .form-control {
 height: 46px;
  border: none;
  background: #f7f7f7;
  width: 100%;
  padding: 0 25px;
  border-radius: 10px;
  color: #333;
  padding: 9px 11px;
  font-size: 14px;
}
#contact_us .form-group label{
position: relative;
}
#contact_us .form-group label::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -15px;
  width: 10px;
  height: 10px;
  border: 2px solid #010048;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#contact_us .form-control::-webkit-input-placeholder {
  font-size: 15px;
  color: #9b9bae;
}
#contact_us .form-control:-ms-input-placeholder {
  color: #9b9bae;
  font-size: 15px;
}
#contact_us .form-control::-ms-input-placeholder {
  font-size: 15px;
  color: #9b9bae;
}
#contact_us .form-control::placeholder {
  color: #9b9bae;
  font-size: 15px;
}

/*********************************************/
/*              FOOTER CSS                   */
/*********************************************/

.footer {
  background-color: #010048;
  padding-top: 20px;
}
.footer p {
  color: #fff;
}


/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .section {
    padding: 4rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }
  .nav__img {
  width: 8vh;
  height: 8vh;
  border-radius: 100%;
}
  /*.nav__img {*/
  /*  display: none;*/
  /*}*/
  .nav__icon {
    display: none;
  }
  .nav__name {
    font-size: var(--normal-font-size);
    /* display: block; */ /* Minimalist design, visible labels */
  }
  .nav__link:hover {
    color: #02006c;
  }

  /* First design, remove if you choose the minimalist design */
  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    width: 4px;
    height: 4px;
    background-color: #02006c;
    border-radius: 50%;
  }

  /* Minimalist design */
  /* .active-link::before{
      bottom: -.75rem;
  } */
}

/* For large devices */
@media screen and (min-width: 990px) {
    .header-bg .header-small-title {
      margin-top: 120px !important;
    }
}
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 425px) {
  .header-bg .main-title {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .header-bg {
    padding: 15px 0;
  }
    .header-bg .header-small-title {
     margin-top: 20px !important;
    }
  .services-container{
  text-align: center;
  }
  
    #contact_us{
        margin-bottom: 100px !important;
    }
    .contact-info {
        text-align: center;
    }
    .contact-info .text-sub {
      font-size: 14px;
      text-align: left;
    }
    
    .footer{
        display: none;
    }
    
}
@media (max-width: 980px){
    .header-bg {
        padding: 40px 0 40px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .header-bg {
    background: none !important;
  }
}
/******************************************
***********  CSS ARABIC STYLE *************
******************************************/

/*-----------Courses------------*/

html[lang="ar"] #nav-menu {
  margin-left: auto;
  margin-right: 30px;
}
html[lang="ar"] #languageDropdown{
 margin-left: 0;
  margin-right: 50px;
}
html[lang="ar"] .lang-btn {   
  margin-left: auto;   
  margin-right: 0;
}

html[lang="ar"] .dropdown-profile .dropdown-menu {
 left: 0 !important;
  right: auto  !important;
}

html[lang="ar"] .examing .card-title {
  font-size: 2rem;
  margin: 0;
  direction: ltr;
}

html[lang="ar"] .examing ul {
  text-align: start;
}

html[lang="ar"] .post-slide {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .post-slide .read-more {
  float: left;
}


html[lang="ar"] #contact_us  {
  text-align: start;
}

html[lang="ar"] #contact_us .form-group label::before {
  right: -15px;
}
