:root {
  --main-color: #0055D2;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-1: .2s;
  --dur-2: .35s;
  --shadow-1: 0 6px 18px rgba(0, 0, 0, .12);
  --shadow-2: 0 12px 30px rgba(0, 0, 0, .18);

  --anim-dur: 1s;
  --anim-ease: cubic-bezier(.22, .61, .36, 1);
  --anim-iter: infinite;
  --anim-delay: 0s;

  --footer-bg: var(--main-color, #0055D2);
  --footer-accent: #3488FC;
  --footer-fg: #ffffff;
  --footer-fg-dim: rgba(255, 255, 255, .85);
  --footer-border: rgba(255, 255, 255, .25);
  --footer-card: rgba(255, 255, 255, .08);
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  direction: rtl;
}

body,
button,
input,
textarea,
select,
p,
span,
a,
li,
label,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (min-width: 1600px) {
  body {
    font-size: 18px;
  }
}

.anim {
  animation-duration: var(--anim-dur);
  animation-timing-function: var(--anim-ease);
  animation-iteration-count: var(--anim-iter);
  animation-delay: var(--anim-delay);
  animation-fill-mode: both
}

.anim-once {
  --anim-iter: 1
}

.anim-fast {
  --anim-dur: .6s
}

.anim-slow {
  --anim-dur: 2.2s
}

.anim-delay-100 {
  --anim-delay: .1s
}

.anim-delay-300 {
  --anim-delay: .3s
}

.anim-reverse {
  animation-direction: reverse
}

.anim-pause-on-hover:hover {
  animation-play-state: paused
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05)
  }
}

.animate-pulse {
  animation-name: pulse
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1)
  }

  14% {
    transform: scale(1.12)
  }

  28% {
    transform: scale(.96)
  }

  42% {
    transform: scale(1.08)
  }
}

.animate-heartbeat {
  animation-name: heartbeat
}

@keyframes float-y {
  0%, 100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

.animate-float-y {
  animation-name: float-y
}

@keyframes float-x {
  0%, 100% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(12px)
  }
}

.animate-float-x {
  animation-name: float-x
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0)
  }

  25% {
    transform: rotate(2.2deg)
  }

  75% {
    transform: rotate(-2.2deg)
  }
}

.animate-wiggle {
  animation-name: wiggle
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0)
  }

  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-6px)
  }

  20%, 40%, 60%, 80% {
    transform: translateX(6px)
  }
}

.animate-shake {
  animation-name: shake
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-16px)
  }
}

.animate-bounce {
  animation-name: bounce
}

@keyframes jelly {
  0%, 100% {
    transform: scale(1, 1)
  }

  30% {
    transform: scale(1.12, .88)
  }

  40% {
    transform: scale(.9, 1.1)
  }

  50% {
    transform: scale(1.05, .95)
  }

  65% {
    transform: scale(.98, 1.02)
  }
}

.animate-jelly {
  animation-name: jelly
}

@keyframes swing {
  20% {
    transform: rotate(12deg)
  }

  40% {
    transform: rotate(-9deg)
  }

  60% {
    transform: rotate(6deg)
  }

  80% {
    transform: rotate(-3deg)
  }

  100% {
    transform: rotate(0)
  }
}

.animate-swing {
  transform-origin: top center;
  animation-name: swing
}

@keyframes tada {
  0% {
    transform: scale(1)
  }

  10%, 20% {
    transform: scale(.95) rotate(-3deg)
  }

  30%, 50%, 70%, 90% {
    transform: scale(1.05) rotate(3deg)
  }

  40%, 60%, 80% {
    transform: scale(1.05) rotate(-3deg)
  }

  100% {
    transform: scale(1) rotate(0)
  }
}

.animate-tada {
  animation-name: tada
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.animate-spin-slow {
  --anim-dur: 12s;
  animation-name: spin;
  animation-timing-function: linear
}

.animate-spin {
  --anim-dur: 2.4s;
  animation-name: spin;
  animation-timing-function: linear
}

@keyframes flip-x {
  0% {
    transform: perspective(800px) rotateX(0)
  }

  50% {
    transform: perspective(800px) rotateX(180deg)
  }

  100% {
    transform: perspective(800px) rotateX(360deg)
  }
}

.animate-flip-x {
  animation-name: flip-x
}

@keyframes flip-y {
  0% {
    transform: perspective(800px) rotateY(0)
  }

  50% {
    transform: perspective(800px) rotateY(180deg)
  }

  100% {
    transform: perspective(800px) rotateY(360deg)
  }
}

.animate-flip-y {
  animation-name: flip-y
}

@keyframes tilt {
  0%, 100% {
    transform: rotate(0)
  }

  50% {
    transform: rotate(4deg)
  }
}

.animate-tilt {
  animation-name: tilt
}

@keyframes skew {
  0%, 100% {
    transform: skewX(0)
  }

  50% {
    transform: skewX(6deg)
  }
}

.animate-skew {
  animation-name: skew
}

@keyframes slide-horizontal {
  0%, 100% {
    transform: translateX(0)
  }

  25% {
    transform: translateX(10px)
  }

  75% {
    transform: translateX(-10px)
  }
}

.animate-slide-horizontal {
  animation-name: slide-horizontal
}

@keyframes slide-vertical {
  0%, 100% {
    transform: translateY(0)
  }

  25% {
    transform: translateY(-10px)
  }

  75% {
    transform: translateY(10px)
  }
}

.animate-slide-vertical {
  animation-name: slide-vertical
}

@keyframes blink {
  0%, 49%, 100% {
    opacity: 1
  }

  50%, 99% {
    opacity: 0
  }
}

.animate-blink {
  animation-name: blink
}

@keyframes breathe {
  0%, 100% {
    letter-spacing: 0;
    transform: scale(1)
  }

  50% {
    letter-spacing: .5px;
    transform: scale(1.02)
  }
}

.animate-breathe {
  animation-name: breathe
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 85, 210, .35)
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 85, 210, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 85, 210, 0)
  }
}

.animate-ripple {
  animation-name: ripple
}

@keyframes glow {
  0%, 100% {
    filter: brightness(1)
  }

  50% {
    filter: brightness(1.12)
  }
}

.animate-glow {
  animation-name: glow
}

@keyframes pop {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }

  100% {
    transform: scale(1)
  }
}

.animate-pop {
  animation-name: pop
}

@keyframes hover-lift {
  0%, 100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

.animate-hover-lift {
  animation-name: hover-lift
}

@keyframes hover-pop {
  0%, 100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.04)
  }
}

.animate-hover-pop {
  animation-name: hover-pop
}

@media (prefers-reduced-motion:reduce) {
  .anim,
  .animate-pulse,
  .animate-heartbeat,
  .animate-float-y,
  .animate-float-x,
  .animate-wiggle,
  .animate-shake,
  .animate-bounce,
  .animate-jelly,
  .animate-swing,
  .animate-tada,
  .animate-spin-slow,
  .animate-spin,
  .animate-flip-x,
  .animate-flip-y,
  .animate-tilt,
  .animate-skew,
  .animate-slide-horizontal,
  .animate-slide-vertical,
  .animate-blink,
  .animate-breathe,
  .animate-ripple,
  .animate-glow,
  .animate-pop,
  .animate-hover-lift,
  .animate-hover-pop {
    animation: none !important
  }
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a,
button,
.btn,
.service-btn,
.hero-card,
.blob-btn,
.grade-card,
.university-card,
.subject-card,
.tawjihi-card,
.gprogram-card,
.examx-card {
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), opacity var(--dur-1) var(--ease);
  will-change: transform, box-shadow;
}

.hover-lift {
  transform: translateY(0) scale(1);
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-1);
}

.hover-pop {
  transform: translateZ(0) scale(1);
}

.hover-pop:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-2);
}

.hover-underline {
  position: relative;
}

.hover-underline:after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}

.hover-underline:hover:after {
  transform: scaleX(1);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: var(--shadow-1);
  transform: translateY(-2px);
}

.btn-outline:hover {
  background: var(--main-color);
  color: #fff;
  box-shadow: var(--shadow-1);
  transform: translateY(-2px);
}

.service-btn:hover,
.grade-card:hover,
.subject-card:hover,
.university-card:hover,
.gprogram-card:hover,

.link-fade {
  opacity: .9;
}

.link-fade:hover {
  opacity: 1;
}

.focus-ring:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (hover:hover) {
  .hover-glow:hover {
    box-shadow: 0 0 0 6px rgba(0, 85, 210, .08), var(--shadow-1);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  max-width: 1300px;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav ul li {
  margin: 0 7px;
}

.nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 19px;
}

.nav ul li a.active {
  color: var(--main-color);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
}

button.btn.btn-primary {
  cursor: pointer;
}

.logo img {
  height: 100px;
  width: 200px;
}

.btn-primary {
  background: var(--main-color);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.cart-icon i {
  font-size: 18px;
  color: #000;
}

.textarea-tech {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
}

.lang-dropdown {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  min-width: 100px;
}

.lang-menu a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  color: #000;
}

.lang-dropdown:hover .lang-menu {
  display: block;
}

.community-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.community-link img.icon {
  width: 18px;
  height: 18px;
  display: block;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    right: 0;
    z-index: 999999;
  }

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

  .actions {
    gap: 8px;
  }

  .menu-toggle {
    display: block;
    margin-left: 10px;
  }
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 20px 28px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.8fr 1.5fr 1fr;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-logo {
  width: clamp(180px, 28vw, 240px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15));
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--footer-fg-dim);
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-btn {
  inline-size: 38px;
  block-size: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--footer-card);
  color: var(--footer-fg);
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .16);
}

.footer-links {
  display: grid;
  gap: 20px;
}

.footer-block {
  background: transparent;
}

.footer-title {
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 10px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-list a {
  color: var(--footer-fg);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .2s ease, opacity .2s ease;
}

.footer-list a:hover {
  border-bottom-color: var(--footer-fg);
  opacity: .95;
}

.footer-contact .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-contact .contact-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--footer-fg-dim);
}

.footer-contact .contact-list i {
  margin-top: 3px;
}

.footer-contact .contact-list a {
  color: #fff;
  text-decoration: none;
}

.footer-contact .contact-list a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--footer-fg-dim);
  font-size: 13px;
}

.footer-links .footer-block,
.footer-contact {
  padding: 12px 0;
  padding-inline-start: 20px;
}

html[dir="rtl"] .footer-links .footer-block,
html[dir="rtl"] .footer-contact {
  border-inline-start: none;
  padding-inline-start: 0;
  padding-inline-end: 20px;
}

@media (max-width: 710px) {
  .tj2009__subjects {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px;
    padding: 20px;
  }

  a.text-decoration-none {
    font-size: 8px;
    max-width: 48px;
    transform: translateY(-4px);
  }
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-links .footer-block,
  .footer-contact {
    border: none;
    padding: 0;
    background: transparent;
    text-align: right;
    margin-top: 35px;
  }
}

.tj2009__subjects .tj2009__item {
  position: relative !important;
  z-index: -1 !important
}

.tj2009__subtitle + .tj2009__subjects .tj2009__item {
  position: relative !important;
  z-index: -1 !important
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .footer::before {
    width: 90% !important;
  }

  .features {
    text-align: center;
    margin: 20px 0 20px 0 !important;
  }

  .rvx-window {
    margin-top: 55px !important;
  }
}

@media (max-width: 1100px) {
  .hidden-disc {
    display: block !important;
  }
}

.hidden-disc {
  display: none !important;
}

.footer a:focus-visible,
.social-btn:focus-visible {
  outline: 2px dashed #fff;
  outline-offset: 2px;
}

.empty-cart {
  text-align: center;
  padding: 39px;
}

.footer {
  background-color: var(--main-color);
  color: #fff;
  padding: 40px 20px 10px 20px;
  border-top-right-radius: 40px;
  margin-top: 40px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 97%;
  height: 20px;
  background-color: #3488FC;
  border-top-right-radius: 40px;
  z-index: -1;
}

.hero {
  position: relative;
  background: url('../images/home/bg-main.png') no-repeat center/cover;
  padding: 60px 20px 100px;
  color: #fff;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 130px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.hero-shape {
  display: inline-block;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.blue-shape {
  background-color: #3488FC;
}

.darkblue-shape {
  background-color: var(--main-color);
}

.black-shape {
  background-color: #000;
}

.hero-left {
  position: relative;
}

.hero-person {
  position: relative;
}

.bg-wave {
  position: absolute;
  top: 19px;
  left: -11%;
  width: 456px;
  z-index: 0;
}

.person-img {
  position: relative;
  width: 530px;
  left: -6%;
  z-index: 1;
}

.hero-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: -21px;
  z-index: 9999;
  position: relative;
  margin-bottom: -210px;
}

.hero-card {
  width: 307px !important;
  height: 285px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-card {
    width: 45%;
    height: 120px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand {
    border-bottom: solid #fff;
    padding-bottom: 36px;
  }
}

.hero-buttons-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.center-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.blob-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blob-btn i {
  font-size: 32px;
  margin-bottom: 8px;
}

.blob-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-buttons-wrapper {
    align-items: center;
  }

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

a.blob-btn.blob-btn-3 {
  height: 212px;
  width: 201px;
  margin-right: -72px;
}

a.blob-btn.blob-btn-1 {
  width: 148px;
  height: 168px;
}

a.blob-btn.blob-btn-2 {
  width: 191px;
  height: 177px;
}

p.card-t {
  font-size: 23px;
}

a.hero-card {
  text-decoration: none;
}

.features {
  text-align: center;
  margin: 20px 0 20px 0;
}

.features {
  text-align: center;
  padding: 40px 0
}

.features__media {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px
}

.features__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%
}

@media (max-width:768px) {
  .features {
    padding: 28px 0
  }

  .features__media {
    padding: 0 12px
  }
}

.features-wrapper::before {
  content: "";
  position: absolute;
  top: 52%;
  width: 87% !important;
  height: 84px;
  background: url('../images/wave.png') repeat-x center;
  background-size: contain;
  transform: translateY(-50%);
  z-index: -1;
  margin: auto;
}

.features h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.features-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.features-box {
  display: flex;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 40px;
  padding: 40px 40px;
  gap: 30px;
  width: 80%;
  justify-content: center;
}

.feature-item {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  padding: 0 20px;
}

.feature-item:not(:last-child) {
  border-left: 1px solid #fff;
}

.services {
  text-align: center;
  margin: 60px 0;
}

.services h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 32px;
}

.services-box {
  background-color: #E7E7E780;
  border-radius: 20px;
  padding: 50px 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .services-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-box {
    grid-template-columns: 1fr;
  }
}

.service-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 65px 20px;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 188px;
}

.service-btn small {
  display: block;
  font-weight: normal;
  font-size: 24px;
  margin-top: 4px;
}

.service-btn.dark {
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 36px;
}

.service-btn.light {
  background-size: contain;
  background-repeat: no-repeat;
  color: #3c98ff;
  font-size: 36px;
}

.service-btn:hover {
  transform: translateY(-4px);
}

.social-media .media-row {
  display: flex
}

.social-media .media-row .media-video {
  flex: 3
}

.social-media .media-row .media-video:nth-child(2) {
  flex: 7
}

.social-media .media-row:nth-of-type(even) .media-video:first-child {
  flex: 7
}

.social-media .media-row:nth-of-type(even) .media-video:last-child {
  flex: 3
}

@media (max-width: 720px) {
  .social-media .media-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .social-media .media-row .media-video {
    flex: none;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
  }

  .social-media .media-row .media-video video,
  .social-media .media-row .media-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .social-media .media-row .media-video .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.social-media {
  text-align: center;
  margin: 60px 0;
}

.social-media h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

.media-row {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 20px;
}

a.blob-btn span {
  font-size: 16px;
}

.examx-dropdown {
  position: relative !important
}

.examx-dropdown .examx-menu {
  display: none !important;
  position: absolute !important;
  inset-inline-start: 0 !important;
  top: 100% !important;
  min-width: 240px !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 8px !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .2) !important;
  z-index: 999 !important;
}

.examx-dropdown.is-open .examx-menu {
  display: block !important;
  position: static !important;
  box-shadow: none !important;
  margin-top: 10px !important;
}

.tch-wrap {
  overflow: visible !important
}

.tch-grid {
  transition: margin-top .2s ease !important
}

.tch-grid.aos-init.aos-animate {
  position: relative !important;
}

.tch-item a:hover .tch-img {
  animation: teacherFloat 1.5s ease-in-out infinite !important;
}

.media-video,
.media-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.media-video {
  flex: 0 0 80%;
  cursor: pointer;
  height: 230px;
}

.media-image {
  flex: 0 0 20%;
  cursor: pointer;
  transition: transform 0.4s ease;
  height: 230px;
}

.media-image:hover {
  transform: scale(1.05);
}

.media-video img,
.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 85, 210, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.media-video .overlay i {
  font-size: 40px;
  color: #fff;
}

.media-video:hover .overlay {
  background-color: rgba(0, 85, 210, 0.8);
}

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.popup-content iframe {
  width: 100%;
  height: 450px;
  display: block;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .media-row {
    flex-direction: column;
  }

  .media-video,
  .media-image {
    flex: 0 0 100%;
  }

  .popup-content iframe {
    height: 250px;
  }
}

.image-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.image-popup .popup-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  animation: zoomIn 0.3s ease;
}

.image-popup .popup-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-popup .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.teachers-carousel {
  text-align: center;
  margin: 60px 0;
}

.teachers-carousel h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 80%;
  margin: auto;
}

.x3c-instructors {
  text-align: center;
  margin: 60px 0
}

.x3c-instructors h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 28px
}

.x3c-viewport {
  direction: ltr;
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden
}

.x3c-rail {
  display: flex;
  will-change: transform;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1)
}

.x3c-cell {
  flex: 0 0 calc(100%/3);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box
}

.x3c-fig {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  transform: scale(.82);
  filter: saturate(.9) blur(.2px);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .55s
}

.x3c-fig img {
  width: 75%;
  height: 100%;
  object-fit: contain;
  display: block
}

.x3c-cap {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  min-width: 68%;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4b8df7, #2e6fe6);
  color: #fff;
  box-shadow: 0 12px 24px rgba(46, 111, 230, .25);
  display: grid;
  place-items: center;
  gap: 4px;
  font-family: inherit
}

.x3c-cap strong {
  font-size: 22px;
  letter-spacing: .3px
}

.x3c-cap span {
  font-size: 14px;
  opacity: .9
}

.x3c-cell.x3c-focus .x3c-fig {
  transform: scale(1.18);
  filter: saturate(1) blur(0)
}

.x3c-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(0, 0, 0, .06);
  backdrop-filter: blur(2px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  transition: transform .2s, background .2s
}

.x3c-arrow:hover {
  background: rgba(0, 0, 0, .12);
  transform: translateY(-50%) scale(1.06)
}

.x3c-right {
  right: 0px
}

@media(max-width:1024px) {
  .x3c-cap strong {
    font-size: 18px
  }

  .x3c-fig {
    max-width: 300px
  }
}

@media(max-width:768px) {
  .x3c-cell {
    flex: 0 0 100%
  }

  .x3c-fig {
    max-width: 360px
  }

  .x3c-left {
    left: 8px
  }

  .x3c-right {
    right: 8px
  }

  .x3c-fig img {
    width: 60%;
    height: 100%;
    object-fit: contain;
    display: block
  }
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  padding: 50px 0 50px 0;
}

.carousel-slide {
  flex: 0 0 33.33%;
  display: flex;
  justify-content: center;
  opacity: 0.5;
  transform: scale(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-slide.active {
  transform: scale(1.2);
  opacity: 1;
}

.carousel-slide img {
  width: 60%;
  border-radius: 50%;
}

.carousel-btn {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s ease;
}

.carousel-btn:hover {
  color: var(--main-color);
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 80%;
  }

  .carousel-slide.active {
    transform: scale(1.05);
  }
}

.stats-section {
  background: url('../images/stats-bg.png') no-repeat center/cover;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  max-width: 1300px;
  margin: auto;
  height: 282px;
}

.stats-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #fff;
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 23px;
  font-weight: 500;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}

.divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .stats-overlay {
    gap: 15px;
  }

  .divider {
    width: 40px;
    height: 1px;
  }

  .stats-section {
    background: url(../images/stats-bg.png) no-repeat center / contain;
    width: 95%;
  }

  .rvx-controls {
    inset-inline-start: 45% !important;
    inset-block-end: 2% !important;
  }
}

.faq-section {
  text-align: center;
  padding: 40px 0;
  max-width: 1115px;
  margin: auto;
}

.faq-section-link a {
  color: #3488FC;
  text-decoration: none;
}

.faq-section-link {
  text-align: right;
  padding: 22px;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 50px;
}

.faq-header h2 {
  font-size: 24px;
  font-weight: bold;
}

.faq-header a {
  color: var(--main-color);
  font-size: 16px;
  text-decoration: none;
}

.faq-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.faq-card {
  position: relative;
  background-color: #f4f4f4;
  border-radius: 20px;
  width: 300px;
  padding: 30px 20px 50px;
  text-align: center;
}

.faq-card::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #f4f4f4;
}

.icon {
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

p.welcome-text {
  font-size: 30px;
  margin-bottom: -30px;
  margin-top: -5px;
}

.welcome-text {
  display: flex;
  align-items: center;
  gap: 8px
}

.welcome-logo {
  height: 110px;
  display: inline-block
}

@media (min-width:768px) {
  .welcome-logo {
    height: 110px
  }
}

.icon img {
  width: 46px;
  height: 44px;
}

.faq-card h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #3a3a3a;
}

.faq-card p {
  font-size: 14px;
  color: #3a3a3a;
  line-height: 1.5;
}

.faq-card.top-arrow::after {
  top: -15px;
  bottom: auto;
  border-top: none;
  border-bottom: 15px solid #f4f4f4;
}

.faq-card.top-arrow {
  transform: translateY(30px);
}

.reviews-section {
  width: 80%;
  padding: 50px 0;
  background-color: var(--main-color);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  position: relative;
  height: 300px;
}

.reviews-section-main {
  margin: 250px 90px 200px auto;
}

.section-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 190px;
  color: #000;
  text-align: center;
}

.reviews-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  margin: auto;
  gap: 30px;
}

.reviews-slider {
  width: 54%;
  position: absolute;
  top: -34%;
  left: -64px;
}

.cards-slider {
  display: flex;
  gap: 20px;
}

.review-card {
  flex: 0 0 calc(50% - 10px);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.review-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.review-info {
  position: relative;
  padding: 40px 20px 20px;
  background-color: #3488FC;
  border-radius: 0 0 20px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.review-info::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url('../images/card-bg.png') no-repeat center/cover;
}

.review-info h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.review-info p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.review-info .author {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.stars {
  color: gold;
  font-size: 16px;
}

.review-card.dark {
  background-color: #3a3a3a;
  color: #fff;
}

.review-card.blue {
  background-color: #3488FC;
  color: #fff;
}

.slider-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.slider-controls .dots {
  display: flex;
  gap: 8px;
}

.slider-controls .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
}

.slider-controls .dots span.active {
  background-color: #fff;
}

.slider-controls button {
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .hero-container {
    gap: 60px;
    padding: 0 20px;
  }

  .reviews-section {
    width: 95%;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 9px 15px 80px;
    background-size: cover;
  }

  .hero-container {
    gap: 8px;
    text-align: center;
  }

  .hero-right {
    align-items: center;
    gap: 15px;
  }

  .hero-left {
    margin-top: 63px;
  }

  .person-img {
    width: 193px;
    left: 0;
  }

  .bg-wave {
    width: 178px;
    left: 0;
  }

  .hero-cards {
    gap: 15px;
    margin-bottom: -109px;
    margin-top: -15px;
  }

  .hero-card {
    width: 45%;
    height: 94px;
    font-size: 14px;
  }

  a.blob-btn.blob-btn-1 {
    width: 81px;
    height: 92px;
    margin: 0;
  }

  a.blob-btn.blob-btn-3 {
    width: 106px;
    height: 112px;
    margin: 0;
  }

  a.blob-btn.blob-btn-2 {
    width: 103px;
    height: 98px;
    margin: 0;
  }

  p.card-t {
    font-size: 10px;
    margin-top: 30px;
  }
}

a.ud-item.nav-link:hover {
  color: #fff !important;
}

@media (max-width: 768px) {
  .features-wrapper {
    width: 104%;
  }

  .features-box {
    gap: 0px;
    padding: 15px;
  }

  .feature-item {
    font-size: 15px;
    border: none;
    padding-bottom: 10px;
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  .welcome-logo {
    height: 90px !important;
    display: inline-block;
  }

  .features-wrapper::before {
    width: 97%;
  }
}

@media (max-width: 468px) {
  .person-img {
    width: 160px;
  }

  .hero-cards {
    margin-top: 0px;
  }

  .features h2 {
    font-size: 24px;
  }

  .services h2 {
    font-size: 24px;
  }

  .service-btn.dark {
    background-size: contain;
    font-size: 26px;
  }

  .service-btn.light {
    background-size: contain;
    font-size: 26px;
  }
}

@media (max-width: 992px) {
  .services-box {
    padding: 30px 20px;
    margin: 5px;
  }

  .service-btn {
    padding: 40px 20px;
    font-size: 18px;
  }

  .social-media {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .service-btn {
    font-size: 16px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .media-row {
    flex-direction: column;
    gap: 15px;
  }

  .media-video,
  .media-image {
    flex: 0 0 100%;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 80%;
  }
}

@media (max-width: 768px) {
  .stats-section {
    height: auto;
    padding: 20px 0;
  }

  .stats-overlay {
    gap: 10px;
    width: 80%;
    font-size: 9px;
  }

  .divider {
    width: 40px;
    height: 1px;
  }
}

@media (max-width: 768px) {
  .faq-header {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
    text-align: center;
  }

  .faq-container {
    gap: 15px;
  }

  .faq-card {
    width: 90%;
    padding: 20px;
    margin: 20px;
  }

  .reviews-section-main {
    margin: auto;
  }
}

@media (max-width: 992px) {
  .reviews-section {
    width: 90%;
    height: auto;
    padding: 30px 20px;
  }

  .reviews-content {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .reviews-slider {
    position: static;
    width: 100%;
    top: auto;
    left: auto;
  }

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

  .review-card {
    flex: 0 0 100%;
  }

  .reviews-side {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column {
    border: none;
    padding: 0;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  .tawjihi2009-content {
    background: none !important;
  }

  .tawjihi2009-content {
    padding: 20px !important;
    width: 100% !important;
  }
}

.tawjihi-page {
  max-width: 935px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 15px;
}

.tawjihi-card {
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 15px;
  height: 355px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.tawjihi-card:hover {
  transform: translateY(-5px);
}

.tawjihi-text h3 {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 5px;
}

.tawjihi-text p {
  font-size: 22px;
}

@media (max-width: 768px) {
  .tawjihi-card {
    height: 150px;
  }

  .tawjihi-text h3 {
    font-size: 20px;
  }

  .tawjihi-text p {
    font-size: 14px;
  }
}

.tawjihi2009-page {
  display: flex;
  position: relative;
  min-height: 100vh;
  background: #fff;
}

.tawjihi2009-content {
  padding: 120px;
  width: 100%;
}

.tawjihi2009-content h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.tawjihi2009-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 20px;
}

.subjects-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.subject {
  width: 115px;
  height: 130px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--main-color);
  font-size: 16px;
  text-decoration: none;
}

.tawjihi2009-content {
  background: url('../images/sec-bg.png') no-repeat center/contain;
}

.gprograms-page {
  max-width: 1300px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gprograms-page .flag {
  position: absolute;
  left: 20px;
  font-size: 40px;
}

.gprogram-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100px;
  border-radius: 30px;
  font-size: 37px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.gprogram-card-mixed0 {
  background: url('../images/flagsbg0.png') no-repeat center/cover;
}

.gprogram-card-mixed {
  background-color: #0055d3;
}

.gprogram-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.gprogram-card-mixed-1 {
  background: url('../images/flagsbg1.png') no-repeat center/contain;
}

.gprogram-card-american {
  background-color: #3488FC;
  margin: 0 40px;
}

.gprogram-card-american img {
  position: absolute;
  left: -84px;
  top: -3px;
  height: 200%;
  border-radius: 30px 0 0 30px;
  transform: rotate(27deg);
}

.gprogram-card-british {
  background-color: var(--main-color);
}

.gprogram-card-british img {
  position: absolute;
  left: -22px;
  top: -14px;
  height: 274px;
  border-radius: 30px 0 0 30px;
}

.gprogram-card span {
  flex: 1;
  text-align: center;
  z-index: 1;
}

.gprogram-card-main {
  height: 143px;
  max-width: 1300px;
  width: 100%;
  margin: 10px auto 50px auto;
}

.gprogram-card-main0 {
  height: 315px;
  max-width: 1300px;
  width: 100%;
  margin: 10px auto 50px auto;
}

.grades-basic-page {
  background: url('../images/bg-pattern.png') no-repeat center/cover;
  padding: 40px 20px;
}

.grades-header-wrapper {
  background: url(../images/rec-bg.png) no-repeat center / contain;
  border-radius: 20px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.grades-header-wrapper-basic {
  position: relative;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  max-width: 1300px;
  margin: 0 auto 45px auto;
  overflow: hidden;
}

.grades-header-basic-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.grades-header {
  background-color: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 1300px;
}

.grades-header h2 {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  margin: 0;
}

.header-icon {
  width: 115px;
  height: auto;
}

.grades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 0 30px 0;
  border-radius: 20px;
  width: 90%;
  margin: auto;
  max-width: 1300px;
}

.grades-grid-wrapper {
  background: url(../images/line.png) no-repeat center / contain;
  width: 100%;
}

.grade-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 19px;
}

.grade-card:nth-child(6n+1),
.grade-card:nth-child(6n+3) {
  background-color: var(--main-color);
}

.grade-card:nth-child(6n+2) {
  background-color: #3488FC;
}

.grade-card:nth-child(6n+4),
.grade-card:nth-child(6n+6) {
  background-color: #3488FC;
}

.grade-card:nth-child(6n+5) {
  background-color: var(--main-color);
}

.grade-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .grades-header-wrapper {
    height: 160px;
  }

  .grades-header {
    gap: 30px;
    padding: 15px;
    width: 95%;
  }

  .header-icon {
    width: 80px;
  }

  .grades-header h2 {
    font-size: 22px;
  }

  .grades-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 15px;
  }

  .grade-card {
    font-size: 20px;
    height: 110px;
    padding: 15px;
  }

  .gprograms-page {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .grades-header-wrapper {
    height: 140px;
  }

  .grades-header {
    gap: 20px;
    padding: 10px;
  }

  .header-icon {
    width: 60px;
  }

  .grades-header h2 {
    font-size: 18px;
  }

  .grades-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .grade-card {
    font-size: 18px;
    height: 80px;
    padding: 12px;
  }

  .gprogram-card-american {
    margin: 0 0px;
  }
}

.universities-page {
  padding: 40px 20px;
}

.universities-header-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  height: 315px;
  margin-bottom: 40px;
  margin-top: 55px;
  background: url('../images/header-line.png') no-repeat center center / cover;
}

.universities-header-wrapper00 {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    margin-bottom: 40px; 
    margin-top: 55px; 
}

.universities-header {
  display: flex;
  border-radius: 20px;
  padding: 20px 40px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.universities-header-d {
  display: flex;
  padding: 20px 20px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.universities-header-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.universities-header h2 {
  color: #fff;
  font-size: 37px;
  margin: 0;
}

.universities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
}

.university-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #DDDDDD;
  transition: transform 0.3s ease;
}

.university-card:hover {
  transform: translateY(-5px);
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-image .rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgb(0 0 0 / 47%);
  color: #fff;
  font-size: 23px;
  padding: 2px 8px;
  border-radius: 5px;
}

.card-image .course-name {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 85, 210, 0.8);
  color: #fff;
  font-size: 15px;
  padding: 2px 8px;
  border-radius: 5px;
}

.card-info {
  padding: 15px;
  text-align: right;
}

.card-info .course-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  color: #000;
}

.card-info .course-date {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

a.text-dark {
  color: #000;
}

.instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #000;
}

.instructor img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 16px;
  font-weight: bold;
}

.join-btn {
  background: var(--main-color);
  color: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.join-btn:hover {
  background: #003c9e;
}

.joined-btn {
  background: #00d255;
}

.grade-page {
  padding: 30px 20px;
}

.grade-number {
  font-size: 92px;
  font-weight: bold;
  color: #ffffff33;
}

.semesters-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1300px;
  width: 100%;
  margin: 10px auto 50px auto;
}

.semester-box {
  color: #fff;
  width: 50%;
  padding: 32px 40px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease;
  text-align: center;
  background-color: var(--main-color);
}

.semesters-row .semester-box {
  background-color: #3488FC;
  color: #fff
}

.semesters-row .semester-box.light {
  background-color: #0055D2;
  color: #fff
}

.order-banner-shell {
  margin-bottom: 24px;
}

.order-banner-frame {
  position: relative;
  display: block;
  max-width: 1300px;
  margin: auto;
  overflow: hidden;
}

.order-banner-image {
  width: 100%;
  height: 309px;
  object-fit: cover;
  display: block;
}

.order-banner-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

.order-banner-title h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 35px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

@media (max-width: 768px) {
  .semester-box {
    width: 100%;
    padding: 20px;
  }
  
  .grades-header-wrapper-basic {
    height: 105px;
    margin: 0 auto 0px auto;
}
  
  .universities-header-wrapper00 {
    margin-bottom: 0px;
    margin-top: 0px;
    }

  .semesters-row {
    padding: 0 20px 0 20px;
  }

  .gprogram-card-main0 {
    height: 120px !important;
    font-size: 25px !important;
  }
}

.semester-box:hover {
  transform: translateY(-3px);
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: stretch;
  width: 100%;
  margin: auto;
  max-width: 1300px;
}

.subject-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 22px 15px;
  border-radius: 15px;
  box-sizing: border-box;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.subject-card.dark {
  background-color: var(--main-color);
}

.subject-card.light {
  background-color: #3488FC;
}

.subjects-grid .subject-card:nth-child(odd) {
  background: #0055D2
}

.subjects-grid .subject-card:nth-child(even) {
  background: #3488FC
}

.subject-card:hover {
  transform: translateY(-3px);
}

.subject-icon {
  width: 60px;
  height: 60px;
}

@media (max-width: 768px) {
  .grades-header {
    gap: 10px;
    font-size: 20px;
    height: 62px;
  }
  
   .order-banner-image {
    object-fit: contain!important;
    }

  .grade-number {
    font-size: 40px;
  }

  .semester-box {
    font-size: 16px;
    padding: 12px 25px;
  }

  .grades-header-wrapper {
    background-size: 81% 88px;
  }
}

@media (max-width: 992px) {
  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .subjects-grid {
    grid-template-columns: 1fr;
  }
}

.arabic-courses-section {
  padding: 30px;
}

.arabic-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  width: 90%;
  margin: auto;
}

.arabic-courses-card {
  background: #DDDDDD;
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.arabic-courses-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.arabic-courses-info {
  padding: 15px;
  text-align: center;
}

.arabic-courses-info h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--main-color);
  text-align: right;
}

.arabic-courses-date {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
  text-align: right;
}

.arabic-courses-instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.arabic-courses-instructor img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.arabic-courses-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-decoration-none {
  text-decoration: none !important;
  font-weight: 800;
  font-size: 15px;
  color: #0a55d6;
  max-width: 80px;
  text-align: center;
  transform: translateY(-10px);
}

.card-info a,
.card-info a:link,
.card-info a:visited,
.card-info a:hover,
.card-info a:active,
.card-info a:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.arabic-courses-price {
  font-weight: bold;
  font-size: 16px;
}

.arabic-courses-join {
  background-color: var(--main-color);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

.arabic-courses-join:hover {
  background-color: #3488FC;
}

@media (max-width: 992px) {
  .arabic-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .arabic-courses-grid {
    grid-template-columns: 1fr;
  }
}

.lesson-page {
  padding: 40px 20px;
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.lesson-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.lesson-content .lesson-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.lesson-content .lesson-desc {
  font-size: 14px;
  color: #444;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
}

.lesson-content .lesson-subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
}

.accordion-header {
  width: 100%;
  background: #e0e0e0;
  border: none;
  outline: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #d4d4d4;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #fff;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 15px;
}

.lesson-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.lesson-video {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.lesson-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.disabled-lesson-video {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.disabled-lesson-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  background: rgba(0, 85, 210, 0.7);
  border-radius: 50%;
  padding: 5px 8px;
}

.lesson-info h4 {
  font-size: 16px;
  margin: 0;
  font-weight: bold;
}

.lesson-info p {
  font-size: 13px;
  color: #555;
  margin: 3px 0 0;
}

.lesson-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lesson-card {
  background: #f3f3f3;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.lesson-card-image {
  position: relative;
}

.lesson-card-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  background: rgba(0, 85, 210, 0.7);
  color: #fff;
  border-radius: 50%;
  padding: 8px 10px;
}

.lesson-card-info {
  padding: 20px;
  text-align: center;
}

.lesson-card-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: right;
}

.lesson-card-p {
  text-align: right;
}

.lesson-card-info .price {
  font-size: 22px;
  font-weight: bold;
  color: var(--main-color);
  display: block;
  margin-bottom: 15px;
  text-align: right;
}

.btn-buy {
  display: block;
  background: var(--main-color);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 10px;
}

.btn-add {
  display: block;
  border: 1px solid var(--main-color);
  padding: 10px;
  border-radius: 8px;
  color: var(--main-color);
  text-decoration: none;
  margin-bottom: 10px;
}

.report {
  font-size: 13px;
  color: #888;
}

.lesson-teacher {
  text-align: center;
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .1);
}

.lesson-teacher img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.lesson-teacher h4 {
  font-size: 18px;
  font-weight: bold;
}

.lesson-teacher p {
  font-size: 14px;
  color: #777;
  border: solid #e4e4e4;
  border-radius: 50px;
  padding: 10px;
}

.lesson-card-activation {
  text-align: center;
  background: #f3f3f3;
  padding: 20px;
  border-radius: 15px;
}

.lesson-card-activation h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.lesson-card-activation p {
  font-size: 14px;
  margin-bottom: 10px;
}

.lesson-card-activation input {
  width: 95%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 10px;
}

.lesson-card-activation button {
  background: var(--main-color);
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.video-popup-content {
  background: #000;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  animation: scaleUp 0.3s ease forwards;
}

.video-popup-content iframe {
  width: 100%;
  height: 400px;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .lesson-container {
    grid-template-columns: 1fr;
  }

  .lesson-sidebar {
    order: -1;
  }
}

@media (max-width: 576px) {
  .lesson-content .lesson-title {
    font-size: 22px;
  }

  .lesson-card-info h3 {
    font-size: 16px;
  }

  .lesson-card-info .price {
    font-size: 18px;
  }
}

.accordion-header::after {
  content: "▼";
  font-size: 14px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

.lesson-card-image.playable {
  position: relative;
  cursor: pointer;
}

.lesson-card-image.playable .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 85, 210, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  transition: background 0.3s ease;
}

.lesson-card-image.playable:hover .play-overlay {
  background: rgba(0, 85, 210, 0.9);
}

.checkout-wrapper {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #000;
}

.checkout-heading {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.checkout-box {
  background: #E7E7E7;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid #ddd;
}

.checkout-row.header {
  font-weight: bold;
  border-top: none;
  padding-top: 0;
  background-color: #E7E7E7;
}

.checkout-price {
  font-weight: bold;
  font-size: 18px;
}

.checkout-course {
  display: flex;
  align-items: center;
  gap: 15px;
}

.checkout-course img {
  width: 80px;
  border-radius: 10px;
}

.checkout-course-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.checkout-course-info p {
  margin: 0;
  font-size: 14px;
}

.checkout-total-box {
  margin-bottom: 30px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
}

.checkout-payment-box {
  background: #fff;
  border-radius: 10px;
}

.payment-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-option {
  border: 1px solid var(--main-color);
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  background: #fff;
  color: var(--main-color);
  transition: 0.3s;
}

.payment-option.active,
.payment-option:hover {
  background: var(--main-color);
  color: #fff;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  direction: ltr;
}

.payment-field label {
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}

.payment-field input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.payment-double {
  display: flex;
  gap: 30px;
}

.payment-submit {
  background: var(--main-color);
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
  width: 20%;
}

.payment-submit:hover {
  background: #0042a8;
}

.teacher-profile-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.teacher-header-image img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
  width: 300px;
}

.teacher-details {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
}

.teacher-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin-bottom: 20px;
}

.stat-item span {
  display: block;
  font-size: 25px;
  color: #ffffff;
}

.stat-item strong,
.rating {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.rating i {
  color: #3488FC;
  margin-left: 5px;
}

.teacher-bio {
  margin-bottom: 20px;
}

.teacher-bio h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.teacher-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: #f0f0f0;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.tab-btn.active {
  background: var(--main-color);
  color: #fff;
}

.teacher-content .tab-content {
  display: none;
}

.teacher-content .tab-content.active {
  display: block;
  font-size: 14px;
  color: #333;
}

.teacher-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.teacher-header-image img {
  max-width: 250px;
  height: auto;
}

.teacher-follow-btn button {
  background-color: var(--main-color);
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 6px;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.teacher-follow-btn button:hover {
  background-color: #003f9e;
}

.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('../images/register-bg.png') no-repeat center center / cover;
  position: relative;
  padding: 40px 20px;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(0 78 192 / 96%), rgba(0, 85, 210, 0.3));
  z-index: 1;
}

.auth-content-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.auth-info-box {
  width: 50%;
  color: #fff;
  padding: 30px;
  text-align: center;
  margin-top: 12%;
}

.auth-info-box img {
  width: 330px;
  margin-bottom: 20px;
}

.auth-info-box h2 {
  font-size: 37px;
  margin-bottom: 10px;
}

.auth-info-box p {
  font-size: 21px;
}

.auth-form-box {
  width: 40%;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.auth-form-box h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.auth-form-box input {
  padding: 17px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 15px;
}

.account-type {
  display: flex;
  gap: 10px;
}

.account-type button {
  flex: 1;
  padding: 17px;
  border: none;
  background: #fff;
  border-radius: 8px;
  border: 2px solid var(--main-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--main-color);
  font-weight: bold;
  cursor: pointer;
}

.account-type .active {
  background: var(--main-color);
  color: #fff;
}

.student-info {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  gap: 10px;
}

.student-info img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.student-info .remove {
  margin-right: auto;
  color: red;
  cursor: pointer;
}

.submit-btn {
  padding: 12px;
  background: #3488FC;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

.login-link {
  text-align: center;
  font-size: 14px;
}

@media (max-width: 768px) {
  .auth-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .examx-card {
    margin: 10px;
  }

  .auth-info-box {
    width: 100%;
    margin-top: 0;
    padding: 20px;
  }

  .auth-form-box {
    width: 90%;
    padding: 30px 20px;
  }

  .auth-info-box img {
    width: 180px;
  }

  .auth-form-box input {
    width: -webkit-fill-available;
  }

  .account-type {
    flex-direction: column;
  }
}

.grade-select {
  padding: 15px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 15px;
  font-family: inherit;
}

.otp-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.otp-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.otp-logo {
  width: 180px;
  margin-bottom: 30px;
}

.otp-sent {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 5px;
}

.otp-phone {
  font-size: 22px;
  margin-bottom: 30px;
}

.otp-inputs {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.otp-inputs input {
  width: 70px;
  height: 70px;
  text-align: center;
  font-size: 28px;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-weight: bold;
}

.resend-text {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.resend-text span {
  opacity: 0.8;
}

.courses-header-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  height: 120px;
  margin-bottom: 40px;
}

.courses-header {
  display: flex;
  border-radius: 20px;
  padding: 20px 40px;
  width: 100%;
  max-width: 1300px;
  height: 140px;
  justify-content: center;
  align-items: center;
  background: var(--main-color) url('../images/courses-header-line.png') no-repeat center center / contain;
  background-size: 94% 102%;
}

.courses-header-1 {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1300px;
  justify-content: center;
  align-items: center;
}

.courses-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.courses-header h2 {
  color: #fff;
  font-size: 35px;
  margin: 0;
}

.examx-page {
  max-width: 1300px;
  margin: 40px auto 28px auto;
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif
}

.examx-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1300px;
  width: 100%;
  margin: auto;
}

.examx-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.examx-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.examx-pill i {
  color: #2F66D5;
  font-size: 18px
}

.examx-search {
  margin-top: 15px;
  position: relative
}

.examx-search input {
  text-align: center;
  width: -webkit-fill-available;
  height: 64px;
  border-radius: 40px;
  background: #f8f8f8;
  border: 1px solid #E1E1E1;
  padding: 0 64px 0 24px;
  font-weight: 800;
  color: #2F66D5
}

.examx-search i {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  color: #2F66D5;
  font-size: 18px
}

.examx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 20px 0 20px 0;
}

.examx-card {
  background-color: #DDDDDD;
  border-radius: 26px;
  min-height: 220px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center
}

.examx-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 22px
}

.examx-line {
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 20px;
  color: #252525;
  font-weight: 700
}

.examx-link {
  color: #1356DB;
  text-decoration: none;
  font-weight: 800
}

.examx-meta span {
  margin-inline-end: 6px
}

.examx-meta strong {
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: #1356DB
}

.examx-btn {
  margin-top: auto;
  align-self: flex-start;
  background: #1557DB;
  color: #fff;
  text-decoration: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-weight: 800
}

.examx-btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #0e44ad
}

.examx-card:nth-child(6n+1),
.examx-card:nth-child(6n+3),
.examx-card:nth-child(6n+5) {
  background-image: url('assets_front/images/exam_card.png')
}

.examx-card:nth-child(6n+2),
.examx-card:nth-child(6n+4),
.examx-card:nth-child(6n+6) {
  background-image: url('assets_front/images/exam_card.png')
}

@media(max-width:1200px) {
  .examx-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:768px) {
  .examx-row {
    grid-template-columns: 1fr
  }
  
  .courses-header-wrapper {
    height: 0px;
    margin-bottom: 20px;
    }
  
  .stat-item span {
    font-size: 19px!important;
    }

  .examx-grid {
    grid-template-columns: 1fr
  }

  .examx-search input {
    margin: 10px;
    height: 58px
  }

  .examx-pill {
    height: 58px
  }

  .examx-content {
    padding: 22px
  }

  .sp2-box {
    margin: 20px 10px 20px 10px !important;
  }
}

.examx-dropdown {
  position: relative;
  padding: 5px;
}

.examx-dropdown {
  position: relative;
  display: inline-block
}

.examx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  min-width: 220px;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.examx-pill i {
  transition: transform .2s ease
}

subject-plus-dropdown-examx {
  position: relative;
  z-index: 1002
}

.subject-plus-dropdown-examx .examx-menu {
  z-index: 1003
}

.examx-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 100%;
  max-height: 300px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  padding: 6px;
  display: none;
}

.examx-menu li {
  list-style: none
}

.examx-menu a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 10px;
  color: #111827;
  transition: background .15s ease;
}

.examx-menu a:hover {
  background: #f6f8fc
}

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

.examx-dropdown.open .examx-pill i {
  transform: rotate(180deg)
}

@media (max-width:640px) {
  .examx-pill {
    min-width: unset;
    width: 100%
  }

  .examx-menu {
    min-width: 100%;
    width: 100%
  }
}

.examx-filters {
  width: 100%
}

.examx-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px
}

.examx-dropdown {
  position: relative;
  display: block;
  width: 100%
}

.examx-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%
}

.examx-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 100%;
  width: 100%
}

.examx-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.examx-menu li {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
}

.examx-menu li:hover {
  background: #f0f4ff;
  color: #1356DB;
}

.examx-dropdown.active .examx-menu {
  display: block;
}

.fm3d-videos-block {
  direction: rtl;
  font-family: inherit;
}

.fm3d-videos-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px 0 90px;
}

.fm3d-videos-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000;
}

.fm3d-videos-shell {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 80px;
}

.fm3d-videos-strip {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: clamp(220px, 28vw, 340px);
}

.fm3d-video-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(260px, 28vw, 420px);
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform-origin: center center;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: transform 520ms ease, opacity 380ms ease;
}

.fm3d-video-cover {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fm3d-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fm3d-play-ring {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.18);
}

.fm3d-play-triangle {
  position: relative;
  margin-right: -4px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #ffffff;
}

.fm3d-video-card.fm3d-pos-center {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  z-index: 3;
}

.fm3d-video-card.fm3d-pos-left {
  opacity: 0.8;
  pointer-events: auto;
  transform: translate(calc(-50% - 55%), -50%) scale(0.9) rotateY(14deg);
  z-index: 2;
}

.fm3d-video-card.fm3d-pos-right {
  opacity: 0.8;
  pointer-events: auto;
  transform: translate(calc(-50% + 55%), -50%) scale(0.9) rotateY(-14deg);
  z-index: 2;
}

.fm3d-video-card.fm3d-pos-out {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8) rotateY(0deg);
  z-index: 1;
}

.fm3d-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #2980e4;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fm3d-nav-prev {
  left: 24px;
}

.fm3d-nav-next {
  right: 24px;
}

.fm3d-nav-chevron {
  width: 10px;
  height: 10px;
  border: 3px solid #2980e4;
  border-top: none;
  border-left: none;
}

.fm3d-nav-prev .fm3d-nav-chevron {
  transform: rotate(135deg);
}

.fm3d-nav-next .fm3d-nav-chevron {
  transform: rotate(-45deg);
}

.fm3d-videos-dots {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fm3d-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(6 6 6 / 49%);
  transition: width 220ms ease, background-color 220ms ease;
}

.fm3d-dot.fm3d-dot-active {
  width: 20px;
  background: #2980e4;
}

.fm3d-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.fm3d-video-modal.fm3d-modal-open {
  opacity: 1;
  visibility: visible;
}

.fm3d-video-modal-layer {
  width: min(960px, 90vw);
  border-radius: 18px;
  background: #000;
  padding: 18px 56px;
  position: relative;
}

.fm3d-video-modal-close {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 28px;
  line-height: 1;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.fm3d-video-modal-layout {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fm3d-video-modal-frame {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
}

.fm3d-video-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.fm3d-video-modal-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #2980e4;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fm3d-modal-chevron {
  width: 10px;
  height: 10px;
  border: 3px solid #2980e4;
  border-top: none;
  border-left: none;
}

.fm3d-video-modal-prev .fm3d-modal-chevron {
  transform: rotate(135deg);
}

.fm3d-video-modal-next .fm3d-modal-chevron {
  transform: rotate(-45deg);
}

@media (max-width: 992px) {
  .fm3d-videos-shell {
    padding-inline: 48px;
  }

  .fm3d-video-card {
    width: clamp(260px, 60vw, 420px);
  }
}

@media (max-width: 768px) {
  .fm3d-videos-inner {
    padding-inline: 12px;
  }

  .fm3d-videos-shell {
    padding-inline: 20px;
  }

  .fm3d-videos-strip {
    height: clamp(210px, 56vw, 260px);
  }

  .fm3d-video-card {
    width: 100%;
    max-width: 360px;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92) rotateY(0deg);
    border-radius: 24px;
  }

  .fm3d-video-card.fm3d-pos-left,
  .fm3d-video-card.fm3d-pos-right,
  .fm3d-video-card.fm3d-pos-out {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9) rotateY(0deg);
  }

  .fm3d-video-card.fm3d-pos-center {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  }

  .fm3d-nav-arrow {
    top: auto;
    bottom: -26px;
    transform: translateY(0);
  }

  .fm3d-nav-prev {
    left: 20px;
  }

  .fm3d-nav-next {
    right: 20px;
  }

  .fm3d-video-modal-layer {
    width: 94vw;
    padding: 16px 12px 18px;
  }

  .fm3d-video-modal-layout {
    gap: 6px;
  }

  .fm3d-video-modal-arrow {
    width: 32px;
    height: 32px;
  }

  .fm3d-video-modal-close {
    top: 4px;
    left: 10px;
  }
}

.cmty-page {
  max-width: 1300px;
  margin: 40px auto 28px auto;
  direction: rtl;
  font-family: 'Somar', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif
}

.cmty-feed {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cmty-post {
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  padding: 18px 22px
}

.cmty-post--outlined {
  border: 2px solid #0E5ADF;
  box-shadow: none
}

.cmty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px
}

.cmty-user {
  display: flex;
  align-items: center;
  gap: 12px
}

.cmty-user img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover
}

.cmty-user h4 {
  margin: 0 0 2px 0;
  font-size: 18px
}

.cmty-user time {
  font-size: 12px;
  color: #8c8c8c
}

.cmty-mark {
  width: 46px;
  height: 46px
}

.cmty-text {
  font-size: 20px;
  line-height: 1.8;
  margin: 6px 0 14px;
  color: #1d1d1d
}

.cmty-text a {
  color: #0E5ADF;
  text-decoration: none;
  font-weight: 700
}

.cmty-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px
}

.cmty-like {
  background: #ffffff;
  color: #000000;
  border: solid;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer
}

.cmty-input {
  flex: 1;
  height: 36px;
  border: 1px solid #BFBFBF;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px
}

.cmty-comments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #EFEFEF;
  padding-top: 14px;
  margin-top: 6px
}

.cmty-comment {
  display: flex;
  gap: 10px
}

.cmty-comment img {
  width: 28px;
  height: 28px;
  border-radius: 50%
}

.cmty-comment b {
  display: block;
  font-size: 13px;
  margin-bottom: 2px
}

.cmty-comment p {
  margin: 0;
  font-size: 13px;
  color: #333
}

.cmty-more {
  margin-top: 53px;
  background: transparent;
  border: none;
  color: #000000;
  font-weight: 700;
  cursor: pointer
}

@media(max-width:768px) {
  .cmty-text {
    font-size: 18px
  }

  .cmty-feed {
    margin: 10px;
  }
}

time {
  color: #bfbfbf;
}

.cmty-like i {
  margin-left: 6px;
}

.cmty-more-sec {
  text-align: center;
}

.bq-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bq-item {
  background: #EAEAEA;
  border-radius: 28px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.bq-thumb {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bq-thumb img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.bq-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bq-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.bq-sub {
  font-size: 13px;
  color: #555;
}

.bq-meta {
  font-size: 12px;
  color: #777;
}

.bq-sep {
  margin: 0 6px;
}

.bq-left {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.bq-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0052CC;
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.bq-btn i {
  font-size: 14px;
}

.bq-btn:hover {
  background: #003E99;
}

@media (max-width: 992px) {
  .bq-item {
    grid-template-columns: auto 1fr;
    grid-template-areas: "thumb right" "left  left";
  }

  .bq-thumb {
    grid-area: thumb;
  }

  .bq-right {
    grid-area: right;
  }

  .bq-left {
    grid-area: left;
    margin-top: 10px;
  }
}

.bq-page {
  padding: 30px;
  min-height: 100vh;
  max-width: 1200px;
  margin: auto;
}

.bq-page .bq-container {
  max-width: 1100px;
  margin: 0 auto;
}

a.bq-btn.bq-download {
  background: #0052cc00;
  border: solid 1px var(--main-color);
  color: var(--main-color);
}

.bq-list {
  padding: 20px;
}

.sp2-page {
  max-width: 1300px;
  margin: 40px auto 32px;
  direction: rtl
}

.sp2-head {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px
}

.sp2-brand {
  color: #0B66FF;
  font-weight: 800;
  font-size: 26px;
  line-height: 1
}

.sp2-sub {
  color: #1f1f1f;
  font-size: 20px;
  font-weight: 800
}

.sp2-search {
  max-width: 940px;
  margin: 12px auto 16px;
  background: #E7E7E7;
  height: 48px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative
}

.sp2-search input {
  width: 100%;
  max-width: 420px;
  background: transparent;
  border: none;
  outline: none;
  text-align: center;
  font-size: 15px;
  color: #222
}

.sp2-search i {
  position: absolute;
  left: 18px;
  color: #0B66FF
}

.sp2-box {
  margin: 20px 0 20px 0;
  background: #E5E5E5;
  border-radius: 40px;
  overflow: hidden
}

.sp2-group {
  border-top: 1px solid #dddddd
}

.sp2-group:first-child {
  border-top: none
}

.sp2-group-head {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  padding: 18px 18px;
  font-size: 20px;
  font-weight: 800;
  color: #1d1d1d;
  cursor: pointer
}

.sp2-group-head i {
  padding: 4px;
  font-size: 20px
}

.sp2-panel {
  display: none
}

.sp2-group.is-open .sp2-panel {
  display: block
}

.sp2-table {
  width: 100%;
  border-collapse: collapse
}

.sp2-table thead th {
  background: var(--main-color);
  color: #fff;
  font-weight: 800;
  padding: 12px;
  border-left: 1px solid rgba(255, 255, 255, .25);
  text-align: right;
}

.sp2-table thead th:last-child {
  border-left: none
}

.sp2-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #e6e6e6;
  color: #1f1f1f
}

.sp2-table a {
  color: #0B66FF;
  text-decoration: none
}

.sp2-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.sp2-loc i {
  color: #0B66FF
}

@media(max-width:860px) {
  .sp2-head {
    align-items: center
  }

  .sp2-sub {
    text-align: center
  }

  .sp2-group-head {
    font-size: 18px
  }

  .sp2-table thead {
    display: none
  }

  .sp2-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px
  }

  .sp2-table tbody td {
    border: none;
    padding: 6px 0
  }

  .sp2-table tbody td:nth-child(1) {
    grid-column: 1 / span 2;
    font-weight: 800
  }
}

.co-page {
  max-width: 1300px;
  margin: 20px auto 40px;
  direction: rtl
}

.co-chooser {
  padding: 20px;
  margin: 0 auto 18px;
  position: relative
}

.co-chooser-btn {
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 12px;
  background: #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-weight: 700;
  color: #285ccc;
  cursor: pointer
}

.co-chooser-btn i {
  color: #0B66FF
}

.co-chooser-list {
  display: none;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #e7e7e7
}

.co-chooser-list li {
  padding: 12px 14px;
  border-top: 1px solid #d8d8d8;
  cursor: pointer
}

.co-chooser.open .co-chooser-list {
  display: block
}

.co-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 26px;
  padding: 20px;
}

.co-action {
  background: #fff;
  border-radius: 18px;
  padding: 26px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.co-action-primary {
  background: var(--main-color);
  color: #fff
}

.co-action-title {
  font-weight: 800;
  font-size: 18px
}

.co-btn {
  display: inline-block;
  background: #34C759;
  color: #fff;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 800;
  text-decoration: none
}

.co-btn-inv {
  background: #fff;
  color: var(--main-color)
}

.co-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px;
}

.co-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  transition: transform .2s ease, box-shadow .2s ease
}

.co-card img {
  display: block;
  width: 100%;
  height: auto
}

.co-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08)
}

@media(max-width:900px) {
  .co-actions {
    grid-template-columns: 1fr;
    gap: 12px
  }
}

@media(max-width:640px) {
  .co-grid {
    grid-template-columns: 1fr
  }
}

a.co-btn.co-btn-c {
  background-color: #0055d2;
}

.pkgo-wrap {
  max-width: 1300px;
  margin: 24px auto 64px;
  direction: rtl
}

.pkgo-head {
  display: inline-block;
  background: #222;
  color: #fff;
  border-radius: 22px;
  padding: 14px 26px;
  font-weight: 800;
  margin: 20px
}

.pkgo-row {
  display: grid;
  grid-template-columns: 285px 1fr 204px 146px;
  gap: 16px;
  align-items: center;
  background: #E5E5E5;
  border-radius: 28px;
  margin: 20px
}

.pkgo-price {
  font-weight: 800;
  font-size: 22px;
  text-align: center
}

.pkgo-price span {
  font-size: 18px
}

.pkgo-mid {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.pkgo-title h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #2c2c2c
}

.pkgo-year {
  color: #1a73e8;
  font-weight: 800
}

.pkgo-desc {
  margin: 0;
  color: #4b4b4b
}

.pkgo-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none
}

.pkgo-tags li {
  background: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  color: #4b4b4b
}

.pkgo-cta-col {
  display: flex;
  justify-content: center
}

.pkgo-cta {
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 28px;
  padding: 12px 22px;
  display: inline-block;
  white-space: nowrap
}

.pkgo-side {
  height: 150px;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  text-align: center;
  padding: 0 16px
}

.pkgo-side-1 {
  background: #3488FC
}

.pkgo-side-2 {
  background: var(--main-color)
}

.pkgo-side-3 {
  background: #3488FC
}

@media (max-width:1100px) {
  .pkgo-row {
    grid-template-columns: 120px 1fr 200px 300px
  }
}

@media (max-width:920px) {
  .pkgo-row {
    grid-template-columns: 110px 1fr 180px 260px
  }
}

@media (max-width:820px) {
  .pkgo-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 16px
  }

  .pkgo-price {
    text-align: center
  }

  .pkgo-cta-col {
    justify-content: center
  }

  .pkgo-side {
    height: 170px;
    font-size: 22px
  }

  .pkgo-mid {
    text-align: center;
  }

  .pkgo-tags {
    justify-content: center;
  }
}

.tch-wrap {
  max-width: 1300px;
  margin: 30px auto;
  direction: rtl;
}

.tch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 62px;
  padding: 20px 0 20px 0;
  margin-top: 25px;
}

.tch-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .tch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tch-grid {
    grid-template-columns: 1fr;
  }

  .universities-header {
    background: url(../images/header-line.png) no-repeat center center / contain;
    background-size: 100% auto;
    margin: 10px;
  }

  .grades-grid {
    width: 100%;
  }

  .universities-header-wrapper {
    height: 130px !important;
  }

  [data-aos][data-aos][data-aos-delay="400"].aos-animate,
  body[data-aos-delay="400"] [data-aos].aos-animate {
    transition-delay: .4s;
  }

  [data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: translateZ(0);
  }

  [data-aos][data-aos][data-aos-duration="1000"],
  body[data-aos-duration="1000"] [data-aos] {
    transition-duration: 1s;
  }

  [data-aos][data-aos][data-aos-delay="400"],
  body[data-aos-delay="400"] [data-aos] {
    transition-delay: 0;
  }

  [data-aos][data-aos][data-aos-easing=ease-out-cubic],
  body[data-aos-easing=ease-out-cubic] [data-aos] {
    transition-timing-function: cubic-bezier(.25, .46, .45, .94);
  }

  [data-aos][data-aos][data-aos-duration="600"],
  body[data-aos-duration="600"] [data-aos] {
    transition-duration: .6s;
  }

  [data-aos^=fade][data-aos^=fade] {
    opacity: 0;
    transition-property: opacity, transform;
  }

  .gprogram-card span {
    flex: 1;
    text-align: center;
    z-index: 1;
  }

  *, *:before, *:after {
    box-sizing: border-box;
  }

  .gprogram-card {
    font-size: 30px;
  }
}

.auth-cta {
  display: flex;
  gap: 10px;
}

a.ud-item.nav-link {
  text-decoration: none;
}

a.ud-item.nav-link,
a.ud-item.nav-link:visited,
a.ud-item.nav-link:focus,
a.ud-item.nav-link:active {
  color: inherit;
}

.ud-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 16px
}

.ud-menu {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  padding: 18px;
  position: sticky;
  top: 20px;
  height: max-content
}

.ud-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px
}

.ud-user img {
  width: 64px;
  height: 64px;
  border-radius: 50%
}

.ud-user h3 {
  margin: 0;
  font-size: 22px
}

.ud-user span {
  font-size: 13px;
  color: #6b7280
}

.ud-item {
  font-size: 17px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 12px;
  margin-top: 8px;
  cursor: pointer
}

.ud-item i:first-child {
  color: #000000
}

.ud-item.active,
.ud-item:hover {
  background: #0d5ce5;
  color: #fff
}

.ud-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #fee2e2;
  color: #b91c1c;
  text-decoration: none
}

.ud-content {
  background: #fff;
  border-radius: 20px;
  padding: 18px
}

.ud-panel {
  display: none
}

.ud-panel.show {
  display: block
}

.ud-title {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0 20px;
  display: flex;
  justify-content: space-between;
}

.ud-profile-head {
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
  margin-bottom: 14px
}

.ud-ava {
  padding: 15px;
  width: 120px;
  height: 120px;
  border-radius: 50%
}

.ud-formlist .ud-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #eee
}

.ud-key {
  color: #000000
}

.ud-val {
  color: #a5a5a5;
  font-weight: 600
}

.ud-title small {
  font-size: 17px;
  color: #acacac;
}

.ud-edit {
  gap: 14px;
  max-width: 720px
}

.ud-edit label {
  margin-bottom: 31px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.ud-edit input {
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 12px
}

.ud-primary {
  margin: 5px;
  background: #0d5ce5;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer
}

.ud-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.ud-note {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
  justify-content: space-between;
}

.ud-badge {
  background: #0c5ce5;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px
}

.ud-note-main b {
  color: #0c5ce5;
  display: block
}

.ud-note-main small {
  color: #6b7280
}

.ud-inbox {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px
}

.ud-threads {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.ud-thread {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.ud-thread.active,
.ud-thread:hover {
  border-color: #0d5ce5
}

.ud-thread-user {
  display: flex;
  gap: 10px;
  align-items: center
}

.ud-thread-user img {
  width: 38px;
  height: 38px;
  border-radius: 50%
}

.ud-pill {
  background: #0d5ce5;
  color: #fff;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px
}

.ud-chat {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  display: flex;
  flex-direction: column
}

.ud-chat-flow {
  padding: 14px;
  height: 360px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fbfbfb;
  border-bottom: 1px solid #eee
}

.msg {
  max-width: 70%
}

.msg span {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 14px
}

.msg.from {
  align-self: flex-start
}

.msg.from span {
  background: #e5e7eb
}

.msg.to {
  align-self: flex-end
}

.msg.to span {
  background: #0d5ce5;
  color: #fff
}

.ud-chat-box {
  display: flex;
  gap: 10px;
  padding: 10px
}

.ud-chat-box input {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  height: 44px;
  padding: 0 12px
}

.ud-courses {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ud-course {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0c5ce5;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
}

.ud-course-meta {
  display: flex;
  flex-direction: column;
}

.ud-course-teacher {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ud-course:nth-child(odd) {
  background: var(--main-color) !important;
  color: #fff;
}

.ud-course:nth-child(even) {
  background: #3488FC !important;
  color: #fff;
}

.ud-course-date {
  white-space: nowrap;
  color: #ffffff;
  font-size: 16px !important;
}

span.ud-course-meta-sub {
  font-size: 13px;
}

.ud-course-teacher img {
  width: 41px;
}

@media (max-width: 600px) {
  .ud-course {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .ud-course-date {
    align-self: flex-start;
  }
}

.ud-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px
}

.ud-bar-head {
  display: flex;
  align-items: center;
  gap: 8px
}

.ud-bar-track {
  height: 16px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin: 6px 0
}

.ud-bar-track span {
  display: block;
  height: 100%;
  background: #3488FC
}

.ud-bar-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  justify-content: space-between;
  direction: ltr
}

.ud-kid-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px
}

.ud-kid-head img {
  width: 56px;
  height: 56px;
  border-radius: 50%
}

.ud-bar {
  background-color: var(--main-color);
  padding: 20px;
  color: #fff;
  border-radius: 15px;
}

.ud-offers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px
}

.ud-offer {
  display: grid;
  grid-template-columns: 120px 1fr 71px 170px;
  gap: 12px;
  align-items: center;
  background: #e5e5e5;
  border-radius: 18px
}

.ud-offer-price {
  font-weight: 800
}

.ud-offer-body h3 {
  margin: 0
}

.ud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px
}

.ud-tags span {
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px
}

.ud-offer-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 16px;
  height: 100px;
  text-decoration: none
}

.ud-ghost {
  justify-self: start;
  border: 1px solid #0d5ce5;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  background: #0055d2;
}

.ud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 760px
}

.ud-stu {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #111
}

.ud-stu img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 8px
}

.ud-wallet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 740px
}

.ud-card {
  text-align: center;
  background: linear-gradient(135deg, #0d5ce5 0%, #1e78ff 80%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.ud-card h2 {
  font-size: 42px;
  margin-top: 6px
}

.ud-trans {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.ud-tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6f6f6;
  border-radius: 14px;
  padding: 12px
}

.ud-amt {
  font-weight: 800
}

.ud-amt.neg {
  color: #ef4444
}

.ud-amt.pos {
  color: #16a34a
}

.ud-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px
}

.ud-res {
  justify-content: space-between;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d5ce5;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  padding: 25px
}

.ud-res-score {
  background: #083f9b;
  border-radius: 8px;
  padding: 4px 10px
}

.ud-community {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 820px
}

.ud-postbox {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px;
  background: #fff
}

.ud-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px
}

.ud-post-head img {
  width: 36px;
  height: 36px;
  border-radius: 50%
}

.ud-postbox textarea {
  width: -webkit-fill-available;
  min-height: 140px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px
}

.ud-post-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px
}

.ud-feed {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ud-post {
  border: 2px solid #474747;
  border-radius: 16px;
  padding: 12px;
  background: #fff
}

.ud-post-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}

.ud-post-user {
  display: flex;
  align-items: center;
  gap: 10px
}

.ud-post-user img {
  width: 42px;
  height: 42px;
  border-radius: 50%
}

.ud-q {
  width: 28px
}

.cmty-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #0d5ce5;
  color: #0d5ce5;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px
}

.ud-comment {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  height: 40px;
  padding: 0 10px
}

.ud-support p {
  font-size: 20px;
  margin-bottom: 10px;
  max-width: 680px
}

.ud-wh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #22c55e;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none
}

@media (max-width:1100px) {
  .ud-wrap {
    grid-template-columns: 1fr
  }

  .ud-menu {
    position: static
  }
}

@media (max-width:700px) {
  .ud-offer {
    grid-template-columns: 1fr;
    align-items: stretch
  }

  .ud-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .ud-inbox {
    grid-template-columns: 1fr
  }
}

span.g-sub1 {
  font-size: 17px;
}

.ud-ava-wrap {
  position: relative;
  display: inline-block;
}

.ud-ava-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #0d5ce5;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #fff;
  font-size: 12px;
}

.ud-ava-edit:hover {
  background: #0847b7;
}

a.dl-store0 img {
  width: 100%;
  margin-top: 50px;
}

.dl-app {
  padding: 60px 20px
}

.dl-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 520px 1fr;
  align-items: center;
  gap: 115px
}

.dl-visual {
  aspect-ratio: 1/1;
  border-radius: 50%
}

.dl-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.dl-info {
  text-align: right
}

.dl-title {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 800;
  color: #0a0a0a
}

.dl-sub {
  font-size: 22px;
  color: #a3a8b3;
  margin: 0 0 28px
}

.dl-stores {
  display: flex;
  gap: 16px;
  justify-content: flex-start
}

.dl-store img {
  height: 56px;
  display: block
}

@media (max-width:1024px) {
  .dl-wrap {
    grid-template-columns: 420px 1fr
  }

  .dl-title {
    font-size: 40px
  }

  .dl-sub {
    font-size: 20px
  }

  .dl-store img {
    height: 52px
  }
}

@media (max-width:820px) {
  .dl-wrap {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .dl-visual {
    width: 78%;
    max-width: 460px;
    margin: 0 auto
  }

  .dl-info {
    text-align: center
  }

  .dl-stores {
    justify-content: center;
    flex-wrap: wrap
  }

  .dl-title {
    font-size: 36px
  }

  .dl-sub {
    font-size: 18px
  }

  .dl-store img {
    height: 50px
  }
}

@media (max-width:480px) {
  .dl-title {
    font-size: 30px
  }

  .dl-sub {
    font-size: 16px
  }

  .dl-store img {
    height: 37px
  }

  .dl-app {
    padding: 40px 16px
  }
}

.ct-page {
  padding: 40px 20px
}

.ct-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 40px;
  align-items: start
}

.ct-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06)
}

.ct-head {
  font-size: 42px;
  margin: 0 0 6px;
  color: #0d1b3d;
  font-weight: 800;
  text-align: right
}

.ct-sub {
  text-align: right;
  margin: 0 0 22px;
  color: #305;
  opacity: .8;
  font-size: 18px
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.ct-input {
  width: -webkit-fill-available;
  height: 49px;
  border: 1px solid #001E61;
  border-radius: 14px;
  padding: 0 18px;
  background: #fff;
  font-size: 16px
}

.ct-phone {
  display: flex;
  gap: 0
}

.ct-code {
  border: 1px solid #001E61;
  border-radius: 14px 0 0 14px;
  height: 49px;
  padding: 0 12px;
  background: #fff;
  font-size: 15px
}

.ct-number {
  border-radius: 0 14px 14px 0
}

.ct-text {
  width: -webkit-fill-available;
  border: 1px solid #001E61;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 16px;
  resize: vertical;
  min-height: 140px
}

.ct-btn {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 16px;
  background: var(--main-color);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer
}

.ct-info {
  padding: 10px 0
}

.ct-title {
  font-size: 56px;
  margin: 0 0 10px;
  font-weight: 800;
  color: #0a0a0a
}

.ct-desc {
  font-size: 20px;
  color: #212121;
  opacity: .75;
  margin: 0 0 24px
}

.ct-sec {
  font-size: 32px;
  margin: 26px 0 6px;
  color: #0a0a0a;
  font-weight: 800
}

.ct-note {
  font-size: 18px;
  color: #1d1d1d;
  opacity: .9;
  margin: 0 0 8px;
  line-height: 1.8
}

.ct-mail {
  direction: ltr;
  display: inline-block;
  font-weight: 800;
  color: #0a0a0a
}

@media (max-width:1024px) {
  .ct-wrap {
    grid-template-columns: 440px 1fr
  }

  .ct-title {
    font-size: 48px
  }

  .ct-sec {
    font-size: 28px
  }
}

@media (max-width:820px) {
  .ct-wrap {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .ct-title {
    text-align: right
  }

  .ct-desc {
    text-align: right
  }

  .ct-info {
    padding-top: 0
  }

  .ct-card {
    order: 1
  }

  .ct-info {
    order: 2
  }
}

@media (max-width:480px) {
  .ct-head {
    font-size: 34px
  }

  .ct-title {
    font-size: 40px
  }

  .ct-sec {
    font-size: 24px
  }

  .ct-code {
    grid-column: 1
  }
}

.post-page {
  padding: 32px 20px
}

.post-container {
  max-width: 980px;
  margin: 0 auto
}

.post-hero {
  width: 100%;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 18px
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.post-title {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 800;
  color: #0d1b3d;
  margin: 8px 0 18px
}

.post-body {
  color: #2a2a2a;
  font-size: 16px;
  line-height: 1.9
}

.post-body p {
  margin: 0 0 18px
}

.post-body p:last-child {
  margin-bottom: 0
}

@media (max-width:768px) {
  .post-hero {
    height: 230px;
    border-radius: 16px
  }

  .post-title {
    font-size: 22px
  }

  .post-body {
    font-size: 15px;
    line-height: 1.8
  }
}

.blog-slider {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
}

.blog-slider__title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 22px;
  color: #0e1b3d;
  margin-top: 70px;
}

.blog-slider__shell {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.blog-slider__viewport {
  overflow: hidden;
  flex: 1;
}

.blog-slider__track {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 30px;
}

.blog-card {
  flex: 0 0 calc((100% - 56px)/3);
  background: #fff;
  border-radius: 20px;
  padding: 0 0 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card a {
  text-decoration: none;
  color: #1a1a1a;
  display: block;
}

.blog-card__image {
  border-radius: 18px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: saturate(.9);
  transition: transform .35s ease;
}

.blog-card__title {
  font-size: 15px;
  line-height: 1.5;
  margin: 14px 8px 6px;
  color: #0e1b3d;
  font-weight: 800;
}

.blog-card__excerpt {
  font-size: 12px;
  line-height: 1.6;
  margin: 0 8px 6px;
  color: #4b5162;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card--hidden {
  display: none;
}

.blog-slider__arrow {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #e9eef6;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
  opacity: .9;
  flex-shrink: 0;
}

.blog-slider__arrow span {
  font-size: 24px;
  line-height: 1;
  color: #1b2c57;
}

.blog-slider__arrow:hover {
  background: #d5e0f5;
  transform: translateY(-2px);
}

.blog-slider__arrow:disabled {
  opacity: .35;
  pointer-events: none;
}

.blog-slider__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.blog-slider__dots button {
  width: 9px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: #cdd6ea;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.blog-slider__dots button[aria-current="true"] {
  background: var(--main-color);
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .blog-card {
    flex: 0 0 calc((100% - 28px)/2);
  }

  .blog-slider__shell {
    gap: 8px;
  }

  .blog-slider__arrow {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 600px) {
  .blog-slider {
    padding: 0 12px;
  }

  .blog-slider__shell {
    gap: 6px;
  }

  .blog-card {
    flex: 0 0 100%;
  }

  .blog-card__image img {
    height: 200px;
  }
}

.rvx {
  max-width: 1250px;
  margin: 0 auto;
  padding: 24px
}

.rvx-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin: 40px 0 104px
}

.rvx-wrap {
  position: relative
}

.rvx-stage {
  position: relative;
  background: var(--main-color);
  border-radius: 32px;
  padding: 40px 28px;
  min-height: 420px;
  overflow: visible;
  direction: ltr;
}

.rvx-panel {
  position: absolute;
  inset-inline-end: 80px;
  inset-block-start: 90px;
  width: min(440px, 38vw);
  color: #fff;
  text-align: center
}

.rvx-panel-title {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 18px
}

.rvx-panel-logo {
  width: 200px;
  margin: 12px 0
}

.rvx-panel-sub {
  margin: 0 0 18px;
  opacity: .9;
  letter-spacing: 1px
}

.rvx-panel-link {
  display: inline-block;
  background: #fff;
  color: var(--main-color);
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700
}

.rvx-window {
  position: relative;
  width: 60%;
  margin-inline-end: auto;
  margin-inline-start: -6%;
  overflow: hidden;
  padding-bottom: 20px;
  margin: -40px;
  z-index: 2;
}

@media (max-width:992px) {
  .rvx-window {
    width: 100%;
    margin-inline: 0;
    margin-top: 220px
  }

  .rvx-panel {
    position: static;
    width: 100%;
    text-align: center
  }
}

.rvx-track {
  display: flex;
  gap: 28px;
  transition: transform .5s ease
}

.rvx-card {
  width: 360px;
  min-width: 313px;
  border-radius: 28px;
  overflow: hidden;
  background: #2f2f2f;
}

.rvx-card--dark .rvx-card-body {
  background: #3a3a3a;
  color: #fff
}

.rvx-card--blue .rvx-card-body {
  background: #1e6fe6;
  color: #fff
}

.rvx-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block
}

.rvx-card-body {
  padding: 20px 22px;
  border-radius: 0 0 28px 28px
}

.rvx-card-title {
  font-size: 20px;
  margin: 0 0 12px;
  font-weight: 800
}

.rvx-card-text {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px
}

.rvx-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}

.rvx-card-name {
  font-weight: 700
}

.rvx-card-stars {
  color: #ffcc33;
  letter-spacing: 1px
}

.rvx-controls {
  position: absolute;
  inset-inline-start: 9%;
  inset-block-end: 30%;
  display: flex;
  gap: 16px;
  align-items: center;
  color: #fff
}

.rvx-arrow {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer
}

.rvx-dots {
  display: flex;
  gap: 10px
}

.rvx-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #cfe0ff;
  opacity: .6;
  cursor: pointer
}

.rvx-dots button[aria-current="true"] {
  opacity: 1;
  background: #fff
}

@media (max-width:768px) {
  .rvx-title {
    font-size: 28px
  }

  .rvx-card {
    width: 300px;
    min-width: 300px
  }

  .rvx-panel-title {
    font-size: 28px
  }
}

.tj2009 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 60px 0
}

.tj2009__inner {
  margin-inline: auto;
  padding: 30px;
}

.tj2009__head h2 {
  font-size: 28px;
  margin: 0 0 6px;
  color: #2a2a2a
}

.tj2009__head h3 {
  font-size: 30px;
  margin: 0;
  color: #222
}

.tj2009__subjects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 40px 107px 28px;
  width: 50%;
}

.tj2009__subtitle {
  position: relative;
  z-index: -1;
  font-size: 30px;
  margin: 80px 0 10px;
  color: #222;
  padding: 8px 71px 0px 20px;
}

.tj2009__item {
  display: grid;
  place-items: center;
  width: 187px;
  height: 210px;
  border-radius: 25px;
  background-size: 175px 210px;
  background-repeat: no-repeat;
  background-position: center;
  text-decoration: none;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tj2009__item:hover,
.tj2009__item:focus-visible {
  transform: scale(1.03);
}

.tj2009__item span {
  font-weight: 800;
  font-size: 17px;
  color: #0a55d6;
  max-width: 80px;
  text-align: center;
  transform: translateY(-18px);
}

.text-light {
  color: #fff !important
}

.tj2009__decor {
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: 0
}

.tj2009__decor--left {
  left: 0;
  top: 24px;
  width: min(380px, 44vw)
}

.tj2009__decor--right {
  right: 0;
  top: 213px;
  width: min(85px, 26vw);
}

.tj2009__decor img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain
}

@media (max-width:990px) {
  .tj2009__head h3 {
    font-size: 22px
  }

  .tj2009__subjects {
    gap: 24px
  }

  .tj2009__decor--left {
    top: 100px;
    width: 46vw;
    display: none;
  }

  .tj2009__decor--right {
    top: 360px;
    width: 28vw;
    display: none;
  }

  .tj2009__subjects {
    margin: auto 7px;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 20px;
  }
}

@media (max-width:1330px) {
  .tj2009__subjects {
    margin: auto 5px;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 20px;
  }

  .tj2009__decor--left {
    display: none;
    top: 120px;
    width: 58vw;
    opacity: .9
  }

  .tj2009__decor--right {
    display: none;
    top: auto;
    bottom: 60px;
    width: 34vw;
    opacity: .9
  }
}

@media (max-width:910px) {
  .tj2009 {
    padding-top: 30px
  }

  .tj2009__subjects {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 20px;
  }

  .tj2009__item span {
    font-size: 20px
  }

  .tj2009__decor--left {
    display: none;
    top: 120px;
    width: 58vw;
    opacity: .9
  }

  .tj2009__decor--right {
    display: none;
    top: auto;
    bottom: 60px;
    width: 34vw;
    opacity: .9
  }
}

@media (max-width:660px) {
  .tj2009__head h2 {
    font-size: 22px
  }

  .tj2009__head h3,
  .tj2009__subtitle {
    font-size: 22px
  }

  .tj2009__subjects {
    gap: 0px
  }

  .tj2009__inner {
    margin-inline: auto;
    padding: 0px;
  }

  .tj2009__subtitle {
    margin: 23px 0 10px;
    padding: 8px 32px 0px 20px;
  }

  header.tj2009__head {
    padding: 8px 32px 0px 20px !important;
  }
}

header.tj2009__head {
  padding: 8px 71px 0px 20px;
}

.qbtn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-width: 180px;
  height: 33px;
  background: var(--main-color);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  transition: .2s ease;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08) inset;
  margin-bottom: 20px;
}

.qbtn-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.05)
}

.qbtn-pill:active {
  transform: translateY(0)
}

.qbtn-pill:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 85, 210, .25)
}

.f08-page {
  padding: 20px;
}

.f08-head {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 49px 76px 17px 10px;
}

.f08-section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1000px auto;
  border-radius: 24px;
  padding: 40px 20px;
  color: #fff;
  text-align: center;
  width: 80%;
  margin: auto;
  height: 396px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.f08-title {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 30px;
}

.f08-items {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.f08-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.f08-item img {
  width: 116px;
  height: auto;
}

@media (max-width:1270px) {
  .f08-section {
    background-size: 900px auto
  }
}

@media (max-width:1170px) {
  .f08-section {
    background-size: 780px auto;
    width: 90%
  }

  .f08-items {
    gap: 15px
  }

  .f08-title {
    font-size: 25px;
    margin-bottom: 20px
  }

  .tj2009__item span {
    font-size: 13px
  }
}

@media (max-width:900px) {
  .f08-section {
    background-size: 680px auto;
    width: 100%;
    padding: 17px 10px
  }

  .f08-title {
    margin-bottom: 0;
    font-size: 18px
  }
}

@media (max-width:715px) {
  .f08-section {
    background-size: 580px auto
  }

  .f08-items {
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%
  }

  .tj2009__item {
    width: 120px;
    height: 130px;
    background-size: 100px 116px
  }

  .tj2009__item span {
    font-size: 12px;
    max-width: 72px;
    transform: translateY(-22px)
  }
}

@media (max-width:560px) {
  .f08-section {
    height: 227px !important;
    background-size: 386px 186px;
  }

  .f08-items {
    gap: 8px
  }

  .tj2009__item {
    width: 100px;
    height: 110px;
    background-size: 94px 103px
  }

  .tj2009__item span {
    font-size: 8px;
    max-width: 48px;
    transform: translateY(-4px)
  }
}

@media (max-width:480px) {
  .f08-head {
    font-size: 22px
  }

  .f08-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

@media (max-width:420px) {
  .f08-items {
    gap: 6px
  }

  .tj2009__item {
    width: 88px;
    height: 98px;
    background-size: 76px 88px
  }

  .tj2009__item span {
    font-size: 10px;
    max-width: 60px;
    transform: translateY(-3px)
  }
}

.subjects-grid .subject-card {
  height: 130px !important;
}

.subjects-grid .subject-card i {
  font-size: 2.7em !important;
}

.messages.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.messages .modal-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
}

.messages .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #777;
}

.messages .close:hover {
  color: #000;
}

.messages.modal h3 {
  margin-top: 0;
  color: var(--main-color);
  font-size: 1.5rem;
}

.messages.modal p {
  margin: 15px 0;
  font-size: 1rem;
}

.messages .modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.messages .modal-buttons button {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.messages #continue-shopping {
  background-color: #f8f9fa;
  color: #333;
}

.messages #continue-shopping:hover {
  background-color: #e2e6ea;
}

.messages #go-to-checkout {
  background-color: var(--main-color);
  color: white;
}

.messages #go-to-checkout:hover {
  background-color: #0042a8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.messages.modal {
  animation: fadeIn 0.3s;
}

.lang-dropdown {
  position: relative;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 160px;
  background: #fff;
  border-radius: 8px;
  transform-origin: top right;
  transform: scale(.95) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease, cubic-bezier(.22, .61, .36, 1)), opacity .3s var(--ease, cubic-bezier(.22, .61, .36, 1));
  z-index: 1001;
}

.only-mobile {
  display: none;
}

.cmty-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: nowrap;
}

.cmty-actions .cmty-comment-form {
  flex: 1;
  min-width: 0;
}

.cmty-actions > :not(.cmty-comment-form) {
  flex: 0 0 auto;
  height: 42px;
}

.cmty-comment-form .comment-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.cmty-comment-form .cmty-input {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #f8fafc;
  color: #1b2130;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.cmty-comment-form .cmty-input:focus {
  outline: 0;
  background: #fff;
  border-color: #bcd3ff;
  box-shadow: 0 0 0 3px rgba(46, 108, 240, .12);
}

.cmty-comment-form .cmty-comment-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #0055D2;
  color: #fff;
  cursor: pointer;
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 14px rgba(0, 85, 210, .18);
}

.cmty-comment-form .cmty-comment-btn:hover {
  background: #0a63e7;
}

.cmty-comment-form .cmty-comment-btn:active {
  transform: translateY(1px);
}

@media (max-width:640px) {
  .cmty-actions {
    gap: 8px;
  }

  .cmty-comment-form .cmty-input {
    height: 40px;
  }

  .cmty-comment-form .cmty-comment-btn {
    width: 40px;
    height: 40px;
  }
}

.cmty-create-post .cmty-post {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  margin-bottom: 40px;
}

.cmty-create-post .cmty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cmty-create-post .cmty-mark {
  width: 44px;
  height: 44px;
  object-fit: contain
}

.cmty-create-post .cmty-user {
  display: flex;
  align-items: center;
  gap: 10px
}

.cmty-create-post .cmty-user img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover
}

.cmty-create-post .cmty-textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #f8fafc;
  color: #1b2130;
  line-height: 1.7;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.cmty-create-post .cmty-textarea::placeholder {
  color: #8b93a6
}

.cmty-create-post .cmty-textarea:focus {
  outline: 0;
  background: #fff;
  border-color: #bcd3ff;
  box-shadow: 0 0 0 3px rgba(46, 108, 240, .15);
}

.cmty-create-post .cmty-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.cmty-create-post .cmty-submit-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  background: #0055D2;
  color: #fff;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 14px rgba(0, 85, 210, .18);
}

.cmty-create-post .cmty-submit-btn:hover {
  background: #0a63e7
}

.cmty-create-post .cmty-submit-btn:active {
  transform: translateY(1px)
}

.cmty-create-post .cmty-submit-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none
}

@media (max-width:600px) {
  .cmty-create-post .cmty-post {
    margin: 10px;
    padding: 12px
  }

  .cmty-create-post .cmty-textarea {
    min-height: 120px;
  }
}
