@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&display=swap");
@font-face {
  font-family: "Chalkboy";
  src: url("/TCData/fonts/Chalkboy.ttf") format("truetype");
}
* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

section {
  padding: clamp(2rem, 4vw, 6rem);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(to bottom, #0B2E5C 0%, #1E4E8C 30%, #3F6FB5 60%, #EAF2FF 100%);
  background-attachment: fixed;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2.2rem;
  font-size: 1.4rem;
  border: 2px solid #F59E0B;
  background: transparent;
  color: #F59E0B;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: #F59E0B;
  color: #ffffff;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  box-shadow: none;
  z-index: 1000;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease, transform 0.35s ease;
}

.header.hide {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  backdrop-filter: blur(0px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.logo-img {
  height: 4.5rem;
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
  flex-shrink: 0;
}

.header .navbar {
  margin-left: auto;
  margin-right: 1rem;
}

.navbar a,
.logo,
.icons i {
  color: #fff !important;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 2rem;
}

.navbar a {
  position: relative;
  display: flex;
  text-transform: uppercase;
  margin: 0 1.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  color: #fff !important;
  z-index: 1;
  transition: 0.5s;
}

.navbar a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top: 2px solid #F59E0B;
  border-bottom: 2px solid #F59E0B;
  transform: scaleY(2);
  opacity: 0;
  transition: 0.3s;
}

.navbar a::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F59E0B;
  transform: scale(0);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}

.navbar a:hover {
  color: #fff;
}

.navbar a:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.navbar a:hover::after {
  transform: scaleY(1);
  opacity: 1;
}

.account-btn {
  position: relative;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  z-index: 1;
}

.account-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid #F59E0B;
  border-bottom: 2px solid #F59E0B;
  transform: scaleY(2);
  opacity: 0;
  transition: 0.3s;
}

.account-btn::after {
  content: "";
  position: absolute;
  inset: 2px 0 0 0;
  background-color: #F59E0B;
  transform: scale(0);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}

.account-btn:hover i {
  color: #fff;
}

.account-btn:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.account-btn:hover::after {
  transform: scaleY(1);
  opacity: 1;
}

.icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icons i {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.icons i:hover {
  color: #F59E0B;
}

#menu-btn {
  display: none;
}

.account-form {
  position: fixed;
  top: 0;
  right: -105%;
  width: 35rem;
  background: #fff;
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 2rem;
  height: 100%;
  z-index: 1200;
  padding: 2rem;
  text-align: center;
}

.account-form.active {
  right: 0;
  box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
}

.account-form #close-form {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  font-size: 4rem;
  cursor: pointer;
  color: #444;
  transition: transform 0.25s ease;
}

.account-form #close-form:hover {
  transform: rotate(90deg);
}

.account-form form {
  border: 0.1rem solid #F59E0B;
  padding: 2rem;
  display: none;
}

.account-form form.active {
  display: block;
}

.account-form form h3 {
  font-size: 2.5rem;
  text-transform: capitalize;
  color: #444;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.account-form form .box {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border: 0.1rem solid #F59E0B;
  font-size: 1.6rem;
  margin: 0.7rem 0;
}

.account-form form .flex {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.account-form form .flex label {
  font-size: 1.5rem;
  color: #777;
}

.account-form form .flex a {
  font-size: 1.5rem;
  color: #777;
  margin-left: auto;
}

.account-form form .flex a:hover {
  color: #F59E0B;
}

.account-form form .btn {
  width: 100%;
}

.account-form .buttons .btn {
  margin: 0 0.5rem;
}

.account-form .buttons .btn.active {
  background: #F59E0B;
  color: #fff;
}

.account-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.account-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  width: 12rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 2000;
}

.account-dropdown .logout-btn {
  background: #f4a300;
  color: #fff;
  border: none;
  padding: 16px 48px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 1200px;
  min-width: 150px;
}

.account-dropdown .logout-btn:hover {
  opacity: 0.9;
}

.account-dropdown a {
  padding: 1rem 1.2rem;
  display: block;
  font-size: 1.4rem;
  color: #444;
}

.account-dropdown a:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.home {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  margin-top: 1.8rem;
  background: transparent;
  z-index: 1;
}

.home .swiper {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.home .swiper:active {
  cursor: grabbing;
}

.home .swiper-slide {
  cursor: grab;
}

.home .swiper-slide:active {
  cursor: grabbing;
}

.home .slide {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 0;
  min-height: 100vh;
  min-height: 100svh;
  background-size: cover !important;
  background-position: center !important;
}

.home .slide .content {
  max-width: 50rem;
  width: 100%;
  padding: 0 2rem;
}

.home .slide .content h3 {
  font-size: 5.5rem;
  text-transform: capitalize;
  color: #444;
  color: #fff;
}

.home .slide .content p {
  font-size: 1.6rem;
  line-height: 2;
  color: #777;
  color: #eee;
  padding: 1rem 0;
}

.swiper-pagination-bullet-active {
  background-color: #F59E0B;
}

.parallax-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

.parallax {
  position: absolute;
  inset: 0;
  list-style: none;
  z-index: 0 !important;
}

.layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transition: transform 0.1s ease-out;
  z-index: 0 !important;
}

.layer-back {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.25), transparent);
}

.layer-mid {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15), transparent);
}

.layer-front {
  background: transparent;
}

/* ===============================
   STICKY COURSES SECTION
=============================== */
.courses-spacer {
  height: 100vh;
}

.courses-sticky {
  position: relative;
  height: 1400vh;
  background: #1E4E8C;
  z-index: 1;
  padding-bottom: 10vh;
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
  border-top-left-radius: 4rem;
  border-top-right-radius: 4rem;
  margin-top: -5rem;
}

.floating-chalk {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease;
}

.chalk {
  position: absolute;
  font-family: "Rubik Scribble", cursive;
  font-size: 3.2rem;
  color: #ffffff;
  text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 12px rgba(255, 255, 255, 0.9), 0 0 22px rgba(255, 255, 255, 0.7), 0 0 40px rgba(255, 255, 255, 0.4);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.4s ease;
}

.chalk.show {
  opacity: 1;
  color: #ffffff;
}

.courses-wrapper {
  position: relative;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 8%;
  gap: 6rem;
  overflow: visible;
  z-index: 10;
  transform: translateZ(0);
  will-change: transform;
}

/* LEFT SIDE — COURSE INFO */
.course-info {
  position: relative;
  min-height: 70vh;
  z-index: 5;
}

.course-info-item {
  position: absolute;
  top: 50%;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  color: #ffffff;
  z-index: 1;
  pointer-events: none;
}

.course-info-item.active {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

/* =========================
   CARD CONTAINER
========================= */
.course-card {
  position: relative;
  padding: 3rem;
  border-radius: 2rem;
  max-width: 48rem;
  z-index: 20;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* dark primary orange */
.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 25% 25%, #ff7a18, transparent 60%), radial-gradient(circle at 80% 80%, #cc5200, transparent 70%), #e35a00;
  z-index: -2;
}

/* grain */
.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

.course-sub {
  color: #FFD166;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* TEXT BLOCK */
.course-text {
  max-width: 48rem;
}

.course-text h3 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* subtitle */
.course-sub {
  font-size: 1.8rem;
  color: #F59E0B;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* description (always visible) */
.course-desc {
  font-size: 1.5rem;
  color: #dbeafe;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* =========================
   BUTTON (hover only)
========================= */
.order-btn {
  background: linear-gradient(135deg, #f59e0b, #ffb84d);
  border: none;
  color: #0b2e5c;
  padding: 1rem 2.4rem;
  font-size: 1.4rem;
  border-radius: 0.8rem;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 168, 64, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.course-card:hover .order-btn {
  opacity: 1;
  transform: translateY(0);
}

.order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 168, 64, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.order-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 168, 64, 0.35);
}

/* =========================
   RIGHT SIDE — IMAGES
========================= */
.course-images {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  border-radius: 2rem;
  z-index: 5;
}

.course-images img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.course-images img.active {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .courses-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .course-images {
    height: 45vh;
  }
  .course-text h3 {
    font-size: 3rem;
  }
}
/* ===============================
   LAYERED SCROLL — WHY SECTION
=============================== */
.why {
  position: relative;
  min-height: 100vh;
  z-index: 6;
  padding: 0 !important;
  isolation: isolate;
  border-top-left-radius: 4rem;
  border-top-right-radius: 4rem;
  margin-top: -10vh;
}

.why-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 0 8%;
}

.why-left {
  color: #fff;
}

.why-left h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.why-left h2 .highlight {
  color: #F59E0B;
}

.why-left p {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.why-left ul {
  margin-top: 1rem;
}

.why-left ul li {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

/* RIGHT SIDE — STACK CARDS CONTAINER */
.stack-cards-container {
  position: relative;
  height: 100%;
}

/* Make sure Why section covers Courses */
.why {
  margin-top: -100vh;
}

/* FOOTER should cover WHY */
.footer {
  position: relative;
  z-index: 7;
  margin-top: auto;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .why-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.footer .box-container .box h3 {
  font-size: 2.2rem;
  text-transform: capitalize;
  color: #444;
  padding: 1rem 0;
  color: #ffffff;
}

.footer .box-container .box .share {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer .box-container .box .share a {
  height: 4.5rem;
  width: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
  background: #ffffff;
  color: #262626;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 2px solid #ffffff;
  z-index: 1;
}

.footer .box-container .box .share a i {
  position: relative;
  z-index: 3;
  transition: 0.5s;
}

.footer .box-container .box .share a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 2;
}

.footer .box-container .box .share a:hover i {
  color: #ffffff;
  transform: rotateY(360deg);
}

.footer .box-container .box .share a:hover::before {
  top: 0;
}

.footer .box-container .box .share a:nth-child(1)::before {
  background: #E4405F;
}

.footer .box-container .box .share a:nth-child(2)::before {
  background: #0A66C2;
}

.footer .box-container .box .share a:nth-child(3)::before {
  background: #1877F2;
}

.footer .box-container .box .share a:nth-child(4)::before {
  background: #FF0000;
}

.footer .box-container .box .share a:nth-child(5)::before {
  background: #000000;
}

.footer .box-container .box .link {
  font-size: 1.7rem;
  color: #ffffff;
  padding: 0.5rem 0;
  display: block;
}

.footer .box-container .box .link:hover {
  color: #F59E0B;
  text-decoration: underline;
}

.footer .box-container .box p {
  font-size: 1.5rem;
  color: #e5e7eb;
  padding: 1rem 0;
}

.footer .box-container .box .email {
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-size: 1.6rem;
  border: 0.1rem solid #F59E0B;
  margin-bottom: 1rem;
}

.footer .box-container .box .btn {
  background: #F59E0B;
  color: #ffffff;
}

.footer .box-container .box .btn:hover {
  background: #d97706;
}

.footer .credit {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  font-size: 2rem;
  color: #ffffff;
  border-top: 0.1rem solid #F59E0B;
}

.footer .credit span {
  color: #F59E0B;
}

.why {
  background: linear-gradient(to bottom, #0B2E5C 0%, #12386F 100%);
}

.footer {
  background: linear-gradient(to bottom, #12386F 0%, #071E3D 100%);
}

/* ===============================
   COURSES PAGE — ORANGE FINAL
=============================== */
body.page-courses {
  background: linear-gradient(to bottom, #163E6F 0%, #1A457C 50%, #1E4E8C 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===============================
   ORANGE COURSE CARD
=============================== */
.page-courses .courses-page {
  flex: 1;
  padding: 8rem 6% 14rem;
}

.page-courses .courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(32rem, 1fr));
  gap: 8rem;
  width: 100%;
  max-width: 140rem;
  margin: 0 auto;
}

.page-courses .course-title {
  min-height: auto;
  height: auto;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.page-courses .course-title:hover {
  transform: translateY(-6px);
}

/* orange gradient background */
.page-courses .course-title {
  background: radial-gradient(circle at 25% 25%, #ff7a18, transparent 60%), radial-gradient(circle at 80% 80%, #cc5200, transparent 70%), #e35a00 !important;
  color: #fff !important;
}

.page-courses .course-body,
.page-courses .course-body h3,
.page-courses .course-body p,
.page-courses .course-body span {
  color: #fff !important;
}

.page-courses .course-btn {
  background: #0b1a2f !important;
  color: #fff !important;
}

.page-courses .course-title:hover {
  transform: translateY(-6px);
}

/* thumbnail */
.page-courses .course-title img {
  width: 100%;
  height: 22rem;
  -o-object-fit: cover;
  object-fit: cover;
  flex-shrink: 0;
}

/* text body */
.page-courses .course-body {
  padding: 1.8rem 2.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #fff;
  min-height: 0;
}

.page-courses .course-body h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}

.page-courses .course-body p {
  font-size: 1.6rem;
  color: #ffe9d6;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.page-courses .course-body span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFD166;
}

/* button */
.page-courses .course-btn {
  margin: 0 2.2rem 2rem;
  padding: 1.6rem;
  border-radius: 1rem;
  font-size: 1.7rem;
  font-weight: 700;
  background: #0b1a2f;
  color: #fff;
  text-align: center;
  transition: background 0.2s ease;
  margin-top: auto;
}

.page-courses .course-btn:hover {
  background: #2563eb !important;
  color: #fff !important;
}

/* ===============================
   CLASS SELECTOR FINAL THEME
=============================== */
.class-selector {
  padding: 7rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 5rem;
  min-height: calc(100vh - 8rem);
  justify-content: center;
}

/* banner */
.class-selector .choose-box {
  width: min(90%, 120rem);
  padding: 4.5rem 6rem;
  border-radius: 2.8rem;
  text-align: center;
  background: linear-gradient(135deg, #ff7a18, #d94e00);
  font-family: "Chalkboy", cursive;
  font-size: clamp(5.5rem, 6.5vw, 9rem);
  font-weight: 300;
  color: #fff;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25), 0 0 2px rgba(255, 255, 255, 0.4);
}

/* grid */
.class-selector .class-grid {
  width: min(100%, 120rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.5rem;
}

/* premium card */
.class-selector .class-cell {
  background: #f8b21a;
  border-radius: 2.2rem;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* subtle lift */
.class-selector .class-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.8rem 3.5rem rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* image */
.class-selector .class-cell img {
  width: 100%;
  height: 16rem;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}

/* class label */
.class-selector .class-cell span {
  padding: 2.2rem;
  font-size: 2.3rem;
  font-weight: 500;
  text-align: center;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.class-selector .class-cell::before {
  display: none;
}

.hidden {
  display: none !important;
}

.courses-page {
  position: relative;
}

.courses-page .back-btn {
  position: sticky;
  float: right;
  margin: 4rem 0;
  padding: 1.4rem 2.6rem;
  border-radius: 999px;
  border: none;
  background: #f59e0b;
  color: white;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

/* ===============================
   COURSE DETAILS PAGE
=============================== */
.course-details-page {
  min-height: 100vh;
  background: radial-gradient(circle at 25% 25%, #ff7a18, transparent 60%), radial-gradient(circle at 80% 80%, #cc5200, transparent 70%), #e35a00;
  overflow-x: hidden;
}

/* grain overlay */
.course-details-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.course-header .course-desc {
  display: none;
}

.course-details-page .course-header h1 {
  font-family: "Chalkboy", cursive;
  font-size: clamp(10rem, 16vw, 20rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  color: #ffffff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35), 4px 4px 0 rgba(0, 0, 0, 0.18), 0 0 3px rgba(255, 255, 255, 0.7);
}

.course-header {
  position: relative;
  min-height: 38vh;
  padding: 6rem 5% 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.course-header p {
  font-size: 1.6rem;
  line-height: 2;
  color: #777;
}

.course-header .course-meta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.4rem;
  color: #777;
  z-index: 2;
}

.course-header .course-meta .badge {
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
}

.course-header .course-meta .badge.paid {
  background: #2563EB;
}

/* ===============================
   FULL LOCKED STATE
=============================== */
.paid-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
  gap: 1rem;
}

.paid-state h2 {
  font-size: 3.6rem;
  font-weight: 800;
  color: #111;
}

.paid-state p {
  font-size: 1.8rem;
  color: #374151;
  max-width: 420px;
}

.paid-btn {
  margin-top: 1.5rem;
  padding: 1.5rem 3.8rem;
  font-size: 1.7rem;
  font-weight: 700;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  transition: all 0.25s ease;
}

.paid-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.course-details-page .course-layout {
  display: grid;
  grid-template-columns: 38rem 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: -8rem;
}

.course-details-page .course-sidebar {
  background: #ffffff;
  border-radius: 1.6rem;
  padding: 2.8rem 3rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
  height: auto;
  max-height: 52rem;
  display: flex;
  flex-direction: column;
}

.course-details-page .course-sidebar p {
  margin-top: 1.6rem;
  overflow-y: auto;
  padding-right: 0.6rem;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.course-details-page .course-sidebar p::-webkit-scrollbar,
.course-details-page #lectureContainer::-webkit-scrollbar {
  width: 0.6rem;
}

.course-details-page .course-sidebar p::-webkit-scrollbar-thumb,
.course-details-page #lecturesContainer::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 1rem;
}

.course-details-page .lecture-list {
  background: #ffffff;
  border-radius: 1.6rem;
  padding: 2rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
  height: auto;
  max-height: 52rem;
  display: flex;
  flex-direction: column;
}

.course-details-page .lecture-list h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  color: #111827;
}

.course-details-page #lecturesContainer {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  max-height: none;
  overflow-y: auto;
  padding-right: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  flex: 1;
  margin-top: 2rem;
}

.course-details-page #lecturesContainer > div {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 1.6rem 2rem;
  background: #f9fafb;
  border-radius: 1.2rem;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2 ease;
}

.course-details-page #lecturesContainer > div:hover {
  background: #f1f5f9;
}

.course-details-page #lecturesContainer > div::before {
  content: attr(data-index);
  min-width: 4.2rem;
  height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  border-radius: 1rem;
  font-size: 1.6rem;
}

.course-details-page #lecturesContainer > div span,
.course-details-page #lecturesContainer > div p,
.course-details-page #lecturesContainer > div {
  font-size: 1.7rem;
  font-weight: 600;
  color: #111827;
}

.course-details-page #lecturesContainer::-webkit-scrollbar {
  width: 0.6rem;
}

.course-details-page #lecturesContainer::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 1rem;
}

.course-details-page .lecture-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  background: #f9fafb;
  border-radius: 1.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.25s ease;
}

.course-details-page .lecture-item:hover {
  background: #eef2ff;
  transform: translateY(-1px);
}

.course-details-page .lecture-item.active {
  background: #f59e0b;
  color: #ffffff;
}

.course-details-page .lecture-item.locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.course-details-page .lecture-item::before {
  content: "▶";
  margin-right: 1.2rem;
  font-size: 1.3rem;
  color: #2563eb;
}

.course-details-page .lecture-item.locked::before {
  content: "🔒";
  color: #9ca3af;
}

.course-details-page .lecture-item.preview::after {
  content: "Preview";
  background: #2563eb;
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 1.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===============================
   CHAPTER STRUCTURE
=============================== */
.chapter-page {
  min-height: 100vh;
  background: radial-gradient(circle at 25% 25%, #ff7a18, transparent 60%), radial-gradient(circle at 80% 80%, #cc5200, transparent 70%), #e35a00;
  overflow-x: hidden;
}

.chapter-item {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
  margin-bottom: 2rem;
  border-radius: 1rem;
  background: #fdfdfd;
}

.chapter-header {
  padding: 1.6rem;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 0.8rem;
  cursor: pointer;
}

.chapter-header h4 {
  font-size: 1.8rem;
  color: #444;
  font-weight: 700;
}

.chapter-header:hover {
  background: rgba(246.0039370079, 167.7381889764, 35.4960629921, 0.08);
}

.chapter-content {
  background: #ffffff;
  border-radius: 3rem;
  padding: 4rem 4.5rem;
  margin-top: 3.5rem;
  width: min(115rem, 94%);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.chapter-layout .course-sidebar {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.chapter-layout ~ .course-header,
.course-header:has(+ .chapter-layout) {
  display: none;
}

.choose-box {
  width: 100%;
  text-align: center;
  font-family: "Chalkboy", cursive;
  font-size: clamp(9rem, 6vw, 13rem);
  font-weight: 300;
  color: #fff;
  margin-top: -32rem;
  white-space: nowrap;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25), 0 0 2px rgba(255, 255, 255, 0.4);
}

/* ===============================
   CONTENT GROUP (Recorded / Live / PDF)
=============================== */
.content-group {
  margin-bottom: 2rem;
}

.content-group h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563EB;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.content-group .lecture-item {
  margin-bottom: 1rem;
}

.lecture-list {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.lecture-list h3 {
  font-size: 2.4rem;
  text-transform: capitalize;
  color: #444;
  margin-bottom: 2rem;
}

/* ===============================
   LECTURE ITEM
=============================== */
.lecture-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-radius: 1.4rem;
  margin-bottom: 1.6rem;
  background: #f9fafb;
  cursor: pointer;
  min-height: 6.4rem;
  font-weight: 500;
  font-size: 1.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lecture-item:hover {
  background: #f1f5f9;
}

.lecture-item.locked {
  opacity: 0.6;
}

.lecture-item.preview {
  border-left: 0.4rem solid #F59E0B;
}

.lecture-item .lecture-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lecture-item .lecture-left .lecture-order {
  font-size: 1.6rem;
  font-weight: 700;
  color: #F59E0B;
  width: 3rem;
}

.lecture-item .lecture-left h4 {
  font-size: 1.55rem;
  line-height: 1.45;
  color: #444;
}

.lecture-item .lecture-left p {
  font-size: 1.3rem;
  color: #777;
}

.lecture-item .lecture-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lecture-item .lecture-right .lecture-type {
  font-size: 1.8rem;
}

.lecture-item .lecture-right .lecture-status {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F59E0B;
}

/* ===============================
   PURCHASE POPUP
=============================== */
.purchase-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.purchase-popup.hidden {
  display: none;
}

.purchase-popup .popup-box {
  background: #fff;
  padding: 3rem;
  border-radius: 1.2rem;
  width: 35rem;
  text-align: center;
}

.purchase-popup .popup-box h3 {
  font-size: 2.4rem;
  text-transform: capitalize;
  color: #444;
  margin-bottom: 1rem;
}

.purchase-popup .popup-box p {
  font-size: 1.5rem;
  line-height: 2;
  color: #777;
  margin-bottom: 2rem;
}

.purchase-popup .popup-box .popup-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.6rem;
  background: #F59E0B;
  color: #fff;
  border-radius: 0.6rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.purchase-popup .popup-box .popup-close {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.5rem;
  background: transparent;
  border: 0.1rem solid #F59E0B;
  color: #F59E0B;
  border-radius: 0.6rem;
  cursor: pointer;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 991px) {
  .course-layout:not(.chapter-layout) {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   CHAPTER PAGE – CLEAN RESET
=============================== */
/* Overall chapter section */
.chapter-layout {
  width: min(120rem, 95%);
  margin: 3rem auto 0 auto;
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 4rem;
  align-items: start;
}

/* TOP OPTIONS BAR (PILLS) */
.chapter-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

/* Individual option pill */
.chapter-options .option-btn {
  padding: 1.4rem 3rem;
  border-radius: 4rem;
  font-size: 1.7rem;
  font-weight: 700;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 0.2rem solid transparent;
  opacity: 0.7;
}

/* Hover FIX */
.chapter-options .option-btn:hover {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.15);
}

/* Active pill */
.chapter-options .option-btn.active {
  opacity: 1 !important;
  background: #0b1a2f;
  color: #ffffff;
  border-color: #0b1a2f;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* Prevent hover override on active */
.chapter-options .option-btn.active:hover {
  background: #0b1a2f;
  color: #ffffff;
}

/* hover (non-active only) */
.chapter-options .option-btn:not(.active):hover {
  opacity: 1;
  background: #f1f5f9;
  color: #111827;
}

/* CONTENT AREA */
.chapter-content-area {
  background: #ffffff;
  border-radius: 2rem;
  padding: 3.5rem 4rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
  width: min(110rem, 95%);
  margin-top: 1rem;
  max-width: 100%;
}

/* Content title */
.chapter-content-area h3 {
  font-size: 2.4rem;
  text-transform: capitalize;
  color: #444;
  margin-bottom: 2rem;
}

#contentContainer {
  height: 420px;
  overflow-y: auto;
  padding-right: 0.6rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#contentContainer::-webkit-scrollbar {
  width: 6px;
}

#contentContainer::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 1rem;
}

/* ===============================
   TOPIC ACCORDION (Topic → Lectures)
=============================== */
.topic-block {
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.topic-header {
  padding: 1.6rem 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  background: #e5e7eb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topic-header:hover {
  background: #e2e8f0;
}

.topic-header::after {
  content: "▾";
  font-size: 1.6rem;
  transition: transform 0.2s ease;
}

.topic-block.open .topic-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.topic-block.open .topic-header::after {
  transform: rotate(-180deg);
}

.topic-lectures {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem 2rem;
  background: #f9fafb;
}

.topic-block.open .topic-lectures {
  max-height: 300px;
  overflow-y: auto;
}

.topic-lectures::-webkit-scrollbar {
  width: 6px;
}

.topic-lectures::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

/* ===============================
   CUSTOM SCROLLBAR – LECTURE LIST
=============================== */
#lectureList {
  margin-top: 2.2rem;
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  border-radius: 1.2rem;
  background: #f9fafb;
}

#lectureList::-webkit-scrollbar {
  width: 6px;
}

#lectureList::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 1rem;
}

/* Chrome, Edge, Safari */
#lectureList::-webkit-scrollbar {
  width: 6px;
}

#lectureList::-webkit-scrollbar-track {
  background: transparent;
}

#lectureList::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 6px;
}

/* ❌ REMOVE ARROWS */
#lectureList::-webkit-scrollbar-button {
  display: none;
}

/* Notes & Resources */
.lecture-notes {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.lecture-notes h4 {
  font-size: 1.8rem;
  text-transform: capitalize;
  color: #444;
  margin-bottom: 1.2rem;
}

.lecture-notes a {
  display: block;
  font-size: 1.4rem;
  color: #2563EB;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.lecture-notes a:hover {
  color: #F59E0B;
  text-decoration: underline;
}

.lecture-notes p {
  font-size: 1.3rem;
  color: #777;
}

/* ===============================
   NOW PLAYING – EQUALIZER
=============================== */
.lecture-item.now-playing {
  position: relative;
  background: #F59E0B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 5.6rem;
  box-shadow: 0 0.8rem 2rem rgba(245, 158, 11, 0.35);
}

.lecture-item.now-playing .now-text {
  font-size: 1.5rem;
}

/* Text */
-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Equalizer container */
.lecture-item.now-playing .playing {
  display: flex;
  align-items: flex-end;
  height: 1.4rem;
}

/* Bars */
.lecture-item.now-playing .playing span {
  width: 0.3rem;
  height: 100%;
  background: #fff;
  margin-right: 0.25rem;
  border-radius: 2px;
  animation: equalize 1.6s ease-in-out infinite;
  opacity: 0.85;
}

/* Staggered animation */
.lecture-item.now-playing .playing span:nth-child(1) {
  animation-delay: 0s;
}

.lecture-item.now-playing .playing span:nth-child(2) {
  animation-delay: 0.2s;
}

.lecture-item.now-playing .playing span:nth-child(3) {
  animation-delay: 0.4s;
}

.lecture-item.now-playing .playing span:nth-child(4) {
  animation-delay: 0.6s;
}

/* Animation */
@keyframes equalize {
  0% {
    height: 40%;
  }
  50% {
    height: 100%;
  }
  100% {
    height: 40%;
  }
}
/* ===============================
   HOVER – PLAY NOW (NON-CURRENT)
=============================== */
.lecture-item:not(.now-playing) {
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

/* COMPLETELY hide original content on hover */
.lecture-item:not(.now-playing):hover {
  transform: translateY(-2px);
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.08);
  color: transparent;
}

.lecture-item:not(.now-playing):hover * {
  visibility: hidden;
}

/* hover overlay */
.lecture-item:not(.now-playing)::after {
  content: "▶ PLAY NOW";
  position: absolute;
  inset: 0;
  background: rgba(245, 158, 11, 0.85);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

/* show overlay on hover */
.lecture-item:not(.now-playing):hover::after {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   PDF VIEWER (SCSS FIX)
=============================== */
.pdf-layout {
  padding: 4rem 10%;
  display: grid;
  grid-template-columns: 30rem 1fr;
  gap: 3rem;
  background: #fff;
}

.pdf-sidebar {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 10rem);
  overflow-y: auto;
}

.pdf-sidebar h3 {
  font-size: 2.2rem;
  text-transform: capitalize;
  color: #444;
  margin-bottom: 1.5rem;
}

.pdf-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.pdf-main .lecture-title h2 {
  font-size: 2.6rem;
  text-transform: capitalize;
  color: #444;
  font-weight: 700;
}

.pdf-area {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.pdf-wrapper {
  width: 100%;
  height: calc(100vh - 22rem);
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
}

#pdfContainer {
  width: 100%;
  height: 100%;
}

#pdfContainer iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===============================
   NOTES
=============================== */
.lecture-notes {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

/* ===============================
   PLAYER PAGE – FINAL DESIGN
=============================== */
.player-layout {
  display: grid;
  grid-template-columns: 550px minmax(0, 1fr) 360px;
  align-items: start;
  gap: 3rem;
  padding: 0;
}

.player-page {
  padding: 3rem 6%;
  display: grid;
  gap: 4rem;
  background: #fff;
  max-width: 100%;
  padding-left: 0;
  grid-template-columns: 400px minmax(0, 1fr);
}

.player-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  margin-top: 6.9rem;
  margin-left: 0;
  border-radius: 2rem;
  padding: 3rem 2.8rem;
  box-shadow: 0 1.2rem 3.5drem rgba(0, 0, 0, 0.08);
  grid-column: 1/2;
}

.player-main {
  grid-column: 2/3;
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  width: 100%;
  max-width: 100%;
  margin-top: 6.9rem;
}

.player-sidebar h3 {
  font-size: 2.1rem;
  font-weight: 700%;
  letter-spacing: 0.02rem;
  margin-bottom: 2.4rem;
  color: #444;
}

.player-content {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  margin-top: 6.9rem;
  grid-column: 2/3;
}

.player-notes {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  margin-top: 6.9rem;
  border-radius: 2rem;
  padding: 3rem 2.8rem;
  box-shadow: 0 1.2rem 3.5rem rgba(0, 0, 0, 0.08);
  height: -moz-fit-content;
  height: fit-content;
  grid-column: 3/4;
}

.player-notes h3 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  color: #444;
}

.lecture-title {
  display: none;
}

.lecture-title h2 {
  font-size: 2.6rem;
  color: #444;
}

.player-shell {
  background: #000;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 1400px;
  margin: 0;
  margin-top: 2.4rem;
  position: relative;
  z-index: 1;
  margin-top: -1.6rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  height: 720px;
  border-radius: 2rem;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

#ytplayer {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 900px;
  transform: translateY(-50%);
  pointer-events: none;
}

#ytplayer iframe {
  position: absolute;
  top: -60px;
  height: 620px;
  width: 100%;
  border: none;
  pointer-events: none;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
  position: relative;
  z-index: 50;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.25 ease;
}

.controls.hidden {
  opacity: 0;
  pointer-events: none;
}

#toggleBtn {
  padding: 0.8rem 1.8rem;
  border-radius: 0.6rem;
  background: #0ea5e9;
  color: #fff;
  font-size: 1.4rem;
}

#seek {
  flex: 1;
}

.volume-wrap {
  width: 8rem;
}

.gear-btn {
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  background: #0ea5e9;
  color: #fff;
}

.yt-settings {
  position: absolute;
  right: 2rem;
  bottom: 7rem;
  width: 20rem;
  background: #020617;
  border-radius: 1.2rem;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}

.yt-settings.show {
  opacity: 1;
  pointer-events: auto;
}

.yt-settings,
.yt-settings * {
  pointer-events: auto !important;
}

.menu {
  display: none;
}

.menu.main {
  display: block;
}

.row,
.opt,
.back {
  padding: 1.2rem 1.4rem;
  font-size: 1.4rem;
  color: #e5e7eb;
}

.lecture-notes {
  background: #fff;
  border-radius: 1.4rem;
  padding: 2.4rem;
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .player-page {
    grid-template-columns: 1fr;
  }
  .player-layout {
    grid-template-columns: 1fr;
  }
  .player-notes {
    order: 3;
    margin-top: 0;
  }
}
.player-layout {
  padding: 0 !important;
}

.controls,
.controls * {
  cursor: pointer !important;
}

.controls input[type=range] {
  cursor: pointer !important;
}

.gear-btn,
#toggleBtn {
  cursor: pointer !important;
}

.why,
.courses-sticky,
.stack-cards-container {
  overflow: visible !important;
}

.chapter-content-area,
.course-sidebar {
  position: relative;
  z-index: 5;
}

.scroll-tint {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(11, 46, 92, 0), rgba(30, 78, 140, 0));
  transition: background 0.2s linear;
}

@media (min-width: 769px) {
  .navbar #close-navbar {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .account-dropdown {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  .header {
    padding: 2rem 5%;
  }
  section {
    padding: 3rem 5%;
  }
}
@media (max-width: 991px) {
  .header {
    padding: 2rem;
  }
  section {
    padding: 3rem 2rem;
  }
}
@media (max-width: 768px) {
  .header #menu-btn {
    display: inline-block;
  }
  .header .navbar {
    position: fixed;
    top: 0;
    right: -105%;
    width: 30rem;
    background: #fff;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    z-index: 1200;
  }
  .header .navbar #close-navbar {
    display: block;
  }
  .header .navbar.active {
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
    right: 0;
  }
  .header .navbar a {
    display: block;
    margin: 1rem 0;
    text-align: center;
    font-size: 3rem;
  }
  .home .slide .content h3 {
    font-size: 3rem;
  }
}
@media (min-width: 769px) {
  .account-form {
    display: none;
  }
}
@media (max-width: 1200px) {
  .courses-page .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .courses-page .courses-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991px) {
  .chapter-layout {
    gap: 2rem;
  }
}
/* =====================================
   MOBILE FALLBACK LAYOUT
   disable sticky animation completely
===================================== */
@media (max-width: 1024px) {
  .courses-spacer {
    display: none;
  }
  .courses-sticky {
    position: relative !important;
    height: auto !important;
    margin-top: 0 !important;
  }
  .courses-wrapper {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4rem !important;
  }
  .course-info {
    position: static !important;
  }
  .course-info-item {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .course-card {
    max-width: 100% !important;
  }
  .course-images {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .header {
    position: fixed !important;
    z-index: 9999 !important;
  }
  .parallax-wrapper {
    position: relative !important;
    height: auto !important;
  }
}
/* =====================================
   SLIDER MOBILE + TABLET FIX
   (desktop untouched)
===================================== */
@media (max-width: 1024px) {
  .home .slide {
    height: 70vh !important;
    padding: 2rem !important;
    background-position: center !important;
    background-size: cover !important;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .home .slide .content {
    width: 100% !important;
    max-width: 90%;
    margin: auto;
  }
  .home .slide .content h3 {
    font-size: 3rem;
    line-height: 1.2;
  }
  .home .slide .content p {
    font-size: 1.5rem;
    line-height: 1.6;
  }
}
@media (max-width: 600px) {
  .home .slide {
    height: 65vh !important;
  }
  .home .slide .content h3 {
    font-size: 2.4rem;
  }
}
/* =====================================
   MOBILE / TABLET COURSES STACK FIX
   (desktop untouched)
===================================== */
@media (max-width: 1024px) {
  /* kill sticky scroll system */
  .courses-sticky {
    height: auto !important;
    overflow: visible !important;
  }
  .courses-wrapper {
    position: relative !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5rem !important;
    padding: 6rem 5% !important;
  }
  /* show ALL course cards normally */
  .course-info {
    position: relative !important;
    min-height: auto !important;
  }
  .course-info-item {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 4rem;
  }
  /* image becomes normal block */
  .course-images {
    position: relative !important;
    height: 32vh !important;
    width: 100% !important;
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: 2rem;
  }
  .course-images img {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    opacity: 1 !important;
    transform: none !important;
  }
  /* hide extra stacked images */
  .course-images img:not(.active) {
    display: none !important;
  }
}
@media (max-width: 768px) {
  body.mobile-player .header,
  body.mobile-player .player-sidebar,
  body.mobile-player .player-notes {
    display: none !important;
  }
  body.mobile-player .player-layout {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }
  body.mobile-player .player-content {
    margin: 0 !important;
  }
  body.mobile-player .player-shell {
    border-radius: 0 !important;
    padding: 0 !important;
    height: 100vh !important;
  }
  body.mobile-player .video-wrap {
    height: 100vh !important;
    border-radius: 0 !important;
  }
}
.mobile-player-mode {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #000 !important;
  z-index: 99999 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.mobile-player-mode .video-wrap {
  height: 100vh !important;
  border-radius: 0 !important;
}

/* ===============================
   MOBILE CLASS CARDS
=============================== */
@media (max-width: 768px) {
  .class-selector {
    padding: 3rem 1.6rem 4rem;
    gap: 2.8rem;
    padding-top: 16rem;
    padding-bottom: 12rem;
  }
  .class-selector .choose-box {
    padding: 1.8rem;
    font-size: 3.2rem;
    border-radius: 1.8rem;
    margin-top: 1rem;
  }
  .class-selector .class-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .class-selector .class-cell {
    flex-direction: row;
    align-items: center;
    border-radius: 1.6rem;
    height: 8rem;
    background: linear-gradient(135deg, #ffb11a, #f59e0b);
    box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.18);
  }
  .class-selector .class-cell img {
    width: 8rem;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .class-selector .class-cell span {
    padding: 0 1.6rem;
    font-size: 1.8rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.3px;
  }
  footer {
    margin-top: 5rem;
  }
}
/* =================================
   COURSE DETAILS — MOBILE FIX v2
================================= */
@media (max-width: 768px) {
  .course-layout {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding: 1.6rem;
  }
  /* ABOUT auto height */
  .course-sidebar {
    height: auto !important;
    max-height: none !important;
  }
  /* HARD LIMIT course content box */
  .lecture-list {
    max-height: 42rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  /* only inner area scrolls */
  #lecturesContainer {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.4rem;
  }
} 

/*# sourceMappingURL=style.css.map */
