:root {
    --ink: #050505;
    --ink-soft: #121212;
    --orange: #f59e0b;
    --orange-2: #ffb224;
    --white: #ffffff;
    --offwhite: #fafafa;
    --muted: #777777;
    --line: rgba(0,0,0,.08);
    --line-dark: rgba(255,255,255,.12);
    --shadow: 0 24px 80px rgba(0,0,0,.12);
    --shadow-strong: 0 34px 110px rgba(0,0,0,.22);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; }
img { max-width: 100%; }

.fw-900 { font-weight: 900; }
.text-gold { color: var(--gold); }
.bg-ink { background: var(--ink); }
.bg-ivory { background: var(--cream); }

.preloader-note {
    background: #000;
    color: rgba(255,255,255,.82);
    font-weight: 700;
    font-size: .82rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 0;
}

.navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.navbar-wrap.scrolled {
    background: rgba(0,0,0,.96);
}

.navbar-wrap.scrolled {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.navbar { padding: 15px 0; }

.navbar-brand img {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.08));
}

.logo-fallback {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--gold);
    color: var(--ink);
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.brand-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1;
}

.brand-subtitle {
    display: block;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-link {
    color: rgba(255,255,255,.68) !important;
    font-weight: 800;
    font-size: .9rem;
    padding: 10px 13px !important;
    border-radius: 999px;
    transition: .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange) !important;
    background: rgba(245,158,11,.10);
}

.btn-main,
.btn-ghost,
.btn-ink {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 0;
    font-weight: 900;
    letter-spacing: -.02em;
    transition: .25s ease;
    white-space: nowrap;
}

.btn-main {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #fff;
    font-weight: 400;
    box-shadow: 0 18px 40px rgba(245,158,11,.32);
}

.btn-main:hover { color: #000; transform: translateY(-3px); box-shadow: 0 24px 55px rgba(245,158,11,.42); }

.btn-ghost {
    background: rgba(255,255,255,.72);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); color: #fff; transform: translateY(-2px); }

.hero {
    position: relative;
    padding: 115px 0 120px;
    color: #fff;
    background:
    radial-gradient(circle at 78% 18%, rgba(245,158,11,.28), transparent 26%),
    radial-gradient(circle at 12% 10%, rgba(245,158,11,.16), transparent 24%),
    linear-gradient(135deg, #050505 0%, #111 48%, #050505 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
    opacity: .65;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -170px;
    bottom: -190px;
    border-radius: 120px;
    background: linear-gradient(135deg, rgba(245,158,11,.32), rgba(255,255,255,.05));
    transform: rotate(18deg);
    filter: blur(.2px);
    z-index: -1;
}

.hero-content { position: relative; z-index: 2; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--orange);
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.24);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero-title {
    font-size: clamp(2.4rem, 4.2vw, 4.35rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.02;
    max-width: 680px;
    margin: 22px 0 20px;
    color: #fff;
}

.hero-title span { color: var(--gold); }

.hero-copy {
    max-width: 650px;
    color: rgba(255,255,255,.68);
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.hero-art {
    position: relative;
    min-height: 600px;
}

.book-card {
    position: absolute;
    inset: 40px 40px 25px 0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 42px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    padding: 34px;
    backdrop-filter: blur(26px);
}

.book-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
    linear-gradient(135deg, rgba(245,158,11,.35), transparent 50%),
    url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=900&q=88') center/cover;
    opacity: .30;
}

.book-card::after {
    content: "تعلم العربية";
    position: absolute;
    left: 34px;
    bottom: 118px;
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 3rem;
    color: rgba(255,255,255,.14);
    font-weight: 700;
}

.book-content {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: #fff;
}

.hero-mini-card {
    position: absolute;
    background: rgba(255,255,255,.96);
    color: var(--ink);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    padding: 18px;
}

.lecture-card {
    top: 0;
    left: 32px;
    width: 270px;
}

.lecture-thumb {
    height: 145px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(23,19,13,.7), rgba(217,154,22,.42)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=700&q=85') center/cover;
    display: grid;
    place-items: center;
}

.play-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.20);
}

.zoom-card {
    right: 0;
    top: 145px;
    width: 240px;
    background: var(--ink);
    color: #fff;
    border-color: rgba(255,255,255,.12);
}

.quiz-card {
    left: 70px;
    bottom: 0;
    width: 255px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 620px;
    margin-top: 42px;
}

.hero-stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 17px;
    backdrop-filter: blur(16px);
}

.hero-stat strong { font-size: 1.5rem; color:#fff; }
.hero-stat small { display:block; color: rgba(255,255,255,.58); font-weight: 800; margin-top: 4px; }

.floating-strip {
    margin-top: -58px;
    position: relative;
    z-index: 5;
}

.module-strip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 16px;
}

.module-card {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
}

.module-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 18px;
    background: #000;
    color: var(--orange);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}

.section { padding: 110px 0; }

.section-header {
    max-width: 820px;
    margin: 0 auto 55px;
    text-align: center;
}

.kicker {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .16em;
    font-size: .76rem;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2.25rem, 4.2vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 900;
    margin-bottom: 18px;
}

.section-text {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
    margin: 0;
}

.feature-card, .course-card, .portal-card, .price-card, .faq-card, .process-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    height: auto;
    transition: .28s ease;
}

.feature-card:hover, .course-card:hover, .price-card:hover, .process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.feature-card { padding: 32px; }

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: rgba(245,158,11,.12);
    color: var(--orange);
    border: 1px solid rgba(245,158,11,.22);
    display: grid;
    place-items: center;
    font-size: 1.65rem;
    margin-bottom: 24px;
}

.split-block {
    background: linear-gradient(135deg, #000, #161616);
    color: #fff;
    border-radius: 40px;
    padding: 64px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.split-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 52px 52px;
}

.split-block > .row { position: relative; z-index: 1; }

.dash-card {
    border-radius: 18px;
    background: #fffaf1;
    border: 1px solid rgba(23,19,13,.07);
    padding: 17px;
    height: 100%;
}

.course-card { overflow: hidden; }

.course-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.course-card:hover .course-image img { transform: scale(1.06); }

.course-label {
    position: absolute;
    left: 18px;
    top: 18px;
    background: var(--gold);
    color: var(--ink);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
}

.course-play {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--ink);
    font-size: 1.45rem;
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.course-content { padding: 30px; }

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 26px;
}

.course-meta span {
    border: 1px solid rgba(23,19,13,.08);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    background: #fffaf1;
}

.zoom-panel {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 34px;
    padding: 22px;
    backdrop-filter: blur(20px);
}

.zoom-window {
    background: #fff;
    color: var(--ink);
    border-radius: 26px;
    padding: 26px;
}

.timeline {
    margin-top: 38px;
    display: grid;
    gap: 20px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.timeline-count {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--ink);
    font-weight: 900;
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(23,19,13,.08);
    border-radius: 16px;
    margin-top: 11px;
    background: #fffaf1;
}

.portal-shell {
    background: var(--ink);
    border-radius: 36px;
    padding: 18px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255,255,255,.09);
}

.browser-dots { display: flex; gap: 7px; padding: 10px 12px 18px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.28); }

.portal-screen {
    background: #fff;
    border-radius: 26px;
    padding: 22px;
}

.portal-menu {
    background: var(--ink);
    color: #fff;
    border-radius: 20px;
    padding: 17px;
    height: 100%;
}

.portal-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.68);
    padding: 12px 13px;
    border-radius: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.portal-menu a.active { background: var(--gold); color: var(--ink); }

.admin-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 13px;
}

.admin-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: var(--muted);
    font-weight: 700;
}

.admin-list i { color: var(--gold); }

.process-card { padding: 28px; }

.process-number {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: 1;
    color: rgba(217,154,22,.48);
}

.price-card { padding: 34px; }
.price-card.featured { background: var(--ink); color: #fff; transform: translateY(-10px); border-color: var(--ink); }

.price-value {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -.075em;
    margin: 24px 0 5px;
}

.check-list {
    padding: 0;
    margin: 28px 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.check-list li {
    display: flex;
    gap: 11px;
    color: inherit;
    font-weight: 700;
}

.check-list i { color: var(--gold); }

.faq-card { overflow: hidden; }
.accordion-item { border: 0; border-bottom: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: 0; }
.accordion-button { padding: 24px 28px; font-weight: 900; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background: var(--cream); color: var(--ink); }
.accordion-body { padding: 0 28px 26px; color: var(--muted); line-height: 1.8; }

.cta-box {
    background: linear-gradient(135deg, rgba(23,19,13,.95), rgba(47,42,34,.84)), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1700&q=90') center/cover;
    color: #fff;
    border-radius: 40px;
    padding: 70px;
    overflow: hidden;
    position: relative;
}

.cta-box::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    bottom: -85px;
    border: 34px solid rgba(217,154,22,.30);
    border-radius: 46px;
    transform: rotate(45deg);
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow-strong);
    padding: 36px;
}

.form-label { font-weight: 900; color: var(--ink); }
.form-control, .form-select {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(23,19,13,.13);
    font-weight: 700;
    background-color: #fffdf8;
}
textarea.form-control { min-height: 145px; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .25rem rgba(217,154,22,.16); }

.footer {
    background: var(--ink);
    color: #fff;
    padding: 82px 0 30px;
    margin-top: 40px;
}

.footer-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--gold);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.footer p { color: rgba(255,255,255,.58); line-height: 1.8; }
.footer a { display: block; color: rgba(255,255,255,.60); font-weight: 700; margin-bottom: 11px; }
.footer a:hover { color: var(--gold); }

.social a {
    display: inline-grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    margin-right: 7px;
}

.social a:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 991px) {
    .hero { padding: 80px 0 105px; }
    .hero-art { min-height: 560px; margin-top: 35px; }
    .hero-title { font-size: clamp(3rem, 11vw, 5rem); }
    .floating-strip { margin-top: -50px; }
    .section { padding: 82px 0; }
    .split-block, .cta-box { padding: 42px 26px; border-radius: 32px; }
    .price-card.featured { transform: none; }
}

@media (max-width: 575px) {
    .preloader-note { display: none; }
    .hero-title { font-size: 2.85rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-art { min-height: 620px; }
    .book-card { inset: 115px 0 90px 0; }
    .lecture-card { left: 0; width: 240px; }
    .zoom-card { right: 0; top: 265px; width: 210px; }
    .quiz-card { left: 10px; width: 235px; }
    .section-title { font-size: 2.35rem; }
    .cta-box { padding: 36px 22px; }
}

/* ===============================
   INNER PAGE HERO
================================ */

.inner-hero {
  padding: 130px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(245,158,11,.18), transparent 30%),
    linear-gradient(135deg, #050505 0%, #111 50%, #050505 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  /* content: ""; */
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 80%);
}

.inner-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  margin: 14px 0;
}

.inner-subtitle {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.8;
}

.inner-breadcrumb {
  margin-top: 20px;
  font-weight: 700;
  font-size: .9rem;
}

.inner-breadcrumb a {
  color: var(--orange);
}

.inner-breadcrumb span {
  margin: 0 6px;
  color: rgba(255,255,255,.5);
}

/* ===============================
   PORTAL
================================ */

.portal-body {
  background: #f5f5f5;
}

.portal-layout {
  display: flex;
  min-height: 100vh;
}

.portal-sidebar {
  width: 260px;
  background: #050505;
  color: #fff;
  padding: 30px 20px;
}

.portal-logo img {
  width: 140px;
  margin-bottom: 30px;
}

.portal-nav {
  list-style: none;
  padding: 0;
}

.portal-nav li {
  padding: 12px 15px;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font-weight: 600;
}

.portal-nav li.active,
.portal-nav li:hover {
  background: rgba(245,158,11,.15);
  color: #f59e0b;
}

.portal-main {
  flex: 1;
  padding: 30px;
}

.portal-topbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.portal-user {
  display: flex;
  gap: 10px;
  align-items: center;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.portal-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
}

.portal-section {
  margin-top: 40px;
}

.portal-course {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  align-items: center;
}

.portal-zoom {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
}

.portal-file {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 10px;
}
/* ===============================
   COURSE PLAYER
================================ */

.course-player-layout {
  min-height: 100vh;
  display: flex;
  background: #f5f5f5;
}

.player-sidebar {
  width: 320px;
  background: #050505;
  color: #fff;
  padding: 28px;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
}

.player-logo img {
  width: 150px;
  margin-bottom: 32px;
}

.player-course-title {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}

.player-course-title small {
  color: rgba(255,255,255,.55);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.player-course-title h5 {
  font-weight: 900;
  margin: 8px 0 0;
}

.lesson-list {
  display: grid;
  gap: 10px;
}

.lesson-link {
  display: block;
  padding: 15px;
  border-radius: 16px;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: .25s ease;
}

.lesson-link span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  color: #fff;
}

.lesson-link small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.5);
  font-weight: 700;
}

.lesson-link:hover,
.lesson-link.active {
  background: rgba(245,158,11,.15);
  border-color: rgba(245,158,11,.35);
}

.lesson-link:hover span,
.lesson-link.active span {
  color: var(--orange);
}

.player-main {
  margin-left: 320px;
  width: calc(100% - 320px);
  padding: 28px;
}

.player-topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.video-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame {
  height: 560px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.78), rgba(245,158,11,.25)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=85') center/cover;
  display: grid;
  place-items: center;
}

.video-play {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.video-info {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.video-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.055em;
  margin: 8px 0 12px;
}

.video-info p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  max-width: 760px;
}

.player-content {
  padding: 34px 0 0;
}

@media (max-width: 991px) {
  .course-player-layout {
    display: block;
  }

  .player-sidebar {
    position: relative;
    width: 100%;
    inset: auto;
  }

  .player-main {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }

  .video-frame {
    height: 340px;
  }

  .video-info {
    display: block;
  }

  .video-info .badge {
    margin-top: 16px;
  }
}

/* ===============================
   QUIZ PAGE
================================ */

.quiz-layout {
  display: flex;
  min-height: 100vh;
  background: #f5f5f5;
}

.quiz-sidebar {
  width: 330px;
  background:
    radial-gradient(circle at 80% 10%, rgba(245,158,11,.22), transparent 34%),
    #050505;
  color: #fff;
  padding: 28px;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.72);
  font-weight: 900;
  margin-bottom: 30px;
}

.quiz-back:hover {
  color: var(--orange);
}

.quiz-info-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 24px;
}

.quiz-info-card small {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.quiz-info-card h4 {
  font-weight: 900;
  margin: 10px 0;
  letter-spacing: -.035em;
}

.quiz-info-card p {
  color: rgba(255,255,255,.58);
  margin: 0;
  line-height: 1.7;
}

.quiz-progress-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-progress-list span {
  height: 46px;
  border-radius: 15px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.66);
  font-weight: 900;
}

.quiz-progress-list span.active {
  background: var(--orange);
  color: #050505;
  border-color: var(--orange);
}

.quiz-timer {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  color: #050505;
}

.quiz-timer i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--orange);
  font-size: 1.35rem;
}

.quiz-timer small {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.quiz-timer strong {
  font-size: 1.4rem;
  font-weight: 900;
}

.quiz-main {
  margin-left: 330px;
  width: calc(100% - 330px);
  padding: 30px;
}

.quiz-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.quiz-card-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 42px;
}

.quiz-question {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.1;
  margin-bottom: 34px;
}

.quiz-options {
  display: grid;
  gap: 16px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 22px;
  padding: 18px 22px;
  background: #fff;
  cursor: pointer;
  transition: .25s ease;
}

.quiz-option:hover {
  border-color: rgba(245,158,11,.55);
  background: rgba(245,158,11,.07);
}

.quiz-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
}

.quiz-option span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #050505;
  color: var(--orange);
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 1.7rem;
  font-weight: 900;
}

.quiz-option strong {
  font-size: 1.05rem;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.quiz-review-section {
  padding-top: 30px;
}

@media (max-width: 991px) {
  .quiz-layout {
    display: block;
  }

  .quiz-sidebar {
    position: relative;
    width: 100%;
    inset: auto;
  }

  .quiz-main {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }

  .quiz-card-main {
    padding: 26px;
  }
}
.portal-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
/* ===============================
   NOTES PAGE
================================ */

.note-card {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #050505;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.note-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.note-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
/* ===============================
   STUDENT QUIZZES
================================ */

.quiz-list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
}

.quiz-list-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 18px;
  background: #050505;
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
}

.quiz-list-content {
  flex: 1;
}

.quiz-list-content small {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .7rem;
}

.quiz-list-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.quiz-result-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  overflow: hidden;
}

.quiz-result-table th {
  padding: 18px 20px;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quiz-result-table td {
  padding: 18px 20px;
}

@media (max-width: 767px) {
  .quiz-list-card {
    flex-direction: column;
  }
}
/* ===============================
   STUDENT ZOOM PAGE
================================ */

.zoom-session-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  padding: 26px;
  height: 100%;
}

.zoom-session-card small {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
}

.zoom-session-card p {
  color: var(--muted);
  line-height: 1.7;
}

.featured-session {
  background:
    radial-gradient(circle at 85% 10%, rgba(245,158,11,.26), transparent 34%),
    #050505;
  color: #fff;
}

.featured-session p {
  color: rgba(255,255,255,.62);
}

.zoom-session-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.zoom-session-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fffaf1;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 800;
}

.featured-session .zoom-session-meta span {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
}

.recording-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  overflow: hidden;
  height: 100%;
}

.recording-thumb {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.78), rgba(245,158,11,.22)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=800&q=80') center/cover;
  display: grid;
  place-items: center;
}

.recording-thumb i {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #050505;
  font-size: 1.8rem;
}

.recording-content {
  padding: 22px;
}

.recording-content small {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
}

.zoom-material-list {
  display: grid;
  gap: 14px;
}

.zoom-material-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.zoom-material-item small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .zoom-material-item {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ===============================
   STUDENT PROFILE
================================ */

.profile-summary-card,
.profile-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  padding: 28px;
  height: 100%;
}

.profile-summary-card {
  text-align: center;
}

.profile-avatar-lg {
  width: 96px;
  height: 96px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #050505;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 auto 18px;
  box-shadow: 0 18px 45px rgba(245,158,11,.28);
}

.profile-stat-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.profile-stat-line:last-child {
  border-bottom: 0;
}

.profile-stat-line span {
  color: var(--muted);
  font-weight: 800;
}

.profile-stat-line strong {
  font-weight: 900;
}

.profile-pref-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.profile-pref-item:last-of-type {
  border-bottom: 0;
}

.profile-pref-item strong {
  display: block;
  font-weight: 900;
}

.profile-pref-item small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

@media (max-width: 575px) {
  .profile-pref-item {
    align-items: flex-start;
    flex-direction: column;
  }
}