.home_page {
  padding: 1px;
}
.home_page > div {
  margin-top: 150px;
}
.hero,
.vir_lab {
  display: grid;
  grid-template-columns: 30% 60%;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}
.vir_lab {
  padding-bottom: 20px;
  direction: ltr;
}
.hero .hero_img img,
.vir_lab .vir_lab_img img {
  filter: drop-shadow(0 0 60px #b4b3b3);
  width: 40%;
  /* box-shadow: 
    0 0 20px #b3b3b3,
    0 0 40px #b3b3b3,
    0 0 60px #b3b3b3; */
  /* height: 250px; */
  object-fit: cover;
  border-radius: 25%;
  margin-left: 20%;
}
.vir_lab .vir_lab_img img {
  filter: invert(0.8);
}
.who_us .vir_lab_img img {
  filter: unset;
}
.hero .hero_img .img_parent {
  position: relative;
}

.hero .hero_txt,
.vir_lab_txt {
  direction: rtl;
}
.hero .hero_txt h3,
.vir_lab .vir_lab_txt h3 {
  color: var(--text-color);
  font-size: 45px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  margin: 0;
  line-height: 100%;
}
.who_us .vir_lab_txt h3 {
  margin-top: 20px;
  font-size: 36px;
  line-height: 45px;
}
.hero .hero_txt p,
.vir_lab .vir_lab_txt p {
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
  margin-top: 20px;
  margin-bottom: 0;
  color: #6a6b6c;
}
.hero .start_button,
.vir_lab .start_button {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.hero .start_button button,
.vir_lab .start_button button,
.contact .start_button button {
  border: none;
  outline: none;
  background-color: var(--text-color);
  color: white;
  border-radius: 12px;
  padding: 0 8px;
  height: 45px;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  width: 22%;
  cursor: pointer;
}
.contact .start_button {
  display: flex;
  justify-content: center;
}
.vir_lab .start_button button,
.contact .start_button button {
  width: fit-content;
  display: flex;
  align-items: center;
  /* direction: ltr; */
}
.hero .start_button p {
  color: #06052e;
  font-weight: bold;
  font-size: 20px;
  font-family: 'Cairo', sans-serif;
  margin-right: 60px;
  display: flex;
  align-items: center;
  /* direction: rtl; */
  margin-top: 0;
}
.hero .start_button p i {
  margin-left: 10px;
  font-size: 25px;
}
.vir_lab .start_button i,
.contact .start_button button i {
  margin-right: 10px;
}
.who_text {
  background-color: var(--text-color);
  padding: 4px 8px;
  font-weight: 700;
  font-size: 20px;
  font-family: 'Cairo', sans-serif;
  color: white;
  border-radius: 4px;
  margin-bottom: 20px;
  /* display: block; */
}

.mini_games,
.package_content,
.why_us {
  position: relative;
  /* background: url('/public/bg_frame.png') center no-repeat ;
    background-size: cover; */
  /* height: 593px; */

  direction: rtl;
}
.mini_games .bg_frame,
.counter_w .bg_frame,
.packages .bg_frame,
.why_us .bg_frame {
  position: absolute;
  width: 100%;
  height: 160%;
  z-index: -3;
  /* bottom: 60%; */
  top: -40%;
  /* left: -15px; */
}
.why_us .bg_frame {
  top: -28%;
  height: 150%;
}
.counter_w .bg_frame {
  top: -12%;
  height: 330px;
  width: 90%;
  margin-left: 5%;
}
.mini_games .bg_frame img,
.counter_w .bg_frame img,
.packages .bg_frame img,
.why_us .bg_frame img {
  width: 100%;
  height: 100%;
}
/* ======================================================================= */
/* ===============================  counter =============================== */
.counter_w {
  position: relative;

  /* width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    background: url('/public/counter_img.png');
    background-repeat: no-repeat;  
  background-size: auto 100%;    
  background-position: top left;
  background-size: cover; */
  /* ./counter_img.png */
}
.counters {
  width: 80%;
  margin-left: 10%;
  display: grid;
  grid-template-columns: repeat(3, 32%);
  justify-content: space-around;
}
.counters > div {
  text-align: center;
  direction: rtl;
}
.counters > div p:nth-child(1),
.counters > div p:nth-child(2) {
  font-family: var(--main-font);
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}
.counters > div p:nth-child(3) {
  font-family: var(--main-font);
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
  color: var(--text-color);
  margin: 0;
  margin-top: 10px;
  width: 80%;
  margin-right: 10%;
}
.counters .counter_2 {
  position: relative;
}
.counters .counter_2::after {
  content: '';
  position: absolute;
  width: 110%;
  height: 70%;
  border: 3px dashed black;
  border-top: transparent;
  border-bottom: transparent;
  left: -5%;
  top: 40px;
}
.counters .counter_3 img,
.counters .counter_1 img {
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: -10px;
  right: 70px;
  transform: rotate(-19deg);
  filter: contrast(0.1);
}
.counters .counter_1 img {
  top: -20px;
  left: 100px;
  height: 145px;
  filter: none;
}
/* ======================================================================= */
/* ===============================  packages =============================== */
.packages > h4 {
  direction: rtl;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--main-font);
  margin-right: 20px;
}
.packages .packages_type {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
.package_content {
  width: 100%;
  background: url('/public/package_frame.png');
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: top left;
  background-size: cover;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  padding-bottom: 80px;
  margin-top: 40px;
  /* width: 90%; */
  /* margin-left: 5%; */
}
.packages .packages_type button {
  outline: none;
  cursor: pointer;
  padding: 27px 20px;
  border-radius: 12px;
  font-size: 20px;
  font-family: var(--main-font);
  text-align: center;
  color: var(--text-color);
  font-weight: 700;
  background-color: white;
  border: 1px solid var(--text-color);
}
.packages .packages_type button:nth-child(2) {
  border-radius: 0;
}
.packages .packages_type button:nth-child(3) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.packages .packages_type button:nth-child(1) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.packages .packages_type .active_button {
  background-color: var(--text-color);
  color: white;
  position: relative;
}

.packages .packages_type .active_button::after {
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  background-color: var(--text-color);
  transform: rotate(45deg);
  bottom: -9px;
  left: 46%;
}
.package_txt {
  direction: rtl;
  display: flex;
  flex-direction: column;
  /* margin-top: 30px; */
  margin-right: 30px;
}
.package_txt > div {
  display: flex;
  align-items: center;
  margin-top: 30px;
  margin-right: 40px;
  margin-left: 30px;
}
.package_txt img {
  width: 60px;
  height: 60px;
  margin-left: 30px;
}
.pack_img {
  text-align: end;
}
.pack_img img {
  width: 60%;
  height: 50%;
  margin-top: 20%;
}
/* ======================================================================= */
/* ===============================  subjs =============================== */
.curriculum {
  margin-top: 120px;
}
.curriculum h3 {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--text-color);
  direction: rtl;
  margin-right: 20px;
  margin-bottom: 0;
}
.curriculum > p {
  font-size: 24px;
  color: #6a6b6c;
  line-height: 32px;
  direction: rtl;
  width: 90%;
  margin-left: 8%;

  margin-top: 5px;
}
.curriculum .subjects {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  direction: rtl;
}
.subjects .subj {
  margin-left: 30px;
  border: 1px solid var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 12%;
  padding: 50px;
  border-radius: 12px;
  cursor: pointer;
  /* height: 50px; */
}
.subjects .active_subj {
  background: linear-gradient(to bottom, #999999 0%, #333333 30%);
  color: white;
  border: none;
}
.subjects > div img {
  width: 80px;
  height: 70px;
  margin-bottom: 30px;
  filter: invert(1);
}
.subjects .subj p {
  color: var(--text-color);

  font-size: 28px;
  font-weight: 700;
  font-family: var(--main-font);
}
.subjects .active_subj p {
  color: white;
}
.time {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-top: 40px;
  position: relative;
  box-sizing: border-box;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
}
.time_line::after {
  position: absolute;
  width: 100%;
  height: 100%;
  border-top: 3px dashed black;
  left: 0;
  top: 8px;
  content: '';
}
.time_line {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 80%;
  justify-content: space-between;
  margin-top: 40px;
}
.time_line::before {
  content: '\f104';
  content: '<';
  font-family: 'Font Awesome 6 Free';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0;
  font-size: 40px;
  font-weight: 700;
  top: -10px;
}
.time_line > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.time_line > div span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--text-color);
}
.time_line > div h3 {
  font-size: 23px;
  font-weight: 700;
  margin-top: 0;
}
.time img {
  width: 150px;
  height: 150px;
}
/* ======================== */
/* ============ questions============ */
.questions {
  width: 80%;
  margin: 80px 10%;
  direction: rtl;
}
.questions h3 {
  padding: 4px 8px;
  border-radius: 4px;
  background-color: var(--text-color);
  color: white;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 20px;
  color: white;
  /* display: flex;
    align-items: center;
    justify-content: center; */
  width: fit-content;
  direction: rtl;
}
.questions_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}
.questions_container img {
  /* filter: invert(1); */
}
.question {
  display: flex;
  align-items: center;
  direction: rtl;
  justify-content: space-between;
  transition: 0.3s;
  margin-bottom: 30px;
}
.question i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(to bottom, var(--text-color), #999999);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.questioncont {
  position: relative;
}
.questioncont::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  background-color: var(--neutral-grey);
  bottom: -3px;
}
.question p {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--text-color);
  margin-bottom: 10px;
}
.question_ans {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
  margin-top: 0;
}
.questions_content {
  width: 40%;
}
/* ============================ */
/* why us */
.why_us,
.mini_games,
.vir_lab {
  margin-top: 200px !important;
}
.who_us {
  margin-top: 150px !important;
}
.why_us_intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-weight: 700;
}
.why_us h3 {
  background-color: var(--text-color);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;

  font-size: 20px;
}
.why_us_intro p {
  font-size: 36px;
  margin: 0;
}
.why_us_conatiner {
  display: grid;
  grid-template-columns: 35% 20% 35%;
  justify-content: space-between;
  margin-top: 30px;
}
.why_us_conatiner img {
  width: 80px;
  height: 80px;
  margin-left: 15px;
}
.why_us_conatiner > div:nth-child(2) img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}
.why_us .right_container > div,
.why_us .left_container > div {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 20px;

  font-family: var(--main-font);
}
.why_us .right_container > div h4,
.why_us .left_container > div h4 {
  margin-bottom: 5px;
  font-weight: 700;
}
.why_us .right_container > div p,
.why_us .left_container > div p {
  font-weight: 400;
}
.why_us_cont {
  width: 90%;
  margin: 0 5%;
}
@media (max-width: 1180px) {
  .hero .start_button button {
    width: 30%;
  }
  .counter_w .bg_frame {
    height: 410px;
  }
  .counters .counter_3 img {
    right: 34px;
  }
  .counters .counter_1 img {
    left: 50px;
  }
  .counters .counter_3 img,
  .counters .counter_1 img {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 1100px) {
  .mini_games .bg_frame {
    top: -37%;
  }
  .counter_w .bg_frame {
    width: 100%;
    left: 0;
    margin-left: 0;
  }
  .counters .counter_3 img {
    right: 17px;
  }
  .counters .counter_1 img {
    left: 10px;
  }
}
@media (max-width: 987px) {
  .mini_games .bg_frame {
    height: 470px;
  }
}
@media (max-width: 870px) {
  .hero,
  .vir_lab {
    grid-template-columns: 100%;
    justify-content: end;
    row-gap: 60px;
  }
  .hero .hero_img img,
  .vir_lab .vir_lab_img img {
    width: 50%;
    margin-left: 25%;
  }
}
@media (max-width: 670px) {
  .hero,
  .vir_lab {
    grid-template-columns: 90%;
  }
  .hero .hero_img img,
  .vir_lab .vir_lab_img img {
    margin-left: 15%;
  }
}
@media (max-width: 580px) {
  .hero,
  .vir_lab {
    grid-template-columns: 100%;
  }
  .hero .hero_img img,
  .vir_lab .vir_lab_img img {
    width: 70%;
  }
  .hero .hero_txt h3,
  .vir_lab .vir_lab_txt h3 {
    font-size: 35px;
  }
  .hero .start_button {
    flex-direction: row;
    justify-content: space-between;
  }
  .hero .start_button button {
    width: 35%;
  }
  .hero .start_button p {
    margin-right: 0;
  }
}
@media (max-width: 450px) {
  .hero .start_button button {
    width: 40%;
  }
}
@media (max-width: 400px) {
  .hero .hero_txt p,
  .vir_lab .vir_lab_txt p {
    font-size: 18px;
  }
  .hero .hero_txt h3,
  .vir_lab .vir_lab_txt h3 {
    font-size: 28px;
  }
  .hero,
  .vir_lab {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 350px) {
  .hero .hero_txt p,
  .vir_lab .vir_lab_txt p {
    font-size: 16px;
  }
  .hero .hero_txt h3,
  .vir_lab .vir_lab_txt h3 {
    font-size: 25px;
  }
  .hero .start_button button {
    width: 48%;
    font-size: 12px;
    padding: 0;
  }
}
