/* ==========================================================================
   ICT With Ahshaan (IWA) — Single-Screen Promotional Landing Page
   Palette: Black #000000 | White #FFFFFF | Blue #1E88F9 | Yellow #FFD400 | YouTube Red #FF0000
   Fonts: Poppins (English) + Noto Sans Tamil (Tamil)
   ========================================================================== */

:root {
  --bg-black: #000000;
  --surface-dark: #070B14;
  --white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.78);
  --text-subtle: rgba(255, 255, 255, 0.56);
  --blue: #1E88F9;
  --blue-rgb: 30, 136, 249;
  --blue-light: #55A6FF;
  --blue-glow: rgba(30, 136, 249, 0.35);
  --blue-soft: rgba(30, 136, 249, 0.12);
  --yellow: #FFD400;
  --yt-red: #FF0000;
  --yt-red-hover: #E00000;
  --font-en: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ta: 'Noto Sans Tamil', 'Poppins', sans-serif;
  --strip-width: clamp(108px, 11.4vh, 148px);
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-black);
  color: var(--white);
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- Full-Screen Page Shell ---------- */
.page-shell {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--strip-width);
  gap: 0;
  background-color: var(--bg-black);
  position: relative;
  overflow-x: clip;
}

/* Ambient Subtle Tech Lighting on Black Canvas */
.page-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 68% 42%, rgba(30, 136, 249, 0.2) 0%, rgba(30, 136, 249, 0.05) 34%, transparent 62%),
    radial-gradient(circle at 16% 82%, rgba(30, 136, 249, 0.11) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.page-shell::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 136, 249, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 136, 249, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 60% 50%, rgba(0, 0, 0, 0.7), transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 60% 50%, rgba(0, 0, 0, 0.7), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Main Workspace (Left + Right + Minimal Footer) ---------- */
.main-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(1.75rem, 4vh, 3.25rem) clamp(1.5rem, 4.5vw, 4.25rem) clamp(1.25rem, 2.5vh, 1.85rem);
}

/* Two-Column Hero Content */
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}

/* ==========================================================================
   LEFT SECTION — FREE ICT LEARNING (Starts Directly with Main Heading)
   ========================================================================== */
.left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-hashtag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bg-black);
  background-color: var(--blue);
  border: none;
  outline: none;
  border-radius: 0;
  padding: 0.1em 0.35em;
  text-shadow: none;
  margin-bottom: clamp(0.75rem, 1.4vh, 1rem);
  line-height: 1.2;
}

.hero-welcome__greeting {
  font-family: var(--font-en);
  font-size: clamp(2.1rem, 3.65vw, 3.3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-welcome__sub {
  margin-top: clamp(0.4rem, 0.9vh, 0.65rem);
  font-family: var(--font-en);
  font-size: clamp(1.12rem, 1.75vw, 1.48rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue);
  line-height: 1.35;
}

.tamil-desc {
  margin-top: clamp(1rem, 2vh, 1.45rem);
  font-family: var(--font-ta);
  font-size: clamp(1rem, 1.32vw, 1.16rem);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  text-wrap: pretty;
}

/* Fun Motivational Line (Between Tamil Description and Grade Cards) */
.hero-vibe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(0.85rem, 1.7vh, 1.2rem);
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1rem;
  border-radius: 10px;
  background-color: #101A2A;
  border: 1px solid #66551A;
  font-size: clamp(0.92rem, 1.18vw, 1.06rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--yellow);
  line-height: 1.4;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.hero-vibe::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 34%;
  height: 140%;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  filter: blur(4px);
  pointer-events: none;
  transform: translateX(-140%) skewX(-18deg);
  animation: vibeLightSweep 6s ease-in-out infinite;
}

.hero-vibe:hover {
  background-color: #142034;
  border-color: #8A7426;
  transform: translateY(-1px);
}

@keyframes vibeLightSweep {
  0% {
    transform: translateX(-140%) skewX(-18deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  52% {
    opacity: 1;
  }
  58%,
  100% {
    transform: translateX(340%) skewX(-18deg);
    opacity: 0;
  }
}

/* Course Cards: Grade 10 & Grade 11 */
.course-cards {
  margin-top: clamp(1.15rem, 2.3vh, 1.65rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 470px;
}

.course-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.05rem 1.2rem;
  border-radius: 14px;
  background: rgba(30, 136, 249, 0.07);
  border: 1.5px solid var(--blue);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 0 0 1px rgba(30, 136, 249, 0.14), 0 10px 26px rgba(30, 136, 249, 0.12);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 220ms ease,
              box-shadow 240ms ease,
              border-color 220ms ease;
}

.course-card:hover {
  transform: translateY(-4px);
  background: rgba(30, 136, 249, 0.16);
  border-color: #6CB4FF;
  box-shadow: 0 16px 34px rgba(30, 136, 249, 0.32), 0 0 0 1px rgba(108, 180, 255, 0.35);
}

.course-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(30, 136, 249, 0.2);
  border: 1px solid rgba(30, 136, 249, 0.5);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 220ms ease,
              border-color 220ms ease;
}

.course-card:hover .course-card__icon {
  transform: scale(1.06);
  background: rgba(30, 136, 249, 0.32);
  border-color: var(--blue-light);
}

.course-card__grade {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.2;
}

.course-card__units {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-transform: uppercase;
}

/* Main YouTube CTA Button */
.cta-wrap {
  margin-top: clamp(1.6rem, 3.2vh, 2.35rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.btn-youtube {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.08rem 2.25rem;
  border-radius: 12px;
  background-color: var(--yt-red);
  color: var(--white);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(255, 0, 0, 0.42);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 200ms ease,
              box-shadow 240ms ease;
}

.btn-youtube::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.btn-youtube i {
  font-size: 1.4rem;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-youtube:hover {
  background-color: var(--yt-red-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px rgba(255, 0, 0, 0.56);
}

.btn-youtube:hover::after {
  left: 140%;
}

.btn-youtube:hover i {
  transform: translateX(2px) scale(1.1);
}

.btn-youtube:active {
  transform: translateY(-1px) scale(0.99);
}

/* ==========================================================================
   RIGHT SECTION — EDUCATOR PROFILE CARD
   ========================================================================== */
.right-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(0.4rem, 1.2vh, 0.85rem);
}

.brand-showcase {
  position: relative;
  width: 91%;
  max-width: 495px;
  margin-inline: auto;
  padding: clamp(1.4rem, 2.5vh, 1.95rem) clamp(1.5rem, 2.4vw, 2.25rem);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(30, 136, 249, 0.14) 0%, rgba(7, 11, 20, 0.92) 58%, rgba(0, 0, 0, 0.96) 100%);
  border: 1px solid rgba(30, 136, 249, 0.55);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.72),
    0 0 60px rgba(30, 136, 249, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Educator Profile Inside Right Card */
.educator-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.78rem;
}

.educator-card__frame {
  width: 244px;
  height: 280px;
  max-width: 100%;
  aspect-ratio: 244 / 280;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(30, 136, 249, 0.82);
  background: #060C18;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.6),
    0 0 0 4px rgba(30, 136, 249, 0.15);
  flex-shrink: 0;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.brand-showcase:hover .educator-card__frame {
  border-color: var(--blue-light);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.65),
    0 0 0 4px rgba(30, 136, 249, 0.24);
}

.educator-card__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.educator-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.36rem;
  width: 100%;
}

.educator-card__name {
  font-size: clamp(1.32rem, 1.6vw, 1.52rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.2;
}

.educator-card__degree {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  font-size: clamp(0.86rem, 1vw, 0.96rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.48;
  max-width: 420px;
}

.educator-card__degree strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.educator-card__degree i {
  color: var(--blue);
  font-size: 0.95rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
}

.educator-card__university {
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.educator-card__phone {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.52rem 1.3rem;
  border-radius: 999px;
  background: rgba(30, 136, 249, 0.16);
  border: 1.5px solid rgba(30, 136, 249, 0.62);
  color: var(--yellow);
  font-size: clamp(0.88rem, 1.02vw, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(30, 136, 249, 0.18);
  transition: background-color 220ms ease,
              border-color 220ms ease,
              color 220ms ease,
              transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 220ms ease;
}

.educator-card__phone i {
  font-size: 0.92rem;
  color: var(--yellow);
  transition: color 220ms ease, transform 220ms ease;
}

.educator-card__phone:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25D366;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28);
  transform: translateY(-2px);
}

.educator-card__phone:hover i {
  color: #25D366;
  transform: scale(1.08);
}

/* Main Tagline Directly Below Phone Number (Single Occurrence) */
.educator-card__tagline {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  width: 100%;
  border-top: 1px solid rgba(30, 136, 249, 0.28);
  font-size: clamp(0.86rem, 1vw, 0.94rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.45;
  text-align: center;
}

.educator-card__tagline strong {
  color: var(--yellow);
  font-weight: 700;
}

/* ==========================================================================
   FAR-RIGHT FULL-HEIGHT VERTICAL BRANDING STRIP
   ========================================================================== */
.vertical-strip {
  position: sticky;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: var(--strip-width);
  background-color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0;
  margin: 0;
  z-index: 2;
  overflow: hidden;
}

.vertical-strip__handle {
  display: block;
  writing-mode: vertical-rl;
  transform: translateX(0.06em) rotate(180deg);
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 11.4vh, 10.5rem);
  font-size: clamp(2.2rem, 11.4dvh, 10.5rem);
  font-weight: 900;
  letter-spacing: -0.018em;
  text-transform: lowercase;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  user-select: none;
}

.vertical-strip__handle .handle-ict {
  color: var(--bg-black);
}

.vertical-strip__handle .handle-rest {
  color: var(--white);
}

/* ==========================================================================
   MINIMAL FOOTER WITH THIN BLUE DIVIDER
   ========================================================================== */
.site-footer {
  width: 100%;
  max-width: 1260px;
  margin: clamp(1.25rem, 2.5vh, 2rem) auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(30, 136, 249, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(30, 136, 249, 0.45);
  color: var(--white);
  font-size: 1.05rem;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 200ms ease,
              border-color 200ms ease,
              color 200ms ease,
              box-shadow 220ms ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.04);
  background: var(--blue);
  border-color: var(--blue-light);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(30, 136, 249, 0.35);
}

.social-link--yt:hover {
  background: var(--yt-red);
  border-color: var(--yt-red);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.38);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem 1.2rem;
}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  height: 36px;
  padding: 0 0.82rem;
  border-radius: 999px;
  background: rgba(30, 136, 249, 0.08);
  border: 1px solid rgba(30, 136, 249, 0.32);
  font-family: var(--font-en);
  font-size: 0.8rem;
  line-height: 1;
  color: var(--text-muted);
  transition: border-color 200ms ease, background-color 200ms ease;
}

.visitor-counter:hover {
  background: rgba(30, 136, 249, 0.14);
  border-color: rgba(30, 136, 249, 0.55);
}

.visitor-counter__icon {
  color: var(--blue);
  font-size: 0.88rem;
  flex-shrink: 0;
}

.visitor-counter__label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
}

.visitor-counter__value {
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 1.4ch;
  text-align: right;
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-subtle);
  font-weight: 400;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile — Zero Horizontal Overflow)
   ========================================================================== */
@media (max-width: 1040px) {
  :root {
    --strip-width: clamp(94px, 10vh, 118px);
  }

  .vertical-strip__handle {
    font-size: clamp(2.2rem, 10.8vh, 9rem);
    font-size: clamp(2.2rem, 10.8dvh, 9rem);
  }

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

  .left-col {
    align-items: flex-start;
  }

  .brand-showcase {
    width: 91%;
    max-width: 525px;
  }
}

@media (max-width: 768px) {
  .page-shell {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }

  .main-stage {
    min-height: auto;
    padding: 2rem 1.25rem 1.6rem;
  }

  .hero-grid {
    gap: 1.85rem;
  }

  .hero-welcome__greeting {
    font-size: clamp(1.72rem, 7.2vw, 2.35rem);
  }

  .hero-welcome__sub {
    font-size: clamp(1rem, 4.3vw, 1.25rem);
  }

  .tamil-desc {
    line-height: 1.8;
  }

  .hero-vibe {
    width: fit-content;
    max-width: 100%;
  }

  .course-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    max-width: 100%;
    gap: 0.75rem;
  }

  .course-card {
    height: 100%;
    min-width: 0;
    padding: 0.85rem 0.9rem;
    gap: 0.65rem;
  }

  .course-card > div:last-child {
    min-width: 0;
  }

  .course-card__icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .course-card__grade {
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .course-card__units {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .btn-youtube {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .right-col {
    padding: 0;
  }

  .brand-showcase {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }

  .educator-card__frame {
    width: 196px;
    height: 225px;
  }

  /* Compact Mobile-Friendly Adaptation of the Blue Branding Strip */
  .vertical-strip {
    position: relative;
    height: auto;
    width: 100%;
    padding: 0.72rem 1rem;
  }

  .vertical-strip__handle {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(1.32rem, 6.1vw, 2.05rem);
    font-weight: 900;
    letter-spacing: 0.015em;
    line-height: 1.1;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
}

@media (max-width: 420px) {
  .course-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .course-card {
    padding: 0.75rem 0.65rem;
    gap: 0.52rem;
    border-radius: 12px;
  }

  .course-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 0.92rem;
  }

  .course-card__grade {
    font-size: 0.84rem;
    letter-spacing: 0.02em;
  }

  .course-card__units {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}

/* ==========================================================================
   INTERACTIVE GRADE SYLLABUS MODAL POPUP
   ========================================================================== */
.syllabus-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.syllabus-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.syllabus-modal {
  width: min(540px, 92vw);
  max-height: 86vh;
  max-height: 86dvh;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: linear-gradient(180deg, #09152B 0%, #040914 100%);
  border: 1.5px solid rgba(30, 136, 249, 0.5);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.85),
    0 0 42px rgba(30, 136, 249, 0.22);
  color: var(--white);
  overflow: hidden;
  transform: translateY(14px) scale(0.97);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.syllabus-overlay.is-open .syllabus-modal {
  transform: translateY(0) scale(1);
}

.syllabus-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.45rem 1.1rem;
  border-bottom: 1px solid rgba(30, 136, 249, 0.28);
  background: rgba(30, 136, 249, 0.06);
  flex-shrink: 0;
}

.syllabus-modal__heading-group {
  min-width: 0;
}

.syllabus-modal__badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.14);
  border: 1px solid rgba(255, 212, 0, 0.45);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.syllabus-modal__title {
  font-family: var(--font-en);
  font-size: clamp(1.12rem, 2.2vw, 1.38rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.25;
}

.syllabus-modal__subtitle {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--blue-light);
  line-height: 1.4;
}

.syllabus-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(30, 136, 249, 0.45);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.syllabus-modal__close:hover {
  background: rgba(30, 136, 249, 0.26);
  border-color: var(--blue);
  transform: scale(1.05);
}

.syllabus-modal__body {
  padding: 1.1rem 1.45rem 1.4rem;
  overflow-y: auto;
  flex: 1;
}

.syllabus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.syllabus-unit {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  background: rgba(30, 136, 249, 0.08);
  border: 1px solid rgba(30, 136, 249, 0.26);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.syllabus-unit:hover {
  background: rgba(30, 136, 249, 0.16);
  border-color: rgba(30, 136, 249, 0.6);
  transform: translateX(3px);
}

.syllabus-unit__num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 212, 0, 0.14);
  border: 1px solid rgba(255, 212, 0, 0.42);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.syllabus-unit__name {
  font-family: var(--font-ta);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 600px) {
  .syllabus-overlay {
    padding: 0.75rem;
  }

  .syllabus-modal {
    width: 100%;
    max-height: 86dvh;
    border-radius: 16px;
  }

  .syllabus-modal__header {
    padding: 1.1rem 1.1rem 0.95rem;
  }

  .syllabus-modal__body {
    padding: 0.95rem 1.1rem 1.15rem;
  }

  .syllabus-unit {
    padding: 0.7rem 0.8rem;
    gap: 0.72rem;
  }

  .syllabus-unit__name {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-vibe::before {
    animation: none;
    opacity: 0;
  }
}
