:root {
  --bg: #f6f1e7;
  --surface: #fffdf8;
  --ink: #1e2c2b;
  --soft: #5a6b67;
  --primary: #0f5a3b;
  --accent: #b98746;
  --line: #d9ccb3;
  --ok: #168a57;
}

body.model-classic {
  --bg: #f6f1e7;
  --surface: #fffdf8;
  --ink: #1e2c2b;
  --soft: #5a6b67;
  --primary: #0f5a3b;
  --accent: #b98746;
  --line: #d9ccb3;
  --ok: #168a57;
}

body.model-emerald {
  --bg: #edf7f3;
  --surface: #fbfffd;
  --ink: #14332b;
  --soft: #46685d;
  --primary: #0f6f52;
  --accent: #5ab08a;
  --line: #bfdcd0;
  --ok: #1a9c67;
}

body.model-ocean {
  --bg: #edf3f9;
  --surface: #fbfdff;
  --ink: #14273b;
  --soft: #4d6278;
  --primary: #185782;
  --accent: #3d90c2;
  --line: #c0d5e6;
  --ok: #1e789f;
}

body.model-sunset {
  --bg: #faf1ec;
  --surface: #fffdfb;
  --ink: #37221e;
  --soft: #6f4f48;
  --primary: #9a4a2a;
  --accent: #d98f5f;
  --line: #e3c7b9;
  --ok: #b3603e;
}

body.model-royal {
  --bg: #f1effa;
  --surface: #fffefe;
  --ink: #251f3b;
  --soft: #5f5980;
  --primary: #40307f;
  --accent: #7d68c6;
  --line: #d1c8ea;
  --ok: #5e49ad;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 135, 70, 0.18), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(15, 90, 59, 0.14), transparent 24%),
    var(--bg);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
}

body::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(185, 135, 70, 0.3), rgba(185, 135, 70, 0));
  animation: floatOrbOne 12s ease-in-out infinite;
}

body::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -90px;
  background: radial-gradient(circle, rgba(15, 90, 59, 0.28), rgba(15, 90, 59, 0));
  animation: floatOrbTwo 14s ease-in-out infinite;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 244, 235, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  animation: headerSlideIn 0.7s ease;
}

.top,
.nav,
.wrap,
.footer {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0 0.3rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-shell {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #000;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 204, 179, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.logo-shell img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.logo-white {
  display: none;
}

.logo-shell.small {
  width: 54px;
  height: 54px;
}

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

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--soft);
  font-size: 0.78rem;
}

.langs { display: flex; gap: 0.35rem; align-items: center; }

.theme-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.lang {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  transition: transform 0.22s ease;
}
.lang.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.lang:hover,
.theme-toggle:hover { transform: translateY(-1px); }

.theme-model {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  max-width: 110px;
}

.nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.2rem 0 0.9rem;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.2rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--primary);
  transition: transform 0.25s ease;
}
.nav a:hover {
  color: var(--primary);
  background: rgba(15, 90, 59, 0.08);
}
.nav a:hover::after { transform: scaleX(1); }

.nav a.active {
  color: #fff;
  background: linear-gradient(130deg, #0f5a3b, #083f29);
}

.wrap { padding: 2rem 0 3rem; display: grid; gap: 1.2rem; }

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 1.15rem;
  box-shadow: 0 12px 28px rgba(30, 44, 43, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: cardLiftIn 0.6s ease both;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(30, 44, 43, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(250, 243, 228, 0.85)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(15, 90, 59, 0.03) 12px,
      rgba(15, 90, 59, 0.03) 16px
    );
}

.hero::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 50%;
  height: 300%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
  animation: heroShine 7s linear infinite;
}

.hero h1 {
  margin: 0.45rem 0 0.45rem;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  font-family: "Alegreya", Georgia, serif;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  background: linear-gradient(130deg, #0f5a3b, #083f29);
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -120%;
  width: 55%;
  height: 220%;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.24);
  transition: left 0.45s ease;
}

.btn:hover::after { left: 130%; }

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

.quick-link {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  background: linear-gradient(150deg, #fff, #f8f2e5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(27, 39, 37, 0.13);
}

.quick-link h3 {
  margin: 0;
  color: var(--primary);
}

.quick-link p {
  margin: 0.35rem 0 0;
  color: var(--soft);
}

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

.course-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(155deg, #fff, #f8f2e5);
}

.course-card h3 {
  margin: 0.15rem 0 0.3rem;
  font-family: "Alegreya", Georgia, serif;
}

.course-card p {
  margin: 0;
  color: var(--soft);
}

.course-meta {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.course-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.14rem 0.52rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.86);
}

.enroll-status {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.6rem;
}

.enroll-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: linear-gradient(160deg, #fff, #f7f1e6);
}

.enroll-card h3 {
  margin: 0 0 0.38rem;
  color: var(--primary);
}

.enroll-card p {
  margin: 0.2rem 0;
}

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

.sponsor-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(155deg, #fff, #f8f2e5);
  box-shadow: 0 10px 20px rgba(20, 32, 31, 0.08);
}

.sponsor-card h3 {
  margin: 0;
  color: var(--primary);
}

.sponsor-card .price {
  margin: 0.38rem 0 0.45rem;
  color: var(--accent);
  font-family: "Alegreya", Georgia, serif;
  font-size: 1.45rem;
}

.sponsor-card p {
  margin: 0;
  color: var(--soft);
}

.impact-band {
  background:
    linear-gradient(135deg, rgba(15, 90, 59, 0.12), rgba(185, 135, 70, 0.2)),
    var(--surface);
}

.character-zone {
  position: relative;
  overflow: hidden;
}

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

.character-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(160deg, #fff, #f7f1e7);
  text-align: center;
}

.character-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 0.65rem;
  position: relative;
  animation: bobCharacter 3s ease-in-out infinite;
  box-shadow: inset -8px -10px 20px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(20, 32, 30, 0.15);
}

.character-avatar::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 28px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  border-radius: 0 0 20px 20px;
  background: rgba(255, 255, 255, 0.3);
}

.c-guide { background: radial-gradient(circle at 30% 25%, #f6f6f6, #8ba8d9 70%); animation-delay: 0s; }
.c-care { background: radial-gradient(circle at 30% 25%, #fff2df, #d3855b 70%); animation-delay: 0.35s; }
.c-dawah { background: radial-gradient(circle at 30% 25%, #e7ffe8, #4aa675 70%); animation-delay: 0.7s; }

.eyes {
  position: absolute;
  width: 28px;
  height: 8px;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.eyes::before,
.eyes::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #112;
  animation: blinkEyes 4.2s infinite;
}

.eyes::before { left: 0; }
.eyes::after { right: 0; }

.bot-btn {
  margin-top: 0.3rem;
  display: inline-block;
}
.btn.alt {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

h2 {
  margin: 0.1rem 0 0.7rem;
  font-family: "Alegreya", Georgia, serif;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(15, 90, 59, 0.13), rgba(185, 135, 70, 0.2));
  border: 1px solid rgba(15, 90, 59, 0.16);
}

.icon-badge svg {
  width: 19px;
  height: 19px;
  fill: var(--primary);
}

h3 { margin: 0.1rem 0 0.4rem; }

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

.kpi-strip article {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #fff, #f6f1e6);
  border-radius: 14px;
  padding: 0.9rem 0.6rem;
  text-align: center;
  animation: softPulse 4s ease-in-out infinite;
}

.kpi-strip article:nth-child(2) { animation-delay: 0.4s; }
.kpi-strip article:nth-child(3) { animation-delay: 0.8s; }
.kpi-strip article:nth-child(4) { animation-delay: 1.2s; }

.feature-box {
  animation: floatingCard 5s ease-in-out infinite;
}

.feature-box:nth-child(2) { animation-delay: 0.6s; }
.feature-box:nth-child(3) { animation-delay: 1.2s; }
.feature-box:hover { animation-play-state: paused; }

.kpi-strip h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.35rem;
}

.kpi-strip p {
  margin: 0.22rem 0 0;
  color: var(--soft);
  font-weight: 600;
}

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

.feature-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(150deg, #fff, #faf6ef);
}

.feature-box h3 {
  font-family: "Alegreya", Georgia, serif;
  line-height: 1.3;
  margin: 0.3rem 0 0.35rem;
}

.contact-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  background:
    linear-gradient(135deg, rgba(15, 90, 59, 0.1), rgba(185, 135, 70, 0.14)),
    var(--surface);
}

.contact-ribbon article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
}

.contact-ribbon h3 {
  margin: 0;
  font-size: 1rem;
}

.contact-ribbon p {
  margin: 0.2rem 0 0;
  color: var(--soft);
}

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

.cols {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1.5rem;
}

ul li {
  margin-bottom: 0.35rem;
}

.form {
  display: grid;
  gap: 0.6rem;
}
.form.compact { grid-template-columns: 1fr 1fr; }
.form.compact textarea,
.form.compact button,
.form.compact .chips { grid-column: 1 / -1; }

input, select, textarea, button {
  font: inherit;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: #fff;
}
button {
  border: none;
  border-radius: 10px;
  padding: 0.58rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(140deg, var(--primary), #0a422b);
  color: #fff;
}

.chips { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.chip {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.small { color: var(--soft); font-size: 0.9rem; }

.small a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.gallery-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-tile {
  min-height: 132px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 26px rgba(24, 35, 33, 0.14);
}

.gallery-tile img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 0.68rem 0.72rem 0.72rem;
  background: linear-gradient(160deg, #ffffff, #f5efe2);
}

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

.blog-post-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #fff, #f7f1e5);
}

.blog-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-post-content {
  padding: 0.75rem;
}

.blog-post-content h3 {
  margin: 0.2rem 0 0.4rem;
}

.blog-post-content p {
  margin: 0.2rem 0;
}

.gallery-tile h3 {
  margin: 0;
  color: var(--ink);
}

.gallery-tile p {
  margin: 0.22rem 0 0;
  color: var(--soft);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.contact-cards article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem;
  background: linear-gradient(150deg, #fff, #f8f2e7);
}

.contact-cards h3 {
  margin: 0;
}

.contact-cards p,
.contact-cards a {
  margin: 0.25rem 0 0;
  color: var(--soft);
  text-decoration: none;
  font-weight: 700;
  word-break: break-word;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.social-row a,
.footer-social a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.78);
}

.map-embed {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 0.35rem 0 0.7rem;
}

.map-embed iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(150deg, #0b1311, #101b18);
  padding: 1.2rem 0 2rem;
  color: #d8e1de;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand p {
  margin: 0;
  color: #d8e1de;
}

.footer-social {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer .logo-shell {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.footer .logo-shell.small {
  width: 62px;
  height: 62px;
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-logo {
  display: block;
  width: 96%;
  height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--ok);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

.whatsapp-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 40;
  text-decoration: none;
  background: #0ea765;
  color: #fff;
  font-weight: 700;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

body.theme-dark .whatsapp-fab {
  background: #18b978;
}

.reveal { opacity: 0; transform: translateY(14px); transition: 0.6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

body.motion-low * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.12s !important;
}

body.motion-high .card {
  animation-duration: 0.95s;
}

body.motion-high .feature-box,
body.motion-high .kpi-strip article,
body.motion-high .character-avatar {
  animation-duration: 2.7s;
}

body.theme-dark {
  --bg: #0f1614;
  --surface: #15201d;
  --ink: #e4eeea;
  --soft: #a5bcb4;
  --primary: #2aa071;
  --accent: #e6bb6b;
  --line: #2a3d37;
  --ok: #36b983;
  background:
    radial-gradient(circle at 8% 0%, rgba(230, 187, 107, 0.08), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(42, 160, 113, 0.13), transparent 26%),
    var(--bg);
}

body.theme-dark .header {
  background: rgba(9, 14, 12, 0.9);
}

body.theme-dark .nav a {
  color: #dce9e4;
}

body.theme-dark .nav a:hover {
  background: rgba(230, 187, 107, 0.12);
  color: #f1d08e;
}

body.theme-dark .nav a::after {
  background: #f1d08e;
}

body.theme-dark .nav a.active {
  color: #0e1916;
  background: linear-gradient(135deg, #f1d08e, #d5aa5d);
}

body.theme-dark .card {
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

body.theme-dark .icon-badge {
  background: linear-gradient(145deg, rgba(42, 160, 113, 0.22), rgba(230, 187, 107, 0.2));
  border-color: rgba(230, 187, 107, 0.28);
}

body.theme-dark .icon-badge svg {
  fill: #f1d08e;
}

body.theme-dark .hero,
body.theme-dark .kpi-strip article,
body.theme-dark .feature-box,
body.theme-dark .contact-ribbon article,
body.theme-dark .contact-cards article,
body.theme-dark .quick-link,
body.theme-dark .course-card,
body.theme-dark .sponsor-card,
body.theme-dark .enroll-card,
body.theme-dark .blog-post-card,
body.theme-dark .impact-band,
body.theme-dark .character-card {
  background:
    linear-gradient(145deg, rgba(20, 33, 29, 0.95), rgba(16, 27, 23, 0.9)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(230, 187, 107, 0.04) 12px,
      rgba(230, 187, 107, 0.04) 16px
    );
}

body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea {
  background: #0e1815;
  color: var(--ink);
}

body.theme-dark .lang,
body.theme-dark .theme-toggle,
body.theme-dark .theme-model,
body.theme-dark .btn.alt,
body.theme-dark .chip,
body.theme-dark .course-meta span,
body.theme-dark .social-row a,
body.theme-dark .footer-social a {
  background: #101a17;
  color: #dce9e4;
  border-color: var(--line);
}

body.theme-dark .small a {
  color: #f1d08e;
}

body.theme-dark .gallery-tile {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.35);
}

body.theme-dark .gallery-caption {
  background: linear-gradient(165deg, rgba(20, 32, 28, 0.95), rgba(16, 26, 23, 0.94));
}

body.theme-dark .logo-color {
  display: none;
}

body.theme-dark .logo-white {
  display: block;
}

body.lang-ur { font-family: "Noto Nastaliq Urdu", "Source Sans 3", sans-serif; }
body.lang-ar { direction: rtl; }

@media (max-width: 820px) {
  .grid.two, .form.compact, .feature-grid, .gallery-grid, .quick-grid, .character-grid, .course-grid, .sponsor-grid, .blog-feed { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-ribbon,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .cols { columns: 1; }
  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .brand-copy strong {
    font-size: 0.95rem;
  }
  .footer-social {
    margin-top: 0.8rem;
  }
}

body.theme-dark.model-emerald { --primary: #33b987; --accent: #9de2c8; }
body.theme-dark.model-ocean { --primary: #55a7de; --accent: #9dd3f2; }
body.theme-dark.model-sunset { --primary: #e28957; --accent: #f2be96; }
body.theme-dark.model-royal { --primary: #8a76da; --accent: #c3b6f4; }

@keyframes heroShine {
  0% { left: -120%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

@keyframes floatOrbOne {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(16px) translateX(-12px); }
}

@keyframes floatOrbTwo {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(14px); }
}

@keyframes softPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(15, 90, 59, 0); }
  50% { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 90, 59, 0.16); }
}

@keyframes floatingCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes cardLiftIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bobCharacter {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes blinkEyes {
  0%, 46%, 50%, 100% { transform: scaleY(1); }
  48% { transform: scaleY(0.15); }
}

@keyframes headerSlideIn {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
