:root {
  --slc-purple: #2b0360;
  --slc-purple-2: #4a1b83;
  --slc-purple-3: #6a34a3;
  --slc-orange: #ee661b;
  --slc-orange-2: #ff9700;
  --slc-ink: #17111f;
  --slc-muted: #6f6878;
  --slc-light: #f8f5fb;
  --slc-border: rgba(43, 3, 96, .12);
  --slc-white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(43, 3, 96, .10);
  --shadow-card: 0 16px 36px rgba(37, 10, 71, .11);
}

html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slc-ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .display-font {
  font-family: Poppins, Inter, sans-serif;
}

a { color: var(--slc-purple); }
a:hover { color: var(--slc-orange); }

.text-purple { color: var(--slc-purple) !important; }
.text-orange { color: var(--slc-orange) !important; }
.bg-soft { background: var(--slc-light); }

.topbar {
  background: var(--slc-purple);
  color: rgba(255,255,255,.92);
  font-size: .9rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ffd4ba; }

.navbar {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43,3,96,.07);
  transition: box-shadow .25s ease, background .25s ease;
}
.navbar.scrolled { box-shadow: 0 10px 28px rgba(26,4,49,.09); }
.navbar-brand img {   height: 74px; object-fit: contain; }
.nav-link {
  font-weight: 700;
  color: #32253e;
  margin: 0 .12rem;
  border-radius: 999px;
  padding: .55rem .82rem !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--slc-purple);
  background: rgba(43,3,96,.07);
}

.btn-slc {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--slc-purple);
  --bs-btn-border-color: var(--slc-purple);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3b0877;
  --bs-btn-hover-border-color: #3b0877;
  --bs-btn-active-bg: #23024f;
  --bs-btn-active-border-color: #23024f;
  border-radius: 999px;
  font-weight: 800;
  padding: .78rem 1.25rem;
  box-shadow: 0 10px 22px rgba(43,3,96,.18);
}
.btn-orange {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--slc-orange);
  --bs-btn-border-color: var(--slc-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d95311;
  --bs-btn-hover-border-color: #d95311;
  border-radius: 999px;
  font-weight: 800;
  padding: .78rem 1.25rem;
  box-shadow: 0 10px 22px rgba(238,102,27,.20);
}
.btn-outline-slc {
  border: 2px solid var(--slc-purple);
  color: var(--slc-purple);
  border-radius: 999px;
  font-weight: 800;
  padding: .72rem 1.18rem;
}
.btn-outline-slc:hover { background: var(--slc-purple); color: #fff; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,151,0,.22), transparent 29%),
    radial-gradient(circle at 8% 75%, rgba(106,52,163,.18), transparent 30%),
    linear-gradient(135deg, #fbf9fd 0%, #fff 48%, #fff6ed 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(1px);
}
.hero::before {
  width: 360px; height: 360px; right: -140px; top: 110px;
  border: 52px solid rgba(43,3,96,.055);
}
.hero::after {
  width: 210px; height: 210px; left: -80px; bottom: 45px;
  border: 34px solid rgba(238,102,27,.07);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .82rem;
  border: 1px solid rgba(238,102,27,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  color: var(--slc-purple);
  font-weight: 800;
  font-size: .9rem;
}
.hero h1 {
  font-size: clamp(2.35rem, 5.3vw, 4.75rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.045em;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--slc-purple) 5%, var(--slc-purple-3) 48%, var(--slc-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: var(--slc-muted); font-size: 1.12rem; line-height: 1.8; max-width: 700px; }
.hero-logo-wrap {
  position: relative;
  max-width: 510px;
  margin-inline: auto;
  padding: 2.2rem;
}
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 9% 3%;
  border-radius: 48% 52% 58% 42% / 44% 38% 62% 56%;
  background: linear-gradient(145deg, rgba(43,3,96,.13), rgba(238,102,27,.14));
  animation: blob 9s ease-in-out infinite;
  z-index: -1;
}
.hero-logo { width: 100%; filter: drop-shadow(0 24px 28px rgba(43,3,96,.14)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes blob { 0%,100%{border-radius:48% 52% 58% 42% / 44% 38% 62% 56%; transform:rotate(0)} 50%{border-radius:37% 63% 43% 57% / 56% 58% 42% 44%; transform:rotate(8deg)} }

.stat-chip {
  min-width: 138px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--slc-border);
  border-radius: 18px;
  padding: .85rem 1rem;
  box-shadow: var(--shadow-soft);
}
.stat-chip strong { display: block; color: var(--slc-purple); font-size: 1.12rem; }
.stat-chip span { font-size: .82rem; color: var(--slc-muted); }

.section { padding: 92px 0; }
.section-sm { padding: 66px 0; }
.section-title { max-width: 760px; margin-bottom: 2.5rem; }
.eyebrow {
  color: var(--slc-orange);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .78rem;
}
.section-title h2 {
  color: var(--slc-purple);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.035em;
}
.section-title p { color: var(--slc-muted); font-size: 1.05rem; line-height: 1.8; }

.feature-card, .course-card, .subject-card, .value-card, .contact-card, .gallery-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--slc-border);
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(43,3,96,.045);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature-card:hover, .course-card:hover, .subject-card:hover, .value-card:hover, .contact-card:hover, .gallery-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-card);
  border-color: rgba(238,102,27,.28);
}
.icon-box {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(43,3,96,.09), rgba(238,102,27,.13));
  color: var(--slc-purple);
  font-size: 1.5rem;
}
.feature-card h3, .subject-card h3 { color: var(--slc-purple); font-size: 1.05rem; font-weight: 700; }
.feature-card p, .subject-card p, .value-card p { color: var(--slc-muted); margin-bottom: 0; line-height: 1.68; }

.course-card { overflow: hidden; }
.course-card .course-top {
  padding: 1.7rem;
  background: linear-gradient(135deg, var(--slc-purple), #5b2094);
  color: #fff;
}
.course-card.orange .course-top { background: linear-gradient(135deg, #d85413, var(--slc-orange-2)); }
.course-card .course-top .class-num { font-size: 3rem; font-weight: 700; line-height: 1; }
.course-card .course-body { padding: 1.6rem; }
.course-card ul { padding-left: 0; list-style: none; }
.course-card li { padding: .45rem 0; color: #51485a; }
.course-card li i { color: var(--slc-orange); margin-right: .55rem; }

.demo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 25%, rgba(255,151,0,.35), transparent 25%),
    linear-gradient(135deg, #230250 0%, #3e097a 58%, #5b1b91 100%);
  box-shadow: 0 28px 60px rgba(43,3,96,.20);
}
.demo-panel::after { content:""; position:absolute; width:220px; height:220px; border:34px solid rgba(255,255,255,.055); border-radius:50%; right:-65px; bottom:-75px; }
.demo-panel p { color: rgba(255,255,255,.80); }

.form-control, .form-select {
  min-height: 52px;
  border-radius: 14px;
  border-color: rgba(43,3,96,.15);
  padding: .75rem .95rem;
}
textarea.form-control { min-height: 120px; }
.form-control:focus, .form-select:focus {
  border-color: rgba(43,3,96,.5);
  box-shadow: 0 0 0 .2rem rgba(43,3,96,.09);
}
.form-label { font-weight: 800; color: #382b44; }
.enquiry-card { background: #fff; border-radius: 26px; box-shadow: 0 24px 60px rgba(14,3,27,.18); padding: 1.65rem; color: var(--slc-ink); }

.page-hero {
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 88% 22%, rgba(238,102,27,.18), transparent 26%),
    linear-gradient(135deg, #fbf8ff, #fff 50%, #fff6ee);
  border-bottom: 1px solid var(--slc-border);
}
.page-hero h1 { color: var(--slc-purple); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -.045em; }
.page-hero p { max-width: 760px; color: var(--slc-muted); font-size: 1.1rem; line-height: 1.8; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; padding: .38rem 0; color: #51485a; }
.check-list i { color: var(--slc-orange); margin-top: .13rem; }

.subject-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  border-radius: 999px;
  border: 1px solid rgba(43,3,96,.12);
  background: #fff;
  padding: .52rem .8rem;
  margin: .23rem;
  font-weight: 800;
  color: var(--slc-purple);
}

.gallery-visual {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(135deg, rgba(43,3,96,.96), rgba(106,52,163,.88));
  display: grid; place-items: center;
  color: rgba(255,255,255,.92);
}
.gallery-visual.orange { background: linear-gradient(135deg, #cf4f11, #ff9a00); }
.gallery-visual i { font-size: 4rem; opacity: .86; }
.gallery-visual .photo-note { position: absolute; bottom: 14px; left: 14px; right: 14px; padding: .58rem .75rem; border-radius: 13px; background: rgba(255,255,255,.13); backdrop-filter: blur(8px); font-size: .78rem; }
.gallery-card .gallery-body { padding: 1.3rem; }

.cta-strip {
  background: linear-gradient(90deg, var(--slc-orange), var(--slc-orange-2));
  color: #fff;
  border-radius: 26px;
  padding: 1.55rem 1.7rem;
  box-shadow: 0 18px 36px rgba(238,102,27,.17);
}

.footer {
  background: #1d023f;
  color: rgba(255,255,255,.75);
  padding-top: 72px;
}
.footer h5 { color: #fff; font-weight: 700; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer a:hover { color: #ffb87d; }
.footer-logo { width: 155px; background: #fff; border-radius: 18px; padding: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 42px; padding: 18px 0; }
.social-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; margin-right: .35rem; color: #fff !important; }
.social-btn:hover { background: var(--slc-orange); border-color: var(--slc-orange); }

.floating-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 1030;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items:center;
  background: #25D366; color: #fff; text-decoration: none; font-size: 1.65rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.20);
  animation: pulse 2.8s ease-in-out infinite;
}
.floating-whatsapp:hover { color: #fff; transform: scale(1.05); }
@keyframes pulse { 0%,100%{box-shadow:0 12px 28px rgba(0,0,0,.20),0 0 0 0 rgba(37,211,102,.26)} 50%{box-shadow:0 12px 28px rgba(0,0,0,.20),0 0 0 13px rgba(37,211,102,0)} }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

.toast-slc { position: fixed; top: 92px; right: 16px; z-index: 1080; min-width: 300px; }

@media (max-width: 991.98px) {
  .hero { min-height: auto; padding: 72px 0; }
  .hero-logo-wrap { max-width: 390px; margin-top: 2rem; }
  .topbar .topbar-hide-sm { display:none; }
  .section { padding: 72px 0; }
  .navbar-collapse { padding: 1rem 0; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 2.55rem; }
  .hero-sub { font-size: 1rem; }
  .hero-logo-wrap { padding: 1.2rem; }
  .section { padding: 58px 0; }
  .page-hero { padding: 68px 0 58px; }
  .demo-panel { border-radius: 24px; }
  .stat-chip { min-width: calc(50% - .5rem); flex: 1; }
  .topbar { font-size: .8rem; }
}
