/* Start header home section */

.top-logo-badge {
  margin-top: 120px;
  margin-bottom: 25px;
  position: relative;
}

.top-logo-badge img {
  width: 100%;
  display: block;
  border-radius: 45px;
  /* transform: rotate(3deg); */
  border: 10px var(--surface) solid;
  box-shadow: 0 4px 4px 0 var(--shadow-light);
  margin: auto;
}

.top-logo-badge img.dark {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 4px 0 var(--shadow-dark);
}



.badge-text {
  background-image: url(../media/img/lab-img.webp);
  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 20px;
  display: block;
  border-radius: 45px;
  border: 10px var(--surface) solid;
  box-shadow: 0 4px 4px 0 var(--shadow-light);
  margin: auto;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

body.dark .badge-text {
  background-image: none;
  background:
    linear-gradient(
      135deg,
      #062f63 0%,
      #071a2f 65%,
      #041a3d 100%
    );
  border-color: #1c456d;
  box-shadow: 0 4px 24px 0 var(--shadow-dark);
}

body.dark .top-logo-badge img.dark {
  border-color: #1c456d;
  box-shadow: 0 4px 24px 0 var(--shadow-dark);
}

/* العناوين */
.main-title {
  font-family: "graphik-arabic-black";
  font-size: 45px;
  line-height: 1.6;
  margin-bottom: 0px;
  color: var(--primary);
  text-align: right;
}

.main-title.dark {
  color: #ffffff;
}

.highlight {
  color: var(--primary);
}

body.dark .highlight {
  color: #ffd100;
}

.description {
  font-family: "TheYearofHandicrafts-Regular";
  color: var(--text-secondary);
  font-size: 21px;
  text-align: center;
  max-width: 650px;
  margin: 10px 0px 25px 0px;
  line-height: 1.6;
}

body.dark .description {
  color: #afc0d3;
}

/* الأزرار */
.cta-group {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-bottom: 20px;
}

.btn {
  font-family: "graphik-arabic-semibold";
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 50px;
  /* font-weight: 700; */
  font-size: 18px;
  transition: 0.3s;
  line-height: 1;
}

.btn-orange {
  background-color: var(--primary);
  border: 2px solid var(--primary);
  color: var(--on-primary);
}

.btn-orange:hover {
  background-color: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
}

body.dark .btn-orange {
  background-color: #ffd100;
  border-color: #ffd100;
  color: #071a2f;
}

body.dark .btn-orange:hover {
  background-color: #ffe04a;
  border-color: #ffe04a;
  color: #071a2f;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-muted);
  color: var(--primary);
}

.btn-outline:hover.dark {
  background-color: rgba(255, 209, 0, 0.1);
  color: #ffffff;
}

body.dark .btn-outline {
  background: transparent;
  border: 1px solid #ffd100;
  color: #ffffff;
}

body.dark .btn-outline:hover {
  background-color: rgba(255, 209, 0, 0.1);
  border-color: #ffd100;
  color: #ffd100;
}

/* الإحصائيات */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid transparent; /* اختياري */
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stat-number {
  font-family: "cairo";
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-number.dark {
  color: #ffd100;
}

.stat-label {
  font-family: "TheYearofHandicrafts-Regular";
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
}

body.dark .stat-label {
  color: #afc0d3;
}

@media (max-width: 991px) {
  .main-title {
    font-size: 29px;
  }

  .description {
    font-size: 15px;
    max-width: 480px;
  }
}

@media (max-width: 767px) {
  .main-title {
    font-size: 25px;
  }

  .description {
    font-size: 14px;
    max-width: 400px;
  }
}

/* تحسين العرض على الموبايل */
@media (max-width: 575px) {
  .main-title {
    font-size: 25px;
  }
  .cta-group {
    flex-direction: column;
    gap: 14px;
  }
  .stats-container {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* end header home section */

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

/* Strat about / Score-Up why section */

.after-speacial-heading {
  text-align: center;
  font-family: "TheYearofHandicrafts-Regular";
  font-size: 18px;
  color: var(--text-secondary);
  width: 40%;
  margin: 30px auto;
}

@media (max-width: 991px) {
  .after-speacial-heading {
    width: 70%;
  }
}

@media (max-width: 767px) {
  .after-speacial-heading {
    width: 95%;
  }
}

.scoreup-why {
  padding: 40px 0 60px;
  background: transparent;
}

.scoreup-why-row {
  row-gap: 24px;
}

.scoreup-why-media {
  margin-bottom: 0;
}

.scoreup-why-banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: multiply;
}

.scoreup-why-heading {
  margin-top: 0;
  margin-bottom: 36px;
  overflow: visible;
}

.scoreup-why-heading h1 {
  padding-bottom: 12px;
}

.scoreup-why-lead {
  font-family: "TheYearofHandicrafts-Regular";
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: right;
  margin: 28px 0 28px;
  max-width: 520px;
}

.scoreup-why-lead strong {
  color: var(--primary);
  font-family: "graphik-arabic-semibold";
}

.scoreup-why-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.scoreup-why-points li {
  font-family: "TheYearofHandicrafts-Regular";
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-right: 4px solid var(--accent);
  border-radius: 0;
  padding: 8px 14px 8px 0;
}

.scoreup-why-badge {
  display: inline-block;
  font-family: "graphik-arabic-semibold";
  font-size: 14px;
  color: var(--on-cta);
  background: var(--cta);
  border-radius: 999px;
  padding: 4px 12px;
  margin-left: 8px;
  margin-bottom: 6px;
}

@media (max-width: 991px) {
  .scoreup-why-copy {
    order: 1;
  }

  .scoreup-why-media {
    order: 2;
  }

  .scoreup-why-lead {
    font-size: 18px;
    max-width: none;
  }

  .scoreup-why-heading {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .scoreup-why {
    padding: 24px 0 40px;
  }

  .scoreup-why-lead {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .scoreup-why-points li {
    font-size: 15px;
  }
}

/* Legacy about cards (kept if reused elsewhere) */
.about-section {
  /* margin-top: 100px; */
}

.card-about {
  background: var(--surface);
  border-radius: 15px;
  width: 90%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  box-shadow: 0 0 10px 0 var(--shadow-light);
  border: 1px solid var(--border);
  border-right: 4px solid var(--primary);
}

.card-about.dark {
  background: var(--surface);
  box-shadow: 0 0 10px 0 var(--shadow-dark);
  border-color: var(--border);
}

body.dark .card-about:hover {
  background: var(--surface-2);
  border-color: var(--brand-blue-light, #0b4f9c);
}

.img-card-about {
  width: 70px;
  height: 70px;
  background: var(--primary-muted);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-card-about img {
  width: 40px;
}

.title-about {
  font-family: "graphik-arabic-black";
  font-weight: 900;
  font-size: 19px;
  color: var(--primary);
}

.title-about.dark {
  color: var(--text);
}

.content-about {
  font-family: "TheYearofHandicrafts-Regular";
  font-size: 19px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

/* End about / Score-Up why section */

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

/* Start teacher year section home  */

.teachers-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.teachers-section .container {
  position: relative;
  z-index: 1;
}

.teachers-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.teachers-header .speacial-heading {
  margin-bottom: 36px;
  margin-left: auto;
  margin-right: auto;
}

.teachers-subtitle {
  font-family: "TheYearofHandicrafts-Regular";
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  width: 100%;
  margin: 0 auto 28px;
  text-align: center;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: fit-content;
  margin: auto;
  margin-bottom: 40px;
  box-shadow: none;
  border: none;
}

/* Dropdown */
.dropdown {
  font-family: "TheYearofHandicrafts-Regular";
  position: relative;
  min-width: 220px;
  text-align: center;
}

.dropdown-btn {
  background: #ffffff;
  color: var(--primary);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  gap: 14px;
  text-align: center;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 59, 122, 0.1);
}

.dropdown-btn .arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-btn .arrow img {
  width: 12px;
  filter: brightness(0) invert(1);
}

@media only screen and (max-width: 400px) {
  .dropdown {
    min-width: 180px;
  }

  .dropdown-btn {
    padding: 10px 14px;
  }

  .dropdown-btn span {
    font-size: 13px;
  }
}

/* Arrow */
.arrow img {
  width: 20px;
  transition: 0.3s;
}

/* Rotate when open */
.dropdown.open .arrow {
  transform: rotate(-180deg);
}

body.dark .filters {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.dark .dropdown-btn {
  background: #0b2748;
  border: 1px solid #1c456d;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

body.dark .dropdown-btn span {
  color: #afc0d3;
}

body.dark .dropdown-btn .arrow {
  background: var(--accent);
}

body.dark .dropdown-btn .arrow img {
  filter: none;
}

/* Menu */
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: var(--surface);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  text-align: center;
  padding: 0;
  border: 1px solid var(--border);
}

body.dark .dropdown-menu {
  background: #10345c;
  border-color: #1c456d;
  color: #ffffff;
  box-shadow: 0 10px 25px var(--shadow-dark);
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  font-family: "TheYearofHandicrafts-Regular";
  padding: 12px;
  cursor: pointer;
  transition: 0.2s;
  color: var(--text);
}

body.dark .dropdown-menu li {
  color: #ffffff;
}

.dropdown-menu li:hover {
  background: var(--primary-muted);
}

body.dark .dropdown-menu li:hover {
  background: #0b4f9c;
  color: #ffffff;
}

.dropdown-menu li.active {
  background: var(--primary);
  color: var(--on-primary);
}

body.dark .dropdown-menu li.active {
  background: #ffd100;
  color: #071a2f;
}

.teachers-carousel-wrap {
  width: 100%;
}

.teachers-carousel {
  overflow: hidden;
  padding: 12px 6px 10px;
}

.teachers-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.teachers-track::-webkit-scrollbar {
  display: none;
}

.teacher-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}

@media only screen and (max-width: 991px) {
  .teacher-slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media only screen and (max-width: 767px) {
  .teacher-slide {
    flex-basis: 100%;
  }

  .teachers-subtitle {
    font-size: 16px;
    max-width: 100%;
    padding: 0 12px;
    text-align: center;
  }

  .teachers-header .speacial-heading {
    margin-bottom: 24px;
  }
}

/* Score-Up teacher card */
.scoreup-teacher-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 59, 122, 0.1);
  border: 1px solid rgba(0, 59, 122, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.scoreup-teacher-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 59, 122, 0.16);
}

.scoreup-teacher-banner {
  position: relative;
  height: 190px;
  background: var(--primary);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.scoreup-teacher-photo {
  position: relative;
  width: 150px;
  height: 170px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.scoreup-teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.scoreup-teacher-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px 20px;
  background: #ffffff;
}

.scoreup-teacher-name {
  font-family: "graphik-arabic-black";
  font-weight: 900;
  font-size: 18px;
  color: var(--primary);
  margin: 0;
  line-height: 1.35;
}

.scoreup-teacher-line {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  margin: 10px 0 12px;
}

.scoreup-teacher-subject {
  font-family: "TheYearofHandicrafts-Regular";
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 18px;
  line-height: 1.4;
}

.scoreup-teacher-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e8f0f8;
  color: var(--primary);
  font-family: "TheYearofHandicrafts-Regular";
  font-size: 15px;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.scoreup-teacher-cta-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scoreup-teacher-card:hover .scoreup-teacher-cta {
  background: var(--primary);
  color: #fff;
}

.scoreup-teacher-card:hover .scoreup-teacher-cta-icon {
  background: var(--accent);
}

.scoreup-teacher-card:hover .scoreup-teacher-cta-icon svg path {
  stroke: var(--primary);
}

body.dark .scoreup-teacher-card {
  background: #0b2748;
  border-color: #1c456d;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

body.dark .scoreup-teacher-card:hover {
  background: #10345c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

body.dark .scoreup-teacher-banner {
  background: #062f63;
}

body.dark .scoreup-teacher-body {
  background: transparent;
}

body.dark .scoreup-teacher-name {
  color: #ffffff;
}

body.dark .scoreup-teacher-subject {
  color: #afc0d3;
}

body.dark .scoreup-teacher-cta {
  background: #10345c;
  color: #d7e4f3;
}

body.dark .scoreup-teacher-card:hover .scoreup-teacher-cta {
  background: var(--accent);
  color: #062f63;
}

@media only screen and (max-width: 575px) {
  .scoreup-teacher-banner {
    height: 170px;
  }

  .scoreup-teacher-photo {
    width: 132px;
    height: 150px;
  }

  .scoreup-teacher-name {
    font-size: 16px;
  }
}

.teachers-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 24px 0;
  max-width: none;
}

.teachers-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #c9d6e5;
  background: transparent;
  color: #a0b1c5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.teachers-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f3f7fb;
}

body.dark .teachers-nav-btn {
  border-color: #1c456d;
  color: #7f97b3;
}

body.dark .teachers-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #0b2748;
}

/* End teacher year section home  */

/* Start courses section home */

.card-course {
  margin-bottom: 24px;
}

.course {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  background: var(--surface);
  border-radius: 22px;
  padding: 12px;
  height: 100%;
  position: relative;
  box-shadow: 0 10px 28px rgba(8, 38, 95, 0.08);
  border: 1px solid rgba(0, 59, 122, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.course:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 38, 95, 0.12);
  border-color: rgba(0, 59, 122, 0.22);
}

body.dark .course {
  background: #0b2748;
  border-color: #1c456d;
  box-shadow: 0 4px 15px 5px var(--shadow-dark);
}

body.dark .course:hover {
  background: #10345c;
  border-color: #1c456d;
}

.card-img-course {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--primary-muted);
}

.card-img-course img,
.course .card-img-course img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

body.dark .course img {
  background: #10345c;
}

.course-year,
.course-subjsct,
.course-free,
.course-enrolled-badge {
  font-family: "IBM Plex Arabic", "Cairo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  margin: 0;
  z-index: 10;
  padding: 4px 12px;
  line-height: 1.4;
}

.course-year {
  bottom: 10px;
  right: 10px;
  background: var(--accent);
  color: #08265f;
  border-radius: 999px;
  border: none;
}

.course-subjsct {
  bottom: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  border: none;
}

.course-free {
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  border: none;
  font-family: "graphik-arabic-black", sans-serif;
  font-size: 13px;
  padding-top: 5px;
}

.course-enrolled-badge {
  top: 10px;
  right: 10px;
  background: #128c4a;
  color: #fff;
  border-radius: 999px;
}

.course img {
  width: 100%;
  border-radius: 16px;
}

.content-course {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: right;
  padding: 12px 6px 4px;
  gap: 8px;
}

.content-course .course-name {
  font-family: "graphik-arabic-black", "Cairo", sans-serif;
  font-weight: 900;
  color: var(--primary);
  text-align: right;
  font-size: 16px;
  line-height: 1.45;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

body.dark .content-course .course-name {
  color: #ffffff;
}

.course-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.insted-of-price {
  font-family: "IBM Plex Arabic", sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
}

.insted-of-price span {
  text-decoration: line-through;
}

.price {
  font-family: "IBM Plex Arabic", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-secondary);
}

.price span {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.content-course .number-lect {
  font-family: "cairo", sans-serif;
  position: relative;
  width: 100%;
  left: 0;
  text-align: center;
  background: var(--primary-muted);
  padding: 10px 5px;
  margin-bottom: 0;
  font-size: 16px;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

.date-course {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-course p {
  margin: 0;
  font-family: "IBM Plex Arabic", sans-serif;
  font-size: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-course p img {
  width: 14px;
  height: 14px;
  border-radius: 0;
  flex-shrink: 0;
}

.date-course .date {
  color: var(--text-secondary);
  font-weight: 600;
}

.description-course {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.description-course img {
  width: 14px;
  margin-top: 3px;
  border-radius: 0;
  flex-shrink: 0;
}

.description-course span {
  font-family: "IBM Plex Arabic", sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-subscription {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.check,
.pay-course {
  font-family: "IBM Plex Arabic", "Cairo", sans-serif;
  font-weight: 800;
  width: 100%;
  padding: 11px 0;
  font-size: 14px;
  text-align: center;
  border-radius: 999px;
  display: block;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.check {
  background: var(--accent);
  border-color: var(--accent);
  color: #08265f;
}

.you-subscription {
  border-style: solid;
}

.check:hover {
  background: var(--accent-dark, #ffe04a);
  color: #08265f;
}

.pay-course {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pay-course:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

/* On enrolled cards: primary CTA is enter, secondary is status */
.course-subscription .check.you-subscription {
  background: var(--accent);
  border-color: var(--accent);
  color: #08265f;
}

.course-subscription span.pay-course {
  background: rgba(18, 140, 74, 0.1);
  border-color: rgba(18, 140, 74, 0.25);
  color: #128c4a;
  cursor: default;
}

.work-course {
  background-color: var(--primary);
  padding-top: 30px;
  padding-bottom: 1px;
}

/* End courses section home */

/* Start courses section course's student */

.courses-home.courses {
  padding-top: 20px;
  padding-bottom: 40px;
}

.courses-home.courses .speacial-heading h1 {
  color: var(--primary);
}

/* End courses section course's student */

/* Start stage box and grades grid */

.stage-box {
  background: var(--surface);
  border: 2px solid var(--accent-dark);
  padding: 20px;
  border-radius: 20px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stage-box h3 {
  font-family: "Mmtsdr";
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 24px;
}

.grade-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}

.grade-links-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
  background: var(--accent-dark);
  color: var(--accent);
  border-radius: 12px;
  font-family: "Cairo";
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s;
}

.grade-links-grid a:hover {
  background: var(--accent);
  color: var(--on-primary);
  transform: translateY(-3px);
}

/* End stage box and grades grid */

/* leaderboard */

/* container */
.leaderboard {
  /* width: 1100px; */
  background: var(--primary);
  padding: 40px 20px 20px;
  border-radius: 30px;
  text-align: center;
  margin: 50px auto;
}

/* title */
.leaderboard h2 {
  font-family: "graphik-arabic-black";
  font-weight: 900;
  color: var(--on-primary);
  font-size: 36px;
  margin-bottom: 10px;
}

.subtitle {
  color: var(--primary);
  margin-bottom: 40px;
  font-size: 15px;
}

/* cards */
.cards {
}

/* card */

.main-card-leader {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.card-leader {
  border-radius: 25px;
  position: relative;
  margin: 40px;
  margin-top: 0;
  height: auto;
}

/* avatar */
.avatar {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 35px;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid var(--accent);
}

.rank {
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  background: var(--primary-dark);
  color: var(--on-primary);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  line-height: 35px;
  border: 2px solid var(--accent);
}

/* info */
.info {
  padding: 10px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 0 10px 0 var(--shadow-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.info h3 {
  font-family: "graphik-arabic-black";
  font-weight: 800;
  font-size: 16px;
  color: var(--on-primary);
  margin-bottom: 10px;
}

.info p {
  font-family: "graphik-arabic-black";
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  margin: 0;
}

/* first */
.first .info {
  background: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 10px 30px var(--shadow-dark);
  height: 180px;
}

.first .info p {
  color: var(--primary);
}

/* second */
.second .info {
  background: var(--surface-2);
  height: 140px;
}

/* third */
.third .info {
  background: var(--primary-dark);
  height: 100px;
}

/* leaderboard */

/* Start vision home */

.vision {
  width: 100%;
  background: var(--primary-dark);
  padding: 25px 80px;
}

/* container */
.vision-content {
  text-align: right;
}

/* title */
.vision h2 {
  font-family: "graphik-arabic-black";
  font-weight: 900;
  color: var(--on-primary);
  font-size: 35px;
  margin-bottom: 20px;
}

.vision h2 span {
  color: var(--primary);
}

/* paragraph */
.description-visio {
  font-family: "TheYearofHandicrafts-Regular";
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 30px;
}

@media only screen and (max-width: 575px) {
  .description-visio {
    font-size: 16px;
  }
}

/* list */
.features {
  list-style: none;
  padding: 0;
}

.features li {
  font-family: "TheYearofHandicrafts-Regular";
  color: var(--on-primary);
  margin-bottom: 15px;
  position: relative;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features li img {
  width: 25px;
}

@media (max-width: 768px) {
  .vision {
    padding: 60px 20px;
  }

  .vision h2 {
    font-size: 28px;
  }

  .description {
    font-size: 16px;
  }
}

/* End vision home */
