@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

:root {
  --main-font: 'Almarai', serif;
}

:root {
  --volite: #8b56b1;
  --blue: #00aeef;
  --white: #ffffff;
  --gray: #e9f2f7;
  --black: #000000;
  --gray-black: #454545;
  --rad-gray: #f3f3f3;
  --purple: #8b56b1;
}

i {
  vertical-align: middle;
}

body {
  font-family: 'Noto Naskh Arabic', serif;
}

select {
  appearance: none;
  -webkit-appearance: none;
  /* For Safari and Chrome */
  -moz-appearance: none;
  /* For Firefox */
}

.bg-purple {
  background-color: var(--purple);
}

.btn-purple,
.btn-purple.show,
.btn-purple:hover {
  background-color: var(--purple);
  border-color: var(--purple);
  color: #fff !important;
}

.btn-purple-hover:hover {
  background-color: #fff;
  color: var(--purple) !important;
  outline: 2px var(--purple) solid;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.text-purple {
  color: var(--purple) !important;
}

.header-btn .btn {
  width: 130px;
  font-size: 17px;
}

.courses-dropdown-link {
  font-size: 20px;
}

section {
  margin-top: 100px;
}

.section-2 {
  margin-top: 200px;
}

.section-2 .videos video {
  border-radius: 50px 0px 56px 1px;
  object-fit: cover;
}

.video-text h1 {
  font-size: 34px;
  font-family: var(--main-font);
  line-height: 50px;
  text-align: right;
  color: #8b56b1;
  position: relative;
  font-weight: bold;
}

.video-text p,
.video-text p a {
  font-size: 20px;
  font-family: var(--main-font);
  text-align: right;
  font-weight: bold;
  margin: 30px 0;
  text-decoration: none;
}

.video-text p a:hover {
  color: var(--volite);
}


.btn-grad {
  background-image: linear-gradient(to right, #4776E6 0%, #8E54E9 51%, #4776E6 100%)
}

.btn-grad {
  margin: 2px;
  /* padding: 15px 30px 15px 45px; */
  padding: 20px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 30px;
  display: block;
}

.btn-grad:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

/* .square {
  background-image: linear-gradient(to right, #f3eef7 45%, #e5f7fe 55%);
  transition: ease-in-out 1s;
  border-radius: 10px;
} */

.course-card-title {
  font-size: 1rem;
  font-weight: bold;
  position: absolute;
  bottom: 85%;
  background: #8b56b1;
  width: 70%;
  z-index: 9;
  right: 0;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 5px;
  color: #fff;
  height: 50px;
  align-content: center;
  padding-right: 10px;
}

@media screen and (max-width: 768px) {
  .btn-grad {
    padding: 10px 20px;
  }
}

.hero-search-btn {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
}

.section-4 {
  background-image: linear-gradient(to right, #f3eef7 45%, #e5f7fe 55%);
  padding: 50px 0;
}

.splide__slide {
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.splide__arrow--prev {
  right: -50px !important;
  left: auto !important;
}

.splide__arrow--next {
  left: -50px !important;
  right: auto !important;
}

.load-category-courses-btn.active, .load-category-courses-btn:hover {
  background-color: var(--purple);
  color: var(--white) !important;
  border: 2px solid var(--purple);
}

.pop-btn {
  background-color: var(--blue);
  padding: 4px 60px;
  font-size: 21px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  border: 2px solid var(--blue);
  transition: ease-in-out .3s;
}

.pop-btn:hover {
  background-color: var(--white);
  color: var(--blue);
  box-shadow: rgb(0 0 0 / 10%) 0px 2px 1px, rgb(0 0 0 / 9%) 0px 4px 2px, rgb(0 0 0 / 9%) 0px 8px 4px, rgb(0 0 0 / 9%) 0px 16px 8px, rgb(0 0 0 / 21%) 0px 1px 27px;
}

.bg-img {
  background-image: url(../img/bg-img.png);
  background-position: center center;
}

.section-12 {
  margin-top: -44px;
}

.allcontect {
  background-color: var(--volite);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  border-radius: 24px;
  padding: 18px 31px 14px;
  margin: 0 65px;
  border: 1px solid #fff;
}



.contect-1 a img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 5px;
}

.line-b {
  width: 2px;
  height: 50px;
  background-color: var(--white);
}

.contect-4 i {
  font-size: 40px;
  color: var(--white);
}

.contect-4 h5 {
  font-size: 16px;
  color: var(--white);
  line-height: 14px;
  margin-top: 9px;
}

.contect-3 i {
  font-size: 40px;
  color: var(--white);
}

.contect-2 h6 {
  font-size: 19px;
  color: var(--white);
  line-height: 14px;
  margin-top: 9px;
}

@media (max-width: 768px) {
  .allcontect {
    padding: 10px;
    margin: 0 10px;
  }

  .line-b {
    display: none;
  }

  .contect-4 i, .contect-3 i {
    display: none;
  }
}

.cou-detail {
  margin-top: -30px;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
  padding: 0.75rem 2.5rem;
  font-weight: 500;
  border: none;
  color: #363f81 !important;
  background: transparent;
  position: relative;
  transition: background 0.3s, color 0.3s;
  font-size: 1.1rem;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.nav-pills .nav-link.active,
.nav-pills .nav-item.show .nav-link {
  color: #fff !important;
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  box-shadow: 0 2px 12px -2px rgba(124,58,237,0.11);
}

.nav-tabs .nav-link:hover, 
.nav-pills .nav-link:hover {
  color: #7c3aed !important;
  /* background: rgba(124,58,237,0.13); */
}

.nav-tabs,
.nav-pills {
  border-bottom: none;
  gap: 0.5rem;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .nav-tabs .nav-link, .nav-pills .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.97rem;
  }
}
