html {
  direction: rtl !important;
}
body {
  margin: 0 !important;
  padding: 0 !important;
}

a {
  text-decoration: none !important;
  color: inherit !important;
}

button {
  outline: unset !important;
  border: unset !important;
}

@media (min-width: 1400px) {
  .container {
    width: 92%;
  }
}

.bg-orange {
  background-color: var(--orange) !important;
}
.bg-green {
  background-color: var(--green) !important;
}
.bg-blue {
  background-color: var(--blue) !important;
}

.sp_ul {
  line-height: 3rem;
  list-style: disc;
  color: #aeaeae;
}

.outline {
  outline: #fff 3px solid;
}
.sp_green {
  background-color: var(--green);
  color: #fff;
  border-radius: 1.5rem;
}

.overflow-x {
  overflow-x: auto;
  overflow-y: hidden;
}

.overflow-x::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--lightgray);
  border-radius: 10px;
}

/* Handle */
.overflow-x::-webkit-scrollbar-thumb {
  background: rgb(180, 180, 180);
  border-radius: 10px;
}

.overflow-x::-webkit-scrollbar {
  height: 6px;
}

/* Handle on hover */
.overflow-x::-webkit-scrollbar-thumb:hover {
  background: rgb(180, 180, 180);
}
/* //////////////////////////////////// */

/* HEADER START */

.sp_btn_gray {
  background-color: var(--lightgray);
  color: #000;
  border-radius: 5rem;
}

.sp_btn_gray svg {
  width: 2rem;
  height: 2rem;
}

.hide-menu {
  filter: drop-shadow(0px -1px 1px #00000026);
  box-shadow: 0px 0px 20px 0px #00000026;
  background-color: #fff;
  border-radius: 1rem;
  top: 162%;
  z-index: 1111111111111;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.sp_menu:hover .hide-menu {
  opacity: 1;
  visibility: visible;
}

.hide-menu::before {
  content: "";
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 17.5px 27px 17.5px;
  border-color: transparent transparent #fff transparent;
  transform: rotate(0deg);
  position: absolute;
  top: -12px;
}

.hide-menu li {
  border-bottom: 1px solid var(--gray);
}

.hide-menu li:last-child {
  border-bottom: unset !important;
}

.cart .cart-count {
  background-color: var(--green);
  color: #fff;
  font-size: 1.1rem;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -11px;
  display: flex;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
}

/* HEADER END */

/* middle */

.main-slider {
  aspect-ratio: 2579/1124;
  background-image: url("../img/slider-min.png");
  background-size: cover;
  width: 100%;
  background-repeat: no-repeat;
  padding: 8rem 0px;
}

.main-slider .slider-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 3rem;
  overflow: hidden;
}

.main-box {
  width: 93%;
}

.main-box.right {
  border-radius: 3rem;
  padding: 2rem;
}

.main-box.left {
  border-radius: 3rem;
  padding: 2rem;
}

/* cardbox */
.card-box {
  background-color: #fff;
  padding: 0.75rem 0.75rem 2rem 0.75rem;
  border-radius: 20px;
}
.card-box .card-img {
  aspect-ratio: 241/204;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}
.card-box .card-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
/* cardbox */

.family-magazine .content-img {
  aspect-ratio: 764/812;
  width: 50%;
  overflow: hidden;
  border-radius: 3rem;
  outline: #fff 4px solid;
}

.family-magazine .content-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.family-box .family-text p {
  line-height: 4rem;
}
.family-box .family-text ul {
  line-height: 3rem;
  list-style: disc;
  color: #dedede;
}

.family-box button {
  background-color: #013046;
  border-radius: 1rem;
  color: #fff;
}

.family-box .family-text {
  width: 100%;
}

.family-box {
  flex: 1;
}

.professors-box .card-box {
  background-color: var(--gray) !important;
}
/* middle */

/* footer */

footer {
  position: relative;
  background-color: #fdb714;
}

footer::before {
  content: "";
  top: -10rem;
  right: 0;
  position: absolute;
  background-image: url("../img/footer.svg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 10rem;
  width: 100%;
  background-position-x: center;
  background-position-y: top;
}
footer .email-sub {
  position: relative;
  background-color: #fff;
  outline: unset !important;
  border: unset !important;
  width: 26rem;
  border-radius: 1.5rem;
  height: 5.5rem;
  padding: 1rem;
  padding-left: 2rem;
  overflow: hidden;
}

footer .email-sub input {
  outline: unset !important;
  border: unset !important;
  padding-left: 3rem;
  height: 100%;
  width: 100%;
}

footer .email-sub a {
  position: absolute;
  background-color: var(--blue);
  border-radius: 1.5rem;
  padding: 0.75rem 1rem;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff !important;
  height: 5rem;
  width: 5rem;
  justify-content: center;
  align-items: center;
  display: flex;
}

footer .footer-social a {
  background-color: #000;
  color: #fdb714 !important;
}

/* footer */

.menu-hidden {
  position: fixed;
  left: -50rem;
  top: 0;
  height: 100vh;
  background-color: var(--gray);
  z-index: 11111;
  width: 30rem;
  box-shadow: 7px -2px 10px 0px #00000026;
  transition: 0.25s;
}
.menu-hidden.open {
  left: 0;
  transition: 0.25s;
}

@media (min-width: 0px) {
  .hide-menu {
    filter: drop-shadow(0px -1px 1px #00000026);
    box-shadow: 0px 0px 20px 0px #00000026;
    background-color: #fff;
    border-radius: 1rem;
    right: 50%;
    transform: translateX(50%);
    top: 144%;
    min-width: 30rem;
  }

  .sp_btn_gray {
    padding: 1rem 1rem;
  }

  .hide-menu {
    right: -100%;
    transform: translateX(50%);
    min-width: 26rem;
  }
  .hide-menu::before {
    right: 72.7%;
    transform: translateX(50%);
  }
  .main-logo {
    display: none;
  }

  .fav-logo {
    display: block;
  }

  .mark {
    padding: 0.2em;
    background-color: #1f56ade6;
    line-height: 4.6rem;
    color: #fff;
  }
  .mark2 {
    padding: 0.2em;
    background-color: #162b4ad1;
    line-height: 4.6rem;
    color: inherit;
  }
}

@media (min-width: 380px) {
  .main-logo {
    display: block;
  }

  .fav-logo {
    display: none;
  }
}

@media (min-width: 576px) {
  .main-box.right {
    border-radius: 3rem;
    padding: 2rem 5rem;
  }
  .main-box.left {
    border-radius: 3rem;
    padding: 2rem 5rem;
  }
  .main-slider {
    background-position: unset !important;
  }
}
@media (min-width: 768px) {
  .main-box.right {
    border-radius: 3rem 0 0 3rem;
    padding: 4rem 9rem 4rem 5rem;
  }

  .main-box.left {
    border-radius: 0 3rem 3rem 0;
    padding: 4rem 5rem 4rem 9rem;
  }

  .family-box .family-text {
    width: 80%;
  }
  .hide-menu::before {
    right: 50%;
    transform: translateX(50%);
  }
  .hide-menu {
    right: 50%;
    transform: translateX(50%);
    min-width: 30rem;
  }
}

@media (min-width: 992px) {
  .sp_btn_gray {
    padding: 1rem 2rem;
  }
  .family-magazine .content-img {
    width: 30%;
  }

  .main-slider .slider-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 3rem;
    width: 51rem;
  }
}

@media (min-width: 1200px) {
  .main-slider .slider-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 5rem;
    width: 90rem;
  }
}

@media (min-width: 1400px) {
  .mark {
    padding: unset !important;
    background-color: unset !important;
    line-height: unset !important;
    color: unset !important;
  }
  .mark2 {
    padding: unset !important;
    background-color: unset !important;
    line-height: unset !important;
    color: unset !important;
  }
}

:root {
  --blue: #219fbd;
  --orange: #f6861f;
  --yellow: #f6861f;
  --green: #02b05d;
  --gray: #dbdbdb;
  --lightgray: #ebebeb;
}

.border-orange {
  border-color: #c26a19 !important;
}

.border-green {
  border-color: #00753d !important;
}

.border-blue {
  border-color: #006c84 !important;
}

.border-gray {
  border-color: #ababab !important;
}

.sp_tabs .nav-tabs {
  border-bottom: unset !important;
}

.sp_tabs .nav-tabs::before {
  content: unset !important;
}
.sp_tabs .nav-tabs > li > a {
  border: unset !important;
  color: #fff !important;
}

.bg-orange .sp_tabs .nav-tabs > li > a {
  background-color: #d9580f;
}

.bg-green .sp_tabs .nav-tabs > li > a {
  background-color: #008948;
}


.sp_tabs .nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border: unset !important;
  outline: unset !important;
  background-color: #013046 !important;
}


header{
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.course-slider__text{
  max-width: 70rem;
}
.justify-content-md-start .tab-content{
  margin-left: -5rem; margin-right: -9rem;
}
.justify-content-md-start .swiper{
  padding-left: 5rem; padding-right: 9rem;
}
.justify-content-md-start .swiper-pagination{
  padding-right: 4rem;
}

.justify-content-md-end .tab-content{
  margin-right: -5rem; margin-left: -9rem;
}
.justify-content-md-end .swiper{
  padding-right: 5rem; padding-left: 9rem;
}
.justify-content-md-end .swiper-pagination{
  padding-left: 4rem;
}

.popular-courses{
  overflow: hidden;
  box-shadow: 0 0 5px 1px #0000003d;
}
/*.prev-course::before ,.next-course::before {*/
/*  font-family: "FA";*/
/*  color: #fff;*/
/*  font-size: 2rem;*/
/*}*/


/*.prev-course::before {*/
/*  content: "\f060";*/
/*}*/
/*.next-course::before {*/
/*  content: "\f061";*/
/*}*/