:root {
  --bg: #071521;
  --bg-alt: #0d2033;
  --surface: rgba(14, 36, 57, 0.82);
  --surface-strong: #11304d;
  --line: rgba(181, 213, 241, 0.22);
  --text: #ecf5ff;
  --muted: #9db8d4;
  --accent: #24c7b8;
  --accent-soft: #57b8ff;
  --danger: #ff8b7c;
  --shadow: 0 20px 40px rgba(3, 8, 15, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Tajawal", sans-serif;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 90% -5%, rgba(36, 199, 184, 0.14), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(87, 184, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #060f17 0%, var(--bg) 45%, #08192a 100%);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 40% at 18% 20%, rgba(68, 191, 246, 0.1), transparent 70%),
    radial-gradient(60% 35% at 85% 80%, rgba(51, 221, 190, 0.09), transparent 72%);
  animation: bgFlow 16s ease-in-out infinite alternate;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.bg-orb {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.orb-one {
  top: -70px;
  right: 14%;
  background: rgba(36, 199, 184, 0.2);
  animation: orbDriftA 12s ease-in-out infinite;
}

.orb-two {
  left: 10%;
  bottom: 18%;
  background: rgba(87, 184, 255, 0.2);
  animation: orbDriftB 14s ease-in-out infinite;
}

.section,
.site-footer {
  width: min(1100px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
  width: 100%;
  margin-inline: 0;
  padding: 0.82rem clamp(0.9rem, 2.4vw, 2.4rem);
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(156, 214, 250, 0.2);
  background:
    linear-gradient(
      90deg,
      rgba(3, 12, 21, 0.94),
      rgba(4, 17, 28, 0.9) 45%,
      rgba(8, 35, 49, 0.88)
    );
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(2, 7, 13, 0.32);
  z-index: 15;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.28rem 0.52rem 0.28rem 0.32rem;
  border: 1px solid rgba(152, 212, 251, 0.22);
  border-radius: 0.95rem;
  background: rgba(7, 25, 39, 0.58);
  box-shadow:
    0 10px 18px rgba(4, 12, 22, 0.22),
    0 0 18px rgba(87, 184, 255, 0.1);
}

.brand-logo {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.62rem;
  object-fit: contain;
  background: rgba(5, 18, 29, 0.92);
  border: 1px solid rgba(141, 210, 248, 0.34);
  padding: 0.18rem;
  box-shadow: 0 0 16px rgba(101, 223, 240, 0.2);
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-title {
  margin: 0;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(90deg, #eaf7ff 10%, #8deaf1 55%, #8ecbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.6rem;
  color: #9ab5cf;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: clamp(0.85rem, 1.35vw, 1.45rem);
}

.nav-menu a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
  position: relative;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(97, 220, 255, 0), rgba(97, 220, 255, 0.9), rgba(97, 220, 255, 0));
  transition: transform 220ms ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 0.7rem;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
}

.section {
  padding: 5rem 0 1.3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.16, 0.84, 0.32, 1),
    filter 760ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
  padding-top: 4rem;
}

.eyebrow {
  color: #8dc6f8;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.18;
}

.hero-text {
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #1dc7b8, #6ac6ff);
  color: #022329;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-small {
  padding: 0.45rem 0.8rem;
}

.hero-highlights {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-highlights li {
  color: var(--muted);
  padding-left: 1.3rem;
  position: relative;
}

.hero-highlights li::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.hero-panel,
.program-card,
.career-card,
.about-mission-card,
.about-stat-card,
.about-teaching-card,
.partner-logo-card,
.grad-outcome-card,
.testimonial-card,
.lead-form,
.faq-list details,
.outcome-stats div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.hero-panel,
.program-card,
.career-card,
.about-mission-card,
.about-stat-card,
.about-teaching-card,
.partner-logo-card,
.grad-outcome-card,
.outcome-stats div,
.faq-list details,
.lead-form,
.testimonial-card {
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.hero-panel:hover,
.program-card:hover,
.career-card:hover,
.about-mission-card:hover,
.about-stat-card:hover,
.about-teaching-card:hover,
.partner-logo-card:hover,
.grad-outcome-card:hover,
.outcome-stats div:hover,
.faq-list details:hover,
.lead-form:hover,
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 214, 255, 0.5);
  box-shadow:
    0 24px 42px rgba(3, 8, 15, 0.35),
    0 0 20px rgba(67, 203, 255, 0.12);
}

.hero-panel {
  padding: 1.4rem;
}

.panel-eyebrow {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.hero-panel h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.panel-grid div {
  background: rgba(12, 34, 56, 0.8);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem;
}

.panel-grid strong {
  display: block;
  font-size: 1.2rem;
}

.panel-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.regions {
  padding-top: 1rem;
}

.region-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.region-copy span {
  color: var(--text);
}

.region-copy.ar {
  margin-top: 0.35rem;
  font-family: "Tajawal", "Manrope", sans-serif;
}

.about-profitix {
  padding-top: 2.2rem;
}

.about-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.about-mission-card {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.about-highlight {
  width: fit-content;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 230, 220, 0.45);
  color: #d7fdf4;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(23, 81, 93, 0.34);
}

.about-mission-card h3 {
  font-size: 1.25rem;
}

.about-mission-card p {
  color: var(--muted);
}

.about-experience-block {
  border-top: 1px solid rgba(168, 216, 248, 0.25);
  padding-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.about-experience-block h4 {
  margin: 0;
  color: #d8f6ff;
  font-size: 0.98rem;
}

.about-experience-block p {
  margin: 0;
  color: #bfd9f1;
  font-size: 0.9rem;
}

.about-stats-grid {
  display: grid;
  gap: 0.7rem;
}

.about-stat-card {
  padding: 0.9rem;
  display: grid;
  gap: 0.25rem;
}

.about-stat-value {
  margin: 0;
  color: #96f4da;
  font-weight: 800;
  font-size: 1.05rem;
}

.about-stat-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-teaching {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.about-teaching h3 {
  font-size: 1.2rem;
}

.about-teaching-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-teaching-card {
  padding: 0.95rem;
  display: grid;
  gap: 0.55rem;
}

.about-icon {
  margin: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(8, 33, 50, 0.9);
  border: 1px solid rgba(156, 221, 254, 0.45);
  font-size: 1rem;
}

.about-teaching-card h4 {
  margin: 0;
  font-size: 0.98rem;
}

.about-teaching-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-cta {
  margin-top: 1rem;
  border: 1px solid rgba(129, 212, 246, 0.33);
  border-radius: 1rem;
  padding: 0.95rem;
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(36, 199, 184, 0.16), transparent 72%),
    rgba(9, 31, 48, 0.78);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.about-cta h3 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.section-head p {
  color: var(--muted);
  max-width: 70ch;
}

.programs-ar-title {
  font-family: "Tajawal", "Manrope", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.2;
}

.path-quiz {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.path-quiz-title {
  color: #d4e9ff;
  font-weight: 700;
  font-size: 1rem;
}

.path-quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.path-quiz-option {
  border: 1px solid rgba(170, 213, 248, 0.22);
  border-radius: 999px;
  background: rgba(12, 34, 56, 0.68);
  color: var(--text);
  font: inherit;
  padding: 0.92rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.path-quiz-option:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 218, 255, 0.48);
}

.path-quiz-option.is-active {
  border-color: rgba(118, 231, 220, 0.9);
  box-shadow:
    0 0 0 1px rgba(107, 232, 220, 0.34) inset,
    0 0 24px rgba(75, 220, 216, 0.25);
  background:
    radial-gradient(200px 100px at 100% 0%, rgba(75, 220, 216, 0.24), transparent 75%),
    rgba(12, 39, 57, 0.85);
}

.path-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(8, 30, 46, 0.8);
  border: 1px solid rgba(173, 219, 252, 0.36);
  box-shadow: 0 0 0 4px rgba(10, 31, 47, 0.85);
  flex-shrink: 0;
}

.path-icon-img {
  width: 1.95rem;
  height: 1.95rem;
  object-fit: contain;
  display: block;
  transform: scale(1.08);
}

.path-quiz-option-centered-icon {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.track-tabs-wrap {
  margin-top: 1.1rem;
}

.track-tabs {
  display: inline-flex;
  gap: 1.2rem;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.track-tab-btn {
  border: none;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  padding: 0.5rem 0.1rem;
  cursor: pointer;
  position: relative;
}

.track-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
  background: linear-gradient(90deg, #24c7b8, #67d2ff);
}

.track-tab-btn.is-active {
  color: #e7f6ff;
}

.track-tab-btn.is-active::after {
  transform: scaleX(1);
}

.track-panels {
  margin-top: 1rem;
}

.track-panel {
  opacity: 0;
}

.track-panel.is-active {
  opacity: 1;
  animation: tabFadeIn 200ms ease;
}

.track-card {
  background: rgba(12, 34, 56, 0.74);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.track-card:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 216, 255, 0.46);
  box-shadow:
    0 22px 35px rgba(3, 8, 15, 0.3),
    0 0 16px rgba(67, 203, 255, 0.12);
}

.track-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.track-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  color: #c0e6ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
  background: rgba(9, 28, 44, 0.8);
}

.track-description {
  color: var(--muted);
  font-size: 0.92rem;
}

.track-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.33rem;
  color: var(--muted);
}

.track-price {
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
  display: grid;
  gap: 0.2rem;
}

.track-price strong {
  font-size: 1.1rem;
  color: #9ef5da;
}

.was-price {
  text-decoration: line-through;
  color: #8da6bf;
  margin-left: 0.2rem;
  font-size: 0.9rem;
}

.track-price small {
  color: var(--muted);
  font-size: 0.8rem;
}

.free-session-note {
  margin: 0;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-top: 0.1rem;
  border: 1px solid rgba(131, 228, 214, 0.52);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  color: #b9f7e6;
  background: rgba(15, 54, 55, 0.42);
  font-size: 0.75rem;
  font-weight: 700;
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.soft-callout {
  margin-top: 0.95rem;
  border: 1px dashed rgba(125, 204, 255, 0.4);
  background: rgba(13, 39, 57, 0.62);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  color: #bfe1ff;
  font-size: 0.9rem;
}

.referral-spotlight {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid rgba(123, 221, 255, 0.46);
  border-radius: 1rem;
  padding: 0.85rem 0.95rem;
  background:
    radial-gradient(340px 120px at 100% 0%, rgba(34, 214, 194, 0.22), transparent 72%),
    radial-gradient(290px 120px at 0% 100%, rgba(100, 199, 255, 0.16), transparent 75%),
    rgba(10, 34, 50, 0.82);
  box-shadow:
    0 0 0 1px rgba(122, 228, 236, 0.22) inset,
    0 0 26px rgba(83, 221, 212, 0.22);
  animation: referralGlow 2.8s ease-in-out infinite;
}

.referral-spotlight::before {
  content: "";
  position: absolute;
  top: -65%;
  left: -35%;
  width: 52%;
  height: 240%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(183, 247, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
  animation: referralSweep 3.9s linear infinite;
  pointer-events: none;
}

.referral-kicker {
  margin: 0 0 0.28rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a3ebff;
}

.referral-spotlight p {
  margin: 0;
  color: #d8efff;
  font-size: 0.93rem;
}

.referral-spotlight strong {
  color: #8df6df;
}

.referral-career {
  border-color: rgba(117, 236, 219, 0.54);
}

.referral-foundation {
  border-color: rgba(122, 212, 255, 0.5);
}

.referral-specializations {
  border-color: rgba(141, 220, 255, 0.48);
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.career-featured {
  position: relative;
  overflow: hidden;
  border-color: rgba(95, 230, 215, 0.75);
  box-shadow:
    0 0 0 1px rgba(102, 236, 221, 0.3) inset,
    0 24px 44px rgba(3, 10, 20, 0.35),
    0 0 26px rgba(70, 222, 207, 0.22);
}

.career-featured::before {
  content: "";
  position: absolute;
  top: -45%;
  left: -30%;
  width: 160%;
  height: 220%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(167, 250, 236, 0.14) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  animation: featuredShine 5.2s linear infinite;
  pointer-events: none;
}

.featured-banner {
  margin: 0;
  font-size: 0.78rem;
  color: #dff9f4;
  background: rgba(35, 195, 181, 0.18);
  border: 1px solid rgba(140, 237, 227, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  width: fit-content;
}

.prerequisite-line {
  margin: 0;
  font-size: 0.82rem;
  color: #bfe8ff;
  border: 1px dashed rgba(162, 218, 246, 0.38);
  background: rgba(8, 31, 46, 0.65);
  border-radius: 0.7rem;
  padding: 0.45rem 0.6rem;
}

.career-hero-line {
  margin: 0;
  color: #edfcf8;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.25;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.check-list li {
  display: flex;
  gap: 0.48rem;
  align-items: flex-start;
  color: #cae6ff;
  font-size: 0.9rem;
}

.check-list li span {
  color: #7ef0df;
  font-weight: 800;
}

.salary-context {
  border: 1px solid rgba(137, 220, 255, 0.3);
  border-radius: 0.8rem;
  background: rgba(10, 35, 50, 0.65);
  padding: 0.7rem;
  display: grid;
  gap: 0.2rem;
}

.salary-context strong {
  color: #d8f6ff;
  font-size: 0.93rem;
}

.vision-badge {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(175, 228, 255, 0.55);
  padding: 0.3rem 0.65rem;
  font-size: 0.76rem;
  color: #d9f2ff;
}

.featured-price p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.featured-price strong {
  color: #95f4d8;
  font-size: 1.4rem;
}

.featured-price small {
  color: var(--muted);
  font-size: 0.82rem;
}

.featured-cta {
  box-shadow: 0 0 20px rgba(89, 236, 224, 0.35);
}

.social-proof-strip {
  border-top: 1px solid rgba(160, 214, 248, 0.3);
  padding-top: 0.72rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.proof-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  background: rgba(8, 30, 45, 0.65);
  border: 1px solid rgba(149, 208, 245, 0.24);
  border-radius: 0.7rem;
  padding: 0.5rem;
}

.proof-item p {
  margin: 0;
  font-size: 0.74rem;
  color: #d5ecff;
  line-height: 1.4;
}

.proof-item small {
  color: #ffeaa1;
  font-size: 0.7rem;
}

.proof-avatar {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(9, 30, 45, 0.75);
  border: 1px solid rgba(141, 210, 248, 0.45);
  display: grid;
  place-items: center;
}

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

.career-small-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.compare-toggle-wrap {
  margin-top: 1rem;
}

.compare-toggle {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(9, 30, 46, 0.65);
  color: #d9ecff;
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
}

.compare-toggle span {
  color: #95d6ff;
  font-weight: 700;
}

.compare-panel {
  margin-top: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: auto;
  background: rgba(10, 30, 47, 0.8);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid rgba(170, 214, 245, 0.2);
  padding: 0.7rem;
  text-align: left;
  font-size: 0.84rem;
  color: #d0e7ff;
}

.compare-table th {
  color: #eff8ff;
  background: rgba(15, 41, 61, 0.88);
  font-weight: 700;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.spec-icon {
  margin: 0 auto 0.2rem;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 0.95rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 90% at 30% 20%, rgba(86, 205, 255, 0.16), transparent 70%),
    rgba(10, 33, 49, 0.82);
  border: 1px solid rgba(166, 218, 250, 0.46);
  box-shadow:
    0 0 0 4px rgba(10, 31, 47, 0.82),
    0 0 22px rgba(84, 205, 238, 0.2);
  overflow: hidden;
}

.spec-icon-img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
  transform: scale(1.12);
}

.specialization-card .spec-icon {
  align-self: center;
}

.spec-pricing-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.journey-timeline {
  position: relative;
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  padding-top: 0.8rem;
}

.journey-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(11, 33, 52, 0.74);
  padding: 1.05rem 0.9rem 0.9rem;
  box-shadow: var(--shadow);
  isolation: isolate;
  text-align: center;
}

.journey-step::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 50%;
  width: 0.72rem;
  height: 0.72rem;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(164, 232, 255, 0.9);
  background: linear-gradient(135deg, #59ddff, #74f1da);
  box-shadow: 0 0 14px rgba(95, 231, 246, 0.55);
}

.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -0.17rem;
  right: -1.12rem;
  width: 1.18rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(55, 208, 255, 0.45), rgba(99, 241, 227, 1));
}

.journey-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(7, 28, 43, 0.85);
  border: 1px solid rgba(167, 217, 249, 0.4);
  margin: 0 auto 0.55rem;
  box-shadow: 0 0 0 4px rgba(13, 35, 52, 0.9);
}

.journey-icon-img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  display: block;
  transform: scale(1.08);
}

.journey-step h3 {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.journey-cta {
  margin-top: 1rem;
  border: 1px solid rgba(120, 217, 246, 0.35);
  border-radius: 1rem;
  background:
    radial-gradient(280px 140px at 100% 0%, rgba(36, 199, 184, 0.18), transparent 70%),
    rgba(9, 31, 48, 0.8);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.journey-cta h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
}

.journey-cta p {
  color: #d2e8ff;
}

.journey-cta small {
  color: var(--muted);
}

.journey-cta-btn {
  width: fit-content;
  box-shadow: 0 0 24px rgba(95, 241, 225, 0.3);
}

.spotlight {
  animation: spotlightPulse 1.7s ease-in-out 2;
}

.price-note-strong {
  margin: 0;
  color: #d8f7f1;
  font-weight: 700;
  font-size: 0.92rem;
}

.curriculum-card {
  border: 1px solid rgba(170, 213, 248, 0.23);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(13, 35, 52, 0.7);
}

.curriculum-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.curriculum-card p {
  margin: 0;
  color: #c8dcf2;
  font-size: 0.9rem;
}

.curriculum-week-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.33rem;
  color: #d4e8fb;
  font-size: 0.88rem;
}

.curriculum-modal-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.program-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

.program-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  white-space: normal;
  line-height: 1;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #c0e6ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.44rem 0.8rem;
}

.program-focus {
  color: var(--muted);
  font-size: 0.9rem;
}

.module-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.3rem;
}

.program-price {
  border: 1px dashed var(--line);
  border-radius: 0.8rem;
  background: rgba(13, 35, 52, 0.6);
  padding: 0.75rem;
  display: grid;
  gap: 0.2rem;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 600;
  font-size: 0.9rem;
}

.new-price {
  color: #91f4da;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
}

.price-note {
  color: var(--muted);
  font-size: 0.77rem;
}

.program-outcome {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  color: #c8f7ef;
  font-weight: 600;
  font-size: 0.9rem;
}

.view-details-btn {
  margin-top: auto;
  width: fit-content;
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.66rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #03282e;
  background: linear-gradient(135deg, #7bf0de, #8ccfff);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.career-card {
  padding: 1rem;
}

.career-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.career-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.partners-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
}

.partner-logo-card {
  position: relative;
  overflow: hidden;
  padding: 0.9rem 0.8rem 0.78rem;
  display: grid;
  place-items: center;
  gap: 0.58rem;
  min-height: 8.1rem;
  text-align: center;
  background:
    radial-gradient(120px 60px at 100% 0%, rgba(83, 209, 247, 0.14), transparent 72%),
    rgba(10, 32, 49, 0.82);
}

.partner-logo-badge {
  width: 100%;
  min-height: 5.2rem;
  border-radius: 0.86rem;
  background: transparent;
  border: none;
  box-shadow: none;
  display: grid;
  place-items: center;
  padding: 0.1rem 0.2rem;
}

.partner-logo-img {
  width: min(100%, 145px);
  max-height: 4rem;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(3, 16, 28, 0.4));
}

.partner-logo-name {
  color: #d9eefc;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.96;
}

.partner-logo-card:hover .partner-logo-badge {
  box-shadow: none;
}

.partners-note {
  margin-top: 0.85rem;
  border: 1px dashed rgba(149, 214, 252, 0.34);
  border-radius: 0.85rem;
  padding: 0.72rem 0.85rem;
  background: rgba(11, 34, 52, 0.65);
  color: #c8e4ff;
  font-size: 0.87rem;
}

.outcome-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.outcome-stats div {
  padding: 0.95rem;
}

.outcome-stats strong {
  display: block;
  font-size: 1.3rem;
}

.outcome-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.testimonial-card {
  padding: 1.15rem;
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(280px 140px at 10% 0%, rgba(103, 210, 255, 0.12), transparent 70%),
    radial-gradient(260px 160px at 100% 100%, rgba(36, 199, 184, 0.11), transparent 72%),
    rgba(14, 36, 57, 0.88);
}

.testimonial-showcase {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.testimonial-title-ar {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-family: "Tajawal", "Manrope", sans-serif;
  letter-spacing: 0.01em;
}

.testimonial-card p:first-child {
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  line-height: 1.65;
  color: #f0f8ff;
  font-family: "Tajawal", "Manrope", sans-serif;
  font-weight: 500;
  min-height: 7.4rem;
  text-align: right;
}

.testimonial-meta {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.1rem;
}

.testimonial-meta strong {
  font-size: 1.12rem;
  font-family: "Tajawal", "Manrope", sans-serif;
  text-align: right;
}

.testimonial-meta span {
  color: var(--muted);
  font-size: 0.94rem;
}

.testimonial-controls {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
}

.testimonial-card.is-swapping {
  animation: testimonialSwap 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.grad-outcomes-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0.9rem;
}

.grad-outcome-card {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.grad-outcome-card h3 {
  font-size: 1.04rem;
}

.grad-metrics-list,
.grad-role-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
  display: grid;
  gap: 0.38rem;
  font-size: 0.9rem;
}

.grad-metrics-list strong {
  color: #d3edff;
}

.timeline-mini {
  display: grid;
  gap: 0.48rem;
}

.timeline-mini p {
  border: 1px solid rgba(166, 215, 247, 0.2);
  border-radius: 0.7rem;
  background: rgba(10, 31, 46, 0.62);
  padding: 0.56rem 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.timeline-mini strong {
  color: #d4eeff;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 0.85rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  color: var(--muted);
  margin-top: 0.6rem;
  font-size: 0.92rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.lead-form {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: #091928;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.66rem 0.75rem;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(87, 184, 255, 0.8);
}

.skills-checklist {
  border: 1px solid rgba(167, 214, 248, 0.28);
  border-radius: 0.8rem;
  padding: 0.7rem;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.7rem;
}

.skills-checklist legend {
  color: #d7ebff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 0.35rem;
}

.skills-checklist label {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.skills-checklist input[type="checkbox"] {
  accent-color: #24c7b8;
}

.form-note {
  min-height: 1.2rem;
  color: #94e8df;
  font-size: 0.85rem;
}

.form-note.error {
  color: var(--danger);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.88rem;
}

.telegram-sticky {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #1f9adf, #37c7be);
  color: #032232;
  border: 1px solid rgba(192, 236, 255, 0.65);
  border-radius: 999px;
  padding: 0.66rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow:
    0 12px 26px rgba(1, 12, 22, 0.4),
    0 0 20px rgba(54, 189, 233, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.telegram-sticky:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(1, 12, 22, 0.44),
    0 0 24px rgba(61, 212, 238, 0.34);
}

.telegram-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(240, 252, 255, 0.86);
  color: #0e6a9d;
  font-size: 0.84rem;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(3, 10, 17, 0.8);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: min(1000px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 1.1rem;
  border: 1px solid rgba(147, 197, 255, 0.32);
  background:
    radial-gradient(580px 280px at 100% 0%, rgba(36, 199, 184, 0.18), transparent 65%),
    radial-gradient(520px 240px at 0% 100%, rgba(106, 198, 255, 0.16), transparent 68%),
    linear-gradient(150deg, rgba(7, 23, 38, 0.98), rgba(11, 35, 56, 0.98));
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.apply-dialog {
  width: min(560px, 100%);
}

.modal-backdrop:not([hidden]) .modal-dialog {
  animation: modalPopIn 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: flex-start;
}

.modal-top h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.18;
}

.modal-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-close {
  flex-shrink: 0;
}

.apply-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.68rem;
}

.apply-form label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.apply-form input {
  background: #091928;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.66rem 0.75rem;
  font: inherit;
}

.apply-form input:focus {
  outline: none;
  border-color: rgba(87, 184, 255, 0.8);
}

.apply-form[hidden],
.apply-success[hidden] {
  display: none !important;
}

.apply-success {
  margin-top: 0.9rem;
  border: 1px solid rgba(156, 223, 255, 0.35);
  border-radius: 0.9rem;
  background: rgba(9, 34, 50, 0.78);
  padding: 1rem;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #022f28;
  background: linear-gradient(135deg, #72efd6, #9bd4ff);
  box-shadow: 0 0 20px rgba(113, 238, 214, 0.35);
}

.apply-success h4 {
  margin: 0;
  font-size: 1.1rem;
}

.apply-success p {
  margin: 0;
  color: var(--muted);
}

.modal-price {
  margin-top: 0.8rem;
  width: 100%;
  border: 1px solid rgba(164, 212, 255, 0.26);
  border-radius: 0.85rem;
  padding: 0.68rem 0.78rem;
  background: rgba(9, 32, 49, 0.72);
}

.details-grid {
  margin-top: 1.05rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.site-header > *,
.hero > *,
.about-top-grid > *,
.about-teaching-grid > *,
.path-quiz-grid > *,
.foundation-grid > *,
.career-small-grid > *,
.social-proof-strip > *,
.specializations-grid > *,
.journey-timeline > *,
.career-grid > *,
.partners-strip > *,
.outcome-stats > *,
.grad-outcomes-grid > *,
.contact-wrap > *,
.details-grid > * {
  min-width: 0;
}

.detail-module {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(170, 213, 248, 0.23);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(13, 35, 52, 0.7);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: detailCardIn 540ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.detail-module:nth-child(1) {
  animation-delay: 60ms;
}

.detail-module:nth-child(2) {
  animation-delay: 120ms;
}

.detail-module:nth-child(3) {
  animation-delay: 180ms;
}

.detail-module:nth-child(4) {
  animation-delay: 240ms;
}

.detail-module:nth-child(5) {
  animation-delay: 300ms;
}

.detail-module:nth-child(6) {
  animation-delay: 360ms;
}

.detail-module:nth-child(7) {
  animation-delay: 420ms;
}

.detail-module:nth-child(8) {
  animation-delay: 480ms;
}

.detail-module:nth-child(9) {
  animation-delay: 540ms;
}

.detail-module:hover {
  transform: translateY(-2px) scale(1.01);
  transition: transform 180ms ease, border-color 180ms ease;
  border-color: rgba(162, 237, 226, 0.48);
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.42rem;
  position: relative;
  z-index: 2;
}

.detail-index {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 224, 255, 0.46);
  background: rgba(8, 28, 45, 0.7);
  color: #bff3eb;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 0 rgba(140, 234, 219, 0);
  animation: indexPulse 2.8s ease-in-out infinite;
}

.detail-module h4 {
  margin: 0;
  font-size: 1.02rem;
  position: relative;
  z-index: 2;
}

.detail-module p {
  color: #c8dcf2;
  font-size: 0.92rem;
  position: relative;
  z-index: 2;
}

.detail-module::after {
  content: attr(data-watermark);
  position: absolute;
  right: -0.25rem;
  bottom: -0.42rem;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  letter-spacing: 0.03em;
  color: rgba(211, 240, 255, 0.2);
  line-height: 1;
  pointer-events: none;
  animation: watermarkFloat 4.8s ease-in-out infinite;
}

.theme-python {
  background: linear-gradient(140deg, rgba(10, 36, 62, 0.92), rgba(13, 53, 54, 0.92));
}

.theme-viz {
  background: linear-gradient(140deg, rgba(12, 44, 62, 0.92), rgba(10, 56, 76, 0.92));
}

.theme-eda {
  background: linear-gradient(140deg, rgba(15, 43, 61, 0.92), rgba(19, 53, 87, 0.92));
}

.theme-ml {
  background: linear-gradient(140deg, rgba(11, 38, 71, 0.92), rgba(23, 54, 95, 0.92));
}

.theme-dl {
  background: linear-gradient(140deg, rgba(16, 34, 68, 0.92), rgba(19, 62, 89, 0.92));
}

.theme-comm {
  background: linear-gradient(140deg, rgba(15, 42, 59, 0.92), rgba(24, 61, 80, 0.92));
}

.theme-case {
  background: linear-gradient(140deg, rgba(22, 40, 58, 0.92), rgba(29, 62, 83, 0.92));
}

.theme-devops {
  background: linear-gradient(140deg, rgba(14, 35, 62, 0.92), rgba(26, 58, 91, 0.92));
}

.theme-career {
  background: linear-gradient(140deg, rgba(16, 39, 52, 0.92), rgba(25, 71, 77, 0.92));
}

.theme-arch {
  background: linear-gradient(140deg, rgba(14, 38, 65, 0.92), rgba(24, 58, 94, 0.92));
}

.theme-api {
  background: linear-gradient(140deg, rgba(11, 41, 59, 0.92), rgba(14, 67, 74, 0.92));
}

.theme-rag {
  background: linear-gradient(140deg, rgba(14, 33, 62, 0.92), rgba(22, 58, 88, 0.92));
}

@keyframes featuredShine {
  0% {
    transform: translateX(-38%) rotate(0deg);
  }

  100% {
    transform: translateX(48%) rotate(0deg);
  }
}

@keyframes tabFadeIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes spotlightPulse {
  0% {
    box-shadow:
      0 0 0 1px rgba(102, 236, 221, 0.3) inset,
      0 24px 44px rgba(3, 10, 20, 0.35),
      0 0 26px rgba(70, 222, 207, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(121, 243, 233, 0.55) inset,
      0 26px 48px rgba(3, 10, 20, 0.4),
      0 0 46px rgba(79, 237, 219, 0.45);
  }

  100% {
    box-shadow:
      0 0 0 1px rgba(102, 236, 221, 0.3) inset,
      0 24px 44px rgba(3, 10, 20, 0.35),
      0 0 26px rgba(70, 222, 207, 0.22);
  }
}

@keyframes bgFlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(0.5%, -0.8%, 0) scale(1.03);
  }
}

@keyframes orbDriftA {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-16px, 10px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes orbDriftB {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(14px, -8px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes modalPopIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes detailCardIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes watermarkFloat {
  0% {
    transform: translateY(0);
    opacity: 0.17;
  }

  50% {
    transform: translateY(-8px);
    opacity: 0.24;
  }

  100% {
    transform: translateY(0);
    opacity: 0.17;
  }
}

@keyframes indexPulse {
  0% {
    box-shadow: 0 0 0 rgba(140, 234, 219, 0);
  }

  50% {
    box-shadow: 0 0 16px rgba(140, 234, 219, 0.2);
  }

  100% {
    box-shadow: 0 0 0 rgba(140, 234, 219, 0);
  }
}

@keyframes referralGlow {
  0% {
    box-shadow:
      0 0 0 1px rgba(122, 228, 236, 0.22) inset,
      0 0 18px rgba(83, 221, 212, 0.15);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(141, 239, 248, 0.3) inset,
      0 0 30px rgba(96, 235, 224, 0.3);
  }

  100% {
    box-shadow:
      0 0 0 1px rgba(122, 228, 236, 0.22) inset,
      0 0 18px rgba(83, 221, 212, 0.15);
  }
}

@keyframes referralSweep {
  0% {
    transform: translateX(-10%) rotate(18deg);
  }

  100% {
    transform: translateX(240%) rotate(18deg);
  }
}

@keyframes testimonialSwap {
  0% {
    opacity: 0.15;
    transform: translateY(8px) scale(0.99);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .orb-one,
  .orb-two,
  .modal-backdrop:not([hidden]) .modal-dialog,
  .detail-module,
  .detail-index,
  .detail-module::after,
  .career-featured::before,
  .referral-spotlight,
  .referral-spotlight::before,
  .testimonial-card.is-swapping {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding-inline: 0.8rem;
  }

  .brand-sub {
    font-size: 0.55rem;
  }

  .nav-menu {
    gap: 0.7rem;
  }

  .nav-menu a {
    font-size: 0.86rem;
  }

  .hero {
    gap: 1.5rem;
    padding-top: 3.15rem;
  }

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

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

  .path-quiz-grid,
  .foundation-grid,
  .career-small-grid,
  .specializations-grid,
  .about-teaching-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-top-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .journey-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-step:nth-child(3n)::after {
    display: none;
  }

  .social-proof-strip {
    grid-template-columns: 1fr;
  }

  .partners-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grad-outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15.5px;
    line-height: 1.58;
  }

  body::before {
    animation: none;
    opacity: 0.55;
  }

  .bg-orb {
    display: none;
  }

  .section,
  .site-footer {
    width: min(1100px, calc(100% - 1.3rem));
  }

  .section {
    padding: 2.9rem 0 1rem;
    scroll-margin-top: 74px;
  }

  main {
    padding-bottom: calc(4.8rem + env(safe-area-inset-bottom));
  }

  .section + .section {
    border-top: 1px solid rgba(157, 208, 242, 0.12);
    margin-top: 0.4rem;
  }

  .section-head {
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  .section-head h2 {
    font-size: clamp(1.32rem, 5.6vw, 1.75rem);
    line-height: 1.22;
  }

  .section-head p {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .eyebrow {
    font-size: 0.69rem;
    margin-bottom: 0.45rem;
  }

  .site-header {
    gap: 0.65rem;
    padding: 0.7rem 0.7rem;
  }

  .brand {
    padding: 0.24rem 0.42rem 0.24rem 0.26rem;
    gap: 0.55rem;
    max-width: calc(100% - 6.3rem);
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.06em;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.2rem;
    padding: 0.5rem 0.72rem;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0.65rem;
    right: 0.65rem;
    background: #0b1f31;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.62rem;
    min-width: 0;
    max-height: 75vh;
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 170ms ease;
    box-shadow: 0 14px 32px rgba(2, 10, 18, 0.45);
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 0.56rem 0.5rem;
    border-radius: 0.55rem;
    border: 1px solid transparent;
    font-size: 0.92rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    border-color: rgba(147, 208, 246, 0.3);
    background: rgba(13, 39, 57, 0.65);
  }

  .nav-menu .btn-small {
    width: 100%;
    margin-top: 0.2rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.95rem;
    gap: 1rem;
  }

  .hero-copy {
    text-align: center;
  }

  h1 {
    font-size: clamp(1.74rem, 7.8vw, 2.25rem);
    line-height: 1.14;
    margin-bottom: 0.72rem;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
    gap: 0.52rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
  }

  .hero-highlights {
    max-width: 460px;
    margin-inline: auto;
    text-align: left;
  }

  .hero-panel {
    padding: 0.85rem;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .path-quiz-grid,
  .program-grid,
  .foundation-grid,
  .career-small-grid,
  .specializations-grid,
  .journey-timeline,
  .about-teaching-grid,
  .career-grid,
  .partners-strip,
  .outcome-stats,
  .grad-outcomes-grid,
  .details-grid,
  .skills-checklist {
    grid-template-columns: 1fr;
  }

  .track-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    gap: 0.45rem;
    border-bottom: 1px solid rgba(169, 214, 246, 0.18);
    padding-bottom: 0.3rem;
    scrollbar-width: none;
  }

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

  .path-quiz-option {
    border-radius: 0.82rem;
    padding: 0.72rem 0.78rem;
    gap: 0.55rem;
  }

  .path-quiz-option span:last-child {
    font-size: 0.88rem;
    line-height: 1.36;
  }

  .track-tab-btn {
    flex: 0 0 auto;
    padding: 0.45rem 0.78rem;
    border: 1px solid rgba(161, 214, 248, 0.2);
    border-radius: 999px;
    background: rgba(10, 30, 46, 0.72);
    font-size: 0.83rem;
    line-height: 1.2;
  }

  .track-tab-btn::after {
    display: none;
  }

  .track-tab-btn.is-active {
    border-color: rgba(117, 230, 216, 0.7);
    background: rgba(16, 53, 64, 0.78);
  }

  .track-actions .btn,
  .journey-cta-btn,
  .about-cta .btn,
  .curriculum-modal-cta .btn,
  .lead-form .btn {
    width: 100%;
  }

  .track-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .track-actions .btn {
    width: 100%;
    padding: 0.6rem 0.62rem;
    font-size: 0.82rem;
  }

  .testimonial-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    justify-content: stretch;
  }

  .testimonial-controls .btn {
    width: 100%;
    padding: 0.55rem 0.6rem;
    font-size: 0.82rem;
  }

  .track-card,
  .hero-panel,
  .about-mission-card,
  .about-stat-card,
  .about-teaching-card,
  .career-card,
  .partner-logo-card,
  .grad-outcome-card,
  .lead-form,
  .testimonial-card,
  .faq-list details {
    padding: 0.82rem;
    border-radius: 0.86rem;
  }

  .track-card {
    gap: 0.62rem;
  }

  .track-card h3 {
    font-size: 1.04rem;
    line-height: 1.28;
  }

  .track-description,
  .track-list li,
  .check-list li,
  .career-card p,
  .faq-list p,
  .timeline-mini p,
  .grad-metrics-list,
  .grad-role-list {
    font-size: 0.86rem;
  }

  .featured-banner {
    font-size: 0.72rem;
    padding: 0.24rem 0.58rem;
  }

  .career-hero-line {
    font-size: clamp(1.05rem, 5vw, 1.34rem);
    line-height: 1.24;
  }

  .featured-price strong {
    font-size: 1.22rem;
  }

  .check-list {
    gap: 0.3rem;
  }

  .about-cta {
    align-items: stretch;
    gap: 0.6rem;
  }

  .journey-step:not(:last-child)::after {
    display: block;
    right: auto;
    left: 1.2rem;
    top: auto;
    bottom: -0.8rem;
    width: 3px;
    height: 1.1rem;
    background: linear-gradient(180deg, rgba(55, 208, 255, 0.35), rgba(99, 241, 227, 0.95));
  }

  .journey-step::before {
    left: 1.2rem;
    transform: none;
  }

  .journey-step {
    text-align: left;
    padding-left: 2.82rem;
    padding-right: 0.75rem;
  }

  .journey-icon {
    position: absolute;
    top: 0.78rem;
    left: 0.72rem;
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
  }

  .journey-icon-img {
    width: 1.72rem;
    height: 1.72rem;
  }

  .partners-strip {
    gap: 0.62rem;
  }

  .partner-logo-card {
    min-height: 7.4rem;
  }

  .partner-logo-badge {
    min-height: 4.65rem;
  }

  .partner-logo-img {
    width: min(100%, 165px);
    max-height: 3.85rem;
  }

  .partner-logo-name {
    font-size: 0.74rem;
  }

  .testimonial-card p:first-child {
    font-size: clamp(1rem, 4.8vw, 1.25rem);
    min-height: 0;
  }

  .testimonial-card {
    gap: 0.75rem;
  }

  .modal-dialog {
    max-height: 94vh;
    padding: 0.9rem;
    width: 100%;
  }

  .modal-top {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section,
  .site-footer {
    width: min(1100px, calc(100% - 0.9rem));
  }

  .section {
    padding: 2.2rem 0 0.8rem;
  }

  main {
    padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
  }

  .site-header {
    padding: 0.58rem 0.5rem;
  }

  .brand {
    max-width: calc(100% - 5.85rem);
    border-radius: 0.78rem;
    padding: 0.2rem 0.38rem 0.2rem 0.22rem;
  }

  .brand-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.48rem;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-sub {
    display: none;
  }

  .menu-btn {
    padding: 0.42rem 0.65rem;
    border-radius: 0.62rem;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(1.5rem, 8.6vw, 1.92rem);
  }

  h2 {
    font-size: clamp(1.18rem, 5.6vw, 1.45rem);
  }

  .hero-actions .btn,
  .journey-cta-btn,
  .about-cta .btn,
  .curriculum-modal-cta .btn,
  .lead-form .btn {
    padding-inline: 0.82rem;
  }

  .track-actions {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .track-actions .btn {
    font-size: 0.82rem;
    padding-block: 0.55rem;
  }

  .testimonial-controls {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .path-icon {
    width: 2.2rem;
    height: 2.2rem;
    box-shadow: 0 0 0 3px rgba(10, 31, 47, 0.85);
  }

  .path-quiz-option {
    gap: 0.55rem;
  }

  .path-icon-img {
    width: 1.6rem;
    height: 1.6rem;
  }

  .telegram-sticky {
    right: 0.48rem;
    left: 0.48rem;
    bottom: 0.58rem;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.56rem 0.72rem calc(0.56rem + env(safe-area-inset-bottom));
  }

  .modal-backdrop {
    padding: 0.62rem;
  }

  .curriculum-modal-cta {
    justify-content: stretch;
  }

  .track-card,
  .about-mission-card,
  .about-stat-card,
  .about-teaching-card,
  .career-card,
  .partner-logo-card,
  .grad-outcome-card,
  .lead-form,
  .testimonial-card,
  .faq-list details {
    padding: 0.75rem;
  }
}
