:root {
  --bg: #f7efe4;
  --bg-soft: #fffaf4;
  --surface: rgba(255, 250, 244, 0.88);
  --surface-strong: #ffffff;
  --surface-warm: #fff1df;
  --text: #1f2937;
  --muted: #5f6b7a;
  --line: rgba(31, 41, 55, 0.1);
  --primary: #d76b2c;
  --primary-deep: #b84f12;
  --secondary: #174a84;
  --secondary-soft: #dce9f8;
  --success: #2e8b57;
  --shadow: 0 22px 55px rgba(52, 32, 13, 0.12);
  --shadow-soft: 0 12px 28px rgba(52, 32, 13, 0.08);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 107, 44, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(23, 74, 132, 0.14), transparent 30%),
    linear-gradient(180deg, #fffaf4 0%, #f6ecdf 45%, #fdf8f2 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

main {
  position: relative;
}

section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 42px 0;
}

.section-shell,
.panel,
.hero-card,
.cta,
.teacher-card,
.contact-form-box,
.contact-info-box,
.card,
.why-card,
.course-card,
.about-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.section-title {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-warm);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title h1,
.section-title h2,
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-title h1,
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.7rem);
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-title p,
.hero p,
.lead,
.mission p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.site-wrap {
  position: relative;
  isolation: isolate;
}

.site-wrap::before,
.site-wrap::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
}

.site-wrap::before {
  top: 90px;
  left: -120px;
  background: rgba(215, 107, 44, 0.18);
}

.site-wrap::after {
  bottom: 80px;
  right: -100px;
  background: rgba(23, 74, 132, 0.14);
}

.header {
  width: min(calc(100% - 24px), calc(var(--max-width) + 40px));
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 14px;
  z-index: 1000;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(52, 32, 13, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 24px rgba(23, 74, 132, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong,
.logo {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--secondary);
  background: rgba(23, 74, 132, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-warm);
  color: var(--secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 16px 30px rgba(184, 79, 18, 0.24);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(184, 79, 18, 0.28);
}

.btn-outline {
  border: 1px solid rgba(23, 74, 132, 0.2);
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  transform: translateY(-2px);
  background: rgba(23, 74, 132, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 30px;
  align-items: center;
  padding-top: 36px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(23, 74, 132, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.highlight-text {
  color: var(--primary-deep);
}

.hero-highlights,
.hero-metrics,
.stats-row,
.teacher-stats {
  display: grid;
  gap: 14px;
}

.hero-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-chip,
.stat-chip {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 74, 132, 0.08);
}

.hero-chip strong,
.stat-chip strong,
.metric strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero-chip span,
.stat-chip span,
.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  padding: 18px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(23, 74, 132, 0.12), rgba(215, 107, 44, 0.08));
  box-shadow: var(--shadow);
}

.hero-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 26px;
}

.hero-badge,
.floating-note {
  position: absolute;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.hero-badge {
  top: 20px;
  right: -18px;
}

.floating-note {
  bottom: 18px;
  left: -24px;
}

.hero-badge strong,
.floating-note strong {
  display: block;
  color: var(--secondary);
}

.hero-badge span,
.floating-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.metric {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.feature-grid,
.why-grid,
.about-grid,
.course-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.why-grid,
.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.why-card,
.about-card,
.course-card {
  border-radius: var(--radius-md);
  padding: 24px;
}

.card h3,
.why-card h3,
.about-card h3,
.course-card h3,
.panel h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.card p,
.why-card p,
.about-card p,
.course-card p,
.panel p,
.contact-info-box p {
  color: var(--muted);
  line-height: 1.7;
}

.card:hover,
.why-card:hover,
.about-card:hover,
.course-card:hover {
  transform: translateY(-4px);
}

.accent-card {
  background: linear-gradient(160deg, rgba(23, 74, 132, 0.98), rgba(15, 49, 89, 0.96));
  color: #fff;
}

.accent-card p,
.accent-card .list li,
.accent-card .contact-btn span {
  color: rgba(255, 255, 255, 0.82);
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  list-style: none;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.list li::before {
  content: "\2022";
  color: var(--primary);
  font-weight: 900;
}

.youtube .video-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-card,
.contact-form-box,
.contact-info-box,
.panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact form,
.contact-form-box form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact input,
.contact textarea,
.contact-form-box input,
.contact-form-box textarea,
.login-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(31, 41, 55, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact input:focus,
.contact textarea:focus,
.contact-form-box input:focus,
.contact-form-box textarea:focus,
.login-form input:focus {
  border-color: rgba(23, 74, 132, 0.35);
  box-shadow: 0 0 0 4px rgba(23, 74, 132, 0.08);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.success-msg {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(46, 139, 87, 0.12);
  color: #1c6d42;
  font-weight: 700;
}

.success-msg.show {
  display: block;
}

.form-helper {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

#enquiry {
  scroll-margin-top: 110px;
}

.loading {
  opacity: 0.85;
  pointer-events: none;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
}

.login-section {
  min-height: calc(100vh - 210px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(100%, 520px);
}

.login-card .section-title h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-msg {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(184, 79, 18, 0.12);
  color: var(--primary-deep);
  font-weight: 800;
}

.login-msg.show {
  display: block;
}

.contact-actions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 74, 132, 0.1);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  background: rgba(23, 74, 132, 0.08);
}

.contact-btn strong {
  font-size: 1rem;
}

.contact-btn span {
  color: var(--muted);
  font-size: 0.92rem;
}

.map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.teacher-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.teacher-card img {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.teacher-copy {
  display: grid;
  gap: 14px;
}

.tag {
  color: var(--primary-deep);
  font-weight: 800;
}

.teacher-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.teacher-stats > div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.teacher-stats h3 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--secondary);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.mission {
  text-align: center;
}

.cta {
  display: grid;
  gap: 16px;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin: 12px auto 48px;
  padding: 34px 28px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(23, 74, 132, 0.95), rgba(39, 102, 170, 0.92)),
    linear-gradient(135deg, rgba(215, 107, 44, 0.12), rgba(255, 255, 255, 0.08));
  color: #fff;
  box-shadow: 0 26px 50px rgba(20, 53, 95, 0.24);
}

.cta h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  line-height: 1.7;
}

.footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto 28px;
  padding: 22px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.footer strong {
  color: var(--text);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.55rem;
  background: linear-gradient(135deg, #1fae62, #0d8d4d);
  box-shadow: 0 18px 34px rgba(13, 141, 77, 0.28);
  z-index: 999;
}

/* Stable polished UI layer */
:root {
  --bg: #f6f0e8;
  --bg-soft: #fffaf3;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-warm: #fff0d7;
  --text: #162033;
  --muted: #5d6778;
  --primary: #d86322;
  --primary-deep: #a94712;
  --secondary: #12518a;
  --secondary-soft: #dcecfb;
  --shadow: 0 22px 52px rgba(28, 48, 72, 0.13);
  --shadow-soft: 0 12px 28px rgba(28, 48, 72, 0.09);
}

body {
  font-family: "Poppins", "Manrope", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(216, 99, 34, 0.13), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(18, 81, 138, 0.12), transparent 28%),
    linear-gradient(180deg, #fffaf3 0%, #eef6fd 48%, #fff8ee 100%);
}

.section-title h1,
.section-title h2,
.hero h1,
.card h3,
.why-card h3,
.about-card h3,
.course-card h3,
.panel h3,
.teacher-stats h3,
.cta h2,
.brand-mark,
.brand-text strong,
.logo {
  font-family: "Sora", "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.section-title h1,
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.15rem);
  line-height: 1.04;
}

.section-title h2 {
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  line-height: 1.08;
}

.header,
.hero-card,
.panel,
.contact-form-box,
.contact-info-box,
.teacher-card,
.card,
.why-card,
.course-card,
.about-card,
.cta,
.footer {
  box-shadow: var(--shadow-soft);
}

.header {
  border-radius: 30px;
}

.section-shell {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
}

.hero-card,
.hero-image-frame,
.card,
.why-card,
.about-card,
.course-card,
.panel,
.contact-form-box,
.contact-info-box,
.teacher-card,
.cta {
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.card::before,
.why-card::before,
.about-card::before,
.course-card::before,
.panel::before,
.contact-form-box::before,
.contact-info-box::before,
.teacher-card::before,
.section-shell::before,
.cta::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  top: -42px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18, 81, 138, 0.1), rgba(216, 99, 34, 0.08));
  pointer-events: none;
}

.hero-image-frame {
  box-shadow: 0 26px 58px rgba(28, 48, 72, 0.14);
  animation: softFloat 6s ease-in-out infinite;
}

.hero-badge,
.floating-note {
  box-shadow: 0 16px 34px rgba(28, 48, 72, 0.12);
  animation: softFloat 7s ease-in-out infinite;
}

.floating-note {
  animation-delay: -2s;
}

.btn,
.btn-outline,
.card,
.why-card,
.about-card,
.course-card,
.contact-btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.card:hover,
.why-card:hover,
.about-card:hover,
.course-card:hover,
.contact-btn:hover,
.btn:hover,
.btn:focus-visible,
.btn-outline:hover,
.btn-outline:focus-visible {
  transform: translateY(-3px);
}

.card:hover,
.why-card:hover,
.about-card:hover,
.course-card:hover,
.contact-btn:hover {
  box-shadow: var(--shadow);
}

.hero-chip,
.stat-chip,
.metric,
.teacher-stats > div {
  box-shadow: 0 10px 22px rgba(28, 48, 72, 0.07);
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark contrast pass */
:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --surface: rgba(15, 30, 50, 0.9);
  --surface-strong: #13243a;
  --surface-warm: rgba(255, 174, 76, 0.16);
  --text: #f4f7fb;
  --muted: #c2cede;
  --line: rgba(226, 236, 248, 0.16);
  --primary: #ff9448;
  --primary-deep: #ffb15f;
  --secondary: #6ec6ff;
  --secondary-soft: rgba(110, 198, 255, 0.16);
  --success: #48d597;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.26);
}

body {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 148, 72, 0.18), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(110, 198, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #0c1a2d 46%, #091421 100%);
}

.site-wrap::before {
  background: rgba(255, 148, 72, 0.13);
}

.site-wrap::after {
  background: rgba(110, 198, 255, 0.12);
}

.header {
  background: rgba(9, 20, 34, 0.86);
  border-color: rgba(226, 236, 248, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.brand-text span,
.nav a,
.section-title p,
.hero p,
.lead,
.mission p,
.card p,
.why-card p,
.about-card p,
.course-card p,
.panel p,
.contact-info-box p,
.hero-chip span,
.stat-chip span,
.metric span,
.hero-badge span,
.floating-note span,
.contact-btn span,
.footer {
  color: var(--muted);
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
  background: rgba(110, 198, 255, 0.14);
}

.section-shell,
.panel,
.hero-card,
.teacher-card,
.contact-form-box,
.contact-info-box,
.card,
.why-card,
.course-card,
.about-card,
.footer {
  background: var(--surface);
  border-color: rgba(226, 236, 248, 0.14);
}

.hero-chip,
.stat-chip,
.metric,
.teacher-stats > div,
.hero-badge,
.floating-note,
.contact-btn {
  background: rgba(19, 36, 58, 0.86);
  border-color: rgba(226, 236, 248, 0.13);
}

.hero-badge strong,
.floating-note strong,
.teacher-stats h3,
.contact-btn strong,
.footer strong,
.highlight-text {
  color: #ffbd73;
}

.eyebrow {
  background: rgba(255, 148, 72, 0.16);
  color: #ffd099;
  border: 1px solid rgba(255, 174, 76, 0.18);
}

.btn {
  color: #111827;
  background: linear-gradient(135deg, #ffd08b, #ff9448 55%, #ff7a2f);
  box-shadow: 0 16px 34px rgba(255, 122, 47, 0.24);
}

.btn-outline {
  color: #e8f6ff;
  background: rgba(110, 198, 255, 0.1);
  border-color: rgba(110, 198, 255, 0.34);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(110, 198, 255, 0.18);
}

.accent-card {
  background: linear-gradient(160deg, #114b7a, #192d62);
  border-color: rgba(110, 198, 255, 0.18);
}

.contact input,
.contact textarea,
.contact-form-box input,
.contact-form-box textarea,
.login-form input {
  background: rgba(7, 17, 31, 0.74);
  border-color: rgba(226, 236, 248, 0.18);
  color: var(--text);
}

.contact input::placeholder,
.contact textarea::placeholder,
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder,
.login-form input::placeholder {
  color: #91a1b6;
}

.contact input:focus,
.contact textarea:focus,
.contact-form-box input:focus,
.contact-form-box textarea:focus,
.login-form input:focus {
  border-color: rgba(110, 198, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(110, 198, 255, 0.12);
}

.success-msg {
  background: rgba(72, 213, 151, 0.14);
  color: #92f0c2;
}

.login-msg {
  background: rgba(255, 148, 72, 0.16);
  color: #ffd099;
}

.cta {
  gap: 20px;
  margin: 24px auto 62px;
  padding: clamp(48px, 6vw, 76px) clamp(28px, 5vw, 64px);
  border: 1px solid rgba(226, 236, 248, 0.16);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 148, 72, 0.28), transparent 34%),
    linear-gradient(135deg, #0f3a66 0%, #111d3b 56%, #07111f 100%);
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.38);
}

.cta h2 {
  max-width: 920px;
  font-size: clamp(2.2rem, 4.7vw, 3.8rem);
  line-height: 1.06;
}

.cta p {
  max-width: 820px;
  color: #d9e5f2;
  font-size: 1.08rem;
}

/* About/contact alignment fixes */
.section-shell > .section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.teacher-card {
  align-items: stretch;
}

.teacher-card img {
  height: 100%;
  max-height: 620px;
}

.teacher-copy {
  align-content: center;
}

.contact-main {
  align-items: start;
}

.contact-form-box .section-title,
.contact-info-box .section-title {
  margin-bottom: 20px;
}

.contact-actions {
  align-content: start;
}

.contact-btn > span {
  flex: 0 0 auto;
  text-align: right;
}

/* Final premium polish and performance-friendly motion */
html {
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
}

.header {
  transform: translateZ(0);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 78%);
}

.site-wrap {
  perspective: 1200px;
}

.hero-card,
.panel,
.section-shell,
.teacher-card,
.contact-form-box,
.contact-info-box,
.login-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 34%),
    var(--surface);
}

.hero-card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    var(--shadow);
}

.hero-visual::before,
.hero-visual::after,
.section-shell::after,
.cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-visual::before {
  width: 120px;
  height: 120px;
  right: -12px;
  top: -26px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 208, 139, 0.95), rgba(255, 122, 47, 0.72)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.35), transparent);
  box-shadow: 24px 28px 48px rgba(0, 0, 0, 0.24);
  opacity: 0.88;
  transform: rotateX(58deg) rotateZ(35deg) translateZ(22px);
  animation: cubeDrift 7s ease-in-out infinite;
}

.hero-visual::after {
  width: 138px;
  height: 84px;
  left: -28px;
  bottom: 96px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(110, 198, 255, 0.86), rgba(22, 71, 126, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent);
  box-shadow: 18px 24px 38px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  transform: rotateX(54deg) rotateZ(-18deg);
  animation: slabFloat 8s ease-in-out infinite;
}

.section-shell::after {
  width: 150px;
  height: 150px;
  right: 8%;
  bottom: -54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 22%),
    linear-gradient(135deg, rgba(110, 198, 255, 0.5), rgba(255, 148, 72, 0.36));
  filter: blur(0.2px);
  opacity: 0.42;
  transform: rotateX(62deg);
  animation: orbLift 9s ease-in-out infinite;
}

.cta::after {
  width: 190px;
  height: 190px;
  right: -54px;
  bottom: -74px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255, 208, 139, 0.32), rgba(110, 198, 255, 0.16));
  transform: rotateX(62deg) rotateZ(28deg);
}

.brand {
  flex-shrink: 0;
}

.brand-mark {
  flex: 0 0 auto;
}

.nav a,
.btn,
.btn-outline,
.contact-btn {
  will-change: transform;
}

.section-title {
  max-width: 920px;
}

.section-title h1,
.section-title h2,
.hero h1,
.cta h2 {
  text-wrap: balance;
}

.section-title p,
.hero p,
.lead,
.card p,
.why-card p,
.about-card p,
.course-card p,
.panel p,
.cta p {
  text-wrap: pretty;
}

.card,
.why-card,
.about-card,
.course-card,
.panel,
.contact-form-box,
.contact-info-box,
.teacher-card,
.section-shell {
  transform: translateZ(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card,
.why-card,
.about-card,
.course-card,
.hero-chip,
.metric,
.teacher-stats > div,
.contact-btn {
  border: 1px solid rgba(226, 236, 248, 0.14);
}

.card:hover,
.why-card:hover,
.about-card:hover,
.course-card:hover {
  transform: translateY(-5px) rotateX(1deg);
}

.course-card .btn {
  margin-top: 18px;
}

.nav a:focus-visible,
.btn:focus-visible,
.btn-outline:focus-visible,
.menu-toggle:focus-visible,
.contact-btn:focus-visible,
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(255, 208, 139, 0.72);
  outline-offset: 3px;
}

.whatsapp-float {
  overflow: hidden;
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes cubeDrift {
  0%,
  100% {
    transform: rotateX(58deg) rotateZ(35deg) translate3d(0, 0, 22px);
  }
  50% {
    transform: rotateX(62deg) rotateZ(48deg) translate3d(-8px, -12px, 34px);
  }
}

@keyframes slabFloat {
  0%,
  100% {
    transform: rotateX(54deg) rotateZ(-18deg) translateY(0);
  }
  50% {
    transform: rotateX(58deg) rotateZ(-8deg) translateY(-12px);
  }
}

@keyframes orbLift {
  0%,
  100% {
    transform: rotateX(62deg) translateY(0) scale(1);
  }
  50% {
    transform: rotateX(62deg) translateY(-14px) scale(1.05);
  }
}

/* Light-first premium theme */
:root {
  --bg: #f6f9ff;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-warm: #fff4e7;
  --text: #101827;
  --muted: #556276;
  --line: rgba(16, 24, 39, 0.12);
  --primary: #f0782d;
  --primary-deep: #c45416;
  --secondary: #155aa6;
  --secondary-soft: rgba(21, 90, 166, 0.1);
  --success: #1f9d62;
  --shadow: 0 28px 70px rgba(30, 64, 112, 0.14);
  --shadow-soft: 0 14px 34px rgba(30, 64, 112, 0.1);
}

body {
  background:
    radial-gradient(circle at 10% 7%, rgba(240, 120, 45, 0.15), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(21, 90, 166, 0.13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 48%, #fff8f1 100%);
}

body::before {
  background:
    linear-gradient(rgba(21, 90, 166, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 90, 166, 0.045) 1px, transparent 1px);
}

.site-wrap::before {
  background: rgba(240, 120, 45, 0.16);
}

.site-wrap::after {
  background: rgba(21, 90, 166, 0.13);
}

.header {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(21, 90, 166, 0.12);
  box-shadow: 0 18px 46px rgba(30, 64, 112, 0.12);
}

.section-shell,
.panel,
.hero-card,
.teacher-card,
.contact-form-box,
.contact-info-box,
.card,
.why-card,
.course-card,
.about-card,
.footer,
.hero-chip,
.stat-chip,
.metric,
.teacher-stats > div,
.hero-badge,
.floating-note,
.contact-btn {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    var(--surface);
  border-color: rgba(21, 90, 166, 0.12);
}

.brand-text span,
.nav a,
.section-title p,
.hero p,
.lead,
.mission p,
.card p,
.why-card p,
.about-card p,
.course-card p,
.panel p,
.contact-info-box p,
.hero-chip span,
.stat-chip span,
.metric span,
.hero-badge span,
.floating-note span,
.contact-btn span,
.footer {
  color: var(--muted);
}

.highlight-text,
.hero-badge strong,
.floating-note strong,
.teacher-stats h3,
.contact-btn strong,
.footer strong {
  color: var(--primary-deep);
}

.nav a:hover,
.nav a.active {
  color: var(--secondary);
  background: rgba(21, 90, 166, 0.1);
}

.eyebrow {
  background: rgba(240, 120, 45, 0.12);
  color: var(--primary-deep);
  border: 1px solid rgba(240, 120, 45, 0.16);
}

.btn {
  color: #ffffff;
  background: linear-gradient(135deg, #ff9448, #f0782d 54%, #c45416);
  box-shadow: 0 16px 34px rgba(196, 84, 22, 0.22);
}

.btn-outline {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(21, 90, 166, 0.24);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(21, 90, 166, 0.08);
}

.accent-card {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 188, 117, 0.34), transparent 30%),
    linear-gradient(160deg, #155aa6, #0f3973);
  border-color: rgba(21, 90, 166, 0.18);
}

.contact input,
.contact textarea,
.contact-form-box input,
.contact-form-box textarea,
.login-form input {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(16, 24, 39, 0.13);
  color: var(--text);
}

.contact input::placeholder,
.contact textarea::placeholder,
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder,
.login-form input::placeholder {
  color: #7b8798;
}

.cta {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 188, 117, 0.36), transparent 34%),
    linear-gradient(135deg, #155aa6 0%, #143b75 58%, #101827 100%);
}

.menu-toggle {
  background: rgba(21, 90, 166, 0.1);
  color: var(--secondary);
}

/* Final readability and 3D depth pass */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-text strong,
.logo,
.hero-chip strong,
.stat-chip strong,
.metric strong,
.contact-btn strong {
  color: var(--text);
}

.accent-card,
.accent-card h1,
.accent-card h2,
.accent-card h3,
.accent-card h4,
.accent-card strong,
.accent-card .highlight-text,
.cta,
.cta h1,
.cta h2,
.cta h3,
.cta strong {
  color: #ffffff;
}

.accent-card p,
.accent-card span,
.accent-card li,
.accent-card .list li,
.accent-card .contact-btn span,
.cta p,
.cta span,
.cta li {
  color: rgba(255, 255, 255, 0.9);
}

.accent-card .btn,
.cta .btn {
  color: #ffffff;
  background: linear-gradient(135deg, #ff9a4d, #f0782d 55%, #c45416);
  box-shadow: 0 18px 38px rgba(9, 20, 34, 0.22);
}

.section-shell,
.panel,
.hero-card,
.teacher-card,
.contact-form-box,
.contact-info-box,
.card,
.why-card,
.course-card,
.about-card,
.hero-chip,
.metric,
.teacher-stats > div,
.contact-btn {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 18px 42px rgba(30, 64, 112, 0.11),
    0 42px 90px rgba(30, 64, 112, 0.08);
}

.card,
.why-card,
.about-card,
.course-card,
.panel {
  transform-style: preserve-3d;
}

.card::after,
.why-card::after,
.about-card::after,
.course-card::after {
  content: "";
  position: absolute;
  inset: auto 18px -12px 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(30, 64, 112, 0.13);
  filter: blur(12px);
  opacity: 0.75;
  pointer-events: none;
}

.hero-image-frame {
  transform-style: preserve-3d;
  box-shadow:
    0 28px 70px rgba(30, 64, 112, 0.18),
    20px 28px 0 rgba(21, 90, 166, 0.08);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 26px -10px -14px 34px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(21, 90, 166, 0.18), rgba(240, 120, 45, 0.16));
  transform: translateZ(-42px) rotateZ(2deg);
}

.hero-card > *,
.panel > *,
.section-shell > *,
.teacher-card > *,
.contact-form-box > *,
.contact-info-box > *,
.card > *,
.why-card > *,
.about-card > *,
.course-card > *,
.cta > * {
  position: relative;
  z-index: 1;
}

.nav a,
.btn,
.btn-outline,
.contact-btn,
.menu-toggle {
  color: inherit;
}

.btn,
.btn:hover,
.btn:focus-visible {
  color: #ffffff;
}

.btn-outline,
.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--secondary);
}

input,
textarea,
select {
  color: var(--text);
}

::selection {
  color: #ffffff;
  background: var(--secondary);
}

.dynamic-course-grid {
  align-items: stretch;
}

.dynamic-course-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.course-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--secondary-soft);
}

.course-card-body {
  display: grid;
  gap: 14px;
  padding: 24px;
  height: 100%;
}

.course-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.course-price-original {
  color: var(--muted);
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.course-price-discounted {
  color: var(--primary-deep);
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.course-actions .btn,
.course-actions .btn-outline {
  min-height: 44px;
  padding-inline: 18px;
}

.empty-course-state {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: var(--radius-md);
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.hero-gallery-slider {
  position: relative;
  overflow: hidden;
}

.hero-gallery-slider img {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-gallery-slider.is-fading img {
  opacity: 0.18;
  transform: scale(1.02);
}

.hero-gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(16, 24, 39, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: 0.92rem;
}

.gallery-section {
  padding: 34px 0 72px;
}

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

.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--secondary-soft);
}

.gallery-card-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.gallery-card-body h3 {
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.gallery-card-body .btn-outline {
  width: fit-content;
  min-height: 42px;
  padding-inline: 18px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.gallery-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 39, 0.62);
  backdrop-filter: blur(10px);
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(88vh, 820px);
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 0.9fr);
  overflow: auto;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}

.gallery-modal.active .gallery-modal-panel {
  transform: translateY(0) scale(1);
}

.gallery-modal-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: var(--secondary-soft);
}

.gallery-modal-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.gallery-modal-copy h2 {
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.gallery-modal-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-modal-open {
  overflow: hidden;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.course-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.course-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 39, 0.58);
  backdrop-filter: blur(10px);
}

.course-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  overflow: auto;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}

.course-modal.active .course-modal-panel {
  transform: translateY(0) scale(1);
}

.course-modal-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: var(--secondary-soft);
}

.course-modal-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.course-modal-copy h2 {
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.course-modal-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.course-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.course-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .course-modal {
    padding: 12px;
  }

  .course-modal-panel {
    grid-template-columns: 1fr;
    max-height: 88vh;
    border-radius: 20px;
  }

  .course-modal-panel img {
    min-height: 220px;
    max-height: 280px;
  }

  .course-actions {
    flex-direction: column;
  }

  .course-actions .btn,
  .course-actions .btn-outline,
  .course-modal-copy .btn {
    width: 100%;
  }

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

  .gallery-modal {
    padding: 12px;
  }

  .gallery-modal-panel {
    grid-template-columns: 1fr;
    max-height: 88vh;
    border-radius: 20px;
  }

  .gallery-modal-panel img {
    min-height: 240px;
    max-height: 320px;
  }

  .gallery-card-body .btn-outline {
    width: 100%;
  }
}

/* Final performance overrides */
html {
  scroll-behavior: auto !important;
}

body::before,
.site-wrap::before,
.site-wrap::after,
.hero-visual::before,
.hero-visual::after,
.section-shell::after,
.cta::after,
.card::after,
.why-card::after,
.about-card::after,
.course-card::after {
  display: none !important;
}

*,
*::before,
*::after {
  animation: none !important;
}

.header,
.section-shell,
.panel,
.hero-card,
.teacher-card,
.contact-form-box,
.contact-info-box,
.card,
.why-card,
.course-card,
.about-card,
.footer,
.hero-chip,
.stat-chip,
.metric,
.teacher-stats > div,
.hero-badge,
.floating-note,
.contact-btn,
.hero-gallery-caption,
.course-modal-backdrop,
.gallery-modal-backdrop {
  backdrop-filter: none !important;
}

.reveal,
.reveal.in-view,
.hero-gallery-slider img,
.hero-gallery-slider.is-fading img,
.gallery-modal,
.gallery-modal-panel,
.course-modal,
.course-modal-panel,
.btn,
.btn-outline,
.card,
.why-card,
.about-card,
.course-card,
.contact-btn,
.nav a,
.contact input,
.contact textarea,
.contact-form-box input,
.contact-form-box textarea,
.login-form input {
  transition: none !important;
  transform: none !important;
}

.nav a,
.btn,
.btn-outline,
.contact-btn {
  will-change: auto !important;
}

section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.header,
.hero,
.hero-card,
.hero-visual,
.course-modal,
.gallery-modal {
  content-visibility: visible;
}
