/* === source: utility.css === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

:root {
  /* ألوان أساسية */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text-main: #e6e6e6;
  --color-text-maine: #1f3b63;
  --color-text-muted: #6c757d;
  --color-text-muteds: #555;
  --color-text-mutedsc: #f97316;
  --color-text-mutedscf: #1f4b77;
  --color-text-half: #f4f4f4;
  --color-text-halfy: #162c4a;
  --color-text-halfyp: #1f2937;
  --color-text-halfypy: #6b7280;
  --color-text-hal: #f4f6f9;
  --color-text-whi: #ccc;
  --color-text-end: #dbe3ee;
  --color-text-gray: #f3f4f6;
  --color-text-gr: #f5f7fa;
  --color-text-green: #16a34a;
  --color-text-whitee: #f9fafb;
  --color-text-whiteef: #374151;
  --color-text-bluee: #0f2742;
  --color-text-greeen: #b9e9d3;
  --color-text-grayyy: #bbbfc2;

  /* أزرق غامق/كحلي */
  --color-navy-main: #003F7D;
  --color-navy-mainn: #0B1F2E;
  --color-navy-alt: #ff8c42;
  --color-navy-header: #003F7D;
  --color-navy-text: #0b1c2d;
  --color-navy-text-soft: #003F7D;
  --color-navy-text-sof: #ffc107;
  --color-navy-text-sofi: #003F7D;
  --color-navy-text-dark: #003F7D;
  --color-navy-text-main: #f4f5f7;
  --color-navy-text-darkess: #1a1a1a;
  /* برتقالي */
  --color-orange-main: #f47429;
  --color-orange-alt: #ff7a2f;
  --color-orange-cta: #FF7A1A;
  --color-orange-soft: #f47b20;

  /* أزرق فاتح */
  --color-blue-light: #ffe9dd;
  --color-blue-btn: #6e9fce;
  --color-blue-btns: #003F7D;
  --color-blue-btnss: #7c3aed;
  --color-blue-btnssr: #dcfce7;
  --color-blue-btnssr: #;

  /* رماديات */
  --color-gray-bg-soft: #fff1e6;
  --color-gray-text: #d3d0d0;
  --color-gray-muted: #e8e8e8;
  --color-gray-line: #e0e0e0;
  --color-gray-linee: #ff7a00;
  --color-gray-lineer: #ede9fe;
  --color-grays-lineer: #475569;
  /* red */
  --color-red-line: #ffe8d5;
  --blue-white-gradient: linear-gradient(to bottom,
      #0e2cd5 30%,
      #9db4ff 70%,
      #ffffff 200%);
}

body {
  color: var(--color-white);
  /* overflow: rely on layout fixes in app-shell.css (no horizontal clipping) */
  /* background-image: url("./image/Laptop\ with\ Code\ and\ Cityscape\ Sunset\ 1.svg"); */
  background-size: cover;
  background-position: center;
  font-family: 'Poppins', sans-serif;

}

/* === source: style.css === */



/* ================= HEADER ================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 73px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  z-index: 1000;
  background: var(--color-white);
}

.logo {
  width: 180px;
  height: 37px;
  top: 28px;
  left: 17px;
}

.logo a {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.mobile-logo-link,
.menu-logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.nav a {
  color: var(--color-black);
  text-decoration: none;
  margin: 0 15px;
  transition: 0.3s;
}

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

/* ======================== */
.search-box {
  position: relative;
  width: 312px;
  height: 38px;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding-block: 10px;
  padding-inline-end: 10px;
  padding-inline-start: 35px;
  border: 1px solid var(--color-navy-header);
  border-radius: 25px;
  outline: none;
  transition: 0.3s;
  box-shadow: 0 0 5px var(--color-navy-header);
}

.search-img {
  position: absolute;
  inset-inline-end: 40px;
  top: 10px;
  transform: translateY(-50%);
  width: 59px;
  height: 20px;
  cursor: pointer;
}

.search-img img {
  position: absolute;
  inset-inline-end: -35px;
  top: -0px;
  width: 60px;
  height: 40px;
}

.search-img i {
  position: absolute;
  top: 20px;
  inset-inline-start: 65px;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 13px;
  pointer-events: none;
}

/* ============================== */
.earth-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.earth-icon img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.earth-icon i {
  font-size: 27px;
  color: var(--color-navy-header);
}

.register-btn {
  background: var(--color-navy-header);
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  color: var(--color-white);
  cursor: pointer;
  transition: 0.3s;
  line-height: 1.2;
  align-self: center;
  margin: 0;
  font-size: inherit;
}

.register-btn:hover {
  background: var(--color-orange-main);
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  position: relative;
  background: url("/image/laptop-code-sunset.svg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
}

.contact-hero {
  background: var(--color-white);
  padding: 132px 0 56px;
}

.contact-hero__container {
  width: 90%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.contact-hero__copy {
  position: relative;
}

.contact-hero__dot {
  position: absolute;
  right: -14px;
  top: 92px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1f4e79;
}

.contact-hero__bulletOrange {
  position: absolute;
  left: -6px;
  top: 5px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-orange-main);
  z-index: 0;
}

.contact-hero__titleText {
  position: relative;
  z-index: 1;
}

.contact-hero__leadWord {
  position: relative;
  display: inline-block;
  margin-inline-end: 6px;
}

.contact-hero__leadMark {
  position: absolute;
  left: -10px;
  top: -6px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--color-orange-main);
  z-index: 0;
}

.contact-hero__leadText {
  position: relative;
  z-index: 1;
}

.contact-hero__leadText2 {
  color: #1f4e79;
}

.contact-hero__title {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy-header);
  margin: 0 0 18px;
}

.contact-hero__accent {
  color: var(--color-orange-main);
}

.contact-hero__desc {
  margin: 0 0 18px;
  max-width: 520px;
  color: #696984;
  line-height: 1.7;
}

.contact-hero__link {
  color: var(--color-navy-text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.contact-hero__media {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.contact-hero__mediaDecor {
  --contact-media-stroke: 14px;
  position: relative;
  width: min(680px, 100%);
}

.contact-hero__mediaDecor::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 98px;
  left: 0;
  top: 0;
  background: no-repeat center/100% 100%;
  /* Rounded stroke (caps + join) via inline SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M 7 93 L 7 7 L 93 7' fill='none' stroke='%231f4e79' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  /* Keep stroke fully outside, inner edge flush */
  transform: translate(calc(-0.5 * var(--contact-media-stroke)), calc(-0.5 * var(--contact-media-stroke)));
  z-index: 0;
  pointer-events: none;
}

.contact-hero__mediaDecor::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 110px;
  right: 0;
  bottom: 0;
  background: no-repeat center/100% 100%;
  /* Use same geometry as blue, flipped to bottom-right (prevents clipped/missing segment). */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M 7 93 L 7 7 L 93 7' fill='none' stroke='%23f47429' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  /* Keep stroke fully outside, inner edge flush */
  transform: scale(-1, -1) translate(calc(-0.5 * var(--contact-media-stroke)), calc(-0.5 * var(--contact-media-stroke)));
  transform-origin: center;
  z-index: 0;
  pointer-events: none;
}

.contact-hero__mediaFrame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
  background: #e9eef6;
  isolation: isolate;
  z-index: 1;
}

.contact-hero__mediaClip {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  z-index: 1;
}

.contact-hero__mediaImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.contact-hero__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.contact-hero__mediaClip.is-playing .contact-hero__play {
  opacity: 0;
  pointer-events: none;
}

.contact-hero__playIcon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18);
  position: relative;
}

.contact-hero__playIcon::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 17px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--color-orange-main);
}

/* ================= ABOUT (hero) ================= */

.about-hero {
  background: var(--color-white);
  padding: 120px 0 0;
}

.about-hero__container {
  width: 90%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 56px;
  align-items: center;
}

.about-hero__copy {
  max-width: 720px;
}

.about-hero__title {
  margin: 0 0 14px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #0b0f18;
}

.about-hero__titleRow {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.about-hero__titleYears {
  font-weight: 900;
  font-size: clamp(72px, 7.6vw, 132px);
}

.about-hero__titleYearsWord {
  font-weight: 900;
  font-size: clamp(56px, 6.2vw, 118px);
  color: #1f4e79;
}

.about-hero__titleOf {
  display: block;
  font-weight: 900;
  font-size: clamp(60px, 6vw, 118px);
  color: transparent;
  -webkit-text-stroke: 2.5px var(--color-orange-main);
  text-stroke: 2.5px var(--color-orange-main);
  line-height: 0.98;
  margin-top: 6px;
}

.about-hero__titleLearning {
  display: block;
  font-weight: 900;
  font-size: clamp(72px, 7.4vw, 132px);
  color: #0b0f18;
}

.about-hero__titleDot {
  color: #0b0f18;
}

.about-hero__tagline {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.4vw, 44px);
  font-style: italic;
  letter-spacing: 0.03em;
  color: rgba(11, 15, 24, 0.45);
}

.about-hero__meta {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 15, 24, 0.35);
}

.about-hero__desc {
  margin: 0;
  max-width: 560px;
  color: rgba(11, 15, 24, 0.55);
  line-height: 1.7;
  font-size: 13px;
}

.about-hero__media {
  display: flex;
  justify-content: flex-end;
}

.about-hero__mediaImg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
}

@media (max-width: 992px) {
  .about-hero {
    padding: 112px 0 0;
  }

  .about-hero__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-hero__media {
    justify-content: flex-start;
  }

  .about-hero__mediaImg {
    max-width: 640px;
  }
}

/* ================= ABOUT (stats + marquee) ================= */

.about-stats {
  background: var(--color-white);
  padding: 0;
}

.about-stats__container {
  width: 100%;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #eef3f9;
  border-top: 1px solid rgba(11, 15, 24, 0.06);
  border-bottom: 1px solid rgba(11, 15, 24, 0.06);
}

.about-stats__item {
  padding: 16px 18px;
  text-align: center;
  position: relative;
}

.about-stats__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 0;
  width: 1px;
  background: rgba(11, 15, 24, 0.08);
}

.about-stats__value {
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: #1f4e79;
}

.about-stats__plus {
  font-size: 0.9em;
  color: var(--color-orange-main);
  margin-inline-start: 2px;
}

.about-stats__label {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11, 15, 24, 0.55);
  font-weight: 600;
}

.about-marquee {
  background: #1f4e79;
  color: #fff;
  overflow: hidden;
}

.about-marquee__track {
  display: flex;
  width: max-content;
  animation: about-marquee-scroll 26s linear infinite;
}

.about-marquee__content {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 12px 0;
}

.about-marquee__item {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.about-marquee__sep {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-orange-main);
  flex: 0 0 auto;
  margin-inline: 18px;
}

@keyframes about-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-marquee__track {
    animation: none;
  }
}

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

  .about-stats__item:nth-child(2)::after {
    display: none;
  }

  .about-stats__item:not(:last-child)::after {
    top: auto;
    bottom: auto;
  }

  .about-stats__item:nth-child(1)::after,
  .about-stats__item:nth-child(3)::after {
    top: 18px;
    bottom: 18px;
    right: 0;
    display: block;
  }
}

/* ================= ABOUT (overview / vision / mission) ================= */

.about-overview {
  background: var(--color-white);
  padding: 56px 0 72px;
}

.about-overview__container {
  width: 90%;
  margin-inline: auto;
}

.about-overview__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: rgba(11, 15, 24, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}

.about-overview__kickerNum {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: var(--color-orange-main);
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 6px 7px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-overview__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 84px;
  align-items: start;
}

.about-overview__title {
  margin: 0 0 20px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.about-overview__titleLine {
  display: block;
  font-weight: 900;
  font-size: clamp(52px, 5.2vw, 86px);
}

.about-overview__titleLine--dark {
  color: #0b0f18;
}

.about-overview__titleLine--orange {
  color: var(--color-orange-main);
}

.about-overview__titleLine--blue {
  color: #1f4e79;
}

.about-overview__lead {
  margin: 0 0 16px;
  max-width: 620px;
  color: rgba(11, 15, 24, 0.42);
  line-height: 1.7;
  font-size: 12px;
}

.about-overview__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  padding: 8px 14px;
  background: #eef3f9;
  margin: 10px 0 22px;
}

.about-overview__pillDot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1f4e79;
  flex: 0 0 auto;
}

.about-overview__pillText {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(11, 15, 24, 0.6);
  font-weight: 600;
  white-space: nowrap;
}

.about-overview__para {
  margin: 0 0 12px;
  max-width: 640px;
  color: rgba(11, 15, 24, 0.42);
  line-height: 1.7;
  font-size: 12px;
}

.about-overview__para:last-child {
  margin-bottom: 0;
}

.about-overview__right {
  display: grid;
  gap: 36px;
}

.about-overview__card {
  padding-top: 18px;
}

.about-overview__rule {
  height: 2px;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 999px;
}

.about-overview__rule--orange {
  background: var(--color-orange-main);
}

.about-overview__rule--blue {
  background: #1f4e79;
}

.about-overview__eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 15, 24, 0.45);
  margin-bottom: 6px;
  font-weight: 600;
}

.about-overview__card--vision .about-overview__eyebrow {
  color: #1f4e79;
}

.about-overview__card--mission .about-overview__eyebrow {
  color: var(--color-orange-main);
}

.about-overview__heading {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #0b0f18;
  font-weight: 800;
  text-transform: uppercase;
}

.about-overview__copy {
  margin: 0;
  color: rgba(11, 15, 24, 0.42);
  line-height: 1.7;
  font-size: 12px;
  max-width: 560px;
}

@media (max-width: 992px) {
  .about-overview {
    padding: 44px 0 56px;
  }

  .about-overview__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-overview__right {
    gap: 26px;
  }
}

/* ================= ABOUT (services slider) ================= */

.about-services {
  background: #f6f5f1;
  padding: 56px 0 72px;
}

.about-services__container {
  width: 90%;
  margin-inline: auto;
}

.about-services__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(11, 15, 24, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}

.about-services__kickerNum {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: var(--color-orange-main);
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 6px 7px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-services__title {
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #0b0f18;
  /* ~20% smaller vs original; still scales across breakpoints */
  font-size: clamp(32px, 3.4vw, 54px);
  text-transform: uppercase;
}

.about-services__titleAccent {
  color: var(--color-orange-main);
}

.about-services__desc {
  margin: 0 0 26px;
  max-width: 720px;
  color: rgba(11, 15, 24, 0.42);
  line-height: 1.7;
  font-size: 12px;
}

.about-services__slider {
  --about-services-duration: 28s;
}

.about-services__viewport {
  overflow: hidden;
}

.about-services__track {
  display: flex;
  gap: 18px;
  will-change: transform;
}

.about-services__slider.is-animated .about-services__track {
  animation: about-services-scroll var(--about-services-duration) linear infinite;
}

.about-services__slider:hover .about-services__track {
  animation-play-state: paused;
}

@keyframes about-services-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.about-serviceCard {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(11, 15, 24, 0.06);
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.08);
}

.about-serviceCard__media {
  height: 160px;
  overflow: hidden;
  background: #e9eef6;
}

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

.about-serviceCard__body {
  position: relative;
  padding: 18px 18px 42px;
  text-align: center;
}

.about-serviceCard__eyebrow {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(11, 15, 24, 0.35);
  margin-bottom: 10px;
  font-weight: 600;
}

.about-serviceCard__title {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 900;
  color: #0b0f18;
}

.about-serviceCard__text {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(11, 15, 24, 0.42);
}

.about-serviceCard__num {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(31, 78, 121, 0.12);
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .about-services__slider.is-animated .about-services__track {
    animation: none;
  }
}

@media (max-width: 992px) {
  .about-services {
    padding: 44px 0 56px;
  }

  .about-serviceCard {
    flex: 0 0 72%;
  }

  .about-services__viewport {
    overflow: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .about-services__viewport::-webkit-scrollbar {
    display: none;
  }

  .about-serviceCard {
    scroll-snap-align: start;
  }

  .about-services__slider.is-animated .about-services__track {
    animation: none;
  }
}

/* ================= ABOUT (instructors) ================= */

.about-instructors {
  background: var(--color-white);
  padding: 64px 0 76px;
}

.about-instructors__container {
  width: 90%;
  margin-inline: auto;
}

.about-instructors__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: rgba(11, 15, 24, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}

.about-instructors__kickerNum {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: var(--color-orange-main);
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 6px 7px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-instructors__top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 26px;
}

.about-instructors__mini {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(11, 15, 24, 0.35);
  margin-bottom: 10px;
  font-weight: 600;
}

.about-instructors__title {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-instructors__titleLine {
  display: block;
  font-weight: 900;
  font-size: clamp(42px, 4.4vw, 72px);
  color: #0b0f18;
}

.about-instructors__titleLine--accent {
  color: var(--color-orange-main);
}

.about-instructors__para {
  margin: 0 0 14px;
  color: rgba(11, 15, 24, 0.42);
  line-height: 1.7;
  font-size: 12px;
}

.about-instructors__para:last-child {
  margin-bottom: 0;
}

.about-instructors__list {
  margin-top: 18px;
  border-bottom: 1px solid rgba(11, 15, 24, 0.06);
}

.about-instructors__row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(11, 15, 24, 0.06);
}

.about-instructors__rowNum {
  font-weight: 900;
  color: var(--color-orange-main);
  letter-spacing: 0.06em;
}

.about-instructors__rowTitle {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  color: #0b0f18;
  margin-bottom: 4px;
}

.about-instructors__rowDesc {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(11, 15, 24, 0.42);
  max-width: 980px;
}

.about-instructors__bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(11, 15, 24, 0.06);
}

.about-instructors__pillCard {
  position: relative;
  padding: 34px 26px 28px;
  min-height: 170px;
}

.about-instructors__pillCard:not(:last-child) {
  border-right: 1px solid rgba(11, 15, 24, 0.06);
}

.about-instructors__pillNum {
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 56px;
  font-weight: 900;
  color: rgba(31, 78, 121, 0.10);
  letter-spacing: 0.02em;
  user-select: none;
}

.about-instructors__pillTitle {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: #1f4e79;
  margin-bottom: 10px;
}

.about-instructors__pillDesc {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(11, 15, 24, 0.42);
  max-width: 330px;
}

@media (max-width: 992px) {
  .about-instructors {
    padding: 52px 0 56px;
  }

  .about-instructors__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-instructors__bottom {
    grid-template-columns: 1fr;
  }

  .about-instructors__pillCard {
    border-right: 0;
    border-top: 1px solid rgba(11, 15, 24, 0.06);
  }
}

/* ================= ABOUT (partners band) ================= */

.about-partners {
  background: #f6f5f1;
  padding: 56px 0 72px;
}

.about-partners__container {
  width: 90%;
  margin-inline: auto;
}

.about-partners__title {
  margin: 0 0 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #0b0f18;
  font-size: clamp(20px, 1.8vw, 28px);
}

.about-partners__titleAccent {
  color: var(--color-orange-main);
}

.about-partners__desc {
  margin: 0 0 20px;
  max-width: 980px;
  color: rgba(11, 15, 24, 0.42);
  line-height: 1.7;
  font-size: 12px;
}

.about-partners__band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(11, 15, 24, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.about-partners__logoCell {
  padding: 14px 10px;
  display: grid;
  place-items: center;
  min-height: 56px;
}

.about-partners__logoCell:not(:last-child) {
  border-right: 1px solid rgba(11, 15, 24, 0.08);
}

.about-partners__logoCell img {
  max-width: 160px;
  max-height: 26px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  filter: saturate(0.95);
}

@media (max-width: 992px) {
  .about-partners {
    padding: 44px 0 56px;
  }

  .about-partners__band {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-partners__logoCell:nth-child(3) {
    border-right: 0;
  }

  .about-partners__logoCell {
    border-top: 1px solid rgba(11, 15, 24, 0.08);
  }

  .about-partners__logoCell:nth-child(-n+3) {
    border-top: 0;
  }
}

@media (max-width: 576px) {
  .about-partners__container {
    width: 92%;
  }

  .about-partners__band {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-partners__logoCell:nth-child(3) {
    border-right: 1px solid rgba(11, 15, 24, 0.08);
  }

  .about-partners__logoCell:nth-child(2) {
    border-right: 0;
  }

  .about-partners__logoCell:nth-child(-n+2) {
    border-top: 0;
  }
}

@media (max-width: 576px) {

  .about-hero__container,
  .about-overview__container,
  .about-services__container,
  .about-instructors__container {
    width: 92%;
  }

  .about-hero__titleRow {
    flex-wrap: wrap;
    gap: 10px;
  }

  .about-stats__item {
    padding: 14px 12px;
  }

  .about-stats__value {
    font-size: 22px;
  }

  .about-overview__kicker {
    margin-bottom: 22px;
  }

  .about-overview__pillText {
    white-space: normal;
  }

  .about-services__title {
    line-height: 1.02;
  }

  .about-services__desc {
    margin-bottom: 18px;
  }
}

/* ================= CONTACT (page) ================= */

.contact-main {
  background: var(--color-white);
  padding: 46px 0 0;
}

.contact-main__container {
  width: 90%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}

.contact-main__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy-header);
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-main__kickerLine {
  width: 14px;
  height: 2px;
  background: var(--color-orange-main);
  border-radius: 999px;
}

.contact-main__title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  color: var(--color-navy-header);
}

.contact-main__accent {
  color: var(--color-orange-main);
}

.contact-main__desc {
  margin: 0 0 22px;
  max-width: 560px;
  color: var(--color-navy-text-soft);
  line-height: 1.7;
}

.contact-main__items {
  max-width: 650px;
}

.contact-main__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 10px 0;
}

.contact-main__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--color-navy-header);
}

.contact-main__icon i {
  font-size: 20px;
  color: var(--color-navy-header);
}

.contact-main__itemTitle {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-orange-main);
  text-transform: none;
}

.contact-main__plain {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-navy-header);
}

.contact-main__plain a {
  color: var(--color-navy-header);
  text-decoration: none;
}

.contact-main__plain a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-main__list {
  margin: 0;
}

.contact-main__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 6px;
}

.contact-main__row dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy-header);
  white-space: nowrap;
}

.contact-main__row dd {
  margin: 0;
  font-size: 12px;
  color: var(--color-navy-header);
}

.contact-main__row a {
  color: var(--color-navy-header);
  text-decoration: none;
}

.contact-main__row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-main__sep {
  margin-inline: 8px;
  color: #c7cfdb;
}

.contact-main__divider {
  height: 1px;
  background: rgba(12, 37, 59, 0.1);
  margin: 8px 0;
}

.contact-main__hours {
  margin: 0;
  font-size: 12px;
  color: var(--color-navy-header);
}

.contact-formCard {
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 16px 40px rgba(12, 37, 59, 0.10);
}

.contact-formCard__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy-header);
  text-align: center;
}

.contact-formCard__subtitle {
  margin: 0 0 14px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(12, 37, 59, 0.55);
  text-align: center;
}

.contact-formCard__grid {
  display: grid;
  gap: 10px;
}

.contact-formCard__input,
.contact-formCard__textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 11px 12px;
  background: #f2f4f7;
  color: var(--color-navy-header);
  outline: none;
  font-size: 12px;
}

.contact-formCard__textarea {
  resize: none;
  min-height: 170px;
}

.contact-formCard__submit {
  display: block;
  margin: 16px auto 0;
  background: #0c3b66;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  min-width: 150px;
}

.contact-formCard__submit:hover {
  background: #0a3256;
}

.contact-map {
  background: #eef2ff;
  margin-top: 40px;
}

.contact-map__frame {
  height: 340px;
  width: 100%;
}

.contact-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

@media (max-width: 992px) {
  .contact-hero {
    padding: 108px 0 40px;
  }

  .contact-hero__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-hero__media {
    justify-content: flex-start;
  }

  .contact-hero__dot {
    right: 0;
    top: 78px;
  }

  .contact-hero__title {
    font-size: 24px;
  }

  .contact-hero__bulletOrange {
    top: 34px;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    padding: 100px 0 34px;
  }

  .contact-hero__container {
    width: calc(100% - 32px);
  }

  .contact-hero__mediaDecor {
    width: 100%;
  }

  .contact-formCard {
    padding: 18px 16px 16px;
  }

  .contact-formCard__submit {
    width: 100%;
    min-width: 0;
  }

  .contact-map__frame {
    height: 280px;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 2;
  margin-top: -250px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 30px;
  line-height: 1.6;
}

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

/* زرار أبيض */
.btn-solid {
  background: var(--color-white);
  width: 266px;
  min-height: 55px;
  color: var(--color-black);
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}

.btn-solid span {
  transition: 0.3s ease;
  display: block;
  margin: 0;
  line-height: 1.25;
  text-align: center;
}

.btn-solid:hover span {
  transform: scale(1.2);
}

/* الزرار الشفاف المتغير */
.btn-outline {
  background: transparent;
  width: 266px;
  min-height: 55px;
  color: var(--color-white);
  padding: 14px 30px;
  border-radius: 30px;
  border: 2px solid var(--color-white);
  text-decoration: none;
  transition: 0.4s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}

.btn-outline span {
  transition: 0.3s ease;
  display: block;
  margin: 0;
  line-height: 1.25;
  text-align: center;
}

.btn-outline:hover span {
  transform: scale(1.2);
}

/* ================= Stats ================= */

.stats {
  position: absolute;
  top: 250px;
  left: 80px;
  z-index: 2;
}

.stats div {
  margin-bottom: 20px;
}

.stats h3 {
  font-size: 21px;
  font-style: initial;
  color: var(--color-white);
}

/* ================= Partners ================= */

.partners {
  position: absolute;
  left: 60px;
  bottom: 50px;
  width: 400px;
  overflow: hidden;
  opacity: 0.6;
}

.partners-track {
  display: flex;
  gap: 20px;
  animation: scrollLogos 1s linear infinite alternate;
}

.partners img {
  height: 30px;
  object-fit: contain;
}

/* الحركة */
@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ================= Moving Strip ================= */

.moving-strip {
  position: absolute;
  bottom: 120px;
  left: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 12px 30px;
  border-radius: 30px;
  white-space: nowrap;
}

@keyframes moveStrip {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(60px);
  }
}

/* ================= Scroll Button ================= */

.scroll-btn {
  position: absolute;
  left: 50%;
  bottom: 40px;
  color: var(--color-black);
  font-style: initial;
  transform: translateX(-50%);
  opacity: 0.6;
  background: var(--color-text-muted);
  backdrop-filter: blur(5px);
  padding: 12px 30px;
  border-radius: 30px;
}


/* ==================text============== */
.buttom-right {
  position: absolute;
  bottom: 110px;
  right: 20px;
  margin-bottom: 30px;
  font-size: large;

}

.right-bottom-section {
  position: absolute;
  right: 170px;
  bottom: 70px;
  text-align: center;
  color: var(--color-white);
  font-size: 14px;
}

.image-stack {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  /* الصور فوق بعض */
}

.image-stack img {
  width: 40px;
  /* ممكن تغيري الحجم حسب التصميم */
  height: auto;
  object-fit: contain;
}

.man {
  position: absolute;
  right: 180px;
}

.girl {
  position: absolute;
  right: 160px;
}

.black {
  position: absolute;
  right: 140px;
}

.orange {
  position: absolute;
  right: 115px;
}

.plus {
  position: absolute;
  right: 126px;
  bottom: 5px;
}

.text-image span {
  color: var(--color-orange-main);

}

/* =============================================section mobile============================================== */
/* اخفاء الموبايل افتراضياً (mobile menu is #site-mobile-menu — styled in app-shell.css) */
.mobile-header {
  display: none;

}

/* Tablet/phone: single .hero reflows in app-shell.css (no duplicate mobile-hero). */
@media (max-width: 1024px) {

  .close-menu {
    font-size: 26px;
    cursor: pointer;
    color: var(--color-navy-alt);
  }

  /* Icon helpers were only used by removed home mobile search — keep classes harmless if reused */
  .search-icon {
    background: var(--blue-white-gradient);
    color: var(--color-white);
    padding: 10px;
    border-radius: 10px;
  }

  .mic-icon {
    background: var(--blue-white-gradient);
    color: var(--color-white);
    padding: 10px;
    border-radius: 50%;
  }

}

/* =============================section2=============================== */
.category-section {
  padding: 60px var(--layout-pad-x, 8%);
  display: block;
  box-sizing: border-box;
}

/* Category section: visible on mobile — layout reflow in app-shell.css */

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* NOTE: section headers vary by section; keep generic rules minimal */


.small-title span {
  color: var(--color-orange-main);

}

.section-header h2 {
  font-size: 25px;
  margin-top: 10px;
  color: var(--color-black);
}

/* Category header: match slider (kicker + title sizing/colors) */
.category-section .section-header .section-kicker.hotfi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.category-section .section-header .section-kicker.hotfi .kicker-mark {
  color: var(--color-orange-main);
}

.category-section .section-header .section-kicker.hotfi .kicker-text {
  color: var(--color-gray-linee);
}

.category-section .section-header .section-kicker.hotfi {
  color: var(--color-gray-linee);
  /* Match slider header kicker sizing (responsive) */
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
}

.category-section .section-header h2 {
  /* Match slider header title sizing (responsive) */
  font-size: clamp(1.15rem, 3.1vw, 2.1rem);
  margin: 8px 0;
  color: var(--color-navy-header);
}

.category-section .section-header p {
  color: #64748b;
  /* Match slider header description sizing (responsive) */
  font-size: clamp(0.68rem, 1.6vw, 0.7rem);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

/* =================== Homepage Categories (fresh rebuild) =================== */
.home-categories {
  /* Match homepage pattern: fluid centered band (~90%) */
  width: 90%;
  max-width: none;
  margin-inline: auto;
  box-sizing: border-box;
}

.home-categories__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 22px;
  width: 100%;
  min-width: 0;
}

.home-categories__left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.home-categories__right {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.home-categories__miniGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
}

.home-categories__card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #0c253b;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.16);
  transform: translateZ(0);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.home-categories__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(12, 37, 59, 0.22);
}

.home-categories__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 400ms ease;
}

.home-categories__card:hover img {
  transform: scale(1.06);
}

.home-categories__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.35) 42%,
      rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

.home-categories__overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(92%, 34rem);
}

.home-categories__overlay h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.65vw, 1.25rem);
  line-height: 1.22;
}

.home-categories__overlay p {
  margin: 0;
  font-size: clamp(0.84rem, 1.1vw, 0.98rem);
  line-height: 1.5;
  opacity: 0.92;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-categories__card--featured .home-categories__overlay p {
  -webkit-line-clamp: 3;
}

/* Heights to match Figma mosaic */
.home-categories__card--featured {
  height: 238px;
}

.home-categories__card--tall {
  /* Match screenshot: left column total height equals right column total height */
  height: 308px;
}

.home-categories__card--mini {
  height: 170px;
}

@media (max-width: 1024px) {
  .home-categories__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-categories__miniGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-categories__left,
  .home-categories__right {
    gap: 16px;
  }

  .home-categories__card--featured,
  .home-categories__card--tall {
    height: 210px;
  }

  .home-categories__card--mini {
    height: 170px;
  }
}


.category-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 25px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Featured categories are links; keep original card layout */
.category-grid a.card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Only left column (1–2 featured categories): avoid empty 2fr track */
.category-grid.category-grid--left-only {
  grid-template-columns: 1fr;
  max-width: 26rem;
  margin-inline: auto;
}

/* Repeat the same mosaic for each block of six categories */
.category-section .category-grid+.category-grid {
  margin-top: 25px;
}

/* LEFT */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: 623px;
  /* ده اللي هيظبط التساوي */
  min-width: 0;
  max-width: 100%;
}

.vertical {
  flex: 1;
}

/* RIGHT */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 0;
  max-width: 100%;
}

.large {
  min-height: 280px;
  height: clamp(17.5rem, 32vw, 20rem);
}


.bottom-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.row {
  display: flex;
  gap: 25px;
}

.row .horizontal {
  flex: 1;
  height: 160px;
  transition: 0.4s ease;
}

/* الصورة اللي عليها hover */
.row .horizontal:hover {
  flex: 1.2;
}

.row .horizontal:hover h3 {
  font-size: 20px;
}

/* CARD STYLE */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  transition: 0.4s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.card h3,
.card .content {
  position: absolute;
  color: var(--color-white);
  z-index: 2;
  transition: 0.4s ease;
}

.card h3 {
  bottom: 20px;
  left: 20px;
  font-size: 18px;
}

/* Text block: single absolute anchor; heading must NOT use .card h3 absolute (would overlap <p>) */
.large .content {
  bottom: 20px;
  left: 20px;
  right: 1.25rem;
  max-width: min(60%, 32rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.category-section .category-card-content {
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: min(92%, 30rem);
}

.category-section .category-card-content h3 {
  position: static;
  bottom: auto;
  left: auto;
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.category-section .category-card-content p {
  margin: 0;
  font-size: clamp(0.86rem, 1.2vw, 0.98rem);
  line-height: 1.5;
  opacity: 0.9;
  white-space: normal;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category cards need a stronger bottom overlay for title + description readability */
.category-section .card::after {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0) 78%);
}

/* Horizontal cards are tighter: keep copy narrower so it doesn't collide with edges */
.category-section .card.horizontal .category-card-content {
  max-width: min(70%, 24rem);
}

.large .content h3 {
  position: static;
  bottom: auto;
  left: auto;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
}

.large .content p {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.55;
  margin: 0;
  white-space: normal;
  max-width: 100%;
}

/* Overlay */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* LEFT HOVER (VERTICAL) */
.left-column:hover .vertical {
  flex: 0.7;
}

.left-column .vertical:hover {
  flex: 1.3;
}

.left-column .vertical:hover h3 {
  font-size: 22px;
}

/* RIGHT BOTTOM HOVER (HORIZONTAL) */
.bottom-grid:hover .horizontal {
  transform: scaleX(0.9);
}

.bottom-grid .horizontal:hover {
  transform: scaleX(1.1);
}

.bottom-grid .horizontal:hover h3 {
  font-size: 20px;
}

/* GENERAL HOVER ZOOM */
.card:hover img {
  transform: scale(1.1);
}

/* BUTTON — flex centers the CTA under the category grid in LTR and RTL (no asymmetric offset hack) */
.explore {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-inline: 0;
  width: 100%;
  box-sizing: border-box;
}

.explore :is(button, a) {
  background: linear-gradient(to right, var(--color-navy-text-soft) 50%, var(--color-orange-main) 50%);
  background-size: 200% 100%;
  /* مساحة الحركة */
  background-position: left;
  /* يبدأ من اليمين */
  color: var(--color-white);
  padding: 12px 35px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-position 1.5s ease;
  /* سرعة الحركة */
  text-decoration: none;
  display: inline-block;
}

.explore :is(button, a):hover {
  background-position: right;
  /* يتحرك اللون من اليمين للشمال */
}

/* ==================================== section3 ============================================== */
.best-sellersr {
  padding: 60px 80px;
  background: var(--color-text-half);
}

.containerr {
  max-width: 1300px;
  margin: auto;
}

/* Header */

/* 1fr | centered title | 1fr so “See all” sits on inline-end (right LTR / left RTL) */
.section-headerr {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.top-textr {
  color: var(--color-orange-alt);
  font-size: 14px;
  font-weight: 600;
}

.titler {
  grid-column: 2;
  text-align: center;
  max-width: min(100%, 42rem);
  justify-self: center;
  min-width: 0;
}

.titler h2 {
  font-size: 36px;
  color: var(--color-navy-text);
  margin: 5px 0;
  font-weight: 700;

}

.titler p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.see-allr {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  text-decoration: none;
  color: var(--color-navy-text);
  font-weight: 500;
  white-space: nowrap;
}

/* Cards */

.cardsr {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  justify-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cardr {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 360px;
  position: relative;
  left: 0;
  padding: 15px;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.card-imager {
  position: relative;
  flex-shrink: 0;
}

.card-imager img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;

}

.badgesr {
  position: absolute;
  top: 15px;
  right: 15px;
  left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100% - 30px);
  z-index: 1;
}

/* Nesting beats `* { padding: 0 }` and keeps pills readable on LTR */
.badgesr .badger {
  background: var(--color-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  box-sizing: border-box;
}

.badger {
  background: var(--color-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  box-sizing: border-box;
}

.card-contentr {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  gap: 10px;
}

.card-topr {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.625rem;
  flex-shrink: 0;
}

.card-topr h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy-text);
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  line-height: 1.35;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.durationr {
  background: var(--color-gray-text);
  flex-shrink: 0;
  width: fit-content;
  max-width: 100%;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--color-black);
  text-align: center;
  box-sizing: border-box;
}

.descriptionr {
  font-size: 12px;
  color: var(--color-black);
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
}

/* Button Animation */

.btnr {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  flex-shrink: 0;
  margin-top: auto;
}

.btnr span {
  position: relative;
  z-index: 2;
  /* يخلي النص فوق الطبقة البرتقالى */
}

.btnr::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-orange-alt);
  transition: 0.4s ease;
  z-index: 1;
}

.btnr:hover::before {
  left: 0;
}

.btnr:hover {
  color: var(--color-white);
}

.btnr span {
  position: relative;
  z-index: 1;
}

/* ==================mobile ====================== */
/* تابلت ومتوسط: شبكة مرنة + كروت بعرض الحاوية */
@media (min-width: 769px) and (max-width: 1199px) {
  .best-sellersr .cardsr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    justify-items: stretch;
  }

  .best-sellersr .cardsr .cardr {
    width: 100%;
    max-width: 100%;
    left: 0;
    height: auto;
    min-height: 0;
  }
}

/* Wide desktop: fill grid tracks (matches RTL layout; old 350px + left:-90px caused misalignment) */
@media (min-width: 1440px) {
  .best-sellersr .cardsr .cardr {
    width: 100%;
    max-width: 100%;
    left: 0;
    min-height: 408px;
    height: auto;
  }
}

/* الموبايل: الكروت تحت بعض */
@media (max-width: 768px) {
  .best-sellersr .cardsr {
    grid-template-columns: 1fr;
    /* كارت واحد في كل صف */
    gap: 15px;
  }

  /* نخفي الكارت الرابع والخامس لو موجود */
  .best-sellersr .cardsr .cardr:nth-child(n+4) {
    display: none;
  }

  /* النصوص في النص */
  .best-sellersr .titler {
    text-align: center;
    margin-bottom: 20px;
  }

  /* تصغير الكارت للموبايل */
  .best-sellersr .cardsr .cardr {
    width: 100%;
    /* ياخد كل عرض العمود */
    height: auto;
    /* ارتفاع مرن حسب المحتوى */
    padding: 12px;
    left: 0;
    min-height: 0;
  }

  .best-sellersr .cardsr .card-imager img {
    height: 140px;
    /* أصغر من الديسكتوب */
  }

  .best-sellersr .card-topr h3 {
    font-size: 14px;
  }

  .best-sellersr .descriptionr {
    font-size: 12px;
  }
}

/* === Career path details (static - section 1) === */
.careerpath-details-page {
  width: 90%;
  max-width: 1400px;
  margin: calc(var(--header-height, 73px) + 22px) auto 64px;
}

/* Prevent nested section containers from shrinking twice inside this page */
.careerpath-details-page .containernei {
  width: 100%;
}

.careerpath-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.careerpath-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 63, 125, 0.08);
  color: #003F7D;
  font-weight: 700;
  font-size: 12px;
}

.careerpath-title {
  margin: 12px 0 8px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #003F7D;
}

.careerpath-subtitle {
  margin: 0 0 14px;
  color: rgba(12, 37, 59, 0.70);
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
}

.careerpath-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.careerpath-badge {
  background: #F97316;
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.careerpath-stars {
  font-weight: 800;
  color: #0C253B;
  font-size: 13px;
}

.careerpath-muted {
  color: rgba(12, 37, 59, 0.55);
  font-size: 12px;
  font-weight: 600;
}

.careerpath-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 6px;
  margin-bottom: 18px;
  border-top: 1px solid rgba(12, 37, 59, 0.08);
}

.careerpath-meta__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.careerpath-meta__label {
  color: rgba(12, 37, 59, 0.55);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.careerpath-meta__value {
  color: #0C253B;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.careerpath-meta__icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(0, 63, 125, 0.10);
  color: #3B82F6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.careerpath-meta__icon i {
  font-size: 11px;
}

.careerpath-meta__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.careerpath-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.careerpath-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: #F7FAFF;
  color: rgba(12, 37, 59, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.careerpath-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(12, 37, 59, 0.08);
  box-shadow: 0 16px 40px rgba(12, 37, 59, 0.08);
  padding: 16px;
}

.careerpath-card--schedule {
  margin-top: 14px;
}

.careerpath-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 46px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.careerpath-btn+.careerpath-btn {
  margin-top: 10px;
}

.careerpath-btn--primary {
  background: #F97316;
  color: #fff;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.26);
}

.careerpath-btn--primary:hover {
  background: #ff7a2f;
  transform: translateY(-1px);
}

.careerpath-btn--secondary {
  background: #E5E7EB;
  color: #111827;
}

.careerpath-btn--secondary:hover {
  background: #dfe3ea;
  transform: translateY(-1px);
}

.careerpath-schedule__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #0C3B66;
  margin-bottom: 14px;
}

.careerpath-schedule__title i {
  color: #f47429;
  font-size: 1.1rem;
}

.careerpath-schedule__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.careerpath-schedule__link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid rgba(12, 37, 59, 0.06);
  padding: 8px 12px;
  border-radius: 12px;
  color: #0C3B66;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.careerpath-schedule__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(12, 37, 59, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0C3B66;
  transition: all 0.25s ease;
  font-size: 0.85rem;
}

.careerpath-schedule__label {
  flex-grow: 1;
  text-align: start;
}

.careerpath-schedule__arrow {
  color: rgba(12, 37, 59, 0.4);
  font-size: 0.75rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
}

html[dir="rtl"] .careerpath-schedule__arrow i {
  transform: rotate(180deg);
}

.careerpath-schedule__link:hover {
  background: rgba(244, 116, 41, 0.06);
  border-color: rgba(244, 116, 41, 0.25);
  color: #f47429;
  box-shadow: 0 4px 12px rgba(244, 116, 41, 0.06);
  text-decoration: none;
}

.careerpath-schedule__link:hover .careerpath-schedule__icon {
  background: #f47429;
  color: #ffffff;
}

.careerpath-schedule__link:hover .careerpath-schedule__arrow {
  color: #f47429;
  transform: translateX(3px);
}

html[dir="rtl"] .careerpath-schedule__link:hover .careerpath-schedule__arrow {
  transform: translateX(-3px);
}

/* === Public Classroom page (static) === */
.classroom-page {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 64px;
  padding-top: var(--header-height, 73px);
}

.classroom-hero {
  border-radius: 18px;
  overflow: hidden;
  background: #0C3B66;
  color: #fff;
  position: relative;
}

/* Full-bleed hero (matches screenshot strip) */
.classroom-hero--full {
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.classroom-hero--full .classroom-hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px max(24px, 5vw) 30px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.classroom-hero__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.classroom-hero__back {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
}

.classroom-hero__back:hover {
  background: rgba(255, 255, 255, 0.16);
}

.classroom-hero__back i {
  font-size: 14px;
}

.classroom-hero::after {
  content: '';
  position: absolute;
  inset: -40px -40px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: -120px 60px 0 rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.classroom-hero__inner {
  position: relative;
  z-index: 1;
}

.classroom-hero__kicker {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.classroom-hero__top {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.classroom-hero__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.classroom-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
}

.classroom-hero__metaItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.classroom-hero__metaItem i {
  opacity: 0.95;
}

.classroom-hero__rating {
  text-align: right;
  min-width: 120px;
}

.classroom-hero__stars {
  color: #F59E0B;
  letter-spacing: 1px;
  font-size: 12px;
  margin-bottom: 6px;
}

.classroom-hero__score {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.classroom-hero__reviews {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
  font-weight: 700;
}

/* === Blogs (static) === */
.blogs-hero {
  border-radius: 18px;
  overflow: hidden;
  background: #0C3B66;
  color: #fff;
  position: relative;
}

.blogs-hero--full {
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.blogs-hero::after {
  content: '';
  position: absolute;
  inset: -60px -60px auto auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    -150px 80px 0 rgba(255, 255, 255, 0.04),
    -260px 160px 0 rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.blogs-hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--header-height, 73px) + 34px) max(24px, 5vw) 36px;
  position: relative;
  z-index: 1;
}

.blogs-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.blogs-hero__content {
  max-width: 720px;
}

.blogs-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 37, 59, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #F47429;
}

.blogs-hero__kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #F47429;
}

.blogs-hero__title {
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.02;
  font-weight: 900;
}

.blogs-hero__title span {
  color: #F47429;
}

.blogs-hero__desc {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}

.blogs-hero__stats {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.blogs-stat {
  width: min(360px, 100%);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.blogs-stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.blogs-stat__icon i {
  font-size: 16px;
}

.blogs-stat__label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.2;
}

.blogs-stat__value {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .blogs-hero__grid {
    grid-template-columns: 1fr;
  }

  .blogs-hero__stats {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .blogs-hero__stats {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .blogs-toolbar__row {
    flex-wrap: wrap;
  }

  .blogs-search {
    min-width: 0;
    max-width: 100%;
  }

  .blogs-controls {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .blogs-hero__title {
    font-size: 34px;
  }
}

.blogs-page {
  width: 90%;
  max-width: 1400px;
  margin: 18px auto 64px;
  transition: opacity 0.22s ease;
}

.blogs-page[aria-busy="true"] {
  opacity: 0.68;
  pointer-events: none;
}

/* Toolbar (search + controls) */
.blogs-toolbar {
  background: #fff;
  border-bottom: 1px solid rgba(12, 37, 59, 0.10);
}

.blogs-toolbar--full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.blogs-toolbar__inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 0;
}

.blogs-toolbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.blogs-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 640px;
  min-width: 280px;
}

.blogs-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(12, 37, 59, 0.45);
  font-size: 14px;
}

.blogs-search input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  padding-left: 40px;
  padding-right: 12px;
  outline: none;
  background: rgba(12, 37, 59, 0.03);
  color: #0C253B;
  font-weight: 600;
}

.blogs-search input::placeholder {
  color: rgba(12, 37, 59, 0.45);
  font-weight: 600;
}

/* Safety: never hide the toolbar search */
.blogs-toolbar .blogs-search {
  display: block !important;
}

.blogs-toolbar .blogs-search input {
  display: block !important;
}

.blogs-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.blogs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blogs-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.blogs-select-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(12, 37, 59, 0.45);
}

.blogs-toolbar-field {
  appearance: none;
  -webkit-appearance: none;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: rgba(12, 37, 59, 0.03);
  padding: 0 32px 0 12px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(12, 37, 59, 0.72);
  cursor: pointer;
  min-width: 140px;
  max-width: 220px;
}

.blogs-toolbar-field:focus {
  outline: none;
  border-color: rgba(0, 63, 125, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 63, 125, 0.12);
}

.blogs-select-wrap--narrow .blogs-toolbar-field {
  min-width: 104px;
  max-width: 130px;
}

.blogs-segments {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: rgba(12, 37, 59, 0.03);
}

.blogs-segment-option {
  position: relative;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 12px;
  color: rgba(12, 37, 59, 0.68);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.blogs-segment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.blogs-segment-option span {
  pointer-events: none;
}

.blogs-segment-option.is-active {
  background: rgba(0, 63, 125, 0.08);
  border-color: rgba(0, 63, 125, 0.30);
  color: #003F7D;
  box-shadow: inset 0 0 0 1px rgba(0, 63, 125, 0.14);
}

.blogs-segment-option:hover:not(.is-active) {
  background: rgba(12, 37, 59, 0.04);
  color: rgba(12, 37, 59, 0.82);
}

.blogs-segment-option:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 63, 125, 0.12);
}

.blogs-emptyState {
  margin: 0;
  padding: 26px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(12, 37, 59, 0.55);
  border: 1px dashed rgba(12, 37, 59, 0.14);
  border-radius: 16px;
  background: rgba(12, 37, 59, 0.02);
}

button.blogs-chip {
  margin: 0;
  font: inherit;
}

[dir="rtl"] .blogs-search i {
  left: auto;
  right: 14px;
}

[dir="rtl"] .blogs-search input {
  padding-left: 12px;
  padding-right: 40px;
}

[dir="rtl"] .blogs-select-wrap::after {
  right: auto;
  left: 10px;
}

[dir="rtl"] .blogs-toolbar-field {
  padding: 0 12px 0 32px;
}

.blogs-select,
.blogs-segment {
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: rgba(12, 37, 59, 0.03);
  padding: 0 12px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(12, 37, 59, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.blogs-segment.is-active {
  background: rgba(0, 63, 125, 0.08);
  border-color: rgba(0, 63, 125, 0.30);
  color: #003F7D;
  box-shadow: inset 0 0 0 1px rgba(0, 63, 125, 0.14);
}

.blogs-toolbar__chips {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blogs-chipLabel {
  font-size: 11px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.55);
  margin-right: 2px;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  min-height: 26px;
}

.blogs-chip {
  border: 1px solid rgba(0, 63, 125, 0.18);
  background: rgba(0, 63, 125, 0.06);
  color: rgba(12, 37, 59, 0.78);
  height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.blogs-chip i {
  font-size: 11px;
  opacity: 0.6;
}

.blogs-clear {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: rgba(0, 63, 125, 0.88);
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  margin: 0;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  vertical-align: top;
}

.blogs-clear:hover {
  color: #003F7D;
  text-decoration: underline;
}

.blogs-clear:focus-visible {
  outline: 2px solid rgba(0, 63, 125, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Section heading */
.blogs-section {
  margin-top: 28px;
}

.blogs-section__head {
  padding: 6px 2px 14px;
}

.blogs-kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(244, 116, 41, 0.85);
}

.blogs-title {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 900;
  color: #0C253B;
}

.blogs-headRow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
  width: 100%;
}

.blogs-rule {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(12, 37, 59, 0.10);
}

.blogs-count {
  font-weight: 600;
  font-size: 11px;
  color: rgba(12, 37, 59, 0.45);
}

/* Featured grid */
.blogs-featuredGrid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.blogs-card {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.08);
}

.blogs-card__media {
  height: 170px;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 63, 125, 0.70), rgba(12, 37, 59, 0.70));
}

.blogs-card__media--photoA {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.10)),
    radial-gradient(circle at 20% 30%, rgba(244, 116, 41, 0.35), transparent 55%),
    linear-gradient(135deg, #0C3B66, #0C253B);
}

.blogs-card__media--photoB {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.10)),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #155A9B, #0C253B);
}

.blogs-card__media--photoC {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.10)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #1A2E44, #0C253B);
}

.blogs-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 22px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.40);
  color: rgba(255, 255, 255, 0.92);
}

.blogs-badge--right {
  left: auto;
  right: 10px;
  background: rgba(244, 116, 41, 0.85);
  color: #fff;
}

.blogs-badge--ghost {
  left: auto;
  right: 10px;
  background: rgba(0, 0, 0, 0.42);
}

.blogs-badge--solid {
  background: rgba(12, 37, 59, 0.75);
}

.blogs-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: rgba(244, 116, 41, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.blogs-card__body {
  padding: 14px 14px 16px;
  color: #0C253B;
}

.blogs-card__tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(244, 116, 41, 0.85);
  margin-bottom: 6px;
}

.blogs-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  color: #0C253B;
}

.blogs-card__desc {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(12, 37, 59, 0.62);
  font-weight: 600;
}

.blogs-card--featured .blogs-card__title {
  font-size: 14px;
}

.blogs-card--featured .blogs-card__media {
  height: 210px;
}

.blogs-card--featured .blogs-card__desc {
  font-size: 11px;
}

.blogs-card__meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.blogs-author__avatar {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #003F7D;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}

.blogs-author__txt strong {
  display: block;
  font-size: 11px;
  font-weight: 900;
}

.blogs-author__txt span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.55);
}

.blogs-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.55);
}

.blogs-btn {
  margin-top: 12px;
  height: 34px;
  border-radius: 10px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 11px;
}

.blogs-btn--primary {
  background: #003F7D;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 63, 125, 0.22);
}

.blogs-btn--outline {
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: rgba(12, 37, 59, 0.03);
  color: rgba(12, 37, 59, 0.78);
}

.blogs-btn--accent {
  border-color: rgba(244, 116, 41, 0.30);
  background: rgba(244, 116, 41, 0.10);
  color: #F47429;
}

/* Latest grid */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Popular topics */
.blogs-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0 0;
}

.blogs-topic {
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: #fff;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(12, 37, 59, 0.05);
}

.blogs-topic i {
  font-size: 12px;
  color: rgba(12, 37, 59, 0.55);
}

.blogs-topic__label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(12, 37, 59, 0.78);
}

.blogs-topic__count {
  font-size: 11px;
  font-weight: 900;
  color: rgba(12, 37, 59, 0.55);
}

.blogs-topic.is-active {
  border-color: rgba(244, 116, 41, 0.35);
  background: rgba(244, 116, 41, 0.10);
}

.blogs-topic.is-active i,
.blogs-topic.is-active .blogs-topic__count,
.blogs-topic.is-active .blogs-topic__label {
  color: #F47429;
}

/* Video insights */
.blogs-section--soft {
  background: rgba(12, 37, 59, 0.03);
  border-top: 1px solid rgba(12, 37, 59, 0.06);
  border-bottom: 1px solid rgba(12, 37, 59, 0.06);
  padding: 18px 0 22px;
  margin-top: 28px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.blogs-section--soft .blogs-section__head,
.blogs-section--soft .blogs-videoGrid,
.blogs-section--soft .blogs-carouselArrows {
  width: 90%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.blogs-viewAll {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: rgba(0, 63, 125, 0.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blogs-videoGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.blogs-videoCard {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.08);
}

.blogs-videoCard__media {
  height: 150px;
  position: relative;
}

.blogs-videoCard__media--space {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.12)),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #1A2E44, #0C253B);
}

.blogs-videoCard__media--laptop {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.10)),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, #155A9B, #0C253B);
}

.blogs-play--video {
  width: 42px;
  height: 42px;
}

.blogs-videoCard__body {
  padding: 12px 12px 14px;
}

.blogs-videoCard__title {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  color: #0C253B;
}

.blogs-videoCard__desc {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.6;
  color: rgba(12, 37, 59, 0.58);
  font-weight: 600;
}

.blogs-videoCard__link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  color: rgba(244, 116, 41, 0.92);
  text-decoration: none;
}

.blogs-carouselArrows {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.blogs-arrow {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: #fff;
  color: rgba(12, 37, 59, 0.65);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.blogs-arrow:hover {
  background: rgba(12, 37, 59, 0.03);
}

/* === Blog details (static) — rebuilt to match Figma === */
.blogd-hero {
  background: #fff;
  overflow: hidden;
}

.blogd-hero--full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.blogd-hero__inner {
  max-width: none;
  margin: 0;
  padding: var(--header-height, 73px) 0 0;
}

.blogd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  min-height: 360px;
  align-items: stretch;
}

/* Left */
.blogd-left {
  padding: 36px 34px 0 max(24px, 5vw);
  border-right: 1px solid rgba(12, 37, 59, 0.08);
  display: flex;
  flex-direction: column;
}

.blogd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(244, 116, 41, 0.10);
  color: #F47429;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  align-self: flex-start;
}

.blogd-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #F47429;
}

.blogd-h1 {
  margin: 16px 0 12px;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 900;
  color: #0C253B;
}

.blogd-h1 .is-blue,
.blogd-rich .is-blue,
.blogs-hero__title .is-blue {
  color: #0B63B4;
}

.blogd-h1 .is-orange,
.blogd-rich .is-orange,
.blogs-hero__title .is-orange {
  color: #F47429;
}

.blogd-lede {
  margin: 0;
  max-width: 520px;
  color: rgba(12, 37, 59, 0.62);
  font-size: 12px;
  line-height: 1.75;
  font-weight: 600;
}

.blogd-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0 18px;
  border-top: 1px solid rgba(12, 37, 59, 0.08);
}

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

.blogd-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0C253B;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}

.blogd-avatar img,
.blogd-wauthor__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.blogd-authorName {
  font-size: 11px;
  font-weight: 900;
  color: #0C253B;
  line-height: 1.2;
}

.blogd-authorRole {
  font-size: 10px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.55);
}

.blogd-miniMeta {
  min-width: 110px;
}

.blogd-miniMeta__top {
  font-size: 11px;
  font-weight: 900;
  color: #0C253B;
  line-height: 1.2;
  text-align: left;
}

.blogd-miniMeta__bot {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(12, 37, 59, 0.40);
  text-align: left;
}

/* Right */
.blogd-right {
  background: #0C3B66;
  color: #fff;
  position: relative;
  padding: 26px max(24px, 5vw) 18px 26px;
}

.blogd-right::after {
  content: '';
  position: absolute;
  inset: -60px -60px auto auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: -160px 90px 0 rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.blogd-right__kicker {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}

.blogd-right__cards {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.blogd-outCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.blogd-outCard__label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.80);
}

.blogd-outCard__value {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.blogd-outCard__unit {
  font-size: 12px;
  font-weight: 900;
  color: rgba(244, 116, 41, 0.92);
  margin-left: 3px;
}

.blogd-bars {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.blogd-bar__row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 6px;
}

.blogd-bar__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.blogd-bar__track span {
  display: block;
  height: 100%;
  background: #F47429;
}

/* Search under hero (Figma) */
.blogd-search {
  background: #fff;
}

.blogd-search--full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.blogd-search__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 max(24px, 5vw) 18px;
}

.blogd-search__box {
  width: 520px;
  max-width: 100%;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(12, 37, 59, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(12, 37, 59, 0.02);
  box-shadow: 0 18px 40px rgba(12, 37, 59, 0.08);
}

.blogd-search__box i {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: rgba(12, 37, 59, 0.45);
  font-size: 14px;
}

.blogd-search__box input {
  flex: 1 1 auto;
  height: 44px;
  border: none;
  outline: none;
  font-size: 11px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.78);
  padding: 0;
  padding-right: 12px;
  background: transparent;
  line-height: 1.2;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  padding-block: 0;
  margin: 0;
}

.blogd-search__box input::placeholder {
  color: rgba(12, 37, 59, 0.38);
  font-weight: 700;
}

.blogd-search__btn {
  height: 44px;
  min-width: 96px;
  padding: 0 20px;
  border: none;
  background: #0C3B66;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 0 14px 14px 0;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-block: 0;
  margin: 0;
}

.blogd-search__btn:hover {
  background: #0A3358;
}

/* === Blog details: article + sidebar === */
.blogd-body {
  background: #fff;
  color: #0C253B;
  padding: 28px 0 64px;
}

.blogd-body__inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.blogd-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.blogd-main {
  min-width: 0;
}

.blogd-sidebar {
  position: sticky;
  top: calc(var(--header-height, 73px) + 16px);
  display: grid;
  gap: 14px;
}

.blogd-prose,
.blogd-rich p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.75;
  color: #0C253B;
  font-weight: 500;
}

/* Blog long description fallback container */
.blogd-rich {
  color: #0C253B;
}

.blogd-rich ul,
.blogd-rich ol {
  margin: 0 0 16px;
  padding-inline-start: 1.2em;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(12, 37, 59, 0.68);
}

.blogd-rich h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: #0C253B;
  line-height: 1.25;
}

.blogd-h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: #0C253B;
  line-height: 1.25;
}

.blogd-h2:first-of-type {
  margin-top: 0;
}

.blogd-h2--accent {
  color: #0B63B4;
}

.blogd-prose--highlight {
  font-weight: 900;
  color: #0B63B4;
  font-size: 13px;
}

.blogd-strong {
  color: #003F7D;
  font-weight: 900;
}

.blogd-quote {
  margin: 20px 0;
  padding: 16px 16px 16px 18px;
  background: rgba(244, 116, 41, 0.10);
  border-left: 4px solid #F47429;
  border-radius: 0 12px 12px 0;
}

.blogd-quote__text {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
  color: #0C253B;
}

.blogd-quote__cite {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  color: rgba(12, 37, 59, 0.55);
}

.blogd-figure {
  margin: 20px 0;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.blogd-figure__media {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blogd-figure__media--photo {
  background-color: #0C253B;
}

.blogd-figure__media--classroom {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05)),
    linear-gradient(135deg, #155A9B, #0C253B);
}

.blogd-figure__media--mentorship {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05)),
    linear-gradient(135deg, #4a6fa5, #1a2e44);
}

.blogd-figure__media--desk {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.02)),
    linear-gradient(135deg, #6b5344, #2c2419);
}

.blogd-figure__cap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: #F5F6F8;
  font-size: 11px;
  font-weight: 600;
  color: rgba(12, 37, 59, 0.58);
}

.blogd-figure__cap i {
  margin-top: 2px;
  color: rgba(12, 37, 59, 0.45);
}

.blogd-curriculum {
  margin: 20px 0;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.blogd-curriculum__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #0C3B66;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.blogd-curriculum__head i {
  opacity: 0.95;
}

.blogd-curriculum__list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
}

.blogd-curriculum__list ul,
.blogd-curriculum__list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blogd-curriculum__list li {
  padding: 12px 14px 12px 38px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(12, 37, 59, 0.72);
  border-top: 1px solid rgba(12, 37, 59, 0.06);
  position: relative;
}

.blogd-curriculum__list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #F47429;
}

.blogd-videoBox {
  margin: 20px 0;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.blogd-videoBox__player {
  aspect-ratio: 16/9;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.blogd-videoBox__play {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.blogd-videoBox__hint {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}

.blogd-videoBox__cap {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  background: #F5F6F8;
  font-size: 11px;
  font-weight: 600;
  color: rgba(12, 37, 59, 0.58);
}

.blogd-videoBox__cap i {
  margin-top: 2px;
  color: rgba(12, 37, 59, 0.45);
}

.blogd-videoBox__player.blogd-videoBox__player--playing {
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  flex-direction: row;
}

.blogd-videoBox__player--playing .blogs-player-el--iframe,
.blogd-videoBox__player--playing .blogs-player-el--native {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
  background: #000;
}

.blogs-card__media.blogs-inline-video--playing,
.blogs-videoCard__media.blogs-inline-video--playing {
  background-color: #0a0f14 !important;
  background-image: none !important;
}

.blogs-inline-video--playing .blogs-player-el--iframe,
.blogs-inline-video--playing .blogs-player-el--native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 4;
}

.blogs-video-modal {
  border: none;
  padding: 0;
  max-width: calc(100vw - 48px);
  width: min(960px, 100vw - 32px);
  background: transparent;
  color-scheme: dark;
}

.blogs-video-modal::backdrop {
  background: rgba(8, 20, 35, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blogs-video-modal__shell {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.06),
    0 36px 80px rgba(12, 37, 59, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.blogs-video-modal__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 20px;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.blogs-video-modal__close>span {
  display: block;
  line-height: 1;
  transform: translateY(-0.5px);
}

.blogs-video-modal__close:hover {
  background: rgba(244, 116, 41, 0.95);
  border-color: transparent;
  transform: scale(1.04);
}

.blogs-video-modal__frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: min(85vh, 900px);
  background: #000;
}

.blogs-video-modal__frame .blogs-player-el--iframe,
.blogs-video-modal__frame .blogs-player-el--native {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.blogs-video-modal[open] {
  margin: auto;
}

.blogd-promo {
  margin: 24px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px;
  background: #F5F6F8;
  border-left: 4px solid #F47429;
  border-radius: 12px;
  align-items: start;
}

.blogd-promo__thumb {
  aspect-ratio: 1;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.blogd-promo__thumb--servers {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1)),
    linear-gradient(135deg, #0c2d4a, #061824);
}

.blogd-promo__badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 4px;
  background: #F47429;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.blogd-promo__title {
  margin: 8px 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: #0C253B;
  line-height: 1.25;
}

.blogd-promo__desc {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(12, 37, 59, 0.60);
  font-weight: 600;
}

.blogd-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  background: #F47429;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.blogd-promo__btn:hover {
  filter: brightness(0.95);
}

.blogd-tags--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 8px;
}

.blogd-tag {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 37, 59, 0.12);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  color: rgba(12, 37, 59, 0.72);
}

.blogd-cta {
  margin: 28px 0;
  position: relative;
  padding: 22px 22px 24px;
  border-radius: 14px;
  background: #0C3B66;
  color: #fff;
  overflow: hidden;
}

.blogd-cta .blogd-rich p,
.blogd-cta .blogd-rich {
  color: #fff;
}

.blogd-cta__glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.blogd-cta__kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(244, 116, 41, 0.95);
}

.blogd-cta__title {
  margin: 10px 0 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.blogd-cta__desc {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.blogd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.blogd-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.blogd-cta__btn--primary {
  background: #F47429;
  color: #fff;
}

.blogd-cta__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.blogd-downloads {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.blogd-download {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 12px;
  background: #fff;
}

.blogd-download__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.blogd-download__icon.is-pink {
  background: rgba(236, 72, 153, 0.12);
  color: #db2777;
}

.blogd-download__icon.is-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.blogd-download__icon.is-red {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.blogd-download__icon.is-green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.blogd-download__title {
  font-size: 12px;
  font-weight: 900;
  color: #0C253B;
}

.blogd-download__meta {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(12, 37, 59, 0.45);
}

.blogd-download__body--clickable {
  text-decoration: none;
  color: inherit;
  min-width: 0;
  align-self: stretch;
}

.blogd-download__body--clickable:focus-visible {
  outline: 2px solid rgba(0, 63, 125, 0.45);
  outline-offset: 2px;
  border-radius: 8px;
}

.blogd-download__btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: #F5F6F8;
  color: rgba(12, 37, 59, 0.6);
  display: grid;
  place-items: center;
  cursor: pointer;
}

a.blogd-download__btn {
  text-decoration: none;
}

.blogd-download__btn--empty {
  opacity: 0.42;
  cursor: not-allowed;
}

.blogd-download__icon.is-violet {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

/* Sidebar widgets */
.blogd-wbox {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.06);
}

.blogd-wbox--digest {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.blogd-wauthor {
  text-align: center;
}

.blogd-wauthor__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #0C253B;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  margin: 0 auto 10px;
}

.blogd-wauthor__name {
  font-size: 13px;
  font-weight: 900;
  color: #0C253B;
}

.blogd-wauthor__role {
  font-size: 11px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.52);
  margin-bottom: 10px;
}

.blogd-wauthor__bio {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(12, 37, 59, 0.58);
  font-weight: 600;
  text-align: left;
}

.blogd-whead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(12, 37, 59, 0.48);
  margin-bottom: 12px;
}

.blogd-whead__dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #F47429;
}

.blogd-wtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blogd-wtag {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.blogd-wtag--blue {
  background: rgba(0, 63, 125, 0.08);
  border: 1px solid rgba(0, 63, 125, 0.16);
  color: #003F7D;
}

.blogd-wtag--orange {
  background: rgba(244, 116, 41, 0.12);
  border: 1px solid rgba(244, 116, 41, 0.35);
  color: #c23f0e;
}

.blogd-wrecent {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.blogd-wrecent__title {
  font-size: 12px;
  font-weight: 900;
  color: #0C253B;
  text-decoration: none;
  line-height: 1.35;
  display: block;
}

.blogd-wrecent__title:hover {
  color: #003F7D;
}

.blogd-wrecent__meta {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.45);
}

.blogd-digest {
  background: #0C3B66;
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  overflow: hidden;
}

.blogd-digest__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.blogd-digest__text {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

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

.blogd-digest__form input {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: none;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  color: #0C253B;
  box-sizing: border-box;
}

.blogd-digest__form input::placeholder {
  color: rgba(12, 37, 59, 0.45);
}

.blogd-digest__form button {
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #F47429;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.blogd-share {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}

.blogd-share__btn {
  flex: 1 1 0;
  min-width: 0;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1.2;
  white-space: nowrap;
}

button.blogd-share__btn {
  margin: 0;
  padding: 0 8px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.blogd-share__btn--in {
  background: #0B66C3;
  color: #fff;
}

.blogd-share__btn--tw {
  background: #1D9BF0;
  color: #fff;
}

.blogd-share__btn--copy {
  background: #fff;
  color: #0C253B;
  border-color: rgba(12, 37, 59, 0.15);
}

/* Related + Enjoy sections */
.blogd-sectionHead__kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(244, 116, 41, 0.90);
  margin-bottom: 6px;
}

.blogd-sectionHead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.blogd-sectionHead__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #0C253B;
}

.blogd-sectionHead__link {
  font-size: 11px;
  font-weight: 800;
  color: rgba(0, 63, 125, 0.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blogd-related {
  background: rgba(12, 37, 59, 0.03);
  border-top: 1px solid rgba(12, 37, 59, 0.06);
  padding: 22px 0 30px;
}

.blogd-related--full,
.blogd-enjoy--full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.blogd-related__inner,
.blogd-enjoy__inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.blogd-relatedGrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blogd-courseCard {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.06);
}

.blogd-courseCard__media {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blogd-courseCard__media--cloud {
  background:
    radial-gradient(circle at 40% 45%, rgba(0, 208, 196, 0.55), transparent 55%),
    linear-gradient(135deg, #7a62ff, #2c2b3f);
}

.blogd-courseCard__media--stack {
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, #1A2E44, #0C253B);
}

.blogd-courseCard__media--safe {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, #0d2f3a, #061824);
}

.blogd-courseCard__pill {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  height: 18px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}

.blogd-courseCard__body {
  padding: 14px 14px 16px;
  text-align: center;
}

.blogd-courseCard__cat {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(12, 37, 59, 0.45);
}

.blogd-courseCard__title {
  margin: 8px 0 12px;
  font-size: 14px;
  font-weight: 900;
  color: #0C253B;
}

.blogd-courseCard__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 150px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(12, 37, 59, 0.40);
  background: #fff;
  color: rgba(12, 37, 59, 0.78);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.blogd-courseCard__btn:hover {
  background: rgba(12, 37, 59, 0.03);
}

.blogd-enjoy {
  background: #fff;
  padding: 26px 0 58px;
}

.blogd-enjoyGrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blogd-enjoyCard {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.06);
}

.blogd-enjoyCard__media {
  height: 140px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.blogd-enjoyCard__media--hands {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.02)), linear-gradient(135deg, #2b7a78, #172a3a);
}

.blogd-enjoyCard__media--orange {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.02)), linear-gradient(135deg, #F47429, #0C253B);
}

.blogd-enjoyCard__media--office {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.02)), linear-gradient(135deg, #1A2E44, #0C253B);
}

.blogd-enjoyCard__media--point {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.02)), linear-gradient(135deg, #155A9B, #0C253B);
}

.blogd-enjoyCard__media--desk {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.02)), linear-gradient(135deg, #6b5344, #2c2419);
}

.blogd-enjoyCard__media--laptop {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.02)), linear-gradient(135deg, #2d6a4f, #1a2e44);
}

.blogd-enjoyCard__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  height: 18px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(12, 37, 59, 0.78);
  color: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.blogd-enjoyCard__body {
  padding: 12px 12px 14px;
}

.blogd-enjoyCard__title {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  color: #0C253B;
}

.blogd-enjoyCard__title a {
  color: inherit;
  text-decoration: none;
}

.blogd-enjoyCard__title a:hover {
  text-decoration: underline;
}

.blogd-enjoyCard__desc {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.6;
  color: rgba(12, 37, 59, 0.58);
  font-weight: 600;
}

.blogd-enjoyCard__date {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.45);
}

@media (max-width: 1100px) {
  .blogd-relatedGrid {
    grid-template-columns: 1fr;
  }

  .blogd-enjoyGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blogd-enjoyGrid {
    grid-template-columns: 1fr;
  }

  .blogd-sectionHead__row {
    flex-wrap: wrap;
  }
}

@media (max-width: 1100px) {
  .blogd-body__grid {
    grid-template-columns: 1fr;
  }

  .blogd-sidebar {
    position: static;
    order: 2;
  }

  .blogd-main {
    order: 1;
  }
}

@media (max-width: 576px) {
  .blogd-search__box {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
  }

  .blogd-search__box input {
    width: 100%;
  }

  .blogd-search__btn {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .blogd-hero__grid {
    grid-template-columns: 1fr;
  }

  .blogd-left {
    padding-right: 0;
    border-right: none;
  }

  .blogd-search__box {
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .blogd-h1 {
    font-size: 42px;
  }

  .blogd-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blogd-miniMeta {
    min-width: 0;
  }

  .blogd-promo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blogd-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Latest Articles (EDUCATIONAL CONTENT) — vertical cards per design */
.blogs-miniCard {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(12, 37, 59, 0.04);
}

.blogs-miniCard__media {
  position: relative;
  height: 168px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 63, 125, 0.08), rgba(12, 37, 59, 0.06));
}

.blogs-miniCard__img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional editorial tint on thumbnail (admin “listing card media” variants) */
.blogs-miniCard__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.blogs-miniCard__media--photoD::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 37, 59, 0.22) 100%);
}

.blogs-miniCard__media--photoE::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 163, 150, 0.20) 100%);
}

.blogs-miniCard__media--photoF::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(244, 116, 41, 0.18) 100%);
}

.blogs-miniCard__media--photoG::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(21, 90, 155, 0.22) 100%);
}

.blogs-miniCard__media--photoH::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(109, 40, 217, 0.20) 100%);
}

.blogs-miniCard__media--photoI::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 185, 129, 0.18) 100%);
}

.blogs-miniCard__media .blogs-badge--edu {
  top: auto;
  right: auto;
  bottom: 10px;
  left: 10px;
  height: auto;
  min-height: 24px;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.09em;
  line-height: 1.2;
  color: #fff;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(12, 37, 59, 0.12);
}

.blogs-badge--edu-default,
.blogs-badge--edu-training {
  background: #0B3A6E;
}

.blogs-badge--edu-technology {
  background: #0F766E;
}

.blogs-badge--edu-career {
  background: #6D28D9;
}

.blogs-miniCard__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
}

.blogs-miniCard__title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  color: #0C253B;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blogs-miniCard__desc {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(12, 37, 59, 0.52);
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blogs-miniCard__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blogs-miniCard__date {
  font-size: 11px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.48);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-width: 0;
}

.blogs-miniCard__date i {
  font-size: 12px;
  opacity: 0.75;
}

.blogs-miniCard__link {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: #003F7D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  border: none;
  background: #D8EBFA;
  transition: background 0.15s ease, color 0.15s ease;
}

.blogs-miniCard__link:hover {
  background: #C5DFF6;
  color: #002E5C;
}

.blogs-miniCard__link:focus-visible {
  outline: 2px solid rgba(0, 63, 125, 0.45);
  outline-offset: 2px;
}

.blogs-miniCard__linkIcon {
  font-size: 10px;
}

@media (max-width: 1100px) {
  .blogs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blogs-featuredGrid {
    grid-template-columns: 1fr;
  }

  .blogs-videoGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blogs-toolbar__row {
    flex-direction: column;
    align-items: stretch;
  }

  .blogs-controls {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .blogs-select,
  .blogs-segment {
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .blogs-select-wrap {
    flex: 1 1 auto;
    min-width: 0;
  }

  .blogs-toolbar-field {
    max-width: none;
  }

  .blogs-segments {
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .blogs-segment-option {
    flex: 1 1 0;
    min-width: 0;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }
}

.classroom-schedule {
  margin-top: 22px;
}

.classroom-schedule__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas:
    "intro intro"
    "toolbar ."
    "table sidebar";
  gap: 16px 22px;
  align-items: start;
}

.classroom-schedule__intro {
  grid-area: intro;
}

.classroom-schedule__table {
  grid-area: table;
}

.classroom-schedule__right {
  grid-area: sidebar;
}

.classroom-schedule__right {
  position: sticky;
  top: calc(var(--header-height, 73px) + 14px);
}

.classroom-schedule__title {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  color: #F97316;
}

.classroom-schedule__underline {
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: #F97316;
  margin-top: 8px;
}

.classroom-schedule__tabs {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.classroom-schedule__toolbar {
  grid-area: toolbar;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.classroom-schedule__toolbar .classroom-schedule__tabs {
  margin-top: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.classroom-schedule__toolbar .classroom-schedule__count {
  margin-left: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.classroom-schedule__toolbar .classroom-schedule__tabs::-webkit-scrollbar {
  display: none;
}

.classroom-schedule__tabs button {
  border: 1px solid rgba(12, 37, 59, 0.10);
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 11px;
  color: rgba(12, 37, 59, 0.70);
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
}

.classroom-schedule__tabs button:active {
  transform: scale(0.97);
}

.classroom-schedule__tabs button.is-active {
  background: #0C3B66;
  border-color: #0C3B66;
  color: #fff;
}

.classroom-schedule__headingrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.classroom-schedule__count {
  margin-left: auto;
  font-size: 11px;
  color: rgba(12, 37, 59, 0.55);
  font-weight: 800;
}

.classroom-schedule__pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.10);
  color: #16A34A;
  font-weight: 900;
  font-size: 10px;
}

.classroom-tablecard {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.06);
}

.classroom-tablecard__top {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(12, 37, 59, 0.06);
  display: flex;
  justify-content: flex-end;
}

.classroom-tablecard__count {
  font-size: 11px;
  color: rgba(12, 37, 59, 0.55);
  font-weight: 800;
}

.classroom-tablewrap {
  overflow: auto;
}

.classroom-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

@media (prefers-reduced-motion: reduce) {
  .classroom-schedule__tabs button {
    transition: none;
  }

  .classroom-schedule__tabs button:active {
    transform: none;
  }
}

.classroom-table tbody tr:hover {
  background: rgba(12, 37, 59, 0.02);
}

.classroom-table thead th {
  background: #0C3B66;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 12px;
  text-align: left;
  font-weight: 900;
}

.classroom-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(12, 37, 59, 0.06);
  vertical-align: middle;
  color: rgba(12, 37, 59, 0.82);
  font-weight: 700;
  font-size: 11px;
}

.classroom-date {
  font-weight: 900;
  color: #0C253B;
}

.classroom-day {
  margin-top: 4px;
  color: rgba(12, 37, 59, 0.55);
  font-size: 10px;
  font-weight: 700;
}

.classroom-branchdot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #F97316;
  margin-inline-end: 8px;
  transform: translateY(-1px);
}

.classroom-branchdot.is-blue {
  background: #0C3B66;
}

.classroom-branchdot.is-orange {
  background: #F97316;
}

.classroom-branchdot.is-green {
  background: #22C55E;
}

.classroom-branchdot.is-purple {
  background: #A855F7;
}

.classroom-branchdot.is-red {
  background: #EF4444;
}

.classroom-seats {
  font-weight: 900;
  font-size: 11px;
}

.classroom-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(12, 37, 59, 0.08);
  margin-top: 6px;
  overflow: hidden;
}

.classroom-bar__fill {
  display: block;
  height: 100%;
  width: 60%;
  background: #22C55E;
}

.classroom-bar__fill.is-few {
  width: 88%;
  background: #F97316;
}

.classroom-bar__fill.is-full {
  width: 100%;
  background: #EF4444;
}

.classroom-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.classroom-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22C55E;
}

.classroom-status.is-few {
  color: #F97316;
}

.classroom-status.is-few::before {
  background: #F97316;
}

.classroom-status.is-full {
  color: #EF4444;
}

.classroom-status.is-full::before {
  background: #EF4444;
}

.classroom-btn {
  background: #0C3B66;
  color: #fff;
  border: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 11px;
  cursor: pointer;
}

.classroom-btn.is-disabled {
  background: #E5E7EB;
  color: rgba(17, 24, 39, 0.70);
  cursor: not-allowed;
}

.classroom-card {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.06);
  margin-bottom: 14px;
}

.classroom-card__header {
  background: #0C3B66;
  color: #fff;
  padding: 12px 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.classroom-card__subhead {
  padding: 12px 14px 0;
  font-weight: 900;
  color: #0C253B;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.classroom-card__body {
  padding: 12px 14px 14px;
}

.classroom-card__body--tight {
  padding-top: 10px;
}

.classroom-detail {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(12, 37, 59, 0.06);
}

.classroom-detail:last-child {
  border-bottom: 0;
}

.classroom-detail i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(12, 59, 102, 0.08);
  color: #0C3B66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.classroom-detail__label {
  font-size: 10px;
  color: rgba(12, 37, 59, 0.55);
  font-weight: 800;
}

.classroom-detail__value {
  font-size: 11px;
  font-weight: 900;
  color: #0C253B;
  margin-top: 3px;
}

.classroom-location {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.classroom-location__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.classroom-location__dot.is-blue {
  background: #0C3B66;
}

.classroom-location__dot.is-orange {
  background: #F97316;
}

.classroom-location__dot.is-green {
  background: #22C55E;
}

.classroom-location__dot.is-purple {
  background: #A855F7;
}

.classroom-location__dot.is-red {
  background: #EF4444;
}

.classroom-location__name {
  font-weight: 900;
  color: #0C253B;
  font-size: 11px;
}

.classroom-location__addr {
  font-size: 10px;
  color: rgba(12, 37, 59, 0.55);
  font-weight: 700;
  margin-top: 2px;
}

.classroom-needlist {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 8px;
  color: rgba(12, 37, 59, 0.70);
  font-weight: 700;
  font-size: 11px;
}

.classroom-needlist li {
  list-style: disc;
}

.classroom-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 11px;
  color: rgba(12, 37, 59, 0.70);
  font-weight: 700;
}

.classroom-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.classroom-legend__dot.is-open {
  background: #22C55E;
}

.classroom-legend__dot.is-few {
  background: #F97316;
}

.classroom-legend__dot.is-full {
  background: #EF4444;
}

.classroom-help {
  background: #0C3B66;
  border-radius: 14px;
  padding: 16px 14px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(12, 37, 59, 0.10);
}

.classroom-help__title {
  font-weight: 900;
  font-size: 12px;
}

.classroom-help__desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.80);
  margin-top: 8px;
  line-height: 1.6;
}

.classroom-help__cta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  border-radius: 12px;
  background: #F97316;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
}

/* === Private Classroom (static request form) === */
.private-classroom {
  margin-top: 22px;
}

.private-classroom__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas:
    "pcintro pcintro"
    "pcform pcaside";
  gap: 16px 22px;
  align-items: start;
}

.private-classroom__intro {
  grid-area: pcintro;
}

.private-classroom__main {
  grid-area: pcform;
  min-width: 0;
}

.private-classroom__aside {
  grid-area: pcaside;
}

.private-classroom__title {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  color: #F97316;
}

.private-classroom__underline {
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: #F97316;
  margin-top: 8px;
}

.private-form__card {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 37, 59, 0.06);
}

.private-form__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #0C3B66;
  color: #fff;
}

.private-form__headIcon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.private-form__headText {
  min-width: 0;
}

.private-form__headTitle {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.3;
}

.private-form__headSub {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.private-form__body {
  padding: 18px 18px 8px;
}

.private-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 16px;
}

.private-form__field--full {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.private-form__label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(12, 37, 59, 0.55);
  margin-bottom: 6px;
}

.private-form__req {
  color: #EF4444;
  font-weight: 900;
}

.private-form__input,
.private-form__textarea {
  width: 100%;
  border: 1px solid rgba(12, 37, 59, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0C253B;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.private-form__input:hover,
.private-form__textarea:hover {
  border-color: rgba(12, 59, 102, 0.28);
}

.private-form__input:focus-visible,
.private-form__textarea:focus-visible {
  outline: none;
  border-color: #0C3B66;
  box-shadow: 0 0 0 3px rgba(12, 59, 102, 0.22);
}

.private-form__input::placeholder,
.private-form__textarea::placeholder {
  color: rgba(12, 37, 59, 0.38);
  font-weight: 600;
}

.private-form__selectWrap {
  position: relative;
  display: block;
  width: 100%;
}

.private-form__selectWrap::after {
  content: '';
  position: absolute;
  right: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%230C3B66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  opacity: 0.88;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  z-index: 1;
}

.private-form__selectWrap:focus-within::after {
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
}

.private-form__select {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(12, 37, 59, 0.14);
  border-radius: 11px;
  padding: 11px 44px 11px 14px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: #0C253B;
  background-color: #fff;
  background-image: none;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  accent-color: #0C3B66;
  color-scheme: light;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.private-form__select:hover {
  border-color: rgba(12, 59, 102, 0.38);
  background-color: rgba(12, 59, 102, 0.03);
}

.private-form__select:focus {
  outline: none;
}

.private-form__select:focus-visible {
  border-color: #0C3B66;
  box-shadow: 0 0 0 3px rgba(12, 59, 102, 0.22);
  background-color: #fff;
}

.private-form__select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.private-form__select option {
  font-weight: 600;
  padding: 0.5rem 0;
  color: #0C253B;
}

html[dir="rtl"] .private-form__selectWrap::after {
  right: auto;
  left: 13px;
}

html[dir="rtl"] .private-form__select {
  padding: 11px 14px 11px 44px;
}

.private-form__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.private-form__dateWrap {
  position: relative;
}

.private-form__input--date {
  padding-right: 36px;
}

.private-form__dateIcon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(12, 37, 59, 0.45);
  font-size: 14px;
}

.private-form__fieldset {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}

.private-form__fieldset--days {
  margin-bottom: 14px;
}

.private-form__segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.private-form__segment {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.private-form__segmentInput {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.private-form__segmentInput:focus-visible+.private-form__segmentFace {
  outline: 2px solid #0C3B66;
  outline-offset: 2px;
}

.private-form__segmentFace {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
  min-height: 0;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(12, 37, 59, 0.14);
  background: #fff;
  color: rgba(12, 37, 59, 0.52);
  font-weight: 800;
  font-size: 11px;
  line-height: 1.25;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.private-form__segmentFace i {
  font-size: 14px;
  flex-shrink: 0;
  color: inherit;
}

.private-form__radio {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(12, 37, 59, 0.22);
  box-sizing: border-box;
}

.private-form__segment.is-active .private-form__radio {
  border-color: #0C3B66;
}

.private-form__segment.is-active .private-form__radio::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0C3B66;
}

.private-form__segment:not(.is-active):hover .private-form__segmentFace {
  border-color: #0C3B66;
  background: rgba(12, 59, 102, 0.04);
  color: rgba(12, 37, 59, 0.68);
}

.private-form__segment.is-active .private-form__segmentFace {
  border-color: #0C3B66;
  background: rgba(12, 59, 102, 0.07);
  color: #0C3B66;
}

.private-form__segment.is-active:hover .private-form__segmentFace {
  border-color: #0C3B66;
  background: rgba(12, 59, 102, 0.09);
}

.private-form__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.private-form__pill {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.private-form__pillInput {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.private-form__pillFace {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 37, 59, 0.14);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  color: rgba(12, 37, 59, 0.55);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.private-form__pill.is-active .private-form__pillFace {
  background: #0C3B66;
  border-color: #0C3B66;
  color: #fff;
}

.private-form__hint {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.45);
}

.private-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(12, 37, 59, 0.08);
  background: rgba(249, 250, 251, 0.85);
}

.private-form__privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.45);
}

.private-form__privacy i {
  font-size: 12px;
}

.private-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #0C3B66;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  margin-left: auto;
}

.private-form__submit:hover {
  filter: brightness(1.06);
}

.private-sidecard {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.10);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(12, 37, 59, 0.05);
}

.private-sidecard:last-child {
  margin-bottom: 0;
}

.private-sidecard--benefits .private-sidecard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #0C3B66;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.35;
}

.private-sidecard__headIcon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.private-sidecard__headIcon .fa-shield {
  font-size: 19px;
  line-height: 1;
}

.private-sidecard__headIcon .fa-check {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.private-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.private-benefits__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(12, 37, 59, 0.10);
  font-size: 11px;
  font-weight: 700;
  color: rgba(12, 37, 59, 0.82);
  line-height: 1.55;
}

.private-benefits__item:last-child {
  border-bottom: 0;
}

.private-benefits__check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(244, 116, 41, 0.14);
  color: var(--color-orange-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 1px;
}

.private-sidecard--steps {
  padding: 0;
  overflow: visible;
}

.private-sidecard--steps .private-sidecard__subhead {
  padding: 14px 14px 10px;
  margin: 0;
  border-bottom: 1px solid rgba(12, 37, 59, 0.08);
}

.private-sidecard__subhead {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(12, 37, 59, 0.48);
}

.private-steps {
  margin: 0;
  padding: 14px 14px 16px 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.private-steps__item {
  display: flex;
  gap: 14px;
  align-items: stretch;
  min-height: 0;
}

.private-steps__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
  flex-shrink: 0;
  align-self: stretch;
}

.private-steps__num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #1B4F72;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.private-steps__line {
  flex: 1 1 auto;
  width: 2px;
  min-height: 10px;
  margin-top: 6px;
  background: #D1D5DB;
  border-radius: 1px;
}

.private-steps__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-bottom: 16px;
}

.private-steps__item:last-child .private-steps__body {
  padding-bottom: 0;
}

.private-steps__copy {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(12, 37, 59, 0.58);
  font-weight: 600;
}

.private-steps__lead {
  font-weight: 900;
  color: #0C253B;
}

.private-sidecard--cta {
  background: #0C3B66;
  border: 0;
  padding: 16px 14px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(12, 37, 59, 0.10);
}

.private-cta__title {
  font-weight: 900;
  font-size: 13px;
}

.private-cta__desc {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.private-cta__btn {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  border-radius: 12px;
  background: #F97316;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
}

.private-cta__btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 1100px) {
  .private-classroom__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "pcintro"
      "pcform"
      "pcaside";
  }

  .classroom-schedule__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "toolbar"
      "table"
      "sidebar";
  }

  .classroom-schedule__right {
    position: static;
    top: auto;
  }

  .classroom-table {
    min-width: 720px;
  }
}

/* ===== Public classroom responsive ===== */
@media (max-width: 1024px) {
  .classroom-page {
    width: 92%;
  }

  .classroom-hero--full .classroom-hero__inner {
    min-height: 170px;
    padding-top: 20px;
    padding-bottom: 26px;
  }

  .classroom-schedule__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "toolbar"
      "table"
      "sidebar";
  }
}

@media (max-width: 768px) {
  .classroom-page {
    width: 94%;
  }

  .classroom-hero__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .classroom-hero__rating {
    text-align: left;
    min-width: 0;
  }

  .classroom-hero__title {
    font-size: 20px;
  }

  .classroom-hero__meta {
    gap: 8px 12px;
  }

  .classroom-table {
    min-width: 640px;
  }

  .classroom-schedule__tabs {
    gap: 8px;
  }

  .classroom-schedule__tabs button {
    padding: 8px 10px;
  }

  .classroom-card {
    margin-bottom: 12px;
  }

  .private-form__grid {
    grid-template-columns: 1fr;
  }

  .private-form__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .private-form__submit {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .classroom-page {
    width: calc(100% - 24px);
  }

  .classroom-hero--full .classroom-hero__inner {
    padding-left: 16px;
    padding-right: 16px;
    min-height: 180px;
  }

  .classroom-hero__title {
    font-size: 18px;
    line-height: 1.25;
  }

  .classroom-hero__meta {
    font-size: 10px;
  }

  .classroom-hero__rating {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .classroom-hero__reviews {
    margin-top: 0;
  }

  .classroom-schedule__title {
    font-size: 16px;
  }

  .private-form__segmented {
    grid-template-columns: 1fr;
  }

  .classroom-table {
    min-width: 560px;
  }

  .classroom-table thead th {
    padding: 11px 10px;
    font-size: 10px;
  }

  .classroom-table tbody td {
    padding: 12px 10px;
    font-size: 10px;
  }

  .classroom-btn {
    padding: 9px 10px;
    border-radius: 10px;
  }
}

/* Mobile: convert schedule table into stacked cards */
@media (max-width: 600px) {
  .classroom-tablewrap {
    overflow: visible;
  }

  .classroom-tablecard {
    box-shadow: none;
  }

  .classroom-table {
    min-width: 0 !important;
  }

  .classroom-table thead {
    display: none;
  }

  .classroom-table,
  .classroom-table tbody,
  .classroom-table tr,
  .classroom-table td {
    display: block;
    width: 100%;
  }

  .classroom-table tbody tr {
    background: #ffffff;
    border: 1px solid rgba(12, 37, 59, 0.08);
    border-radius: 14px;
    padding: 12px 12px;
    margin: 12px 0;
    box-shadow: 0 10px 26px rgba(12, 37, 59, 0.05);
  }

  .classroom-table tbody td {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(12, 37, 59, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .classroom-table tbody td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .classroom-table tbody td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 900;
    color: rgba(12, 37, 59, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex: 0 0 42%;
  }

  .classroom-td--date {
    align-items: flex-start;
  }

  .classroom-td--date::before {
    margin-top: 2px;
  }

  .classroom-td--branch {
    justify-content: flex-end;
  }

  .classroom-branchdot {
    margin-inline-end: 6px;
  }

  .classroom-td--seats {
    align-items: flex-start;
  }

  .classroom-td--seats .classroom-bar {
    width: min(140px, 44vw);
  }

  .classroom-btn {
    width: 100%;
    justify-content: center;
  }
}


.careerpath-contentcard {
  margin-top: 26px;
  background: #fff;
  border: 1px solid rgba(12, 37, 59, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(12, 37, 59, 0.06);
}

.careerpath-tabs-wrapper {
  width: 100%;
  margin-top: 0;
}

.careerpath-tabs {
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  border: 0;
  padding: 0 8px;
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(12, 37, 59, 0.08);
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .careerpath-tabs.is-fixed {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: var(--color-white, #ffffff);
    border-bottom: 1px solid rgba(12, 37, 59, 0.08);
    box-shadow: 0 10px 30px rgba(12, 37, 59, 0.06);
    z-index: 998;
    padding: 0 5%;
    margin: 0;
    box-sizing: border-box;
    animation: slideDown 0.2s ease;
  }
}

.careerpath-tabs button {
  border: 0;
  background: transparent;
  padding: 16px 18px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(12, 37, 59, 0.58);
  font-weight: 900;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.careerpath-tabs button.is-active {
  color: #F97316;
}

.careerpath-tabs button.is-active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: #F97316;
  border-radius: 999px;
}

.careerpath-tabs button i {
  color: rgba(12, 37, 59, 0.52);
  font-size: 15px;
}

.careerpath-tabs button.is-active i {
  color: #F97316;
}

.careerpath-tabs button:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.55);
  outline-offset: 3px;
  border-radius: 10px;
}

@media (max-width: 520px) {
  .careerpath-tabs {
    justify-content: flex-start;
  }
}

/* Panel copy: black text, smaller type, responsive (tab bar style unchanged above) */
.careerpath-panel {
  margin-top: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(14px, 3.5vw, 18px) clamp(14px, 4vw, 22px) clamp(18px, 4vw, 26px);
}

.careerpath-panel__title {
  margin: 0 0 clamp(8px, 2vw, 10px);
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  font-weight: 900;
  color: #003F7D;
}

.careerpath-panel__body {
  color: #000000;
  font-size: clamp(12px, 3.1vw, 13px);
  line-height: 1.65;
}

.careerpath-panel__body p {
  margin: 0 0 clamp(8px, 2vw, 10px);
}

.careerpath-panel__body :where(ul, ol):not(.careerpath-panel-list):not(.careerpath-outline-list) {
  color: #000000;
  font-size: inherit;
}

/* Audience / prerequisites: card rows */
.careerpath-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(8px, 2vw, 10px);
}

.careerpath-panel-list__item {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 14px);
  padding: clamp(10px, 2.5vw, 14px) clamp(12px, 3.5vw, 18px);
  background: #ffffff;
  border: 1px solid rgba(12, 37, 59, 0.12);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: #000000;
  font-weight: 700;
  font-size: clamp(12px, 3.1vw, 13px);
  line-height: 1.45;
}

.careerpath-panel-list__item::before {
  content: '';
  width: clamp(8px, 2vw, 10px);
  height: clamp(8px, 2vw, 10px);
  border-radius: 999px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #144979 0%, #1a5fa8 100%);
  box-shadow: 0 0 0 3px rgba(20, 73, 121, 0.12);
}

/* Outline modules: numbered cards */
.careerpath-outline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: careerpath-outline;
  display: grid;
  gap: clamp(10px, 2.5vw, 14px);
}

.careerpath-outline-list__item {
  counter-increment: careerpath-outline;
  position: relative;
  margin: 0;
  padding-block: clamp(12px, 3vw, 16px);
  padding-inline: clamp(48px, 14vw, 56px) clamp(12px, 3.5vw, 18px);
  background: #f8fafc;
  border: 1px solid rgba(12, 37, 59, 0.1);
  border-radius: 12px;
}

.careerpath-outline-list__item::before {
  content: counter(careerpath-outline);
  position: absolute;
  top: clamp(12px, 3vw, 16px);
  inset-inline-start: 14px;
  width: clamp(26px, 7vw, 30px);
  height: clamp(26px, 7vw, 30px);
  border-radius: 9px;
  background: #144979;
  color: #ffffff;
  font-size: clamp(11px, 2.8vw, 12px);
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.careerpath-outline-list__title {
  display: block;
  font-size: clamp(12px, 3.1vw, 13px);
  font-weight: 800;
  color: #000000;
}

.careerpath-outline-list__desc {
  margin: clamp(6px, 1.5vw, 8px) 0 0;
  font-size: clamp(11px, 2.9vw, 12px);
  font-weight: 500;
  color: #000000;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .careerpath-hero {
    grid-template-columns: 1fr;
  }

  .careerpath-tabs {
    flex-wrap: nowrap;
  }
}

@media (max-width: 640px) {
  .careerpath-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .careerpath-tabs button {
    flex: 0 0 auto;
    padding: 12px 14px;
    font-size: clamp(11px, 3.2vw, 13px);
  }

  .careerpath-tabs button i {
    font-size: clamp(12px, 3.4vw, 14px);
  }

  .careerpath-tabs button.is-active::after {
    left: 14px;
    right: 14px;
  }
}

/* === Student Success Stories (static - section 2) === */
.careerpath-stories {
  padding: 56px 0 18px;
}

.careerpath-stories__header {
  text-align: center;
  margin-bottom: 22px;
}

.careerpath-stories__title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #003F7D;
}

.careerpath-stories__subtitle {
  margin: 6px auto 0;
  max-width: 560px;
  font-size: 12px;
  color: rgba(12, 37, 59, 0.55);
  line-height: 1.6;
}

.careerpath-stories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.careerpath-story {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(12, 37, 59, 0.10);
}

.careerpath-story__media {
  position: relative;
  background: #d1d5db;
  height: 240px;
}

.careerpath-story__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.careerpath-story__toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.20);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.careerpath-story__toggleicon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.30);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

.careerpath-story__duration {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.careerpath-story__body {
  padding: 14px 16px 16px;
}

.careerpath-story__quote {
  font-weight: 800;
  color: #111827;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.careerpath-story__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.careerpath-story__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #0C3B66;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.careerpath-story__name {
  font-weight: 900;
  color: #0C253B;
  font-size: 12px;
}

.careerpath-story__role {
  font-size: 11px;
  color: rgba(12, 37, 59, 0.55);
  font-weight: 700;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .careerpath-stories__grid {
    grid-template-columns: 1fr;
  }

  .careerpath-story__media {
    height: 220px;
  }
}

/* === Why CLS Courses? Hear It from Our Instructors (static - section) === */
.careerpath-instructors {
  padding: 58px 0 12px;
  background: #ffffff;
}

.careerpath-instructors__inner {
  width: 100%;
}

.careerpath-instructors__header {
  text-align: center;
  margin-bottom: 22px;
}

.careerpath-instructors__title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #003F7D;
}

.careerpath-instructors__subtitle {
  margin: 6px auto 0;
  max-width: 620px;
  font-size: 12px;
  color: rgba(12, 37, 59, 0.55);
  line-height: 1.6;
}

/* === Smooth infinite marquee (Career Path page sliders) === */
@keyframes cls-marquee-scroll-x {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.cls-marquee {
  width: 100%;
}

.cls-marquee__viewport {
  overflow: hidden;
  width: 100%;
  padding: 8px 2px 18px;
}

.cls-marquee__track {
  display: flex;
  width: max-content;
  animation: cls-marquee-scroll-x var(--marquee-duration, 80s) linear infinite;
  will-change: transform;
}

.cls-marquee__group {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}

.cls-marquee__viewport:hover .cls-marquee__track,
.cls-marquee--media-playing .cls-marquee__track {
  animation-play-state: paused;
}

.cls-marquee--testimonials .cls-marquee__group {
  gap: 25px;
  padding-inline-end: 25px;
}

.cls-marquee--course-testimonials .cls-marquee__group {
  gap: 16px;
  padding-inline-end: 16px;
}

.cls-marquee--course-testimonials .course-testimonial-cardfou {
  width: min(300px, 85vw);
  flex: 0 0 auto;
}

.cls-marquee--portfolio .cls-marquee__group {
  gap: 18px;
  padding-inline-end: 18px;
}

.cls-marquee--portfolio .course-portfolio-cardfou {
  width: 360px;
  flex: 0 0 auto;
}

.cls-marquee--instructors .cls-marquee__group {
  gap: 28px;
  padding-inline-end: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .cls-marquee__track {
    animation: none !important;
  }
}

.careerpath-instructor {
  flex: 0 0 auto;
  width: 340px;
}

.careerpath-instructor__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #d1d5db;
  height: 250px;
  box-shadow: 0 16px 40px rgba(12, 37, 59, 0.10);
}

.careerpath-instructor__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.careerpath-instructor__toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: var(--color-orange-main, #f47429);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(244, 116, 41, 0.4);
  z-index: 5;
  opacity: 1;
  visibility: visible;
}

.careerpath-instructor.is-playing .careerpath-instructor__toggle {
  opacity: 0;
  visibility: hidden;
}

.careerpath-instructor:hover .careerpath-instructor__toggle {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1.1);
}

.careerpath-instructor__toggle:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.careerpath-instructor__toggleicon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  width: 100%;
  height: 100%;
}

.careerpath-instructor__toggleicon .fa-play {
  margin-left: 2px;
}

.careerpath-instructor__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.careerpath-instructor__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #0C3B66;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

.careerpath-instructor__name {
  font-weight: 900;
  color: #0C253B;
  font-size: 12px;
}

.careerpath-instructor__role {
  font-size: 11px;
  color: rgba(12, 37, 59, 0.55);
  font-weight: 700;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .careerpath-instructor {
    width: 300px;
  }

  .careerpath-instructor__media {
    height: 230px;
  }
}

/* ====================================section4========================== */
.best-sellersrs {
  padding: 60px 80px;
  background: var(--color-white);
}

.containerrs {
  max-width: 1300px;
  margin: auto;
}

/* Header */

.section-headerrs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.top-textrs {
  color: var(--color-orange-alt);
  font-size: 14px;
  font-weight: 600;
}

.titlers {
  grid-column: 2;
  text-align: center;
  max-width: min(100%, 42rem);
  justify-self: center;
  min-width: 0;
}

.titlers h2 {
  font-size: 36px;
  color: var(--color-navy-text);
  margin: 5px 0;
  font-weight: 700;

}

.titlers p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.see-allrs {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  text-decoration: none;
  color: var(--color-navy-text);
  font-weight: 500;
  white-space: nowrap;
}

/* Cards */

.cardsrs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  justify-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cardrs {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 360px;
  position: relative;
  left: 0;
  padding: 15px;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.card-imagers {
  position: relative;
  flex-shrink: 0;
}

.card-imagers img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;

}

.badgesrs {
  position: absolute;
  top: 15px;
  right: 15px;
  left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100% - 30px);
  z-index: 1;
}

.badgesrs .badgers {
  background: var(--color-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  box-sizing: border-box;
}

.badgers {
  background: var(--color-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  box-sizing: border-box;
}

.card-contentrs {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  gap: 10px;
}

.card-toprs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.625rem;
  flex-shrink: 0;
}

.card-toprs h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy-text);
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  line-height: 1.35;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.durationrs {
  background: var(--color-gray-text);
  flex-shrink: 0;
  width: fit-content;
  max-width: 100%;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--color-black);
  text-align: center;
  box-sizing: border-box;
}

.descriptionrs {
  font-size: 12px;
  color: var(--color-black);
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
}

/* Button Animation */

.btnrs {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  flex-shrink: 0;
  margin-top: auto;
}

.btnrs span {
  position: relative;
  z-index: 2;
  /* يخلي النص فوق الطبقة البرتقالى */
}

.btnrs::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-orange-alt);
  transition: 0.4s ease;
  z-index: 1;
}

.btnrs:hover::before {
  left: 0;
}

.btnrs:hover {
  color: var(--color-white);
}

.btnrs span {
  position: relative;
  z-index: 1;
}

/* ==================mbile======================= */
/* ================= Responsive - Hot Programs ================= */

/* ===== التابلت ===== */
@media (min-width: 769px) and (max-width: 1199px) {
  .best-sellersrs .cardsrs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .best-sellersrs .cardsrs .cardrs {
    width: 100%;
    max-width: 100%;
    height: auto;
    left: 0;
    min-height: 0;
  }
}

@media (min-width: 1440px) {
  .best-sellersrs .cardsrs .cardrs {
    width: 100%;
    max-width: 100%;
    left: 0;
    min-height: 408px;
    height: auto;
  }
}


/* ===== الموبايل ===== */
@media (max-width: 768px) {

  /* الكروت تحت بعض */
  .best-sellersrs .cardsrs {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* نخفي الكارت الرابع */
  .best-sellersrs .cardsrs .cardrs:nth-child(n+4) {
    display: none;
  }

  /* نلغي الـ left عشان كان بيبوظ الدنيا */
  .best-sellersrs .cardrs {
    width: 100%;
    height: auto;
    left: 0px;
    padding: 12px;
  }

  /* تصغير الصورة شوية */
  .best-sellersrs .card-imagers img {
    height: 140px;
  }

  /* النصوص تبقى متوسطة */
  .best-sellersrs .card-toprs h3 {
    font-size: 14px;
  }

  .best-sellersrs .descriptionrs {
    font-size: 12px;
  }

  /* الهيدر في النص */
  .best-sellersrs .titlers {
    text-align: center;
    margin-bottom: 20px;
  }
}

/* ====================================section5========================== */
.best-sellersrx {
  padding: 60px 80px;
  background: var(--color-text-half);
}

.containerrx {
  max-width: 1300px;
  margin: auto;
}

/* Header */

.section-headerrx {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.top-textrx {
  color: var(--color-orange-alt);
  font-size: 14px;
  font-weight: 600;
}

.titlerx {
  grid-column: 2;
  text-align: center;
  max-width: min(100%, 42rem);
  justify-self: center;
  min-width: 0;
}

.titlerx h2 {
  font-size: 36px;
  color: var(--color-navy-text);
  margin: 5px 0;
  font-weight: 700;

}

.titlerx p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.see-allrx {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  text-decoration: none;
  color: var(--color-navy-text);
  font-weight: 500;
  white-space: nowrap;
}

/* Narrow screens: stack title + “See all” so the link stays tappable and readable */
@media (max-width: 768px) {

  .section-headerr,
  .section-headerrs,
  .section-headerrx {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
    justify-items: center;
  }

  .section-headerr .titler,
  .section-headerrs .titlers,
  .section-headerrx .titlerx {
    grid-column: 1;
    max-width: 100%;
  }

  .section-headerr .see-allr,
  .section-headerrs .see-allrs,
  .section-headerrx .see-allrx {
    grid-column: 1;
    justify-self: center;
    white-space: normal;
    text-align: center;
  }
}

/* Cards */

.cardsrx {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  justify-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cardrx {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 360px;
  position: relative;
  left: 0;
  padding: 15px;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.card-imagerx {
  position: relative;
  flex-shrink: 0;
}

.card-imagerx img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;

}

.badgesrx {
  position: absolute;
  top: 15px;
  right: 15px;
  left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100% - 30px);
  z-index: 1;
}

.badgesrx .badgerx {
  background: var(--color-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  box-sizing: border-box;
}

.badgerx {
  background: var(--color-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  box-sizing: border-box;
}

.card-contentrx {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  gap: 10px;
}

.card-toprx {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.625rem;
  flex-shrink: 0;
}

.card-toprx h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy-text);
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  line-height: 1.35;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.durationrx {
  background: var(--color-gray-text);
  flex-shrink: 0;
  width: fit-content;
  max-width: 100%;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--color-black);
  text-align: center;
  box-sizing: border-box;
}

.descriptionrx {
  font-size: 12px;
  color: var(--color-black);
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
}

/* Button Animation */

.btnrx {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  flex-shrink: 0;
  margin-top: auto;
}

.btnrx span {
  position: relative;
  z-index: 2;
  /* يخلي النص فوق الطبقة البرتقالى */
}

.btnrx::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-orange-alt);
  transition: 0.4s ease;
  z-index: 1;
}

.btnrx:hover::before {
  left: 0;
}

.btnrx:hover {
  color: var(--color-white);
}

.btnrx span {
  position: relative;
  z-index: 1;
}

/* =================mobile====================== */
/* ================= Responsive - Upcoming Diplomas ================= */

/* ===== Tablet ===== */
@media (min-width: 769px) and (max-width: 1199px) {
  .best-sellersrx .cardsrx {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .best-sellersrx .cardsrx .cardrx {
    width: 100%;
    max-width: 100%;
    height: auto;
    left: 0;
    min-height: 0;
  }
}

@media (min-width: 1440px) {
  .best-sellersrx .cardsrx .cardrx {
    width: 100%;
    max-width: 100%;
    left: 0;
    min-height: 408px;
    height: auto;
  }
}


/* ===== Mobile ===== */
@media (max-width: 768px) {

  /* الكروت تحت بعض */
  .best-sellersrx .cardsrx {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* نخفي الكارت الرابع */
  .best-sellersrx .cardsrx .cardrx:nth-child(n+4) {
    display: none;
  }

  /* نلغي العرض الثابت والـ left */
  .best-sellersrx .cardrx {
    width: 100%;
    height: auto;
    left: 0;
    padding: 12px;
  }

  .best-sellersrx .card-imagerx img {
    height: 140px;
  }

  .best-sellersrx .titlerx {
    text-align: center;
  }
}

/* =========================section6================== */
.partnerse {
  padding: 80px 0;
  text-align: center;
  background: var(--color-white);

}

/* ===== Heading ===== */

.headinge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.dashe {
  width: 30px;
  height: 3px;
  background: var(--color-orange-soft);
  /* برتقالي */
}

.headinge h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-navy-text-sofi);
  /* أزرق غامق */
}

.descriptione {
  color: var(--color-black);
  font-size: 15px;
  margin-bottom: 60px;
}

/* ===== Slider ===== */

.slidere {
  overflow: hidden;
  width: 100%;
}

.slide-tracke {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scroll 10s ease-in-out infinite alternate;
}

.slide-tracke img {
  height: 80px;
  object-fit: contain;
  transition: 0.3s;
}

.slide-tracke img:hover {
  transform: scale(1.1);
}

/* ===== Animation ===== */

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ================================ Learning journey (#Figma-aligned, hj-* BEM inside .learning-journey) ======================================= */
.learning-journey {
  --hj-navy: #181e4b;
  --hj-muted: #5e6282;
  --hj-accent: #ff725e;
  --hj-card-bg: var(--color-white);
  padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1rem, 4vw, 2rem);
  background: var(--color-white);
  box-sizing: border-box;
}

.learning-journey .hj-shell {
  max-width: 1200px;
  margin-inline: auto;
  box-sizing: border-box;
}

.learning-journey .hj-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.25rem);
}

.learning-journey .hj-kicker {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--hj-muted);
  line-height: 1.5;
}

.learning-journey .hj-heading {
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--hj-navy);
}

.learning-journey .hj-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3.5vw, 2rem);
}

.learning-journey .hj-step {
  display: flex;
  flex-direction: row;
  gap: clamp(1rem, 2vw, 1.375rem);
  align-items: flex-start;
}

.learning-journey .hj-step--empty .hj-stepIcon--muted {
  background-color: #e9edf5;
}

.learning-journey .hj-stepTitle {
  margin: 0 0 0.45rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hj-navy);
}

.learning-journey .hj-stepDesc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hj-muted);
}

.learning-journey .hj-stepIcon {
  flex: 0 0 auto;
  width: clamp(44px, 8vw, 52px);
  height: clamp(44px, 8vw, 52px);
  border-radius: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f1a501;
  box-shadow: 0 10px 18px rgba(24, 30, 75, 0.08);
}

.learning-journey .hj-stepIcon img {
  width: 54%;
  height: 54%;
  object-fit: contain;
}

.learning-journey .hj-visual {
  min-width: 0;
}

.learning-journey .hj-visualInner {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: clamp(1rem, 3vw, 2.25rem);
  min-height: clamp(420px, 52vw, 520px);
}

.learning-journey .hj-visualInner--empty {
  align-items: center;
}

.learning-journey .hj-glow {
  position: absolute;
  inset-inline: clamp(12%, 8vw, 18%);
  top: clamp(4%, 2vw, 10%);
  bottom: clamp(18%, 6vw, 28%);
  background: radial-gradient(ellipse at 72% 38%, rgba(255, 196, 160, 0.65), rgba(255, 220, 200, 0.15) 45%, transparent 72%);
  filter: blur(1px);
  pointer-events: none;
  border-radius: 50%;
}

.learning-journey .hj-deck {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.learning-journey .hj-main {
  position: relative;
  z-index: 2;
  display: block;
  padding: clamp(10px, 1.75vw, 14px);
  background: var(--hj-card-bg);
  border-radius: 1.5rem;
  box-shadow: 0 26px 60px rgba(24, 30, 75, 0.12), 0 8px 20px rgba(24, 30, 75, 0.06);
  text-decoration: none;
  color: inherit;
}

.learning-journey .hj-mainMedia {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f4f6f9;
}

.learning-journey .hj-mainMedia img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.learning-journey .hj-heart {
  position: absolute;
  inset-inline-end: clamp(10px, 2.75vw, 18px);
  bottom: clamp(10px, 2.75vw, 18px);
  width: clamp(42px, 9vw, 52px);
  height: clamp(42px, 9vw, 52px);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--hj-accent);
  font-size: 1.3125rem;
  background: var(--hj-card-bg);
  box-shadow: 0 14px 32px rgba(24, 30, 75, 0.12);
  z-index: 2;
}

.learning-journey .hj-mainBody {
  padding: clamp(0.65rem, 2vw, 1rem) clamp(8px, 1.75vw, 12px) 0;
  text-align: start;
}

.learning-journey .hj-mainTitle {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hj-navy);
}

.learning-journey .hj-mainMeta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--hj-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.learning-journey .hj-mainSep {
  opacity: 0.45;
}

.learning-journey .hj-mainFoot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.learning-journey .hj-mainIcons {
  display: inline-flex;
  gap: 0.5rem;
}

.learning-journey .hj-miniIcon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f6f8fb;
  color: #8d92ad;
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
}

.learning-journey .hj-mainPeople {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--hj-muted);
}

.learning-journey .hj-mainPeople .fa-regular {
  font-size: 0.95rem;
  opacity: 0.72;
}

.learning-journey .hj-pillCard {
  position: relative;
  z-index: 3;
  align-self: flex-end;
  width: min(100%, clamp(258px, 72%, 296px));
  margin-block-start: clamp(-4.75rem, -11vw, -3rem);
  margin-inline-end: clamp(-0.25rem, -1vw, 0rem);
  padding: 0.9rem clamp(11px, 2.5vw, 14px) 1rem;
  background: var(--hj-card-bg);
  border-radius: 1rem;
  box-shadow: 0 26px 50px rgba(24, 30, 75, 0.16), 0 8px 16px rgba(24, 30, 75, 0.08);
  box-sizing: border-box;
}

.learning-journey .hj-pillLabel {
  display: inline-block;
  margin-bottom: 0.625rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #84829a;
  background: #f2f3f8;
}

.learning-journey .hj-pillRow {
  display: flex;
  flex-direction: row;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.learning-journey .hj-pillAvatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffe7db, #f3eef7);
  color: var(--hj-navy);
  display: grid;
  place-items: center;
}

.learning-journey .hj-pillTexts {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.learning-journey .hj-pillTitle {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hj-navy);
  display: block;
}

.learning-journey .hj-pillSub {
  font-size: 0.75rem;
  color: var(--hj-muted);
  font-weight: 500;
}

.learning-journey .hj-pillProg {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.learning-journey .hj-pillTrack {
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #eff1f7;
  overflow: hidden;
}

.learning-journey .hj-pillFill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff8366 0%, var(--hj-accent) 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.learning-journey .hj-pillPct {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #84829a;
}

.learning-journey .hj-pillPctVal {
  color: var(--hj-accent);
  font-weight: 700;
}

.learning-journey .hj-emptyCard {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  margin-inline: auto;
  padding: 1.5rem 1.25rem;
  border-radius: 1.25rem;
  background: #f8fafc;
  border: 1px solid rgba(24, 30, 75, 0.08);
  color: var(--hj-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 991px) {
  .learning-journey .hj-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 5vw, 3rem);
  }

  .learning-journey .hj-visualInner {
    min-height: unset;
    padding-block: 0;
  }

  .learning-journey .hj-visual {
    justify-self: center;
    width: min(100%, 26.5rem);
  }

  .learning-journey .hj-deck {
    width: 100%;
  }

  .learning-journey .hj-pillCard {
    align-self: center;
    margin-inline-start: auto;
    margin-inline-end: auto;
    margin-block-start: clamp(-3.75rem, -9vw, -2rem);
  }
}

@media (max-width: 575px) {
  .learning-journey .hj-stepDesc br {
    display: none;
  }

  .learning-journey .hj-miniIcon {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .learning-journey .hj-pillCard {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
}

/* =====================section8=========================== */
.partnersq {
  padding: 80px 20px;
  background: var(--color-text-hal);

}

.containerq {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-titleq {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-navy-main);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dashq {
  width: 20px;
  height: 3px;
  background: var(--color-orange-main);
  display: inline-block;
}

.section-descq {
  margin-top: 15px;
  color: var(--color-text-muteds);
  font-size: 15px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.cardsq {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.cardq {
  background: var(--color-white);
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

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

.cardq-image img {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.card-textq {
  font-size: 13px;
  color: var(--color-text-muteds);
  line-height: 1.6;
}

/* ====================mobile========================= */
/* نخفي السكشن في الموبايل */
@media (max-width: 768px) {
  .partnersq {
    display: none;
  }
}

/* ===================================section9=================== */
.testimonials {
  padding: 80px 20px;
  text-align: center;
  background: var(--color-white);
  box-sizing: border-box;



}

.container {
  display: block;
}

.section-small {
  color: var(--color-navy-text-soft);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 35px;
}

.dash {
  width: 20px;
  height: 3px;
  background: var(--color-orange-alt);
}

.section-title {
  font-size: 40px;
  margin-top: 10px;
  margin-bottom: 60px;
  color: var(--color-black);
  width: 100%;
}

/* Testimonials main heading: orange; prior desktop size then −12% */
.testimonials .section-title {
  margin-bottom: 60px;
  color: var(--color-orange-main, #f47429);
  font-size: calc(40px * 1.2 * 0.9 * 0.9 * 0.88);
}

.testimonial-cards {
  display: flex;
  gap: 20px;
  justify-content: center;

}

/*
 * Large (xl+): fit row in viewport — “active ~col-4, four others ~col-2 each” on a 12-part flex row
 * (active flex-grow 4, inactive flex-grow 2 each ⇒ 4+8=12). Fluid widths replace fixed 700px/250px.
 */
@media (min-width: 1280px) {
  .testimonials .testimonial-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(12px, 1.35vw, 20px);
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
    padding-inline: clamp(8px, 1vw, 12px);
  }

  /* Inactive stripes: collectively ~8 twelfths (2+2+2+2) */
  .testimonials .testimonial-card:not(.active) {
    flex: 2 1 0%;
    min-width: 0;
    width: auto !important;
    max-width: none;
  }

  /* Expanded story: ~4 twelfths of the flex sum (user: active “col-4”, others share “col-8”) */
  .testimonials .testimonial-card.active {
    flex: 4 1 0%;
    min-width: 0;
    width: auto !important;
    max-width: none;
  }

  .testimonials .testimonial-card .testimonial-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    padding-left: clamp(0.5rem, 2vw, 2.5rem);
    padding-right: clamp(0.5rem, 2vw, 2.5rem);
    box-sizing: border-box;
  }

  .testimonials .testimonial-card:not(.active) .avatar {
    width: clamp(56px, 7vw, 88px);
    height: clamp(56px, 7vw, 88px);
    border-radius: 50%;
    object-fit: cover;
    margin-inline: auto;
    display: block;
  }

  .testimonials .testimonial-card .bottom {
    width: min(100%, calc(100% - 24px));
    max-width: calc(100% - 16px);
  }
}

.testimonial-card {
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  width: 250px;
  height: 623px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* يخلي المحتوى يبدأ من فوق */
  padding-top: 30px;
  position: relative;
}

.testimonial-card.active {
  width: 700px;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  padding-left: 60px;
  padding-right: 60px;

  text-align: center;
  width: 560px;
  height: 823px;
}

/* نخفي النص بس مش الصورة */
/* نخفي النص */
/* hide text when closed */
.testimonial-card:not(.active) h3,
.testimonial-card:not(.active) .role,
.testimonial-card:not(.active) .description,
.testimonial-card:not(.active) .mini-img {
  display: none;
}

/*
 * Homepage testimonials avatar only (.avatar appears only here).
 * Equal width/height + 50% = true circle (100×150 with 50% was an ellipse).
 */
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-inline: auto;
  margin-bottom: 15px;
  display: block;
}

/* Testimonials name + role (homepage only) */
.testimonials .testimonial-card h3 {
  margin: 0 0 0.55rem;
}

/* Subtitle; gray-text token is too light on white backgrounds */
.role {
  font-size: 14px;
  color: var(--color-text-muted, #6c757d);
  margin-top: 0;
  margin-bottom: 20px;
}

.description {
  font-size: 14px;
  line-height: 2;
  color: var(--color-navy-text-soft);
}

.description span {
  color: var(--color-orange-alt);
}

/*
 * Testimonials only: quote + mini image.
 * Full-width .bottom stretched quote vs text — keep a centered track matching .testimonial-content (~560px).
 */
.testimonials .testimonial-card .bottom {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0;
  box-sizing: border-box;
}

.testimonials .testimonial-card.active .bottom {
  justify-content: space-between;
}

.testimonials .testimonial-card .quote {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  min-width: 0;
}

.testimonials .testimonial-card .quote img {
  width: min(160px, 100%);
  max-width: 180px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  opacity: 0.35;
  transition: 0.4s ease;
  margin: 0;
  display: block;
}

.testimonials .testimonial-card.active .quote img {
  width: 50px;
  max-width: 50px;
  height: auto;
  opacity: 1;
}

.testimonials .testimonial-card .mini-img {
  width: 150px;
  height: 100px;
  border-radius: 50%;
  margin: 0;
  flex-shrink: 0;
}

/* =====================section10================ */
.herov {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--color-navy-mainn);

}

/* ================= LEFT SIDE ================= */

.leftv {
  width: 50%;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-white);
}

.small-titlev {
  font-size: 40px;
  margin-bottom: 15px;
}

.small-titlev span {
  color: var(--color-orange-cta);
}

.simv {
  font-size: 21px;
  margin-top: -70px;
  white-space: nowrap;
}

.simv span {
  color: var(--color-orange-cta);
}

.leftv h1 {
  font-size: 27px;
  line-height: 1.4;
  margin-bottom: -200px;
  white-space: nowrap;
}

.leftv h1 span {
  color: var(--color-orange-cta);
}

.leftv p {
  color: var(--color-gray-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 150px;
  width: 480px;
}


/* Community section CTA (replaces magic-btnv / broken absolute hover) */
.community-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-self: flex-start;
  padding: 0.875rem 1.25rem 0.875rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg,
      var(--color-orange-main, #f47429) 0%,
      var(--color-orange-alt, #ff8c42) 100%);
  color: var(--color-white, #fff);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 16px rgba(244, 116, 41, 0.38),
    0 1px 2px rgba(15, 39, 66, 0.08);
  border: none;
  cursor: pointer;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}

.community-cta:hover {
  box-shadow:
    0 8px 28px rgba(244, 116, 41, 0.45),
    0 2px 6px rgba(15, 39, 66, 0.1);
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.community-cta:focus-visible {
  outline: 2px solid var(--color-white, #fff);
  outline-offset: 3px;
}

.community-cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.community-cta__text {
  line-height: 1.2;
}

.community-cta__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    transform 0.25s ease;
}

.community-cta:hover .community-cta__circle {
  background: rgba(255, 255, 255, 0.38);
  transform: translateX(4px);
}

.community-cta__arrow {
  font-size: 0.8rem;
  line-height: 1;
  color: inherit;
}

/* ================= RIGHT SIDE ================= */

.rightv {
  width: 40%;
  position: relative;
  overflow: hidden;
  right: -80px;
}


/* blur فوق وتحت */
.rightv::before,
.rightv::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 2;
}

.rightv::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-navy-mainn), transparent);
}

.rightv::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-navy-mainn), transparent);
}

.slide-trackev {
  display: flex;
  flex-direction: column;
  animation: scrollY 5s ease-in-out infinite alternate;
}

.slide-trackev img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.abovev {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: -150px;

}

/* ===== Animation رأسية ===== */

@keyframes scrollY {
  0% {
    transform: translateY(0%);
  }

  40% {
    transform: translateY(-40%);
  }

}

@media (max-width: 768px) {
  .herov {
    display: none;
  }
}

/* =================================section11=========================== */
.why {
  padding: 80px 20px;
  background: var(--color-white);
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.small-title {
  color: var(--color-navy-main);
  font-weight: 600;
  font-size: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dash {
  width: 20px;
  height: 3px;
  background: var(--color-orange-alt);
  display: inline-block;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 20px 0;
  color: var(--color-black);
}

.section-header p {
  color: var(--color-gray-text);
  max-width: 600px;
  margin: auto;
  font-size: 15px;
}

.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.features.left .feature-item {
  justify-content: flex-end;
}

.features.left .text {
  text-align: right;
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--color-black);
  font-weight: bold;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-black);
}

.number {
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
}

.center-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.center-image img {
  width: 350px;
  height: 450px;
  object-fit: cover;
  border-radius: 200px;
}

.statsd {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-boxd {
  flex: 0 0 210px;
  height: 95px;
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  padding: 15px 20px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.stat-boxd .icond {
  font-size: 22px;
  margin-bottom: 10px;
}

.stat-boxd .icond img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  margin-top: 0;
}

.stat-boxd .rowwd {
  text-align: center;
}

.stat-boxd h3 {
  margin: 0;
  font-size: 22px;
}

.stat-boxd span {
  display: block;
  font-size: 13px;
  margin-top: 4px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {

  .content {
    flex-direction: column;
    text-align: center;
  }

  .features {
    align-items: center;
  }

  .feature-item {
    justify-content: center;
  }

  .center-image img {
    width: 300px;
    height: 400px;
  }

  .statsd {
    justify-content: center;
  }
}

@media (max-width: 600px) {

  .section-header h2 {
    font-size: 30px;
  }

  .center-image img {
    width: 250px;
    height: 350px;
  }

  .stat-boxd {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .statsd {
    display: none;
  }
}

/* ====================section12================ */
.contactm {
  background-color: var(--color-text-main);
  text-align: center;
  padding: 120px 20px;
}

.containerm {
  max-width: 900px;
  margin: auto;
}

/* Small Title */
.small-titlem {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.small-titlem .linem {
  width: 25px;
  height: 3px;
  background-color: var(--color-orange-main);
}

.small-titlem h4 {
  color: var(--color-text-mutedscf);
  font-size: 40px;
  font-weight: 600;
}

.sub-textm {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-size: 24px;
}

/* Main Heading */
.containerm h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-maine);
  line-height: 1.4;
  margin-bottom: 50px;
}

.containerm h1 span {
  color: var(--color-orange-soft);
}

/* Button */
.btnm {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--color-navy-text-soft);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  /* transition: color 0.3s ease; */
  z-index: 1;
}

/* Overlay Effect */
.btnm::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  background-color: var(--color-orange-soft);
  transition: width 0.5s ease;
  z-index: -1;
}

.btnm:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.btnm:hover {
  color: var(--color-white);
}

.btnm span {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .contactm {
    display: none;
  }
}

/* ========================section13================= */
.challengel {
  padding: 120px 20px;
  overflow-x: hidden;
  background: var(--color-text-hal);


}

.containerl {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* LEFT SIDE */

.small-titlel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.linel {
  width: 25px;
  height: 3px;
  background: var(--color-orange-soft);
}

.small-titlel h4 {
  color: var(--color-navy-main);
  font-size: 35px;
}

.sub-textl {
  color: var(--color-text-muteds);
  font-size: 14px;
  margin-bottom: 25px;
  max-width: 500px;
}

.downfl {
  margin-top: 150px;
}

.leftl h1 {
  font-size: 48px;
  color: var(--color-navy-text-dark);
  line-height: 1.2;
  margin-bottom: 40px;
  white-space: normal;
}

.orangel {
  color: var(--color-orange-soft);
}

.infol {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.infol h5 {
  margin-bottom: 10px;
  color: var(--color-navy-text-dark);
}

.infol p {
  font-size: 14px;
  color: var(--color-text-muteds);
  max-width: 260px;
}

/* BUTTON */

.btnl {
  padding: 15px 45px;
  background: var(--color-navy-text-dark);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 600;
  display: inline-block;
}

.btnl::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  background: var(--color-orange-soft);
  transition: .5s;
  z-index: -1;
}

.btnl:hover::before {
  width: 100%;
}

/* RIGHT SIDE */
.rightl {
  flex: 1;
  display: flex;
  justify-content: center;

}

.rightl img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;

}

/* RESPONSIVE */

@media(max-width:1024px) {
  .containerl {
    flex-direction: column;
    text-align: center;
  }

  .infol {
    flex-direction: column;
    align-items: center;
  }

  .rightl {
    margin-top: 60px;
    width: 100%;
  }

  .bg-shapel {
    display: none;
  }
}

@media (max-width: 768px) {
  .challengel {
    display: none;
  }
}

/* =============================section14=================================== */
.heroy {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  background: var(--color-text-halfy);
  padding-top: 60px;
  padding-bottom: 60px;
  box-sizing: border-box;
}

/* dotted background */
.heroy::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color-text-maine) 1px, transparent 1px);
  background-size: 20px 20px;
  top: 0;
  left: 0;
  z-index: 0;
}

.contenty {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.small-titley {
  color: var(--color-white);
  margin-bottom: 15px;
  margin-top: 25px;
  font-weight: bold;
  font-size: 25px;
}

.small-titley span {
  color: var(--color-orange-cta);

}

.contenty h1 {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 40px;
}

.contenty h1 span {
  color: var(--color-orange-cta);
}

.descy {
  margin-top: 30px;
  font-size: 14px;
  color: var(--color-text-whi);
  line-height: 1.6;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Get Started: center the animated SVG ring */
.heroy .wrapper {
  width: 400px;
  height: 400px;
  background: var(--color-text-halfy);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* لف الأقواس الكبيرة */
.orangeArcsBig {
  transform-origin: 300px 300px;
  animation: spinBig 8s linear infinite;
}

/* لف الأقواس الصغيرة */
.orangeArcsSmall {
  transform-origin: 300px 300px;
  animation: spinSmall 12s linear infinite reverse;
}

/* لف الدائرة المنقطة */
.dottedCircle {
  transform-origin: 300px 300px;
  animation: spinDots 20s linear infinite;
}

@keyframes spinBig {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spinSmall {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes spinDots {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}



/* button */
.cta-btn {
  margin-top: 30px;
  margin-bottom: 25px;
  padding: 14px 35px;
  border: none;
  background: var(--color-white);
  color: var(--color-navy-text-darkess);
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-orange-cta);
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.4s ease;
  z-index: -1;
}

.cta-btn:hover::before {
  transform: scaleY(1);
}

.cta-btn:hover {
  color: var(--color-white);
  background: var(--color-orange-alt);
}

@media (max-width: 768px) {
  .heroy {
    display: none;
  }
}

/* ===============section 15=============================  */
.insights {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  /* background:#f2f4f7; */

}

.containeri {
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.containeri h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);

}

.containeri h2 span {
  color: var(--color-orange-alt);
}

.subtitle {
  margin-top: 15px;
  color: var(--color-gray-muted);
  font-size: 14px;
}

.insights .subtitle {
  color: #555;
}

.contenti {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.insights .contenti {
  position: relative;
}

/* Default: video sits beneath side cards so they overlap visually (raised z-index). */
.insights .contenti .video-card {
  position: relative;
  z-index: 0;
}

.insights .contenti .left-cards,
.insights .contenti .right-cards {
  position: relative;
  z-index: 2;
}

/* After closing expanded mode, explicitly reset sizing/position (avoids stale transform/width). */
.insights .contenti:not([data-insights-expanded="true"]) .video-card {
  left: auto;
  top: auto;
  transform: none;
  width: 380px;
  max-width: none;
}

.insights .contenti:not([data-insights-expanded="true"]) .video-card video,
.insights .contenti:not([data-insights-expanded="true"]) .video-card img {
  width: 100%;
  max-height: none;
  height: auto;
  object-fit: cover;
}

/* Invisible hit-area only: a dark scrim over the whole row read as “gray” on light cards. */
.insights-video-backdrop {
  position: absolute;
  inset: 0;
  z-index: 8;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.insights .contenti[data-insights-expanded="true"] .insights-video-backdrop {
  opacity: 1;
  visibility: visible;
}

.insights .contenti[data-insights-expanded="true"] {
  min-height: var(--insights-expanded-min-h, 520px);
  /* When the video goes position:absolute, row height can shrink; min-height can expose body/wrapper behind — keep fill white. */
  background-color: var(--color-white);
  border-radius: 24px;
}

.insights .contenti[data-insights-expanded="true"] .left-cards,
.insights .contenti[data-insights-expanded="true"] .right-cards {
  pointer-events: none;
}

.insights .contenti[data-insights-expanded="true"] .video-card {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(94%, 920px);
  max-width: 920px;
}

.insights .contenti[data-insights-expanded="true"] .video-card video,
.insights .contenti[data-insights-expanded="true"] .video-card img {
  width: 100%;
  max-height: min(72vh, 640px);
  height: auto;
  object-fit: contain;
}

.insights .contenti[data-insights-expanded="true"] .video-card p {
  margin-top: 14px;
  position: relative;
}

/* Video */
.video-card {
  position: relative;
  width: 380px;
}

.video-card img,
.video-card video {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: block;
  object-fit: cover;
}

.video-card .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card .video-toggle-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--color-navy-main);
  margin-left: 3px;
}

[data-insights-video][data-state="playing"] .video-toggle-icon {
  width: 18px;
  height: 22px;
  border: 0;
  margin-left: 0;
  background:
    linear-gradient(to right, var(--color-navy-main) 0 6px, transparent 6px 12px, var(--color-navy-main) 12px 18px);
}

.video-card p {
  margin-top: -55px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Decorative dots (orange/blue bullets) */
.insights-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.95;
  pointer-events: none;
}

.insights-dot--blue {
  background: var(--color-navy-main);
}

.insights-dot--orange {
  background: var(--color-orange-alt);
}

.insights-dot--1 {
  top: 110px;
  left: 80px;
}

.insights-dot--2 {
  top: 150px;
  left: 220px;
  width: 16px;
  height: 16px;
}

.insights-dot--3 {
  top: 140px;
  right: 160px;
}

.insights-dot--4 {
  top: 210px;
  right: 90px;
  width: 16px;
  height: 16px;
}

.insights-dot--5 {
  bottom: 130px;
  left: 120px;
  width: 16px;
  height: 16px;
}

.insights-dot--6 {
  bottom: 120px;
  right: 140px;
}

/* Cards */
.cardi {
  background: var(--color-white);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  /* text-align:center; */
  width: 290px;
  color: var(--color-black);

}

/* Legacy SMA layout (SVG + negative margins) — skip when using .insights-card-row */
.cardi.sma:not(.insights-card-row) img {
  margin-left: -200px;
  margin-top: -10px;
}

.cardi.sma:not(.insights-card-row) h4 {
  margin-top: -40px;
  margin-left: 50px;
  color: var(--color-black);
}

.cardi.largei {
  width: 290px;
  font-size: 12px;
  margin-top: 50px;

}

.cardi.smalli {
  width: 290px;
  min-height: 120px;
  height: auto;
  margin-top: 0px;
}

.cardi.smalli:not(.insights-card-row) img {
  margin-left: -190px;
  margin-top: 20px;
}

.cardi.smalli:not(.insights-card-row) h4 {
  margin-top: -50px;
  margin-left: 50px;

}

.cardi.smalli:not(.insights-card-row) p {
  margin-left: 50px;
}

/* Insights cards: Font Awesome icons + uploaded poster (flex layout) */
.insights-card-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  text-align: start;
}

.insights-card-row__icon {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.insights-card-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.insights-card-row__body h4 {
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 8px;
  color: var(--color-black);
}

.insights-card-row__body p {
  margin-left: 0;
}

.insights-fa-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.insights-fa-icon-wrap i {
  font-size: 26px;
  color: var(--color-navy-main);
  line-height: 1;
}

.insights-card-row__icon img {
  margin: 0 !important;
  max-width: 40px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.left-cards,
.right-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: start;
}

.right-cards {
  margin-left: -100px;
  z-index: 1;

}

.left-cards {
  margin-right: -100px;
  z-index: 1;


}

button {
  margin-top: 15px;
  padding: 8px 18px;
  background: var(--color-blue-btn);
  color: var(--color-white);
  border: none;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .insights {
    display: none;
  }
}

/* =====================================section16 =====================*/
.news-section {
  padding: 80px 10%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--color-text-halfy);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 16px;
}

.news-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* ================= LEFT CARD ================= */

.main-card img {
  width: 80%;
  height: 50%;
  border-radius: 12px;
  display: block;
}

.badge {
  display: inline-block;
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  font-size: 12px;
  padding: 6px 15px;
  border-radius: 20px;
  margin: 20px 0 15px 0;
}

.main-card h3 {
  font-size: 22px;
  color: var(--color-black);
  margin-bottom: 15px;
  line-height: 1.4;
}

.main-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  padding: 10px 24px;
  background: var(--color-navy-main, #003F7D);
  color: var(--color-white, #ffffff) !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  border: 1px solid var(--color-navy-main, #003F7D);
}

.read-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--color-orange-main, #f37a32);
  transition: width 0.4s ease;
  z-index: -1;
}

.read-more:hover::before {
  width: 100%;
}

.read-more:hover {
  color: var(--color-white, #ffffff) !important;
  text-decoration: none;
  border-color: var(--color-orange-main, #f37a32);
}

/* ================= RIGHT SIDE ================= */

.side-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.side-img {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.main-card__media {
  display: block;
  text-decoration: none;
  color: inherit;
}

.main-card__title-link,
.side-card__title-link {
  color: inherit;
  text-decoration: none;
}

.main-card__title-link:hover,
.side-card__title-link:hover {
  color: var(--color-navy-text-soft);
  text-decoration: underline;
}

.side-img img {
  width: 170px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.side-img .badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10px;
  padding: 4px 10px;
}

.side-content h4 {
  font-size: 16px;
  color: var(--color-black);
  margin-bottom: 8px;
  line-height: 1.4;
}

.side-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ================= RESPONSIVE ================= */

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

  .side-card {
    flex-direction: row;
  }
}

@media(max-width:600px) {
  .side-card {
    flex-direction: column;
  }

  .side-img img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .news-section {
    display: none;
  }
}

/* ==================================section 17=============================== */
.subscribe-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 80px auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.subscribe-card {
  position: relative;
  background: var(--color-text-whi);
  border-radius: 32px;
  border-start-start-radius: 64px;
  /* bigger top-left like Figma (mirrors in RTL) */
  padding: 40px clamp(1.25rem, 5vw, 72px);
  overflow: visible;
  width: 100%;
  max-width: 1090px;
  box-sizing: border-box;
}

/* زخرفة الدوائر اليسار */
.subscribe-card::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 58%, rgba(255, 255, 255, 0.15) 60%, transparent 62%),
    radial-gradient(circle at center, transparent 68%, rgba(255, 255, 255, 0.12) 70%, transparent 72%),
    radial-gradient(circle at center, transparent 78%, rgba(255, 255, 255, 0.10) 80%, transparent 82%);
  opacity: 0.9;
  pointer-events: none;
}

/* زخرفة الدوائر اليمين */
.subscribe-card::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 58%, rgba(255, 255, 255, 0.14) 60%, transparent 62%),
    radial-gradient(circle at center, transparent 70%, rgba(255, 255, 255, 0.10) 72%, transparent 74%);
  opacity: 0.9;
  pointer-events: none;
}

.subscribe-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.subscribe-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.subscribe-title span {
  font-weight: 600;
  color: var(--color-text-mutedsc);

}

.subscribe-form {
  display: inline-flex;
  align-items: center;
  /* keep same level */
  gap: 14px;
  /* button outside input, per Figma */
  background: transparent;
  border-radius: 26px;
  padding: 0;
  box-shadow: none;
}

.email-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 18px;
  min-width: 360px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.email-field:focus-within {
  border-color: rgba(255, 122, 47, 0.55);
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.10),
    0 0 0 4px rgba(255, 122, 47, 0.15);
}

.email-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(12, 37, 59, 0.55);
  /* same as placeholder */
}

.email-icon i {
  line-height: 1;
}

.email-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: var(--color-text-halfy);
  min-width: 0;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.email-input::placeholder {
  color: rgba(12, 37, 59, 0.55);
}

.email-input:focus {
  outline: none;
  box-shadow: none;
}

.subscribe-button {
  border: none;
  background: var(--color-orange-alt);
  color: var(--color-text-main);
  padding: 0 30px;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  margin-top: -1px;
  /* visual alignment with input (desktop) */
}

.subscribe-button:hover {
  background: var(--color-orange-main);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.subscribe-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

/* الأيقونة البرتقالية العلوية – مايلة وطالعة برا الإطار */
.corner-fab {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-orange-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transform: rotate(-18deg);
  /* ميل خفيف للدائرة كلها */
}

.corner-fab svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
  transform: rotate(-30deg) translateX(2px) translateY(-2px);
  /* ميل معاكس بسيط للطيارة عشان تبان طالعة لفوق ويمين */
}

/* تابلت */
@media (max-width: 900px) {
  .subscribe-card {
    padding: 32px 28px;
    border-radius: 26px;
  }

  .subscribe-title {
    font-size: 20px;
  }
}

/* موبايل */
@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  .subscribe-card {
    padding: 24px 18px 28px;
    border-radius: 22px;
  }

  .subscribe-title {
    font-size: 18px;
    line-height: 1.5;
  }

  .subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .email-field {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .subscribe-button {
    width: 100%;
  }

  .corner-fab {
    width: 48px;
    height: 48px;
    right: -14px;
    top: -14px;
  }

  .corner-fab svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  .subscribe-wrapper {
    display: none;
  }
}

/* =========================direction page======================== */
.gallery-section {
  background: var(--color-text-half);
  padding: 80px 0;
  overflow: hidden;
}

.container {
  max-width: 1600px;
  margin: auto;
  padding: 0 20px;
}

.main-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy-text-soft);
  line-height: 1.4;
}

.main-title span {
  display: block;
  color: var(--color-orange-main);
}

.filter-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0 50px;
  font-size: 14px;
  color: var(--color-navy-alt);
}

.filter-menu li.active {
  color: var(--color-orange-main);
  font-weight: 600;
  position: relative;
}


.filter-menu li.active {
  color: var(--color-orange-main);
  font-weight: 600;
}

.filter-menu li.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 90px;
  height: 1px;
  background: var(--color-orange-cta);
  border-radius: 5px;
}

.filter-menu li:hover {
  color: var(--color-orange-main);
}

/* ====== السلايدر ====== */

.slider {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 40px;
  animation: scroll 8s linear infinite;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.item {
  overflow: hidden;
  border-radius: 6px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}

.item:hover img {
  transform: scale(1.05);
}

/* الصورة الكبيرة */
.big {
  grid-column: 3/4;
  grid-row: 1/3;
}

/* الحركة المستمرة */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =======section 2======= */
/* ================= Header ================= */

.section-headerdi {
  text-align: center;
  padding: 60px 20px 40px;
  background: var(--color-text-half);
}

.section-headerdi h2 {
  font-size: 32px;
  color: var(--color-navy-text-soft);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-headerdi h2::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 3px;
  background: var(--color-orange-alt);
}

.section-headerdi p {
  margin-top: 15px;
  color: var(--color-gray-text);
  font-size: 15px;
}

/* ================= Grid ================= */

.coursesdi {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 60px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* ================= Card ================= */

.course-carddi {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--color-white);
}

.course-carddi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

.course-contentdi {
  position: relative;
  z-index: 2;
}

.course-contentdi h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.course-contentdi p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 15px;
}

.course-infodi {
  display: flex;
  gap: 20px;
  font-size: 12px;
  opacity: 0.9;
}

.course-infodi span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================= Responsive ================= */

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

/* section3 */
/* ================= Section ================= */

.ai-section {
  width: 100%;
  padding: 80px 20px 100px;
  background: var(--color-navy-text);
  text-align: center;
  color: var(--color-white);
  position: relative;
}

/* small title */
.small-title {
  color: var(--color-orange-alt);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* main title */
.ai-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* ================= Cards ================= */

.cardsm {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cardm {
  background: var(--color-text-muted);
  padding: 35px 25px;
  border-radius: 12px;
  transition: 0.3s ease;
}

.cardm:hover {
  transform: translateY(-8px);
  background: var(--color-navy-header);
}

.cardm .icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.cardm h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.cardm p {
  font-size: 13px;
  color: var(--color-gray-line);
  line-height: 1.6;
}

/* bottom white divider */
.ai-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-white);
}

/* ================= Dark Section ================= */

.dark-section {
  width: 100%;
  height: 250px;
  background: var(--color-navy-text);
}

/* ================= Responsive ================= */

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

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

/* ======================================three page=================================== */
.herotwo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  min-height: 100vh;
  background: var(--color-text-gr);
}

/* LEFT SIDE */

.hero-contenttwo {
  width: 50%;
}

.hero-contenttwo h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-navy-text-sofi);
}

.hero-contenttwo h1 span {
  color: var(--color-orange-main);
}

.hero-contenttwo p {
  margin-top: 20px;
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 480px;
}

.search-boxtwo {
  margin-top: 30px;
  display: flex;
  width: 420px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
}

.courses-hero-search {
  position: relative;
  width: 420px;
  max-width: 100%;
}

.courses-hero-search .search-boxtwo {
  width: 100%;
}

.search-boxtwo input {
  flex: 1;
  padding: 14px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-boxtwo button {
  width: 55px;
  border: none;
  background: var(--color-navy-text-sofi);
  color: var(--color-white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.courses-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
}

.courses-autocomplete__list {
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
  overflow: hidden;
}

.courses-autocomplete__item {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
}

.courses-autocomplete__item:hover,
.courses-autocomplete__item:focus {
  background: transparent;
  outline: none;
}

.courses-autocomplete__item:hover .courses-autocomplete__title,
.courses-autocomplete__item:focus .courses-autocomplete__title {
  color: var(--color-orange-main);
}

.courses-autocomplete__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 44px;
  background: rgba(15, 23, 42, 0.06);
}

.courses-autocomplete__thumb--empty {
  display: block;
}

.courses-autocomplete__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.courses-autocomplete__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy-text-sofi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.courses-autocomplete__cat {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.courses-autocomplete__empty {
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
  padding: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.categoriestwo {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.categoriestwo button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  background: var(--color-gray-text);
  color: var(--color-navy-text-sofi);
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.categoriestwo button:hover {
  background: var(--color-gray-text);
}

.categoriestwo .active {
  background: var(--color-orange-main);
  color: var(--color-white);
}

/* RIGHT SIDE */

.hero-imagetwo {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-imagetwo img {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
}

@media(max-width:1024px) {
  .herotwo {
    flex-direction: column;
    text-align: center;
  }

  .hero-contenttwo,
  .hero-imagetwo {
    width: 100%;
  }

  .search-boxtwo {
    margin: auto;
    margin-top: 30px;
  }

  .categoriestwo {
    justify-content: center;
  }

  .hero-contenttwo h1 {
    font-size: 42px;
  }
}

.hero-righttwo {
  width: 50%;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-righttwo img {
  width: 500px;
  height: 800px;
}

/* BLUE CIRCLE */

.shape-bluetwo {
  width: 450px;
  height: 450px;
  background: var(--color-navy-text-sofi);
  border-radius: 50%;
  position: absolute;
  z-index: 0;
}

/* ORANGE HALF RING */

.shape-orangetwo {
  width: 280px;
  height: 280px;
  border: 35px solid var(--color-orange-main);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 100px;
  z-index: 1;
}

/* PERSON IMAGE */

.hero-righttwo .persontwo {
  position: absolute;
  width: 420px;
  height: auto;
  aspect-ratio: 657 / 597;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
}

.cardtwo {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 63, 125, 0.12);
  box-shadow: 0 15px 35px rgba(0, 63, 125, 0.12);
  font-size: 14px;
  color: var(--color-navy-main);
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardtwo:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 63, 125, 0.18);
}

.studentstwo {
  top: 90px;
  left: 40px;
}

.studentstwo strong {
  color: var(--color-orange-main);
  font-weight: 800;
  line-height: 1.1;
  display: inline-block;
  margin-bottom: 2px;
}

.besttwo {
  bottom: 140px;
  left: 60px;
  background: var(--color-orange-main);
  color: var(--color-white);
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 25px rgba(244, 116, 33, 0.3);
}

.besttwo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(244, 116, 33, 0.45);
}

.coursetwo {
  top: 220px;
  right: 40px;
  color: var(--color-orange-main);
}

.coursetwo strong {
  color: var(--color-navy-main);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 2px;
}

.congratstwo {
  bottom: 60px;
  right: 20px;
  color: var(--color-navy-main);
  font-weight: 600;
}

/* section 2 */



/* === source: skillone.css === */

.herotwo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  min-height: 100vh;
  background: var(--color-text-gr);
}

/* LEFT SIDE */

.hero-contenttwo {
  width: 50%;
}

.hero-contenttwo h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-blue-btns);
}

.hero-contenttwo h1 span {
  color: var(--color-orange-main);
}

.hero-contenttwo p {
  margin-top: 20px;
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 480px;
}

.search-boxtwo {
  margin-top: 30px;
  display: flex;
  width: 420px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
}

.search-boxtwo input {
  flex: 1;
  padding: 14px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-boxtwo button {
  width: 55px;
  border: none;
  background: var(--color-navy-text-dark);
  color: var(--color-white);
  font-size: 18px;
  cursor: pointer;
  margin-top: 5px;
}

.categoriestwo {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.categoriestwo button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  background: var(--color-text-grayyy);
  color: var(--color-text-muteds);
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.categoriestwo button:hover {
  background: var(--color-text-hal);
}

.categoriestwo .active {
  background: var(--color-orange-main);
  color: var(--color-white);
}

/* RIGHT SIDE */

.hero-imagetwo {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-imagetwo img {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
}

@media(max-width:1024px) {
  .herotwo {
    flex-direction: column;
    text-align: center;
  }

  .hero-contenttwo,
  .hero-imagetwo {
    width: 100%;
  }

  .search-boxtwo {
    margin: auto;
    margin-top: 30px;
  }

  .categoriestwo {
    justify-content: center;
  }

  .hero-contenttwo h1 {
    font-size: 42px;
  }
}

.hero-righttwo {
  width: 50%;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-righttwo img {
  width: 500px;
  height: 800px;
}

/* BLUE CIRCLE */

.shape-bluetwo {
  width: 450px;
  height: 450px;
  background: var(--color-blue-btn);
  border-radius: 50%;
  position: absolute;
  z-index: 0;
}

/* ORANGE HALF RING */

.shape-orangetwo {
  width: 280px;
  height: 280px;
  border: 35px solid var(--color-orange-main);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 100px;
  z-index: 1;
}

/* PERSON IMAGE */

.hero-righttwo .persontwo {
  position: absolute;
  width: 420px;
  height: auto;
  aspect-ratio: 657 / 597;
  object-fit: cover;
  object-position: top center;
  z-index: 2;
}

.cardtwo {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 63, 125, 0.12);
  box-shadow: 0 15px 35px rgba(0, 63, 125, 0.12);
  font-size: 14px;
  color: var(--color-navy-main);
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardtwo:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 63, 125, 0.18);
}

.studentstwo {
  top: 90px;
  left: 40px;
}

.studentstwo strong {
  color: var(--color-orange-main);
  font-weight: 800;
  line-height: 1.1;
  display: inline-block;
  margin-bottom: 2px;
}

.besttwo {
  bottom: 140px;
  left: 60px;
  background: var(--color-orange-main);
  color: var(--color-white);
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 25px rgba(244, 116, 33, 0.3);
}

.besttwo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(244, 116, 33, 0.45);
}

.coursetwo {
  top: 220px;
  right: 40px;
  color: var(--color-orange-main);
}

.coursetwo strong {
  color: var(--color-navy-main);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 2px;
}

.congratstwo {
  bottom: 60px;
  right: 20px;
  color: var(--color-navy-main);
  font-weight: 600;
}

/* ========================= */
/* 📱 Mobile */
/* ========================= */

@media (max-width: 768px) {

  /* hero-righttwo: keep visible — layout refined in app-shell.css */
  .hero-contenttwo {
    width: 100%;
  }

  /* صغري الهيدر شوية عشان يبقى متظبط */
  .hero-contenttwo h1 {
    font-size: 34px;
  }

  /* خلي صندوق البحث فل ويدث */
  .search-boxtwo {
    width: 100%;
  }

}

/* ============================================================ */
.containertreefo {
  display: grid;
  grid-template-columns: 280px 1fr;
  /* سايدبار + المحتوى */
  gap: 30px;
  padding: 20px;
  background: var(--color-white);
  /* height:1900px ;
    width: 1500px; */
}

/* ================= Sidebar ================= */
.sidebar {
  width: 280px;
  background: var(--color-white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: max-content;

}

/* header */
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-navy-text-dark);
}

.sidebar-header span {
  font-size: 18px;
}

/* search */
.search-boxth {
  position: relative;
  margin-bottom: 25px;
}

.search-boxth input {
  width: 250px;
  padding: 10px 35px 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-text-halfyp);
  outline: none;
  font-size: 13px;
  background: var(--color-white);
}

.search-boxth i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--color-text-muted);
}

/* section titles */
.section-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-black);
  text-transform: uppercase;
}

/* menu items */
.menu {
  list-style: none;
  margin-bottom: 22px;
}

.menu li {
  background: var(--color-white);
  border: 1px solid var(--color-text-whitee);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--color-text-halfyp);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
  transition: .2s;
}

.menu li:hover {
  background: var(--color-text-whitee);
}

.menu li.active {
  background: var(--color-text-mutedsc);
  color: var(--color-white);
  border-color: var(--color-text-mutedsc);
}

.menu li span {
  font-size: 12px;
  color: inherit;
}

/* dropdown style box */
.dropdown {
  background: var(--color-white);
  border: 1px solid var(--color-text-whitee);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--color-text-halfypy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  cursor: pointer;
}

/* tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--color-text-whitee);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--color-text-whiteef);
}

/* ================= Main Content ================= */



.page-headertreefo {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 25px;
  flex-direction: column;
  color: var(--color-black);

}

.page-headertreefo h2 {
  font-size: 22px;
  font-weight: 600;
  width: 1200px;
  color: #144979;
}

.page-headertreefo p {
  font-size: 15px;
  font-weight: 100;
  color: var(--color-text-muted);
}


/* ===================================== */
/* Grid layout for cards */
.cardstreefo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ================= Card ================= */
.cardfo {
  width: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(15, 39, 66, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cardfo__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.cardfo__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cardfo:hover .cardfo__media img {
  transform: scale(1.05);
}

.cardfo__title-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.cardfo:hover .cardfo__title-link {
  color: var(--color-orange-main, #f47429);
}

.cardfo__badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy-text, #0b1c2d);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 39, 66, 0.12);
}

.cardfo__badge i {
  color: var(--color-orange-main, #f47429);
  font-size: 12px;
}

.cardfo__badge[data-badge-type="bestseller"] i {
  color: #f59e0b;
}

.cardfo__badge[data-badge-type="upcoming"] i {
  color: #7c3aed;
}

.cardfo__badge[data-badge-type="upcoming"] i {
  color: #7c3aed;
}

.card-contentfo {
  padding: 15px 5px 5px;
}

/* Keep all cards same height (desc fits 2 lines) */
.cardfo__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.title-rowfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-titlefo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-text-darkess);
}

.cardfo__meta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.cardfo__meta i {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  color: #111827;
  font-size: 12px;
}

.card-descfo {
  font-size: 14px;
  color: var(--color-text-halfypy);
  margin: 12px 0 16px;
  line-height: 1.5;
}

.cardfo__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(2 * 1.5em);
}

/* Push CTA to bottom for consistent alignment */
.cardfo__body .btnfo {
  margin-top: auto;
  flex: 0 0 auto;
}

/* New card layout helpers (Figma-ish) */
.cardfo__title {
  font-size: 22px;
  line-height: 1.2;
}

.cardfo__desc {
  max-width: 60ch;
}

.levelsfo {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.levelfo {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
}

.levelfo.bluefo {
  background: var(--color-blue-btn);
  color: var(--color-blue-btns);
}

.levelfo.orangefo {
  background: var(--color-gray-bg-soft);
  color: var(--color-orange-cta);
  border: 1px solid var(--color-orange-cta);
}

.info-rowfo {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  white-space: nowrap;
}

.infofo {
  flex: 1;
  background: var(--color-gray-muted);
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 12px;
  text-align: center;
  color: var(--color-black);
}

/* Button style adapted for anchor tags */
.btnfo {
  display: inline-block;
  /* يخلي الرابط يتصرف زي الزرار */
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 14px;
  background: var(--color-navy-text-dark);
  color: var(--color-white);
  text-decoration: none;
  /* يشيل underline */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  /* يخلي النص في النص */
}

/* Ensure the CTA never disappears inside flex cards */
.cardfo .btnfo {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.btnfo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--color-orange-cta);
  transition: width 0.6s ease;
  z-index: -1;
}

.btnfo:hover::before {
  width: 100%;
}

/* ================ */
/* ================= Pagination ================= */

.paginationfo {
  margin: 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  /* يخليه يتصرف زي زرار */
  align-items: center;
  /* توسيط رأسي */
  justify-content: center;
  /* توسيط أفقي */

  min-width: 40px;
  height: 40px;
  padding: 0 14px;

  border-radius: 8px;
  border: 1px solid var(--color-gray-line);
  background: var(--color-white);

  font-size: 14px;
  color: var(--color-black);
  text-decoration: none;
  /* يشيل underline */

  cursor: pointer;
  transition: 0.3s;
  margin-top: 5px;
}

.page-btn:hover {
  background: var(--color-orange-soft);
  color: var(--color-white);
  border-color: var(--color-orange-soft);
}

.page-btn.active {
  background: var(--color-orange-soft);
  color: var(--color-white);
  border: none;
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ====================section 3================= */
.containerfi {
  width: 90%;
  /* Reduce vertical gap between stacked sliders on homepage */
  margin: 16px auto;
}

/* Header */
.trendingfi {
  width: 100%;
  background: var(--color-text-half);
  padding: 20px 0;
}

.trending-headerfi {
  /* 1fr | centered title | 1fr so “View All” sits at inline-end */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  column-gap: 1rem;
  margin-bottom: 40px;
}

/* Center the section kicker/title/description (Best Sellers / Trending / Upcoming) */
.trending-headerfi .leftfi {
  grid-column: 2;
  text-align: center;
}

.trending-headerfi .rightfi {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
}

.trending-headerfi .leftfi p {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

/* Slider headers (Popular Choice / Best Sellers / Trending / Upcoming):
   reduce by ~20% and make responsive across breakpoints */
.trending-headerfi .hotfi {
  color: var(--color-gray-linee);
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
}

.trending-headerfi h2 {
  font-size: clamp(1.15rem, 3.1vw, 2.1rem);
  margin: 8px 0;
  color: var(--color-navy-header);
}

.trending-headerfi p {
  color: #64748b;
  font-size: clamp(0.68rem, 1.6vw, 0.7rem);
}

.trending-headerfi a {
  color: var(--color-gray-linee);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.trending-headerfi a:hover {
  opacity: 0.7;
}

/* Cards Grid */

.cardsfi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Card */

.cardfi {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: 0.3s;
}

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

.cardfi img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-contentfi {
  padding: 20px;
}

/* Title + On Site */

.title-rowfi {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-rowfi h3 {
  font-size: 18px;
  color: var(--color-black);
}

.onsitefi {
  background: var(--color-red-line);
  color: var(--color-gray-linee);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Description */

.descfi {
  color: #64748b;
  font-size: 13px;
  margin: 12px 0;
  line-height: 1.5;
}

/* Badges */

.badgesfi {
  margin-bottom: 12px;
}

.badgefi {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
}

.purplefi {
  background: var(--color-gray-lineer);
  color: var(--color-blue-btnss);
}

.greenfi {
  background: var(--color-blue-btnssr);
  color: var(--color-text-green);
}

.orangefi {
  background: var(--color-red-line);
  color: var(--color-gray-linee);
}

/* Info */

.infofi {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-grays-lineer);
  margin-bottom: 15px;
}

.infofi i {
  margin-right: 5px;
}

/* Button */

.btnfi {
  position: relative;
  width: 100%;
  background: var(--color-text-maine);
  color: var(--color-white);
  border: none;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.btnfi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gray-linee);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  z-index: -1;
}

.btnfi:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btnfi:hover {
  color: var(--color-white);
}

.accordion-icon {
  display: none;
}

/* ========== */
/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */

@media (max-width: 768px) {

  /* اخفي السايدبار */
  .sidebar {
    display: none;
  }

  /* خلي الكونتينر عمود واحد */
  .containertreefo {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  /* خلي الكروت تاخد العرض كله */
  .cardstreefo {
    grid-template-columns: 1fr;
  }

  .cardsfi {
    grid-template-columns: 1fr;
  }

}

/* 📱 موبايل صغير */
@media (max-width: 600px) {

  /* الكروت تبقى كارت واحد في الصف */
  .cardstreefo {
    grid-template-columns: 1fr;
  }

  .cardsfi {
    grid-template-columns: 1fr;
  }

  /* الهيدر */
  .trending-headerfi {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .trending-headerfi .rightfi {
    justify-content: center;
  }

  .trending-headerfi h2 {
    font-size: 26px;
  }

  .category-section .section-header h2 {
    font-size: 26px;
  }

  /* خلي info تحت بعض */
  .infofi {
    flex-direction: column;
    gap: 6px;
  }

  .info-rowfo {
    flex-direction: column;
    gap: 6px;
    white-space: normal;
  }

  /* صغر الصور شوية */
  .cardfo img,
  .cardfo__media img,
  .cardfi img {
    height: 180px;
  }
}


/* === source: skilltwo.css === */

.containertreefo {
  display: grid;
  grid-template-columns: 280px 1fr;
  /* سايدبار + المحتوى */
  gap: 30px;
  padding: 20px;
  background: var(--color-white);
}

/* ================= Sidebar ================= */
.sidebar {
  width: 280px;
  background: var(--color-white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: max-content;

}

/* header */
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-navy-text-dark);
}

.sidebar-header span {
  font-size: 18px;
}

/* search */
.search-boxth {
  position: relative;
  margin-bottom: 25px;
}

.search-boxth input {
  width: 250px;
  padding: 10px 35px 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-text-halfyp);
  outline: none;
  font-size: 13px;
  background: var(--color-white);
}

.search-boxth i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--color-text-muted);
}

/* section titles */
.section-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-halfyp);
  text-transform: uppercase;
}

/* menu items */
.menu {
  list-style: none;
  margin-bottom: 22px;
}

.menu li {
  background: var(--color-white);
  border: 1px solid var(--color-text-whitee);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--color-text-halfyp);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
  transition: .2s;
}

.menu li:hover {
  background: var(--color-text-whitee);
}

.menu li.active {
  background: var(--color-text-mutedsc);
  color: var(--color-white);
  border-color: var(--color-text-mutedsc);
}

.menu li span {
  font-size: 12px;
  color: inherit;
}

/* dropdown style box */
.dropdown {
  background: var(--color-white);
  border: 1px solid var(--color-text-whitee);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--color-text-halfypy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  cursor: pointer;
}

/* tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--color-text-whitee);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--color-text-whiteef);
}

/* ================= Main Content ================= */



.page-headertreefo {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 25px;
  flex-direction: column;
  color: var(--color-black);

}

.page-headertreefo h2 {
  font-size: 22px;
  font-weight: 600;
  width: 1200px;
  color: #144979;
}

.page-headertreefo p {
  font-size: 15px;
  font-weight: 100;
  color: var(--color-text-muted);
}


/* ===================================== */
/* Grid layout for cards */
.cardstreefo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ================= Card ================= */
.cardfo {
  width: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(15, 39, 66, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cardfo__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.cardfo__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cardfo:hover .cardfo__media img {
  transform: scale(1.05);
}

.cardfo__badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy-text, #0b1c2d);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 39, 66, 0.12);
}

.cardfo__badge i {
  color: var(--color-orange-main, #f47429);
  font-size: 12px;
}

.cardfo__badge[data-badge-type="bestseller"] i {
  color: #f59e0b;
}

.card-contentfo {
  padding: 15px 5px 5px;
}

/* Keep all cards same height (desc fits 2 lines) */
.cardfo__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.title-rowfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-titlefo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-text-darkess);
}

.cardfo__meta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.cardfo__meta i {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  color: #111827;
  font-size: 12px;
}

.card-descfo {
  font-size: 14px;
  color: var(--color-text-halfypy);
  margin: 12px 0 16px;
  line-height: 1.5;
}

.cardfo__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(2 * 1.5em);
}

/* Push CTA to bottom for consistent alignment */
.cardfo__body .btnfo {
  margin-top: auto;
  flex: 0 0 auto;
}

.cardfo__title {
  font-size: 22px;
  line-height: 1.2;
}

.cardfo__desc {
  max-width: 60ch;
}

.levelsfo {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.levelfo {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
}

.levelfo.bluefo {
  background: var(--color-blue-btn);
  color: var(--color-blue-btns);
}

.levelfo.orangefo {
  background: var(--color-gray-bg-soft);
  color: var(--color-orange-cta);
  border: 1px solid var(--color-orange-cta);
}

.info-rowfo {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  white-space: nowrap;
}

.infofo {
  flex: 1;
  background: var(--color-gray-muted);
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 12px;
  text-align: center;
  color: var(--color-black);
}

.btnfo {
  display: inline-block;
  /* يخلي الرابط يتصرف زي الزرار */
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 14px;
  background: var(--color-navy-text-dark);
  color: var(--color-white);
  text-decoration: none;
  /* يشيل underline */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  /* يخلي النص في النص */
}

.btnfo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--color-orange-cta);
  transition: width .6s ease;
  z-index: -1;
}

.btnfo:hover::before {
  width: 100%;
}

/* ================ */
/* ================= Pagination ================= */

.paginationfo {
  margin: 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  /* يخليه زرار حقيقي */
  align-items: center;
  /* توسيط رأسي */
  justify-content: center;
  /* توسيط أفقي */

  min-width: 40px;
  height: 40px;
  padding: 0 14px;

  border-radius: 8px;
  border: 1px solid var(--color-gray-line);
  background: var(--color-white);

  font-size: 14px;
  color: var(--color-black);
  text-decoration: none;

  cursor: pointer;
  transition: 0.3s;

  margin-top: 30px;
  /* دي الصح بدل top */
}

.page-btn:hover {
  background: var(--color-orange-soft);
  color: var(--color-white);
  border-color: var(--color-orange-soft);
}

.page-btn.active {
  background: var(--color-orange-soft);
  color: var(--color-white);
  border: none;



}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =======================section 3============= */
.dark-section {
  width: 100%;
  height: 250px;
  background: var(--color-navy-text-dark);
}

/* =========================== */
@media (max-width: 768px) {
  .dark-section {
    display: none;
  }
}

@media (max-width: 576px) {
  .dark-section {
    display: none;
  }
}

/* === source: uiux.css === */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 73px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  z-index: 1000;
  background: var(--color-white);
}

.logo {
  width: 180px;
  height: 37px;
  top: 28px;
  left: 17px;
}

.nav a {
  color: var(--color-black);
  text-decoration: none;
  margin: 0 15px;
  transition: 0.3s;
}

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

/* ======================== */
.search-box {
  position: relative;
  width: 312px;
  height: 38px;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 10px 10px 10px 35px;
  border: 1px solid var(--color-navy-header);
  border-radius: 25px;
  outline: none;
  transition: 0.3s;
  box-shadow: 0 0 5px var(--color-navy-header);
}

.search-img {
  position: absolute;
  right: 40px;
  top: 10px;
  transform: translateY(-50%);
  width: 59px;
  height: 20px;
  cursor: pointer;
}

.search-img img {
  position: absolute;
  right: -35px;
  top: -0px;
  width: 60px;
  height: 40px;
}

.search-img i {
  position: absolute;
  top: 20px;
  left: 65px;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 13px;
  pointer-events: none;
}

/* ============================== */
.earth-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.earth-icon img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.earth-icon i {
  font-size: 27px;
  color: var(--color-navy-header);
}

.register-btn {
  background: var(--color-navy-header);
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  color: var(--color-white);
  cursor: pointer;
  transition: 0.3s;
  line-height: 1.2;
  align-self: center;
  margin: 0;
  font-size: inherit;
}

.register-btn:hover {
  background: var(--color-orange-main);
}



/* ================= Layout ================= */

.course-sectionfou {
  width: 1500px;
  margin: auto;
  padding: 60px 0;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--color-white);
  margin-top: 30px;

}

/* ================= Left Side ================= */

.leftfou {
  flex: 2;
}

.hero-imgfou {
  position: relative;
}

.hero-imgfou img,
.hero-imgfou video {
  width: 900px;
  /* max-width:800px; */
  height: 500px;
  object-fit: cover;
  border-radius: 18px;
}

.hero-imgfou video {
  display: block;
}

.hero-imgfou img.hero-coverfou {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  pointer-events: none;
  z-index: 1;
}

.hero-imgfou.is-playing img.hero-coverfou {
  display: none;
}

.play-btnfou {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  color: black;
  z-index: 2;
  border: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.play-btnfou[hidden] {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  pointer-events: none;
}

.leftfou h1 {
  margin-top: 30px;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy-main);
  line-height: 1.2;
}

.leftfou h1 span {
  color: var(--color-text-mutedsc);
}

.descfou {
  margin-top: 15px;
  color: var(--color-text-halfypy);
  font-size: 16px;
  max-width: 650px;
}

/* ================= Course Overview (below hero) ================= */
.course-overviewfou {
  background: var(--color-white);
  padding: 0 var(--layout-pad-x, 16px) 24px;
}

.course-overview-innerfou {
  max-width: none;
  margin: 0;
  padding-top: 10px;
  /* Align with the hero row: content starts at left column edge */
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 12px;
}

.course-overview-contentfou {
  grid-column: 1 / 2;
}

.course-overview-titlefou {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-navy-main);
  margin: 18px 0 12px;
}

.course-overview-bodyfou {
  color: var(--color-text-halfypy);
  font-size: 15px;
  line-height: 1.7;
}

.course-overviewfou.is-collapsible .course-overview-bodyfou {
  max-height: 110px;
  overflow: hidden;
  position: relative;
}

.course-overviewfou.is-collapsible:not(.is-expanded) .course-overview-bodyfou::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

.course-overviewfou.is-expanded .course-overview-bodyfou {
  max-height: none;
}

.course-overview-togglefou {
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--color-orange-main);
  font-weight: 700;
  cursor: pointer;
}

.course-overview-togglefou:hover {
  text-decoration: underline;
}

/* ================= Course page (Figma rebuild overrides) ================= */
.courses-theme [data-course-page].course-sectionfou {
  width: 100%;
  max-width: none;
  /* Keep the section below the fixed header */
  margin: calc(var(--header-height, 73px) + 24px) 0 0;
  /* Full-width section with comfortable gutters */
  padding: 24px var(--layout-pad-x, 16px);
  gap: 12px;
  background: var(--color-white);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  /* Use grid so the gap doesn't create leftover space */
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  align-items: start;
}

/* === Course details page: standardize section container widths (90%) ===
   Some sections had fixed max-widths (980/1040/1200...) which makes them look
   narrower than others. This keeps all sections aligned like the hero. */
.courses-theme :is(.course-overview-innerfou,
  .course-learn-innerfou,
  .course-outline-innerfou,
  .course-target-innerfou,
  .course-prereq-innerfou,
  .course-batches-innerfou,
  .course-credentials-innerfou,
  .course-stories-innerfou,
  .course-testimonials-innerfou,
  .course-portfolio-innerfou,
  .course-faq-innerfou,
  .course-career-innerfou,
  .course-recommended-innerfou) {
  width: 90%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Make anchor scrolling land below fixed header and sticky tab bar */
.courses-theme [data-course-page]~section[id^="course-sec-"] {
  scroll-margin-top: calc(var(--header-height, 73px) + 94px);
  /* 73px header + 64px tabs + 30px safe space */
}

.courses-theme .hero-imgfou img,
.courses-theme .hero-imgfou video {
  width: 100%;
  height: clamp(288px, 32.4vw, 414px);
  border-radius: 18px;
}

.courses-theme [data-course-page] .leftfou,
.courses-theme [data-course-page] .rightfou {
  min-width: 0;
}

.courses-theme .course-titlefou {
  margin-top: 18px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 800;
  color: var(--color-navy-main);
  line-height: 1.1;
}

.courses-theme .course-title-accentfou {
  color: var(--color-orange-main);
}

.course-tabs-wrapper {
  margin-top: 18px;
  width: 100%;
}

.courses-theme .tabsfou.course-tabs {
  margin-top: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .courses-theme .tabsfou.course-tabs.is-fixed {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: var(--color-white, #ffffff);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    z-index: 998;
    padding: 12px 5%;
    margin: 0;
    box-sizing: border-box;
    animation: slideDown 0.2s ease;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.courses-theme .tabsfou.course-tabs button {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #f5f7fa;
  color: #111827;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.courses-theme .tabsfou.course-tabs button.is-active {
  background: var(--color-orange-main);
  border-color: var(--color-orange-main);
  color: var(--color-white);
}

.courses-theme .course-cardfou {
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

/* Course card meta text: reduce ~10% (14px -> 12.6px) */
.courses-theme [data-course-page] .course-cardfou .course-infofou,
.courses-theme [data-course-page] .course-cardfou .branch-headerfou h4 {
  font-size: 12.6px;
}

.courses-theme .course-card-thumbfou {
  width: 100%;
  height: 118px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #eef2f7;
}

.courses-theme .course-card-thumbfou img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.courses-theme .hero-imgfou {
  overflow: hidden;
  border-radius: 18px;
}

.courses-theme .hero-imgfou img,
.courses-theme .hero-imgfou video {
  max-width: none !important;
  object-fit: cover;
}

.courses-theme .btn-primaryfou {
  width: 100%;
  text-align: center;
}

.courses-theme .btn-secondaryfou {
  width: 100%;
  text-align: center;
}

/* Sticky CTA (separate from the white card, like Figma) */
.courses-theme [data-course-page] .sticky-cardfou {
  display: block !important;
  position: sticky;
  top: calc(var(--header-height, 73px) + 18px);
  margin-top: 14px;
  border-radius: 14px;
  background: #0f2742;
  color: var(--color-white);
  padding: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  z-index: 999;
}

.courses-theme [data-course-page] .sticky-cardfou.is-fixed {
  position: fixed;
  bottom: 18px;
  top: auto;
  margin-top: 0;
  will-change: transform, opacity;
  animation: cls-sticky-in 180ms ease-out;
}

@keyframes cls-sticky-in {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (prefers-reduced-motion: reduce) {
  .courses-theme [data-course-page] .sticky-cardfou.is-fixed {
    animation: none;
  }
}

.courses-theme [data-course-page] .sticky-cardfou h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.courses-theme [data-course-page] .sticky-cardfou button {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--color-orange-main);
  color: var(--color-white);
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}

.courses-theme [data-course-page] .sticky-cardfou button:hover {
  background: var(--color-orange-alt);
}

@media (max-width: 1024px) {
  .courses-theme [data-course-page].course-sectionfou {
    box-shadow: none;
    margin-top: calc(var(--header-height, 73px) + 18px);
    grid-template-columns: 1fr;
  }
}

/* Mobile: force true single-column layout (prevents hero media overflow) */
@media (max-width: 768px) {
  .courses-theme [data-course-page].course-sectionfou {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .courses-theme [data-course-page] .leftfou,
  .courses-theme [data-course-page] .rightfou {
    width: 100%;
    max-width: 100%;
  }

  .courses-theme [data-course-page] .hero-imgfou {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .courses-theme [data-course-page] .hero-imgfou img,
  .courses-theme [data-course-page] .hero-imgfou video {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
  }
}

@media (max-width: 640px) {
  .courses-theme [data-course-page].course-sectionfou {
    padding: 16px var(--layout-pad-x, 16px);
    gap: 14px;
  }

  .courses-theme [data-course-page] .hero-imgfou {
    border-radius: 16px;
  }

  .courses-theme [data-course-page] .hero-imgfou img,
  .courses-theme [data-course-page] .hero-imgfou video {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .courses-theme [data-course-page] .hero-imgfou img.hero-coverfou {
    border-radius: 16px;
  }
}

@media (max-width: 1024px) {
  .course-overview-innerfou {
    grid-template-columns: 1fr;
  }

  .course-overview-contentfou {
    grid-column: 1 / -1;
  }
}

/* ================= Learn accordion (Figma section) ================= */
.course-learnfou {
  background: var(--color-white);
  padding: 40px var(--layout-pad-x, 16px) 56px;
}

.course-learn-innerfou {
  max-width: 1176px;
  margin: 0 auto;
}

.course-learn-titlefou {
  text-align: center;
  color: var(--color-navy-main);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
}

.course-learn-accordionfou {
  display: grid;
  gap: 14px;
}

.course-learn-itemfou {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.course-learn-headerfou {
  width: 100%;
  border: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
}

.course-learn-badgefou {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #0f2742;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 auto;
}

.course-learn-headtextfou {
  font-weight: 800;
  color: #111827;
  flex: 1 1 auto;
  text-align: left;
}

.course-learn-chevronfou {
  color: #144979;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(180deg);
  transition: transform 160ms ease;
}

.course-learn-chevron-svgfou {
  width: 18px;
  height: 18px;
  display: block;
}

.course-learn-bodyfou {
  overflow: hidden;
  height: 0;
  transition: height 260ms ease;
  background: #ffffff;
}

.course-learn-itemfou.is-open .course-learn-bodyfou {
  height: auto;
}

.course-learn-itemfou.is-open .course-learn-chevronfou {
  transform: rotate(0deg);
}

.course-learn-listfou {
  margin: 0;
  padding: 14px 18px 18px 48px;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

/* ================= Course outline (Figma dark section) ================= */
.course-outlinefou {
  padding: 72px var(--layout-pad-x, 16px) 82px;
  background:
    radial-gradient(900px 380px at 50% 10%, rgba(244, 116, 41, 0.18), rgba(0, 0, 0, 0) 60%),
    radial-gradient(1100px 520px at 10% 40%, rgba(20, 73, 121, 0.20), rgba(0, 0, 0, 0) 60%),
    var(--color-navy-main);
  color: #e5e7eb;
  text-align: center;
}

.course-outline-innerfou {
  max-width: 1040px;
  margin: 0 auto;
}

.course-outline-kickerfou {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(244, 116, 41, 0.16);
  color: #ff8c42;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

.course-outline-titlefou {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
}

.course-outline-subtitlefou {
  margin: 10px auto 22px;
  max-width: 720px;
  color: rgba(229, 231, 235, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.course-outline-accordionfou {
  display: grid;
  gap: 14px;
  margin: 0 auto;
}

.course-outline-itemfou {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(17, 24, 39, 0.58);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.course-outline-headerfou {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  cursor: pointer;
  color: inherit;
  text-align: start;
}

.course-outline-badgefou {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f47429;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  flex: 0 0 auto;
}

.course-outline-headtextfou {
  font-weight: 900;
  color: #ffffff;
  flex: 1 1 auto;
  text-align: start;
}

.course-outline-chevronfou {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(229, 231, 235, 0.85);
  transform: rotate(180deg);
  transition: transform 180ms ease;
}

.course-outline-chevron-svgfou {
  width: 18px;
  height: 18px;
  display: block;
}

.course-outline-bodyfou {
  height: 0;
  overflow: hidden;
  transition: height 260ms ease;
  padding-inline: 18px;
}

.course-outline-itemfou.is-open .course-outline-bodyfou {
  height: auto;
}

.course-outline-itemfou.is-open .course-outline-chevronfou {
  transform: rotate(0deg);
}

.course-outline-descfou {
  margin: 0;
  padding-top: 6px;
  color: rgba(229, 231, 235, 0.82);
  font-size: 12px;
  line-height: 1.7;
}

.course-outline-listfou {
  margin: 10px 0 18px;
  padding-left: 22px;
  color: rgba(229, 231, 235, 0.82);
  font-size: 12px;
  line-height: 1.8;
}

.course-outline-ctafou {
  margin-top: 22px;
  border: 0;
  border-radius: 10px;
  background: #f47429;
  color: #ffffff;
  padding: 12px 26px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(244, 116, 41, 0.24);
}

.course-outline-ctafou:hover {
  background: #ff7a2f;
}

/* ================= Target Audience (Figma section) ================= */
.course-targetfou {
  background: #ffffff;
  padding: 56px var(--layout-pad-x, 16px) 28px;
  text-align: center;
}

.course-target-innerfou {
  max-width: 980px;
  margin: 0 auto;
}

.course-target-titlefou {
  margin: 0;
  color: var(--color-navy-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-target-subtitlefou {
  margin: 10px auto 22px;
  max-width: 720px;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}

.course-target-gridfou {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  align-items: start;
}

.course-target-cardfou {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
}

.course-target-dotfou {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-orange-main);
  flex: 0 0 auto;
}

.course-target-textfou {
  font-weight: 700;
  color: #111827;
  font-size: 13px;
}

@media (max-width: 768px) {
  .course-target-gridfou {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ================= Prerequisites (Figma section) ================= */
.course-prereqfou {
  background: #ffffff;
  padding: 28px var(--layout-pad-x, 16px) 34px;
  text-align: center;
}

.course-prereq-innerfou {
  max-width: 1100px;
  margin: 0 auto;
}

.course-prereq-titlefou {
  margin: 0 0 18px;
  color: var(--color-navy-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-prereq-gridfou {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.course-prereq-cardfou {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 18px 14px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.course-prereq-iconwrapfou {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef2ff;
  display: grid;
  place-items: center;
  color: #4f46e5;
}

.course-prereq-iconwrapfou img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.course-prereq-iconwrapfou i {
  font-size: 16px;
}

.course-prereq-fallbacksvgfou {
  width: 18px;
  height: 18px;
}

.course-prereq-textfou {
  color: #111827;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.35;
  max-width: 180px;
}

@media (max-width: 1024px) {
  .course-prereq-gridfou {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .course-prereq-gridfou {
    grid-template-columns: 1fr;
  }
}

/* ================= Upcoming batches (Figma section) ================= */
.course-batchesfou {
  background: #ffffff;
  padding: 34px var(--layout-pad-x, 16px) 72px;
  text-align: center;
}

.course-batches-innerfou {
  max-width: 1100px;
  margin: 0 auto;
}

.course-batches-titlefou {
  margin: 0 0 20px;
  color: var(--color-navy-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-batches-gridfou {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.course-batch-cardfou {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 16px 14px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.course-batch-badgefou {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.course-batch-badgefou.is-filling {
  background: rgba(244, 116, 41, 0.16);
  color: #f47429;
}

.course-batch-badgefou.is-open {
  background: rgba(34, 197, 94, 0.16);
  color: #16a34a;
}

.course-batch-datefou {
  font-weight: 900;
  color: #111827;
  font-size: 16px;
}

.course-batch-schedulefou {
  color: #64748b;
  font-size: 11px;
}

.course-batch-seatsfou {
  color: #64748b;
  font-size: 11px;
}

.course-batch-ctafou {
  margin-top: 4px;
  color: var(--color-orange-main);
  font-weight: 900;
  font-size: 11px;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .course-batches-gridfou {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .course-batches-gridfou {
    grid-template-columns: 1fr;
  }
}

/* ================= Accredited credentials (Figma section) ================= */
.course-credentialsfou {
  background: #ffffff;
  padding: 64px var(--layout-pad-x, 16px) 72px;
}

.course-credentials-innerfou {
  max-width: 1200px;
  margin: 0 auto;
}

.course-credentials-gridfou {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

.course-credentials-imgfou {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.course-credentials-placeholderfou {
  width: 100%;
  border-radius: 10px;
  background: #f3f4f6;
  min-height: 280px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.course-credentials-placeholdertitlefou {
  font-weight: 900;
  color: #111827;
  font-size: 20px;
}

.course-credentials-placeholdersubfou {
  color: #64748b;
  font-size: 12px;
  margin-top: 6px;
  text-align: center;
}

.course-credentials-titlefou {
  margin: 0;
  color: var(--color-navy-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-credentials-descfou {
  margin: 10px 0 14px;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}

.course-credentials-listfou {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.course-credentials-itemfou {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.course-credentials-numfou {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #0f2742;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  margin-top: 2px;
}

.course-credentials-textfou {
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .course-credentials-gridfou {
    grid-template-columns: 1fr;
  }
}

/* ================= Student success stories (Figma section) ================= */
.course-storiesfou {
  background: #ffffff;
  padding: 64px var(--layout-pad-x, 16px) 42px;
  text-align: center;
}

.course-stories-innerfou {
  max-width: 1200px;
  margin: 0 auto;
}

.course-stories-titlefou {
  margin: 0;
  color: var(--color-navy-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-stories-subtitlefou {
  margin: 8px auto 18px;
  color: #64748b;
  font-size: 12px;
}

.course-stories-gridfou {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.course-story-cardfou {
  text-align: start;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-story-mediafou {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.course-story-mediafou img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.course-story-mediafou video.course-story-videofou {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.course-story-mediaplaceholderfou {
  height: 260px;
}

.course-story-playfou {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.course-story-playicofou {
  color: #111827;
  font-size: 14px;
  margin-left: 2px;
}

.course-story-pillfou {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.70);
  color: #ffffff;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 10px;
}

.course-story-quotefou {
  margin-top: 10px;
  color: #111827;
  font-size: 12px;
}

.course-story-quotefou {
  flex: 1 1 auto;
}

.course-story-authorfou {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-story-avatarfou {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #0f2742;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.course-story-namefou {
  font-weight: 900;
  color: #111827;
  font-size: 13px;
}

.course-story-rolefou {
  color: #64748b;
  font-size: 11px;
}

@media (max-width: 900px) {
  .course-stories-gridfou {
    grid-template-columns: 1fr;
  }

  .course-story-mediafou img,
  .course-story-mediafou video.course-story-videofou,
  .course-story-mediaplaceholderfou {
    height: 220px;
  }
}

/* ================= Testimonials rail (Figma section) ================= */
.course-testimonialsfou {
  background: #ffffff;
  padding: 24px var(--layout-pad-x, 16px) 72px;
  text-align: center;
}

.course-testimonials-innerfou {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.course-testimonials-titlefou {
  margin: 0 0 18px;
  color: var(--color-navy-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-testimonial-cardfou {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  overflow: hidden;
  text-align: start;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-testimonial-topfou {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.course-testimonial-starsfou {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 1px;
}

.course-testimonial-labelfou {
  color: #f47429;
  font-weight: 800;
  font-size: 11px;
}

.course-testimonial-reviewfou {
  padding: 12px 14px 14px;
  color: #111827;
  font-size: 12px;
  line-height: 1.6;
  min-height: 88px;
  flex: 1;
}

.course-testimonial-footerfou {
  padding: 12px 14px;
  background: #0f2742;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-testimonial-avatarwrapfou {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.course-testimonial-avatarwrapfou img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-testimonial-avatarfallbackfou {
  font-weight: 900;
}

.course-testimonial-namefou {
  font-weight: 900;
  font-size: 12px;
}

.course-testimonial-rolefou {
  font-size: 11px;
  opacity: 0.85;
}

/* ================= Our Students' Work (Figma section) ================= */
.course-portfoliofou {
  background: #ffffff;
  padding: 64px var(--layout-pad-x, 16px) 34px;
  text-align: center;
}

.course-portfolio-innerfou {
  max-width: 1200px;
  margin: 0 auto;
}

.course-portfolio-titlefou {
  margin: 0;
  color: #003F7D;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-portfolio-subtitlefou {
  margin: 8px auto 18px;
  color: #64748b;
  font-size: 12px;
}

.course-portfolio-gridfou {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.course-portfolio-cardfou {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  text-decoration: none;
  color: inherit;
  display: grid;
}

.course-portfolio-thumbfou img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.course-portfolio-bodyfou {
  padding: 12px 14px 14px;
  text-align: start;
  display: grid;
  gap: 6px;
}

.course-portfolio-namefou {
  font-weight: 900;
  color: #111827;
  font-size: 13px;
}

.course-portfolio-authorfou {
  font-size: 11px;
  color: #64748b;
}

.course-portfolio-tagsfou {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.course-portfolio-tagfou {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #334155;
}

.course-portfolio-footerfou {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.course-portfolio-likepillfou {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #f8fafc;
  color: var(--color-navy-main);
  font-size: 11px;
  font-weight: 800;
}

.course-portfolio-likeiconfou {
  width: 16px;
  height: 16px;
  color: var(--color-navy-main);
}

.course-portfolio-viewfou {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.course-portfolio-viewfou__arrow::after {
  content: '→';
}

@media (max-width: 1024px) {
  .course-portfolio-gridfou {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .course-portfolio-gridfou {
    grid-template-columns: 1fr;
  }
}

.course-faqfou {
  padding: 80px var(--layout-pad-x, 16px);
  background:
    radial-gradient(900px 420px at 40% 10%, color-mix(in srgb, var(--color-orange-main, #F47429) 16%, transparent), transparent 60%),
    radial-gradient(1100px 520px at 80% 60%, color-mix(in srgb, var(--color-navy-main, #003F7D) 18%, transparent), transparent 60%),
    var(--color-navy-mainn, #050a12);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.course-faq-innerfou {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .course-faq-innerfou {
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: start;
  }

  .course-faq-header-block {
    position: sticky;
    top: 150px;
  }
}

.course-faq-header-block {
  text-align: start;
}

.course-faq-titlefou {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.course-faq-subtitlefou {
  margin: 14px 0 0;
  color: rgba(229, 231, 235, 0.65);
  font-size: 14.5px;
  line-height: 1.6;
}

.course-faq-accordionfou {
  display: grid;
  gap: 16px;
  width: 100%;
}

.course-faq-itemfou {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(17, 24, 39, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.course-faq-itemfou:hover {
  border-color: color-mix(in srgb, var(--color-orange-main, #F47429) 45%, transparent);
  background: rgba(17, 24, 39, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px color-mix(in srgb, var(--color-orange-main, #F47429) 5%, transparent);
}

.course-faq-itemfou.is-open {
  border-color: color-mix(in srgb, var(--color-orange-main, #F47429) 60%, transparent);
  background: rgba(17, 24, 39, 0.75);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px color-mix(in srgb, var(--color-orange-main, #F47429) 8%, transparent);
}

.course-faq-headerfou {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  cursor: pointer;
  color: #e5e7eb;
  text-align: start;
}

.course-faq-badgefou {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f47429;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  flex: 0 0 auto;
}

.course-faq-headtextfou {
  flex: 1 1 auto;
  font-weight: 900;
  color: #ffffff;
}

.course-faq-chevronfou {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(229, 231, 235, 0.85);
  transform: rotate(180deg);
  transition: transform 180ms ease;
}

.course-faq-chevron-svgfou {
  width: 18px;
  height: 18px;
  display: block;
}

.course-faq-bodyfou {
  height: 0;
  overflow: hidden;
  transition: height 260ms ease;
  padding-inline: 18px;
}

.course-faq-itemfou.is-open .course-faq-bodyfou {
  height: auto;
}

.course-faq-itemfou.is-open .course-faq-chevronfou {
  transform: rotate(0deg);
}

.course-faq-answerfou {
  padding: 0 0 18px;
  color: rgba(229, 231, 235, 0.82);
  font-size: 12px;
  line-height: 1.7;
}

/* ================= Potential career paths + recommended (Figma) ================= */
.course-careerfou {
  background: #ffffff;
  padding: 54px var(--layout-pad-x, 16px) 22px;
}

.course-career-innerfou {
  max-width: 1200px;
  margin: 0 auto;
}

.course-career-headfou {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy-main);
}

.course-career-svgfou {
  width: 24px;
  height: 24px;
}

.course-career-titlefou {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.course-career-tagsfou {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.course-career-tagfou {
  background: #f3f4f6;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #111827;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
}

.course-recommendedfou {
  background: #ffffff;
  padding: 40px var(--layout-pad-x, 16px) 72px;
}

.course-recommended-innerfou {
  max-width: 1200px;
  margin: 0 auto;
}

.course-recommended-gridfou {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.course-recommended-leftfou {
  padding-top: 18px;
}

.course-recommended-titlefou {
  margin: 0;
  font-size: clamp(1.43rem, 2.6vw, 2.08rem);
  font-weight: 900;
  line-height: 1.05;
  color: #003F7D;
}

.course-recommended-titlefou span {
  color: var(--color-orange-main);
}

.course-recommended-descfou {
  margin-top: 14px;
  max-width: 520px;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}

.course-recommended-toprightfou {
  grid-column: 2 / 3;
}

.course-recommended-bottomfou {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-rec-cardfou {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
  text-decoration: none;
  color: #fff;
}

.course-recommendedfou--static .course-rec-cardfou {
  border-radius: 20px;
}

.course-rec-cardfou.is-top {
  height: 280px;
}

.course-rec-cardfou.is-bottom {
  height: 240px;
}

.course-rec-mediafou {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.course-rec-mediafou img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-rec-overlayfou {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.30) 55%, rgba(0, 0, 0, 0.10) 100%);
}

.course-rec-bodyfou {
  position: absolute;
  inset: 0;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.course-rec-namefou {
  font-weight: 900;
  font-size: 20px;
}

.course-rec-descfou {
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 420px;
}

.course-rec-tagsfou {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.course-rec-keyskills {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.92;
  margin-top: 2px;
}

.course-rec-tagfou {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.course-rec-metafou {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  opacity: 0.9;
}

.course-recommendedfou--static .course-rec-metafou {
  width: 100%;
  justify-content: space-between;
  gap: 14px;
}

.course-rec-metaitemfou {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.course-rec-metaitemfou i {
  font-size: 12px;
  opacity: 0.95;
}

.course-rec-metadividerfou {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1024px) {
  .course-recommended-gridfou {
    grid-template-columns: 1fr;
  }

  .course-recommended-toprightfou {
    grid-column: auto;
  }

  .course-recommended-bottomfou {
    grid-template-columns: 1fr;
  }

  .course-rec-cardfou.is-top,
  .course-rec-cardfou.is-bottom {
    height: 240px;
  }
}

.recommended-header {
  margin-bottom: 30px;
  text-align: left;
}

html[dir="rtl"] .recommended-header {
  text-align: right;
}

.recommended-swiper {
  /* Let container wrap wrapper dynamically */
  height: auto !important;
  --swiper-theme-color: #f47429 !important;
  --swiper-pagination-color: #f47429 !important;
}

.recommended-swiper .swiper-wrapper {
  height: auto !important;
  align-items: stretch !important;
}

.recommended-swiper .swiper-slide {
  height: auto !important;
}

.recommended-swiper .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  margin: 5% auto 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}

.recommended-swiper .swiper-pagination-bullet-active {
  background: var(--color-orange-main, #f47429) !important;
  opacity: 1 !important;
}

.recommended-swiper .swiper-pagination-lock {
  display: none !important;
}

.ratingfou {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  color: var(--color-text-muteds);
}

.badgefou {
  background: var(--color-text-mutedsc);
  color: var(--color-white);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.starsfou {
  color: var(--color-text-mutedsc);
  font-weight: 600;
}

.tabsfou {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
}

.tabsfou button {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: var(--color-text-whitee);
  color: var(--color-text-muteds);
  cursor: pointer;
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

.tabsfou button.is-active {
  background: var(--color-text-mutedsc);
  color: var(--color-white);
  font-weight: 600;
}


/* ================= Right Side ================= */

.rightfou {
  flex: 1;
  position: relative;
}

.course-cardfou {
  background: var(--color-white);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.course-infofou {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-text-whitee);
  font-size: 14px;
  color: var(--color-text-bluee);
}

.course-infofou:last-child {
  border-bottom: none;
}

/* Accordion */

.branchfou {
  border: 1px solid var(--color-text-end);
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.branch-headerfou {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.branch-headerfou h4 {
  font-size: 14px;
  color: var(--color-text-bluee);
}

.arrowfou {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--color-text-bluee);
  transition: transform 180ms ease;
}

.arrowfou-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.branch-bodyfou {
  height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: height 0.3s ease;
  color: var(--color-text-halfypy);
  font-size: 13px;
}

.branch.activefou {
  border: 2px solid var(--color-navy-main);
  background: var(--color-text-gray);
}

.branchfou.active .arrowfou {
  transform: rotate(180deg);
}

.branch-body-contentfou {
  padding: 10px 0 15px;
}

/* Buttons */

.btn-primaryfou {
  display: inline-block;
  /* مهم علشان يتصرف كزرار */
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: var(--color-text-mutedsc);
  color: var(--color-white);
  font-size: 16px;
  text-align: center;
  /* علشان النص يبقى في النص */
  text-decoration: none;
  /* يشيل الخط تحت اللينك */
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-primaryfou:hover {
  background: var(--color-orange-alt);
  transform: translateY(-2px);
}

.btn-secondaryfou {
  margin-top: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(12, 37, 59, 0.16);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: #0C253B;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-secondaryfou:hover {
  background: rgba(0, 63, 125, 0.06);
  border-color: rgba(0, 63, 125, 0.22);
  transform: translateY(-1px);
}

.btn-secondaryfou:active {
  transform: translateY(0);
}

/* Course details extra sections (Figma missing blocks) */
.containerfou {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px
}

.section-titlefou {
  font-size: 28px;
  font-weight: 700;
  color: #0C253B;
  margin: 0 0 16px
}

.logo-rowfou {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start
}

.logo-imgfou {
  height: 44px;
  width: auto;
  opacity: .95;
  filter: grayscale(.05)
}

.targetaudiencefou,
.prerequisitesfou,
.partnershipsfou,
.credentialfou,
.successstoriesfou,
.graduatecompaniesfou,
.portfoliofou,
.recommendedfou {
  padding: 44px 0
}

.courses-theme :is(section[id], p#overview) {
  scroll-margin-top: 96px;
}

.hero-imgfou.is-playing video {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero-imgfou.has-video {
  overflow: hidden;
  border-radius: 18px;
  max-width: 900px;
}

.prereq-gridfou {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.prereq-cardfou {
  background: var(--color-white);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(20, 73, 121, 0.12);
}

.prereq-icofou {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20, 73, 121, 0.08);
  color: var(--color-navy-main);
  font-size: 26px;
}

.prereq-icofou img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.prereq-titlefou {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy-main);
}

.target-gridfou {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px
}

.target-cardfou {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, .08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(12, 37, 59, .06)
}

.target-icofou {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 63, 125, .10);
  color: #003F7D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto
}

.target-cardfou h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0C253B
}

.target-cardfou p {
  margin: 0;
  color: rgba(12, 37, 59, .78);
  font-size: 14px;
  line-height: 1.4
}

.credential-wrapfou {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: center
}

.credential-leftfou img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(12, 37, 59, .08);
  box-shadow: 0 14px 40px rgba(12, 37, 59, .12)
}

.credential-samplefou {
  min-height: 250px;
  border-radius: 18px;
  border: 1px solid rgba(12, 37, 59, .12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .80), rgba(255, 255, 255, .52)),
    repeating-linear-gradient(-24deg, rgba(12, 37, 59, .06) 0 12px, rgba(249, 115, 22, .06) 12px 24px);
  box-shadow: 0 14px 40px rgba(12, 37, 59, .12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(12, 37, 59, .72);
  overflow: hidden;
  position: relative;
}

.credential-samplefou::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(12, 37, 59, .12);
  border-radius: 14px;
}

.credential-samplefou span {
  font-size: 58px;
  line-height: 1;
  font-weight: 800;
  color: rgba(12, 37, 59, .22);
}

.credential-samplefou strong {
  margin-top: 10px;
  font-size: 22px;
  color: #0C253B;
}

.credential-samplefou small {
  margin-top: 4px;
  font-weight: 700;
  color: #F97316;
}

.credential-rightfou h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #0C253B
}

.credential-rightfou h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #003F7D
}

.credential-rightfou p {
  margin: 0 0 10px;
  color: rgba(12, 37, 59, .80)
}

.credential-rightfou ul {
  margin: 0;
  padding-inline-start: 18px;
  color: rgba(12, 37, 59, .85)
}

.story-gridfou {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px
}

.story-cardfou {
  background: #fff;
  border: 1px solid rgba(12, 37, 59, .08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(12, 37, 59, .08)
}

.story-mediafou {
  position: relative;
  aspect-ratio: 16/9;
  background: #0C253B
}

.story-mediafou img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .95
}

.story-playfou {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff
}

.story-playfou i {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 63, 125, .88);
  display: flex;
  align-items: center;
  justify-content: center
}

.story-bodyfou {
  padding: 14px 14px 16px
}

.story-bodyfou h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #0C253B
}

.story-rolefou {
  margin: 0 0 6px;
  color: #003F7D;
  font-weight: 600;
  font-size: 13px
}

.story-quotefou {
  margin: 0;
  color: rgba(12, 37, 59, .80);
  font-size: 14px;
  line-height: 1.4
}

.portfolio-gridfou {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.portfolio-cardfou {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(12, 37, 59, .08);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: 0 10px 28px rgba(12, 37, 59, .06)
}

.portfolio-cardfou img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block
}

.portfolio-placeholderfou {
  height: 170px;
  background:
    linear-gradient(135deg, rgba(12, 37, 59, .90), rgba(0, 63, 125, .86)),
    url('/image/bgcard.svg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-placeholderfou span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #F97316;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.portfolio-titlefou {
  padding: 10px 12px;
  font-weight: 700;
  color: #0C253B
}

.recommended-gridfou {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.recommended-cardfou {
  display: flex;
  gap: 12px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(12, 37, 59, .08);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: 0 10px 28px rgba(12, 37, 59, .06)
}

.recommended-thumbfou {
  width: 132px;
  min-height: 118px;
  flex: 0 0 auto;
  background: #f3f5f7
}

.recommended-thumbfou img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  display: block
}

.recommended-bodyfou {
  padding: 12px 12px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.recommended-titlefou {
  font-weight: 800;
  color: #0C253B
}

.recommended-metafo {
  font-size: 13px;
  color: rgba(12, 37, 59, .70)
}

.recommendedfou .recommended-titlefou.section-titlefou,
.recommended-titlefou.section-titlefou {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 860px;
}

.recommendedfou .containerfou {
  padding-top: 10px
}

.targetaudiencefou .section-titlefou,
.prerequisitesfou .section-titlefou,
.credentialfou .section-titlefou,
.successstoriesfou .section-titlefou,
.graduatecompaniesfou .section-titlefou,
.portfoliofou .section-titlefou {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Figma-like section spacing */
.course-sectionfou {
  padding: 38px 16px;
  margin-top: 22px;
  gap: 22px;
  max-width: 940px
}

.leftfou {
  flex: 1 1 0;
  min-width: 0
}

.rightfou {
  flex: 0 0 320px;
  min-width: 0
}

.hero-imgfou img,
.hero-imgfou video {
  height: clamp(280px, 28vw, 380px)
}

.course-cardfou {
  border: 1px solid rgba(12, 37, 59, .08)
}

.course-infofou {
  font-weight: 600
}

.sticky-cardfou {
  display: none
}

.learn-sectionsi {
  padding: 72px 0
}

.outline-sectionsev {
  padding: 86px 8%
}

.batchesei {
  padding: 86px 0
}

.testimonialsnei {
  padding: 86px 0
}

.faqigh {
  padding: 86px 0
}

/* Figma-like FAQ container sizing */
.containerigh {
  width: min(980px, 92%);
  margin: 0 auto;
  height: auto;
}

/* Give outline + FAQ a stronger dark contrast like Figma */
.outline-sectionsev {
  background: var(--color-white)
}

.accordion-itemsev {
  background: var(--color-text-bluee)
}

.accordionigh {
  background: var(--color-text-bluee)
}

/* Improve course hero container sizing to match wide Figma screenshot */
.course-sectionfou {
  max-width: 940px;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.hero-imgfou img,
.hero-imgfou video {
  width: 100%;
  max-width: 560px;
}

.leftfou .descfou {
  max-width: 720px
}

@media (max-width: 1100px) {
  .course-sectionfou {
    gap: 20px
  }

  .rightfou {
    flex-basis: 310px
  }

  .leftfou h1 {
    font-size: 40px
  }

  .hero-imgfou img,
  .hero-imgfou video {
    height: 330px
  }
}

@media (max-width: 320px) {
  .course-sectionfou {
    flex-direction: column;
    padding: 30px 20px;
  }

  .rightfou {
    flex: 1 1 auto;
    width: 100%
  }

  .hero-imgfou img,
  .hero-imgfou video {
    height: 250px
  }
}

@media (max-width: 900px) {

  .target-gridfou,
  .story-gridfou {
    grid-template-columns: 1fr
  }

  .credential-wrapfou {
    grid-template-columns: 1fr
  }

  .portfolio-gridfou,
  .recommended-gridfou {
    grid-template-columns: 1fr
  }

  .recommended-cardfou {
    flex-direction: column
  }

  .recommended-thumbfou {
    width: 100%;
    height: 180px
  }

  .recommended-titlefou.section-titlefou {
    font-size: 28px
  }

  .targetaudiencefou .section-titlefou,
  .prerequisitesfou .section-titlefou,
  .credentialfou .section-titlefou,
  .successstoriesfou .section-titlefou,
  .graduatecompaniesfou .section-titlefou,
  .portfoliofou .section-titlefou {
    font-size: 28px
  }
}

/* Sticky Card (داخل العمود بس) */

.sticky-cardfou {
  background: var(--color-text-bluee);
  color: var(--color-white);
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  margin-top: 20px;
  position: sticky;
  top: calc(var(--header-height, 73px) + 12px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 1;
}

.sticky-cardfou button {
  margin-top: 15px;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: var(--color-white);
  color: var(--color-text-bluee);
  cursor: pointer;
  width: 100%;
}

/* ===================section2===================== */
.learn-sectionsi {
  padding: 80px 0;
  text-align: center;
  background: var(--color-white);
}

.learn-sectionsi h2 {
  font-size: 42px;
  color: var(--color-navy-text-dark);
  font-weight: 700;
  margin-bottom: 60px;
  line-height: 1.3;
}

.learn-sectionsi h2 span {
  color: var(--color-text-mutedsc);
}

/* ================= Cards Layout ================= */

.cardssi {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* ================= Card ================= */

.cardsi {
  background: var(--color-white);
  width: 320px;
  padding: 35px 30px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

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

.icon-boxsi {
  width: 60px;
  height: 60px;
  background: var(--color-text-end);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.cardsi h3 {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--color-navy-text-dark);
}

.cardsi h3 span {
  color: var(--color-text-mutedsc);
}

.cardsi ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--color-text-muteds);
  font-size: 14px;
  line-height: 1.8;
}

/* ===========================section3========== */
/* ======= Section Wrapper ======= */

.outline-sectionsev {
  padding: 100px 8%;
  text-align: center;
  position: relative;
  color: var(--color-navy-text-dark);
  background: var(--color-white);
  font-family: "Segoe UI", sans-serif;
  box-sizing: border-box;



}

.outline-sectionsev .accordion-itemsev {
  color: var(--color-white);
}

/* Badge */

.badgesev {
  display: inline-block;
  background: var(--color-text-mutedsc);
  color: var(--color-white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Title */

.outline-sectionsev h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.subtitlesev {
  max-width: 600px;
  margin: auto;
  color: var(--color-text-halfypy);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 60px;
}

/* ===== Accordion ===== */

.accordionsev {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-itemsev {
  background: var(--color-text-bluee);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: 0.3s;
}

.accordion-headersev {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.header-leftsev {
  display: flex;
  align-items: center;
  gap: 15px;
}

.numbersev {
  width: 34px;
  height: 34px;
  background: var(--color-text-mutedsc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.module-titlesev {
  font-size: 18px;
  font-weight: 600;
}

.arrowsev {
  font-size: 16px;
  transition: 0.3s;
}

.accordion-contentsev {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}

.accordion-contentsev p {
  color: var(--color-text-halfypy);
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: start;
}

.accordion-contentsev ul {
  margin-bottom: 20px;
  margin-left: 0;
  padding-left: 1.25rem;
}

.accordion-contentsev li {
  color: var(--color-text-end);
  font-size: 14px;
  margin-bottom: 6px;
  list-style-type: circle;
  list-style-position: inside;


}

.accordion-contentsev li::marker {
  color: var(--color-orange-alt);
  font-size: 20px;
}

/* Active State */

.accordion-itemsev.active .accordion-contentsev {
  max-height: 300px;
  padding-bottom: 20px;
}

.accordion-itemsev.active .arrowsev {
  transform: rotate(180deg);
}

/* Button */

.cta-btnsev {
  margin-top: 50px;
  background: var(--color-text-mutedsc);
  color: var(--color-white);
  border: none;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
  transition: 0.3s;
}

.cta-btnsev:hover {
  transform: translateY(-3px);
}

/* ===================section4================= */
.batchesei {
  padding: 100px 0;
  background: var(--color-white);
  font-family: Arial, sans-serif;
}

.containerei {
  width: 85%;
  margin: auto;
  text-align: center;
}

.section-titleei {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-navy-text-soft);
  margin-bottom: 60px;
}

.cardsei {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cardei {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.cardei:hover {
  transform: translateY(-8px);
}

.badgeei {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.fillingei {
  background: var(--color-gray-linee);
  color: var(--color-white);
}

.openei {
  background: var(--color-text-greeen);
  color: var(--color-navy-text-soft);
}

.cardei h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cardei p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 5px;
}

.seatsei {
  margin-bottom: 20px;
}

.cardei a {
  text-decoration: none;
  color: var(--color-gray-linee);
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
  margin-top: 20px;
  display: inline-block;
}

.cardei a:hover {
  opacity: 0.7;
}

/* ==================section5=================== */
.testimonialsnei {
  padding: 100px 0;
  background: var(--color-white);
  font-family: Arial, sans-serif;
}

.containernei {
  width: 90%;
  margin: auto;
  text-align: center;
}

.section-titlenei {
  font-size: 40px;
  font-weight: 700;
  color: #003F7D;
  margin-bottom: 60px;
}

.testimonial-wrappernei {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
}

.testimonial-wrappernei::-webkit-scrollbar {
  display: none;
}

.testimonial-cardnei {
  width: 450px;
  flex: 0 0 auto;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.card-topnei {
  padding: 20px;
  position: relative;
}

.orange-linenei {
  width: 40px;
  height: 3px;
  background: var(--color-gray-linee);
  margin-bottom: 10px;
}

.starsnei {
  color: var(--color-gray-linee);
  font-size: 18px;
  margin-bottom: 5px;
}

.labelnei {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 14px;
  color: var(--color-gray-linee);
}

.reviewnei {
  padding: 0 20px 20px;
  color: var(--color-text-muteds);
  line-height: 1.6;
  font-size: 15px;
}

.card-bottomnei {
  background: var(--color-navy-text-soft);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  margin-top: auto;
}

.card-bottomnei img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.card-bottomnei h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.card-bottomnei span {
  font-size: 13px;
  opacity: 0.8;
}

/* ==========section6========== */
.faqigh {
  padding: 100px 0;
  background: var(--color-white);
  font-family: Arial, sans-serif;

}

.containerigh {
  width: 80%;
  margin: auto;
  height: 500px;
}

.accordionigh {
  background: var(--color-text-bluee);
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 25px;
  cursor: pointer;
  transition: 0.3s;

}

.accordion-headerigh {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.numberigh {
  width: 35px;
  height: 35px;
  background: var(--color-gray-linee);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.accordionigh h3 {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
}

.iconigh {
  color: var(--color-text-end);
  transition: 0.3s;
}

.accordion-contentigh {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  color: var(--color-text-end);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 15px;
}

.accordionigh.active .accordion-contentigh {
  max-height: 300px;
}

.accordionigh.active .iconigh {
  transform: rotate(180deg);
}

/* ================section6============== */
.career-sectioncis {
  background: var(--color-white);
  padding: 30px 60px;
}

.career-headercis {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  height: 100px;
}

.career-headercis i {
  font-size: 50px;
  color: var(--color-navy-text-soft);
}

.career-headercis h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-navy-text-soft);
}

.career-tagscis {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tagcis {
  background: var(--color-text-grayyy);
  color: var(--color-text-whiteef);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 50px;
}

/* =============================================== */
footer.footer {
  width: 100%;
  height: 300px;

  background: var(--color-navy-mainn, #00052B);
  /* الخلفية الكحلي */
  padding: 32px 250px 26px;
  color: var(--color-text-whi);

}

.footer-inner {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

/* عمود 1: لوجو + وصف */
.footer-col-1 {
  flex: 1.1;
  max-width: 360px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo img {
  height: 34px;
  /* عدليها لو أبعاد اللوجو مختلفة */
  width: auto;
  display: block;
}

.footer-logo-text {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-text-end);
  letter-spacing: 0.06em;
}

.footer-description {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-end);
}

/* عمود 2: Quick links في عمودين */
.footer-col-2 {
  flex: 0.9;
  max-width: 260px;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-white);
}

.footer-links {
  list-style: none;
  columns: 2;
  /* عمودين */
  column-gap: 32px;
  padding: 0;
}

.footer-links li {
  font-size: 13px;
  color: var(--color-text-end);
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.15s ease;
  break-inside: avoid;
  white-space: nowrap;
}

/* عمود 3: Newsletter + سوشيال */
.footer-col-3 {
  flex: 1.1;
  max-width: 360px;
}

.footer-col-3 p {
  font-size: 12px;
  color: var(--color-gray-muted);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 320px;
  margin-bottom: 14px;
  align-items: center;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  height: 40px;
  padding: 8px 10px;
  border-radius: 3px;
  border: 1px solid var(--color-navy-text);
  font-size: 12px;
  outline: none;
  background: var(--color-white);
  color: var(--color-black);
  margin-bottom: 0;
}

.newsletter-form input::placeholder {
  color: var(--color-gray-muted);
}

.newsletter-form button {
  padding: 0 20px;
  margin-top: -0px;
  height: 40px;
  border-radius: 3px;
  border: none;
  background: #F47429;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.newsletter-form button:hover {
  background: #003F7D;
  color: #FFFFFF;
}

.footer-social {
  display: flex;
  gap: 10px;
  font-size: 16px;
}

.footer-social a {
  color: var(--color-white);
  text-decoration: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.accordion-icon {
  display: none;
}

/* ============== */


/* ================= MOBILE ONLY (header/nav — full menu panel in app-shell.css) ================= */
@media (max-width: 1024px) {

  /* hide desktop nav — language: only in burger drawer on small screens (see app-shell) */
  .nav,
  .search-box,
  .register-btn,
  .earth-icon {
    display: none;
  }

  /* Entire actions strip hidden on mobile (nav lives in burger drawer) */
  .header .header-actions {
    display: none !important;
  }



  /* burger visible — navy to match Figma header */
  .header .burger {
    display: inline-flex;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-navy-header, #144979);
    margin-right: 0;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 6px;
  }

  .header {
    padding: 15px 20px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* mobile drawer chrome + list: themed in app-shell.css (Figma) */
  .close-menu {
    font-size: 22px;
    cursor: pointer;
  }

  #site-mobile-menu .menu-links {
    display: block;
    width: 100%;
  }

  #site-mobile-menu .site-mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  #site-mobile-menu .site-mobile-menu__list>li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #site-mobile-menu .menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
  }

  /* hero layout mobile */
  .course-sectionfou {
    width: 100%;
    flex-direction: column;
    padding: 30px 20px;
  }

  .hero-imgfou img,
  .hero-imgfou video {
    width: 100%;
    height: 250px;
  }

  .hero-imgfou.is-playing video {
    min-height: 250px;
  }

  .rightfou {
    width: 100%;
  }

  .sticky-cardfou {
    display: none;
  }

}

@media (max-width: 1024px) {
  .course-sectionfou {
    width: 100%;
    max-width: 900px;
    flex-direction: row;
    align-items: flex-start;
    padding: 30px 16px;
    gap: 18px;
  }

  .leftfou {
    flex: 1 1 64%;
    min-width: 0;
  }

  .rightfou {
    flex: 0 0 280px;
    width: auto;
    min-width: 0;
  }

  .hero-imgfou img,
  .hero-imgfou video {
    width: 100%;
    height: 310px;
  }

  .leftfou h1 {
    font-size: 38px;
  }
}

/* Courses page (medium + mobile): force hero media + card to stack (col-12 / col-12) */
@media (max-width: 1024px) {
  .courses-theme [data-course-page].course-sectionfou {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .courses-theme [data-course-page] .leftfou,
  .courses-theme [data-course-page] .rightfou {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  .courses-theme [data-course-page] .hero-imgfou {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .courses-theme [data-course-page] .hero-imgfou img,
  .courses-theme [data-course-page] .hero-imgfou video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
  }
}

/* === source: nextstep.css === */

.heroone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  height: 700px;
  background:
    linear-gradient(to right,
      rgba(12, 37, 59, 0.9) 40%,
      rgba(12, 37, 59, 0.6) 70%,
      rgba(12, 37, 59, 0.2) 100%),
    url('/images/home/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

/* ===== LEFT ===== */

.hero-contentone {
  width: 50%;
}

.badgeone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(270deg, var(--color-navy-header), var(--color-orange-main));
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 18px;
  margin-bottom: 20px;
  padding: 15px;
}

.badgeone h1 {
  font-size: 46px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 30px;
}

.orangeone {
  color: var(--color-text-mutedsc);
}

.hero-statsone {
  display: flex;
  gap: 90px;
  margin-top: 50px;
}

.hero-statsone strong {
  font-size: 30px;
}

.hero-statsone p {
  font-size: 13px;
  opacity: 0.8;
}

/* ===== RIGHT ===== */

.hero-imageone {
  position: relative;
  width: min(560px, 42vw);
}

.hero-imageone img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  height: 320px;
  object-fit: cover;
}

/* rating */

.ratingone {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: var(--color-navy-header);
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
}

.ratingone strong {
  font-size: 20px;
}

/* users */

.usersone {
  position: absolute;
  top: 20px;
  right: -70px;
  background: var(--color-white);
  color: var(--color-text-halfyp);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.usersone strong {
  font-size: 16px;
}

/* ===================section======================== */
* {
  margin: 0;
  padding: 0px;
}

.booking-sectiontin {
  width: 100%;
  min-height: 100vh;
  background: var(--color-text-gray);
  padding: 80px 8%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.booking-sectiontin::before {
  content: "";
  position: absolute;
  top: 420px;
  left: 0px;
  width: 350px;
  height: 350px;
  background: url("/image/plue.svg") no-repeat center/cover;
  z-index: 0;
}

.booking-wrappertin {
  width: 100%;
  max-width: 1500px;
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 0px;
  overflow-x: hidden;
  margin: auto;
  position: relative;
  z-index: 1;
}

.section-titletin {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  width: 571px;
}

.icon-boxtin {
  width: 50px;
  height: 50px;
  background: var(--color-text-mutedscf);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 20px;
}

.section-titletin h3 {
  font-size: 18px;
  margin-bottom: 3px;
  color: var(--color-text-halfyp);
}

.section-titletin p {
  font-size: 13px;
  color: var(--color-text-halfypy);
}

.form-cardtin {
  background: var(--color-white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-cardtin input,
.form-cardtin select {
  height: 48px;
  background: #F3F6FA;
  border: 1px solid rgba(0, 63, 125, 0.12);
  border-radius: 12px;
  padding: 0 14px;
  color: #0C253B;
  outline: none;
  box-shadow: none;
}

.form-cardtin input:focus,
.form-cardtin select:focus {
  border-color: rgba(0, 63, 125, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 63, 125, 0.10);
}

.form-cardtin select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23003F7D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
}

html[dir="rtl"] .form-cardtin select {
  padding-right: 14px;
  padding-left: 44px;
  background-position: left 14px center;
}

.form-cardtin select:disabled,
.form-cardtin input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.book-btntin {
  display: inline-block;
  /* يخليه يتصرف زي زرار */
  text-decoration: none;
  /* يشيل underline */
  text-align: center;
  /* يخلي النص في النص */
  line-height: 45px;
  /* يظبط النص عموديًا بدل height */

  background: var(--color-text-mutedscf);
  color: var(--color-white);
  height: 45px;
  padding: 0 20px;
  /* مسافة يمين وشمال */
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
}

.sharetin {
  text-align: center;
  margin-top: 15px;
  color: #003F7D;
}

.sharetin .iconstin {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 8px;
  color: var(--color-text-halfypy);
  font-size: 115%;
}

/* RIGHT SIDE */

.summary-cardtin {
  background: var(--color-text-end);
  padding: 30px;
  border-radius: 18px;
  height: auto;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-text-halfyp);
  overflow: visible;
}

.course-itemtin {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.course-itemtin img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.info-rowtin {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.info-rowtin__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy-main);
  font-weight: 600;
}

.info-rowtin__label i {
  color: var(--color-navy-main);
  font-size: 14px;
  width: 18px;
  display: inline-flex;
  justify-content: center;
}

.discount-cardtin {
  display: flex;
  margin-top: 20px;
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 63, 125, 0.14);
  box-shadow: 0 14px 40px rgba(12, 37, 59, 0.12);
}

.discount-lefttin {
  position: relative;
  background: #003F7D;
  color: var(--color-white);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 24px 16px;
  font-weight: bold;
  letter-spacing: 0.12em;
  width: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px 0 0 22px;
}

.discount-lefttin::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: -10px;
  width: 20px;
  background: repeating-linear-gradient(to bottom,
      var(--color-text-end) 0 14px,
      transparent 14px 22px);
  pointer-events: none;
  border-radius: 0 12px 12px 0;
}

.discount-righttin {
  padding: 20px;
  flex: 1;
  padding-bottom: 22px;
}

.discount-righttin button {
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 63, 125, 0.18);
  background: #fff;
  color: #0C253B;
  font-weight: 600;
}

.discount-righttin button:hover {
  border-color: rgba(0, 63, 125, 0.32);
}

.discount-righttin #promo-code-input {
  border-radius: 999px;
  border: 1px solid rgba(0, 63, 125, 0.18);
  padding: 10px 14px;
}

.discount-righttin #promo-code-label {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0C253B;
  margin: 2px 0 6px;
}

.discount-righttin #promo-message {
  color: rgba(12, 37, 59, 0.78);
  margin: 0;
}

.discount-righttin .coupon-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.discount-righttin .coupon-kicker {
  margin: 0 0 6px;
  color: rgba(12, 37, 59, 0.75);
  font-weight: 600;
}

.discount-righttin .coupon-code {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #0C253B;
}

.discount-righttin .coupon-save {
  margin: 0 0 6px;
  color: rgba(12, 37, 59, 0.8);
}

.discount-righttin .coupon-terms {
  color: #F07B2A;
  font-weight: 600;
  text-decoration: none;
}

.discount-righttin .coupon-terms:hover {
  text-decoration: underline;
}

.discount-righttin .coupon-icon img {
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  display: block;
}

.discount-righttin .coupon-apply-btn {
  width: auto;
  margin-top: 0;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 63, 125, 0.18);
  background: #003F7D;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.discount-righttin .coupon-apply-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(0, 63, 125, 0.12);
  color: rgba(12, 37, 59, 0.55);
  border-color: rgba(0, 63, 125, 0.12);
}

.discount-righttin .coupon-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.discount-righttin .coupon-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 63, 125, 0.18);
  background: #fff;
  outline: none;
}

.discount-righttin .coupon-input:focus {
  border-color: rgba(0, 63, 125, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 63, 125, 0.10);
}

.discount-righttin .coupon-apply-btn {
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.discount-righttin .coupon-apply-btn:not(:disabled):hover {
  filter: brightness(0.96);
}

/* ====================section======================== */
.testimonialsele {
  padding: 90px 0;
  text-align: center;
  background: var(--color-text-hal);
}

.containerele {
  width: 92%;
  margin: auto;
}

/* ===== HEADER ===== */

.section-headerele h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-navy-main);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.section-headerele .dashele {
  color: var(--color-navy-alt);
  margin-right: 8px;
}

.section-headerele p {
  max-width: 650px;
  margin: auto;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===== SLIDER ===== */

.sliderele {
  display: flex;
  gap: 30px;
  margin-top: 60px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-left: 40px;
}

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

/* ===== CARD ===== */

.cardele {
  min-width: 300px;
  /* يخلي 4 ونص ظاهرين */
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

/* الجزء الأزرق */

.card-topele {
  background: var(--color-navy-text);
  padding: 30px 20px 90px;
  text-align: center;
  position: relative;
  color: var(--color-white);
}

.small-titleele {
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.starsele i {
  color: var(--color-navy-text-sof);
  font-size: 14px;
  margin: 0 2px;
}

/* الجزء الأبيض */

.card-bodyele {
  padding: 60px 22px 30px;
  margin-top: 0px;
  text-align: center;
  position: relative;
}

.card-bodyele img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--color-navy-text);
  margin-bottom: 15px;
  position: absolute;
  top: -70PX;
  left: 50%;
  transform: translateX(-50%);


}

.card-bodyele h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-halfy);
}

.jobele {
  font-size: 12px;
  color: var(--color-text-muted);
}

.card-bodyele p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 15px;
  line-height: 1.7;
}

/* === source: congratulation.css === */

/* ===== CLS Success Section ===== */

.cls-success-section {
  width: 100%;
  height: 700px;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

/* Card */

.cls-success-card {
  background-color: var(--color-white);
  width: 800px;
  max-width: 100%;
  padding: 45px 55px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  margin-bottom: 35px;
}

/* Logo */

.cls-logo img {
  width: 180px;
  height: auto;

}

/* Divider */

.cls-divider {
  height: 1px;
  background-color: var(--color-text-main);
  margin: 25px 0 35px;
}

/* Title */

.cls-success-content h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-maine);
  margin-bottom: 20px;
  line-height: 1.4;
}

.cls-highlight {
  color: var(--color-orange-soft);
}

/* Paragraph */

.cls-success-content p {
  font-size: 16px;
  color: var(--color-text-muteds);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto;
}

/* Button */

.cls-success-btn {
  display: inline-block;
  padding: 14px 45px;
  background-color: var(--color-text-maine);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(31, 59, 99, 0.25);
  transition: all 0.3s ease;
}

.cls-success-btn:hover {
  background-color: var(--color-text-halfy);
  transform: translateY(-3px);
}

/* Responsive */

@media (max-width: 768px) {

  .cls-success-card {
    padding: 35px 25px;
  }

  .cls-success-content h1 {
    font-size: 20px;
  }

  .cls-success-content p {
    font-size: 14px;
  }

}

/* Unified Kicker Horizontal Lines */
.about-overview__kicker,
.about-services__kicker,
.about-instructors__kicker {
  width: 100%;
}

.about-overview__kicker::after,
.about-services__kicker::after,
.about-instructors__kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(11, 15, 24, 0.1);
  margin-inline-start: 15px;
}

/* ==========================================================================
   Antigravity Premium Enhancements: Headings Lock & Premium Play Button
   ========================================================================== */

/* Locking Visual Headings inside Rich-text Containers */
.course-overview-bodyfou h1,
.course-overview-bodyfou h2,
.course-overview-bodyfou h3,
.course-overview-bodyfou h4,
.course-overview-bodyfou h5,
.course-overview-bodyfou h6 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--color-navy-main, #0b1f2e) !important;
  margin: 24px 0 12px !important;
  line-height: 1.3 !important;
}

.blogd-rich h1,
.blogd-rich h2,
.blogd-rich h3,
.blogd-rich h4,
.blogd-rich h5,
.blogd-rich h6 {
  margin: 28px 0 12px !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #0c253b !important;
  line-height: 1.25 !important;
}

/* Premium Glassmorphic Play Button & Animations */
.play-btnfou {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  padding: 0;
  overflow: visible;
}

.play-btnfou:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
  box-shadow: 0 12px 40px 0 rgba(244, 116, 41, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

.play-icon-containerfou {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f47429;
  /* Brand primary orange */
  box-shadow: 0 4px 15px rgba(244, 116, 41, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.play-btnfou:hover .play-icon-containerfou {
  background: #e66a23;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(244, 116, 41, 0.5);
}

/* Pulsing Ripples */
.play-ripple-1fou,
.play-ripple-2fou {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.play-ripple-1fou {
  animation: play-ripple-pulse 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.play-ripple-2fou {
  animation: play-ripple-pulse 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  animation-delay: 1.5s;
}

@keyframes play-ripple-pulse {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }

  100% {
    width: 210%;
    height: 210%;
    opacity: 0;
    border-color: rgba(244, 116, 41, 0);
    box-shadow: 0 0 20px rgba(244, 116, 41, 0.2);
  }
}

.play-btnfou[hidden] {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.96) !important;
  pointer-events: none !important;
}