:root {
  --main-color-gold: #d4af37;
  --main-color-dark-blue: #13121a;
  --main-color-black: #000000;
  --main-color-dark-gray: #1e1e1e;
  --mainc-color-white: #ffffff;
  --light-black-to-borders: #00000046;
  --light-gold-to-shadows: #d4af3740;
  --light-black-to-shadows: #000000bf;
}

* {
  padding: 0;
  margin: 0;
  font-family: "tajawal";
  list-style-type: none;
}
button {
  cursor: pointer;
}

body {
  width: 100%;
  display: flex;
  flex-flow: column;
}

/* star of header styleing  */

header {
  background-color: var(--main-color-dark-blue);
  width: 100%;
  height: 138px;
  display: grid;
  grid-template-columns: 30% 40% 30%;
  justify-content: center;
  align-items: center;
}
header div {
  display: grid;
  place-content: center;
}
.logo_div img {
  width: 177.02px;
  height: 102px;
  animation-name: blenk;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

.menu_div li {
  list-style-type: none;
  display: inline-flex;
}
.sign_up_div {
  display: flex;
}

.login_btn {
  width: 280px;
  height: 88px;
  color: var(--mainc-color-white);
  background-color: var(--main-color-gold);
  text-align: center;
  line-height: 80px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
  transition: 400ms;
}

.login_btn:hover {
  background-color: var(--main-color-gold) !important;
  color: var(--mainc-color-white) !important;
}

.menu_div li a {
  color: var(--mainc-color-white);
  text-decoration: none;
  font-size: 28px;
  margin: 0 15px;
}

.avater img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}
.user-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: start;
  gap: 10px;
  color: var(--mainc-color-white);
  background-color: transparent;
  border: none;
  position: relative;
}

.dropdown-menu {
  height: 0px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  border-radius: 10px;
  margin-top: 10px;
  width: 250px;
  /* padding: 20px 0; */
  padding: 0 !important;
  gap: 0px;
  padding-right: 20px;
  background-color: var(--mainc-color-white);
  z-index: 12;
  position: absolute;
  top: 100px;
  
}
.dropdown-item {
  color: var(--main-color-black);
  text-decoration: none;
  line-height: 30px;
}

/* نهاية السكشن  */

/* hero section start styling */

.hero_section {
  width: 100%;
  height: 683px;
  background: url(../images/7dca8a1a-908f-4f41-ac89-d0ba7a3d09ec.png) no-repeat;
  background-position: center;
  background-size: cover;
}
/* hero section end styling */

.sec_section {
  width: 100%;
  height: auto;
    min-height: 400px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: url(../images/old-opened-book-is-.png) no-repeat right;
  background-size: contain;
  background-position-y: bottom;
  opacity: 1;
  animation-name: fade_up;
  animation-duration: 2s;
  padding: 40px 20px;
}
.sec_section img {
  position: absolute;
  left: 0;
  width: 100%;
    max-width: 600px;
    height: auto;
    pointer-events: none;
}
.sec_section p {
  color: var(--main-color-black);
  font-size: 56px;
  line-height: 70px;
  font-weight: 700;
  text-align: center;
  width: 100%;
    max-width: 1207px;
    padding: 0 20px;
}
.div_0f_the_buttons {
  margin-top: 40px;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
.div_0f_the_buttons .sign_in_btn,
.div_0f_the_buttons .join_btn {
  width: 280px;
  height: 88px;
  text-align: center;
  line-height: 80px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 32px;
  font-weight: 700;
}
.div_0f_the_buttons .sign_in_btn {
  background-color: var(--main-color-gold);
  color: var(--mainc-color-white);
}
.div_0f_the_buttons .join_btn {
  color: var(--main-color-gold);
  border: 1px solid var(--main-color-gold);
}


/* end of the sec_section */

/* start counter section */
.counter_section {
  width: 100%;
  height: 218px;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  background-color: var(--main-color-dark-gray);
  text-align: center;
  align-items: center;
}

.counter_section h2 {
  color: var(--mainc-color-white);
  font-size: 48px;
  font-weight: 700;
  line-height: 80px;
}

.counter_section p {
  color: var(--main-color-gold);
  font-size: 32px;
  font-weight: 500;
  line-height: 80px;
}




/******************** Start style banner *********************/
.banner {
  max-width: 1200px;
  background-color: #0a1e63;
  color: white;
  padding: 40px;
  text-align: center;
  margin: 7rem auto;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  background-image: url("./../images/chalkboard-background-with-chemistry-information 29.png");
  background-size: contain;
  background-position: center;
  background-repeat: repeat;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  z-index: 1;
}

.banner h2 {
  z-index: 2;
  font-size: 2.5rem;
}

.swiper-slider-container {
  position: relative;
  max-width: max-content !important;
  width: 100%;
  height: 100vh;
}

.swiper-slide-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #fff;
  position: relative;
  z-index: 1;
  opacity: 1 !important;
  transform: translateX(0) !important;
  overflow: visible !important;
}

.sliders-section {
  width: 100%;
  opacity: 1;
  transform: none;
}

.sliders-container {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
  background-color: rgb(255, 255, 255);
  width: 100%;
  padding: 40px;
  margin-top: 30px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
  border-radius: 12px;
  flex-wrap: wrap;
}

.sliders-banner {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
  margin-bottom: 0;
}

.sliders-content {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: rgb(248, 249, 250);
  padding: 32px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
}

.sliders-title {
  width: 300px;
  /* background-color: rgb(45, 139, 203); */
  background: linear-gradient(259deg, #d4af37 0.36%, #13121a 89.63%);
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  font-size: 25px;
  font-weight: 700;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
}

.sliders-subtitle {
  text-align: center;
}

.sliders-subtitle-text {
  margin: 0;
  line-height: 1.5;
  font-family: Cairo, Arial, sans-serif;
  color: #13121a;
  font-size: 22px;
  font-weight: 600;
}

.sliders-subtitle-highlight {
  margin: 8px 0 0;
  line-height: 1.5;
  font-family: Cairo, Arial, sans-serif;
  color: #d4af37;
  font-size: 34px;
  font-weight: 700;
  text-shadow: rgba(0, 0, 0, 0.1) 2px 2px 5px;
}

.sliders-coming-soon {
  margin: 0;
  line-height: 1.5;
  font-family: Cairo, Arial, sans-serif;
  color: #d4af37;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.1) 2px 2px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sliders-icon {
  user-select: none;
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  fill: currentcolor;
  font-size: 32px;
  transition: fill 0.2s ease;
}

/******************** End style banner *********************/

/* start four section */

.parednt_4_div {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
  gap: 20px;
  padding: 80px 20px;
}

/* frist div */
.first_div {
  width: 100%;
    max-width: 1300px;
  display: flex;
  flex-flow: column;
  align-items: center;
}
.first_div h2 {
  color: var(--main-color-black);
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
  text-align: center;
}
.first_div hr {
  margin-top: 15px;
  width: 208px;
  height: 12px;
  border-radius: 8px;
  border: none;
  background-color: var(--main-color-gold);
}
/*end frist div */

.secound_div_of_4 {
  width: 100%;
    max-width: 1300px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 30px;
}
.div_one {
  animation: fading_up 1s ease-in;
}
.div_one p {
  margin: 30px 0;
  color: var(--main-color-black);
  font-size: 28px;
  line-height: 1.5;
}

.div_tow {
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
}
.div_tow img {
  position: absolute;
  width: 100%;
    max-width: 350px;
  bottom: -3px;
  z-index: 1000;
}

.div_tow_one {
  background-color: var(--main-color-gold);
  width: 100%;
    max-width: 389.76px;
  height: 408px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0px 0px 89px -15px var(--main-color-gold);
  animation-name: scaling;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  z-index: 0;
}

.div_four {
  width: 1300px;
  margin-top: 30px;
}

/* ------------------- */

.parent_of_4_divs {
  margin-top: 30px;
  width: 1300px;
  height: auto;
  display: flex;
  gap: 30px;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  background-color: var(--mainc-color-white);
  
}
.parent_of_4_divs .card {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  width: 255px;
  height: 346px;
  background-color: var(--mainc-color-white);
  border: none;
  border-radius: 8px;
  -webkit-box-shadow: 0px 0px 4px 4px var(--light-gold-to-shadows);
  -moz-box-shadow: 0px 0px 4px 4px var(--light-gold-to-shadows);
  box-shadow: 0px 0px 4px 4px var(--light-gold-to-shadows);
  text-align: center;
  animation: growing 1s ease-in-out;
}
.parent_of_4_divs div img {
  width: 148px;
  height: 148px;
  margin-bottom: 20px;
}
.card_info {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 66px;
  gap: 10px;
}

.card_info p {
  width: 200px;
}
/* end four section */

/******************** Start style courses *********************/
.courses {
  position: relative;
  /* max-width: 1200px; */
  margin: 7rem auto;
  padding: 0 5%;
}

.courses h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  color: #13121a;
}

.section-desc {
  text-align: center;
  color: #d4af37;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Consolidated Course Card Component */
.course-card {
  position: relative;
  width: 90%;
  height: fit-content;
  background-color: rgb(251 251 234 / 1);
  border-radius: 0.375rem;
  padding: 1rem 0.75rem;
  outline-style: solid;
  outline-offset: 4px;
  outline-color: rgb(195 209 79/ 1);
  transition: all 0.4s ease;
}

.course-card:hover {
  outline-offset: 0;
}

.course-card-container {
  max-width: 412px;
  margin-left: auto;
  margin-right: auto;
}

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

.course-image {
  width: 90%;
  height: auto;
  transition: all 0.4s ease;
}

.course-card:hover .course-image,
.course-image-wrapper:hover .course-image {
  width: 95%;
  border-radius: 0.375rem;
}

.course-content {
  padding: 0;
  margin-top: 1.25rem;
  position: relative;
  z-index: 10;
}

.course-content-inner {
  width: 100%;
  color: #111827;
  padding: 0.5rem 1rem;
  transition: all 0.4s ease;
}

.course-divider {
  fill: #10697a;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.4s ease;
}

.dark .course-divider {
  fill: rgb(195 209 79/ 1);
}

.course-details-wrapper {
  display: flex;
  flex-direction: column;
}

.course-info-container {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.course-price-dates {
  width: 100%;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  background-color: rgb(6 69 86);
  color: rgb(205 255 254);
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
}

.dark .course-price {
  background-color: rgb(195 209 79/ 1);
  color: rgb(6 69 86);
}

.price-amount {
  background-color: #fff;
  color: #111827;
  padding: 0 0.5rem;
  padding-top: 1px;
  padding-bottom: 1px;
  border-radius: 0.375rem;
  margin-left: 0.5rem;
  transition: all 0.4s ease;
}

.course-dates {
  display: flex;
  color: #6b7280;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
}

.date-item {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.date-row {
  display: flex;
  justify-content: space-between;
  margin-right: 0.25rem;
}

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

.date-icon {
  font-size: 0.938rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-1px);
}

.course-title-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.course-title {
  font-weight: 700;
  font-size: 1.125rem;
  padding-right: 0.75rem;
}

.course-description {
  margin-top: 1rem;
  color: #6b7280;
  text-align: center;
}

.course-actions {
  font-size: 0.75rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.course-entry-button {
  border: 2px solid var(--main-color-gold);
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  color: var(--main-color-gold);
  transition: all 0.4s ease;
  text-align: center;
}

.course-entry-button:hover {
  background-color: var(--main-color-gold);
  color: white;
}

.course-subscribe-button {
  color: var(--mainc-color-white);
  background-color: var(--main-color-gold);
  min-width: 150px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.course-subscribe-button:hover {
  color: var(--mainc-color-white);
    background-color: var(--main-color-gold);
}

/* Media Queries */
@media (min-width: 640px) {
  .course-price-dates {
       flex-direction: row;
  }

  .course-dates {
       justify-content: flex-end;
       align-items: flex-start;
       flex-direction: row;
  }

  .course-actions {
       flex-direction: row;
  }

  .course-subscribe-button {
       padding-top: 0.5rem;
       padding-bottom: 0.5rem;
       margin-top: 0;
       margin-right: 1.5rem;
  }

  .course-entry-button {
       margin-right: 0;
  }
}

@media (min-width: 768px) {
  .course-card-container {
       max-width: 412px;
  }

  .course-content {
       padding-left: 1.25rem;
       padding-right: 1.25rem;
  }

  .course-image {
       width: 80%;
  }

  .course-divider {
       width: 100%;
  }
}

@media (max-width: 480px) {
  .courses h2 {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

}

.testmonialSlider {
  padding-top: 60px;
  padding-bottom: 60px;
}

.testmonialSlider .swiper-wrapper {
  min-height: 300px;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.testmonialSlider .testmonialSection {
  max-width: 100%;
  -webkit-transition: 0s;
  transition: 0s;
}

.testmonialSlider .testmonialSection.swiper-slide-active {
  -webkit-transition: var(--main-transition);
  transition: var(--main-transition);
  background: var(--main-color);
  color: #fff;
}

.swiper-pagination {
  top: 97% !important;
  left: 45% !important;
}
.testmonialSlider .swiper-pagination .swiper-pagination-bullet {
  cursor: pointer;
  width: 16px;
  height: 16px;
  margin: 0 6px;
  background: #d9d9d9;
  border-radius: 12px;
  opacity: 1;
  top: 90% !important;
  left: 45% !important;
  /* background-color: rgba(4, 3, 73, 0.5490196078); */
}

.testmonialSlider
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--main-color);
  width: 69px;
  border-radius: 12px;
}

.testmonialSlider .testmonialSection.swiper-slide-active .contentTest {
  color: #fff !important;
}

.swiper-button-prev, .swiper-button-next {
  color: #d4af37 !important;
}

/******************** End style courses *********************/

/* بداية نجم اللغة  */
.arabic_star {
  display: grid;
  place-content: center;
  width: 100%;
  min-height: 312px;
  background: var(--main-color-dark-gray) url(../images/Group.png) no-repeat center;
  background-size: cover;
    padding: 40px 20px;
}
.arabic_star h2 {
  color: var(--mainc-color-white);
  font-family: "Amiri";
  font-size: 108px;
  font-weight: 400;
  opacity: 1;
  animation: opacity 3s ease-out;
  text-align: center;
    line-height: 1.2;
    margin: 0;
    padding: 0 20px;
}

/* نهاية  نجم اللغة  */

/******************** Start style Video Section ************************/
.video-section {
  margin-top: 5rem !important;
  margin-bottom: 5rem !important;
  width: 100%;
  opacity: 1;
  transform: none;
}

.video-container {
  width: 1050px;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: auto;
  aspect-ratio: 16 / 9;
}

.video-iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/******************** End style Video Section ************************/

/* كونتينر المحاضرات  */
.Group_42 {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  width: 100%;
  padding: 40px 20px;
  }
  
  .Group_42 .first_div {
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-flow: column;
    align-items: center;
  }
  
  .Group_42 .first_div h2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 43.2px;
    text-align: center;
  }
  
  .Group_42 .first_div hr {
    margin-top: 15px;
    width: 208px;
    height: 12px;
    border-radius: 8px;
    border: none;
    background-color: var(--main-color-gold);
}
.icon_single_box {
  width: 100%;
    max-width: 1248px;
    height: auto;
    min-height: 159px;
  border-radius: 8px;
  border: 1px solid var(--main-color-gold);
  display: flex;
  flex-flow: row;
  justify-content: start;
  align-items: center;
  padding: 20px;
  gap: 30px;
  box-shadow: 0px 6px 7px 1px var(--light-gold-to-shadows);
  animation: growing 1s ease-in-out;
}

.icon_single_box img {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  }
  
  .title_desc {
    flex: 1;
}

.title_desc h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 43.2px;
  margin-bottom: 10px;
}

.title_desc p {
  width: 100%;
    max-width: 860px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}
/* Base styles for testimonial section */
.tetimonial {
  width: 100%;
  display: flex;
  flex-flow: column;
  justify-content: start;
  align-items: center;
  min-height: 500px;
    height: auto;
  background: url(../images/Vector\ 1.png) no-repeat;
  background-size: contain;
  padding: 20px 0;
    overflow: hidden;
  }
  
  .div_four {
    width: 100%;
    max-width: 1300px;
    margin-bottom: 20px;
  }
  
  .first_div {
    text-align: center;
  }
  
  .first_div h2 {
    font-size: 32px;
    margin-bottom: 10px;
}
.parent_contaoner {
  display: flex;
  flex-flow: row;
  max-width: 1300px;
    width: 100%;
  background: url(../images/logo-_________7201.png) no-repeat center;
  background-size: 485px;
  padding: 0 15px;
}

.tetimonial_content {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: 60%;
  gap: 40px;
  height: auto;
    min-height: 400px;
}

.slider {
  display: flex;
  flex-flow: row;
  gap: 30px;
  overflow: scroll;
  width: 100%;
    max-width: 650px;
  cursor: pointer;
  scroll-behavior: smooth;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider_1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 100%;
  padding: 10px;
}

.slider_1 img {
  width: 66px;
  height: auto;
  margin-bottom: 15px;
}
.slider_p_name {
  width: 100%;
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.content_of_testimonial {
  font-size: 24px;
    line-height: 1.4;
  }
  
  .student_name {
    font-weight: bold;
    font-size: 18px;
  }
  
  .tetimonial_btn {
    display: flex;
    flex-direction: row;
}

.tetimonial_btn button {
  width: 80px;
    height: 60px;
  border: 1px solid var(--light-black-to-borders);
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
    background-color: transparent;
}

#next_btn {
  border-radius: 0px 4px 4px 0;
}

#back_btn {
  border-radius: 4px 0px 0px 4px;
}
.tetimonial_btn #next_btn:hover,
.tetimonial_btn #back_btn:hover {
  background-color: var(--main-color-gold);
  color: var(--mainc-color-white);
}

/* Images section */
.tetimonial_imgs {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  height: auto;
    min-height: 400px;
  position: relative;
}

.tetimonial_imgs .imgesToDisplay {
  position: absolute;
  transition: all 0.3s ease;
}
.tetimonial_imgs #small_pics3 {
  width: 80px;
  bottom: 60px;
  left: 50px;
}

.tetimonial_imgs #small_pics4 {
  width: 80px;
  right: -10px;
  bottom: 190px;
}

.tetimonial_imgs #small_pics5 {
  width: 100px;
  right: 100px;
  bottom: 10px;
}

.tetimonial_imgs #small_pics6 {
  width: 100px;
  top: -20px;
  opacity: 1;
}

.border_div {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  width: 300px;
    height: 300px;
  border: 2px dashed var(--light-black-to-borders);
  transition: all 0.3s ease;
  }
  
  .border_div img {
    width: 180px;
    height: auto;
  }
  
  /* Media Queries for Responsiveness */
  
  /* Large Devices (desktops) */
  @media (max-width: 1200px) {
    .parent_contaoner {
      background-size: 400px;
    }
  
    .border_div {
      width: 280px;
      height: 280px;
  
      .border_div img {
        width: 160px;
      }
  
      .content_of_testimonial {
        font-size: 22px;
      }
    }
  }
  
    /* Medium Devices (tablets) */
    @media (max-width: 992px) {
      .parent_contaoner {
        background-size: 300px;
        flex-direction: column-reverse;
      }
  
      .tetimonial_content,
      .tetimonial_imgs {
        width: 100%;
        height: auto;
      }
  
      .tetimonial_content {
        align-items: center;
        margin-top: 30px;
      }
  
      .slider {
        max-width: 100%;
      }
  
      .border_div {
        margin: 30px 0;
      }
  
      .tetimonial_imgs {
        margin-bottom: 40px;
      }
  
      .tetimonial_imgs #small_pics3,
      .tetimonial_imgs #small_pics4,
      .tetimonial_imgs #small_pics5,
      .tetimonial_imgs #small_pics6 {
        position: absolute;
      }
  
      .tetimonial_imgs #small_pics3 {
        left: 30%;
        bottom: 0;
      }
  
      .tetimonial_imgs #small_pics4 {
        right: 30%;
        bottom: 0;
      }
  
      .tetimonial_imgs #small_pics5 {
        right: 20%;
        top: 0;
      }
  
      .tetimonial_imgs #small_pics6 {
        left: 20%;
        top: 0;
      }
    }
  
    /* Small Devices (landscape phones) */
    @media (max-width: 768px) {
      .tetimonial {
        background-size: cover;
      }
  
      .first_div h2 {
        font-size: 28px;
      }
  
      .content_of_testimonial {
        font-size: 20px;
      }
  
      .border_div {
        width: 240px;
        height: 240px;
  
  
        .border_div img {
          width: 140px;
        }
  
        .tetimonial_btn button {
          width: 70px;
          height: 50px;
          font-size: 24px;
        }
  
        .tetimonial_imgs #small_pics3,
        .tetimonial_imgs #small_pics4 {
          width: 60px;
        }
  
        .tetimonial_imgs #small_pics5,
        .tetimonial_imgs #small_pics6 {
          width: 70px;
        }
      }
    }
  
      /* Extra Small Devices (portrait phones) */
      @media (max-width: 576px) {
        .tetimonial {
          height: auto;
          padding: 20px 0 40px;
        }
  
        .first_div h2 {
          font-size: 24px;
        }
  
        .content_of_testimonial {
          font-size: 18px;
        }
  
        .student_name {
          font-size: 16px;
        }
  
        .slider_p_name {
          gap: 10px;
        }
  
        .border_div {
          width: 200px;
          height: 200px;
          margin: 20px 0;
          .border_div img {
            width: 120px;
            }
            
            .tetimonial_btn button {
              width: 60px;
              height: 45px;
              font-size: 20px;
            }
            
            .tetimonial_imgs #small_pics3,
            .tetimonial_imgs #small_pics4 {
              width: 50px;
            }
            
            .tetimonial_imgs #small_pics5,
            .tetimonial_imgs #small_pics6 {
              width: 60px;
            }
            
            .tetimonial_imgs #small_pics3 {
              left: 25%;
            }
            
            .tetimonial_imgs #small_pics4 {
              right: 25%;
            }
            
            .slider_1 img {
              width: 50px;
            }
            }
          }
            
            /* For very small devices */
            @media (max-width: 400px) {
              .tetimonial {
                padding: 15px 0 30px;
              }
            
              .border_div {
                width: 180px;
                height: 180px;
              }
            
              .border_div img {
                width: 100px;
              }
            
              .tetimonial_imgs #small_pics3,
              .tetimonial_imgs #small_pics4 {
                width: 40px;
              }
            
              .tetimonial_imgs #small_pics5,
              .tetimonial_imgs #small_pics6 {
                width: 50px;
              }
            
              .content_of_testimonial {
                font-size: 16px;
              }

                .student_name {
                  font-size: 14px;
                }
                }
/* نهاية الصور  */

/* footer style - with enhanced specificity */
.footer {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  min-height: 250px !important;
  border-radius: 20px !important;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 30px !important;
  padding: 25px 15px !important;
  gap: 20px !important;
  background-color: #ffffff !important; /* اضفت لون خلفية صريح */
}


.footer .logo_footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding-bottom: 20px !important;
}


.footer .logo_footer img {
  max-width: 70% !important;
  height: auto !important;
}


.footer .footer_action {
  display: flex !important;
  flex-flow: column !important;
  gap: 30px !important;
  justify-content: center !important;
  align-items: center !important;
}


.footer .footer_action a {
  width: 100% !important;
  max-width: 280px !important;
  height: auto !important;
  min-height: 50px !important;
  color: #ffffff !important; /* استخدام لون صريح بدلاً من المتغير */
  background-color: #d4af37 !important; /* استخدام لون ذهبي صريح بدلاً من المتغير */
  text-align: center !important;
  padding: 12px 15px !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s ease !important;
}


.footer .footer_action a:hover {
  transform: scale(0.95) !important;
}


.footer .footer_action p {
  width: 100% !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  text-align: center !important;
  color: #333333 !important; /* لون النص بشكل صريح */
}


#scroll_top {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  background-color: #ffffff !important; /* استخدام لون صريح بدلاً من المتغير */
  color: #d4af37 !important; /* استخدام لون ذهبي صريح بدلاً من المتغير */
  -webkit-box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 20px !important;
  opacity: 0 !important;
  transition: opacity 300ms !important;
  z-index: 999 !important;
  cursor: pointer !important;
}


.login_btn {
  width: 100% !important;
  max-width: 280px !important;
  height: auto !important;
  min-height: 50px !important;
  color: #ffffff !important; /* استخدام لون صريح بدلاً من المتغير */
  background-color: #d4af37 !important; /* استخدام لون ذهبي صريح بدلاً من المتغير */
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 10px 15px !important;
  transition: transform 0.4s ease !important;
}

.login_btn:hover {
  transform: scale(0.9) !important;
}


/* tap respo */
@media (max-width: 1024px){
  .login_btn {
    width: 200px;
    height: 60px;
    line-height: 55px;
    font-size: 20px;
  }
}
/* mob respo */
@media(max-width: 481px){
  .login_btn {
    width: 100px;
    height: 40px;
    line-height: 40px;
    font-size: 10px;
  }
}

/* General Responsive Rules */
@media (max-width: 1200px) {

  .Group_42 .first_div h2,
  .title_desc h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .title_desc p {
    font-size: 22px;
  }

  .first_div,
  .secound_div_of_4,
  .div_four,
  .parent_of_4_divs,
  .parent_contaoner {
    width: 95%;
  }

  .sliders-container {
    padding: 20px;
  }

  .sliders-content {
    max-width: 60%;
  }

  .sec_section p {
    font-size: 48px;
    line-height: 60px;
  }

  .div_0f_the_buttons .sign_in_btn,
  .div_0f_the_buttons .join_btn {
    width: 240px;
    height: 70px;
    line-height: 65px;
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .Group_42 {
    gap: 40px;
    padding: 30px 20px;
  }

  .Group_42 .first_div h2,
  .title_desc h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .title_desc p {
    font-size: 20px;
  }

  .secound_div_of_4 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .div_one p {
    font-size: 22px;
    text-align: center;
  }

  .div_tow {
    justify-content: center;
  }

  .div_tow img {
    position: relative;
    max-width: 300px;
  }

  .div_tow_one {
    max-width: 320px;
    height: 350px;
  }

  /* Header */
  header {
    height: auto;
    padding: 15px 0;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .menu_div ul {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  /* Hero Section */
  .hero_section {
    height: 400px;
  }

  /* Counter Section */
  .counter_section {
    grid-template-columns: repeat(3, 1fr);
    height: auto;
    padding: 30px 0;
  }

  /* Teacher Section */
  .div_tow img {
    position: relative;
    width: 250px;
  }

  /* Courses Section */
  .courses {
    padding: 0 20px;
  }

  .course-card-container {
    max-width: 100%;
  }

  /* Video Section */
  .video-container {
    width: 90%;
  }

  /* Testimonials */
  .parent_contaoner {
    flex-direction: column;
    width: 95%;
  }

  .tetimonial_content {
    width: 100%;
  }

  .slider {
    width: 100%;
  }

  .slider_p_name {
    width: 100%;
  }

  .tetimonial_imgs {
    width: 100%;
    height: 300px;
  }

  .sec_section {
    min-height: 350px;
    background-size: 300px;
  }

  .sec_section p {
    font-size: 40px;
    line-height: 50px;
  }

  .div_0f_the_buttons .sign_in_btn,
  .div_0f_the_buttons .join_btn {
    width: 240px;
    height: 70px;
    line-height: 65px;
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .Group_42 {
    gap: 30px;
  }

  .Group_42 .first_div h2,
  .title_desc h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .title_desc p {
    font-size: 18px;
  }

  .first_div hr {
    width: 160px;
    height: 10px;
  }

  .div_one p {
    font-size: 20px;
    margin: 20px 0;
  }

  .div_tow img {
    max-width: 250px;
  }

  .div_tow_one {
    max-width: 280px;
    height: 300px;
  }

  /* Header */
  .menu_div li a {
    font-size: 20px;
  }

  /* Hero Section */
  .hero_section {
    height: 300px;
  }

  /* Counter Section */
  .counter_section {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter_section h2 {
    font-size: 36px;
  }

  .counter_section p {
    font-size: 24px;
  }

  /* Banner Section */
  .sliders-container {
    flex-direction: column;
  }

  .sliders-content {
    max-width: 100%;
    margin-top: 20px;
  }

  .sliders-title {
    width: 100%;
  }

  /* Teacher Section */
  .div_one p {
    font-size: 20px;
  }

  /* Courses Section */
  .course-price-dates {
    flex-direction: column;
    align-items: center;
  }

  .course-dates {
    margin-top: 10px;
  }

  /* Video Section */
  .video-container {
    width: 95%;
  }

  /* Testimonials */
  .content_of_testimonial {
    font-size: 20px;
  }

  .tetimonial_imgs #small_pics3,
  .tetimonial_imgs #small_pics4,
  .tetimonial_imgs #small_pics5,
  .tetimonial_imgs #small_pics6 {
    width: 60px;
  }

  .border_div {
    width: 300px;
    height: 300px;
  }

  .border_div img {
    width: 180px;
  }

  .sec_section {
    min-height: 300px;
    background-size: 250px;
  }

  .sec_section p {
    font-size: 32px;
    line-height: 42px;
  }

  .div_0f_the_buttons {
    gap: 20px;
  }

  .div_0f_the_buttons .sign_in_btn,
  .div_0f_the_buttons .join_btn {
    width: 200px;
    height: 60px;
    line-height: 55px;
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .Group_42 {
    gap: 20px;
    padding: 20px 15px;
  }

  .Group_42 .first_div h2,
  .title_desc h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .first_div hr {
    width: 160px;
    height: 8px;
  }

  .div_one p {
    font-size: 18px;
    margin: 15px 0;
  }

  .div_tow img {
    max-width: 200px;
  }

  .div_tow_one {
    max-width: 240px;
    height: 260px;
  }

  /* Header */
  .menu_div ul {
    flex-direction: column;
    align-items: center;
  }

  /* Hero Section */
  .hero_section {
    height: 200px;
  }

  /* Counter Section */
  .counter_section {
    grid-template-columns: 1fr;
  }

  /* Banner Section */
  .sliders-banner {
    max-width: 100%;
  }

  /* Teacher Section */
  .div_one p {
    font-size: 18px;
  }

  .div_tow img {
    width: 200px;
  }

  /* Courses Section */
  .course-actions {
    flex-direction: column;
    gap: 10px;
  }

  .course-subscribe-button {
    margin-right: 0;
  }

  /* Video Section */
  .video-container {
    width: 100%;
  }

  /* Testimonials */
  .tetimonial_btn button {
    width: 60px;
    height: 50px;
    font-size: 24px;
  }

  .tetimonial_imgs {
    display: none;
  }

  .sec_section {
    min-height: 250px;
    background-size: 200px;
  }

  .sec_section p {
    font-size: 24px;
    line-height: 32px;
  }

  .div_0f_the_buttons {
    flex-direction: column;
    gap: 15px;
  }

  .div_0f_the_buttons .sign_in_btn,
  .div_0f_the_buttons .join_btn {
    width: 180px;
    height: 50px;
    line-height: 45px;
    font-size: 20px;
  }
}

/* Fix for RTL layout */
@media (max-width: 768px) {
  .sliders-container {
    flex-direction: column-reverse;
  }

  .course-price-dates {
    flex-direction: column-reverse;
  }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 375px) {
  .sec_section {
    min-height: 200px;
    background-size: 150px;
  }

  .sec_section p {
    font-size: 20px;
    line-height: 28px;
  }

  .div_0f_the_buttons .sign_in_btn,
  .div_0f_the_buttons .join_btn {
    width: 160px;
    height: 45px;
    line-height: 40px;
    font-size: 18px;
  }
}

/* Media Queries */
@media (max-width: 1200px) {
  .arabic_star {
    min-height: 280px;
  }

  .arabic_star h2 {
    font-size: 90px;
  }
}

@media (max-width: 992px) {
  .arabic_star {
    min-height: 250px;
  }

  .arabic_star h2 {
    font-size: 72px;
  }
}

@media (max-width: 768px) {
  .arabic_star {
    min-height: 200px;
  }

  .arabic_star h2 {
    font-size: 60px;
  }
}

@media (max-width: 576px) {
  .arabic_star {
    min-height: 180px;
    padding: 30px 15px;
  }

  .arabic_star h2 {
    font-size: 48px;
  }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 375px) {
  .arabic_star {
    min-height: 150px;
    padding: 20px 10px;
  }

  .arabic_star h2 {
    font-size: 36px;
  }
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
  .arabic_star {
    min-height: 400px;
  }

  .arabic_star h2 {
    font-size: 120px;
  }
}