/* kolartacademy.com: the public website. Builds on app.css (colours, fonts, buttons, form fields). */
@font-face { font-family: "Amiri"; src: url("../fonts/amiri-bold.woff") format("woff"); font-weight: 400 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
html:has(body.site), body.site { overflow-x: clip; }
body.site { background: #f6f4ec; color: var(--text); }
body.site .skip { inset-inline-start: 8px; left: auto; }
body.site .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.site-dv { font-family: "Noto Sans Thaana", "Faruma", "MV Boli", var(--font); }
body.site-dv h1, body.site-dv h2, body.site-dv h3 { font-family: "Noto Sans Thaana", "Faruma", var(--display); letter-spacing: 0; }
.st-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Header */
.st-head { background: var(--reef); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.st-bar { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.st-brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; }
.st-brand img { height: 38px; width: auto; }
.st-nav { display: flex; gap: 4px; margin-inline: auto; }
.st-nav a { color: var(--reef-text); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 13px; border-radius: 99px; }
.st-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.st-nav a.is-on { color: #fff; background: rgba(255,255,255,.12); }
.st-actions { display: flex; align-items: center; gap: 10px; }
.st-lang { color: var(--sand); font-weight: 700; text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.st-lang[lang="dv"] { font-family: "Noto Sans Thaana", "Faruma", sans-serif; font-size: 15px; }
.st-lang:hover { background: rgba(255,255,255,.08); }
.st-head .st-signin { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.st-head .st-signin:hover { background: rgba(255,255,255,.08); }
.st-cta, .st-btn-sand { background: var(--sand); color: var(--reef); border-color: var(--sand); }
.st-cta:hover, .st-btn-sand:hover { background: #f1e2b4; color: var(--reef); }
.st-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); border-color: transparent; }
.st-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.st-menu-btn { display: none; align-items: center; gap: 6px; margin-inline-start: auto; background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 99px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 1060px) {
  .st-bar { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .st-menu-btn { display: inline-flex; }
  .st-nav { display: none; order: 5; flex: 1 0 100%; flex-direction: column; margin: 0; padding-bottom: 6px; }
  .st-head.nav-open .st-nav { display: flex; }
  .st-nav a { border-radius: 10px; padding: 11px 12px; }
  .st-actions { order: 4; flex: 1 0 100%; justify-content: flex-start; }
  .st-head:not(.nav-open) .st-actions { display: none; }
}

/* Patterned bands */
.st-pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 96px 96px; opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 85%); mask-image: linear-gradient(to left, #000 20%, transparent 85%); }
.site-dv .st-pattern { -webkit-mask-image: linear-gradient(to right, #000 20%, transparent 85%); mask-image: linear-gradient(to right, #000 20%, transparent 85%); }
.st-hero, .st-page-head, .st-band { position: relative; background: var(--reef); color: #fff; overflow: hidden; }

/* Hero slider */
.st-hero { padding: 0; }
.st-slider { min-height: clamp(600px, 100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  background: radial-gradient(120% 80% at 85% 10%, #1d6a4c 0%, transparent 55%), radial-gradient(90% 70% at 0% 100%, #0c4f5c 0%, transparent 60%), var(--reef); }
.st-slider > .st-pattern { opacity: .1; }
.st-glow { position: absolute; width: 60vmax; height: 60vmax; inset-inline-end: -18vmax; top: -22vmax; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(234,217,168,.28), transparent 62%); animation: st-drift 18s ease-in-out infinite alternate; }
@keyframes st-drift { to { transform: translate(-8vmax, 10vmax) scale(1.15); } }
.st-slides { position: absolute; inset: 0; }
.st-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.st-slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.st-slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.st-slide.is-on img.st-slide-media { animation: st-kenburns 11s ease-out forwards; }
@keyframes st-kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.st-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,36,27,.92) 0%, rgba(8,36,27,.45) 45%, rgba(8,36,27,.25) 100%), linear-gradient(to right, rgba(8,36,27,.65), transparent 70%); }
.site-dv .st-shade { background: linear-gradient(to top, rgba(8,36,27,.92) 0%, rgba(8,36,27,.45) 45%, rgba(8,36,27,.25) 100%), linear-gradient(to left, rgba(8,36,27,.65), transparent 70%); }
.st-slide-text { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 190px; }
.st-slide-text > * { max-width: 680px; opacity: 0; transform: translateY(26px); }
.st-slide.is-on .st-slide-text > * { animation: st-up .9s cubic-bezier(.2,.7,.2,1) forwards; }
.st-slide.is-on .st-slide-text > :nth-child(2) { animation-delay: .12s; }
.st-slide.is-on .st-slide-text > :nth-child(3) { animation-delay: .26s; }
@keyframes st-up { to { opacity: 1; transform: none; } }
.st-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--sand); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 18px; }
.st-eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.site-dv .st-eyebrow { letter-spacing: 0; font-size: 15px; }
.st-display { font-family: var(--display); font-size: clamp(40px, 6.6vw, 82px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; color: #fff; font-weight: 600; }
.st-display em { font-style: normal; background: linear-gradient(100deg, var(--sand) 10%, #fff6d6 45%, #d9b968 80%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: st-shimmer 6s linear infinite; }
@keyframes st-shimmer { to { background-position: -200% 0; } }
.site-dv .st-display { line-height: 1.4; letter-spacing: 0; font-size: clamp(34px, 5.4vw, 64px); }
.st-lede { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--reef-text); max-width: 56ch; margin: 0; }
.st-hero-foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 104px; }
.st-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.st-hero-btns .btn { min-height: 52px; padding-inline: 26px; font-size: 16px; border-radius: 99px; }
.st-controls { display: flex; align-items: center; gap: 10px; }
.st-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 18px; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s, border-color .2s; }
.st-arrow:hover { background: var(--sand); color: var(--reef); border-color: var(--sand); transform: scale(1.06); }
.st-arrow:focus-visible, .st-dot:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.st-pause { font-size: 12px; letter-spacing: -2px; } .st-pause .g { display: none; letter-spacing: 0; }
.st-slider.is-paused .st-pause .p { display: none; } .st-slider.is-paused .st-pause .g { display: inline; }
.st-dots { display: flex; gap: 6px; padding-inline: 4px; }
.st-dot { width: 34px; height: 30px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; align-items: center; }
.st-dot i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.st-dot i::after { content: ""; position: absolute; inset: 0; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.site-dv .st-dot i::after { transform-origin: right; }
.st-dot.is-done i::after { transform: scaleX(1); }
.st-dot.is-on i::after { animation: st-fill var(--dur, 7s) linear forwards; }
.st-slider.is-paused .st-dot.is-on i::after { animation-play-state: paused; }
@keyframes st-fill { to { transform: scaleX(1); } }
.st-scroll { position: absolute; z-index: 3; left: 50%; bottom: 62px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.st-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sand); animation: st-scrolldot 1.8s ease-in-out infinite; }
@keyframes st-scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) { .st-scroll { display: none; } .st-slide-text { padding-bottom: 230px; padding-top: 96px; } .st-hero-foot { padding-bottom: 84px; } }

/* Designed slides (used until photos are uploaded) */
.st-art { position: absolute; inset-block: 0; right: 0; left: auto; width: min(54%, 720px); display: grid; place-items: center; pointer-events: none; }
.site-dv .st-art { left: 0; right: auto; }
@media (max-width: 860px) { .st-art { width: 100%; opacity: .28; } }
.st-art-iqra { color: rgba(234,217,168,.55); }
.st-star { position: absolute; width: min(560px, 90%); animation: st-spin 80s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }
.st-iqra { position: relative; font-family: "Amiri", "Traditional Arabic", serif; font-size: clamp(110px, 16vw, 230px); line-height: 1; font-weight: 700; direction: rtl;
  background: linear-gradient(160deg, #fff6d6, var(--sand) 45%, #c79f45); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); animation: st-breathe 7s ease-in-out infinite; }
@keyframes st-breathe { 50% { transform: scale(1.05) translateY(-8px); } }
.st-art-letters { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; padding: 40px; direction: rtl; align-content: center; }
.st-art-letters span { font-family: "Amiri", serif; font-size: clamp(26px, 3.2vw, 46px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px;
  color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); animation: st-lit 5.6s ease-in-out infinite; animation-delay: calc(var(--i) * .2s); }
@keyframes st-lit { 0%, 70%, 100% { background: rgba(255,255,255,.04); color: rgba(255,255,255,.5); transform: none; }
  80% { background: var(--sand); color: var(--reef); transform: translateY(-6px) scale(1.06); box-shadow: 0 10px 28px rgba(234,217,168,.35); } }
.st-art-islands svg { width: min(520px, 92%); overflow: visible; }
.st-route { fill: none; stroke: rgba(234,217,168,.6); stroke-width: 2; stroke-dasharray: 6 8; animation: st-dash 3s linear infinite; }
@keyframes st-dash { to { stroke-dashoffset: -56; } }
.st-isle ellipse { fill: var(--sand); }
.st-isle .r { fill: none; stroke: #8fd9c0; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: st-ripple 3.6s ease-out infinite; animation-delay: calc(var(--i) * .5s); }
.st-isle .r2 { animation-delay: calc(var(--i) * .5s + 1.8s); }
@keyframes st-ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(6); opacity: 0; } }
.st-wifi path { fill: none; stroke: var(--sand); stroke-width: 3; stroke-linecap: round; animation: st-blink 2s ease-in-out infinite; }
.st-wifi path:last-child { animation-delay: .3s; }
@keyframes st-blink { 50% { opacity: .2; } }

/* Floating letters, like bubbles rising in a lagoon */
.st-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.st-slider .st-bubbles { z-index: 2; }
.st-bubbles span { position: absolute; bottom: -80px; left: var(--x); font-family: "Amiri", serif; font-size: var(--s); line-height: 1; color: rgba(234,217,168,.22);
  animation: st-rise var(--t) linear infinite; animation-delay: var(--d); }
@keyframes st-rise { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(24px, -55vh) rotate(12deg); } 90% { opacity: .9; } 100% { transform: translate(-10px, -115vh) rotate(-8deg); opacity: 0; } }

/* Waves */
.st-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 4; pointer-events: none; }
.st-wave .w1 { fill: rgba(246,244,236,.35); animation: st-wave 9s ease-in-out infinite alternate; }
.st-wave .w2 { fill: #f6f4ec; animation: st-wave 7s ease-in-out infinite alternate-reverse; }
@keyframes st-wave { to { transform: translateX(-40px) scaleY(1.15); } }

/* Home header floats over the slider */
.site-home .st-head { position: fixed; inset-inline: 0; background: transparent; box-shadow: none; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-home.is-scrolled .st-head, .site-home .st-head.nav-open { background: rgba(15,61,46,.92); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.st-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.st-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--lagoon), var(--sand)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.site-dv .st-progress span { transform-origin: right; }

/* Counters */
.st-stats { position: relative; z-index: 5; margin-top: -40px; }
.st-stats-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(15,61,46,.12); overflow: hidden; }
@media (max-width: 760px) { .st-stats-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-stat:nth-child(odd) { border-inline-start: 0; } .st-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.st-stat { padding: 26px 24px; display: grid; gap: 4px; border-inline-start: 1px solid var(--line); position: relative; }
.st-stat:first-child { border-inline-start: 0; }
.st-stat b { font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--reef); font-weight: 600; }
.st-stat span { color: var(--muted); font-weight: 500; }
.st-stat::after { content: ""; position: absolute; inset-inline-start: 24px; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--sand); transition: width .5s; }
.st-stat:hover::after { width: calc(100% - 48px); }

/* Marquee */
.st-marquee { overflow: hidden; padding: 56px 0 8px; display: grid; gap: 4px; direction: ltr; }
.st-marquee-row { display: flex; width: max-content; animation: st-marq 38s linear infinite; }
.st-marquee-row span { font-family: var(--display); font-size: clamp(34px, 6vw, 76px); font-weight: 700; white-space: nowrap; padding-inline-end: .3em; color: transparent; -webkit-text-stroke: 1.5px rgba(15,61,46,.28); }
.site-dv .st-marquee-row:first-child span { font-family: "Noto Sans Thaana", "Faruma", sans-serif; }
.st-marquee-row.st-rev { animation-direction: reverse; animation-duration: 46s; }
.st-marquee-row.st-rev span { font-family: "Amiri", serif; color: rgba(47,158,107,.16); -webkit-text-stroke: 0; }
.st-marquee:hover .st-marquee-row { animation-play-state: paused; }
@keyframes st-marq { to { transform: translateX(-50%); } }

/* Sections */
.st-sec { padding: 72px 0; }
.st-sec-tint { background: #ecefe7; }
.st-sec h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 8px; }
.st-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.st-sec-head a { font-weight: 700; color: var(--lagoon-ink, var(--reef)); text-decoration: none; }
.st-sec-head a:hover { text-decoration: underline; }
.st-muted { color: var(--muted); }
.st-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.st-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.st-card h3 { font-size: 19px; margin: 0; }
.st-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.st-card-n { font-family: var(--display); color: var(--lagoon); font-weight: 600; font-size: 14px; }

.st-steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .st-steps-wrap { grid-template-columns: 1fr; gap: 20px; } }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
.st-steps li { counter-increment: st; background: #fff; border-radius: 16px; padding: 18px 20px 18px 72px; position: relative; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.site-dv .st-steps li { padding: 18px 72px 18px 20px; }
.st-steps li::before { content: counter(st); position: absolute; inset-inline-start: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--reef); color: var(--sand); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.st-steps b { font-size: 17px; }
.st-steps span { color: var(--muted); }

.st-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.st-event { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s; }
.st-event:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 61, 46, .12); }
.st-event h3 { margin: 0; font-size: 20px; }
.st-event p { margin: 0; }
.st-event-state { align-self: flex-start; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--foam); color: var(--reef); }
.st-state-running { background: var(--sand); }
.st-event-more { margin-top: 6px; font-weight: 700; color: var(--lagoon-ink, var(--reef)); }

.st-campus-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.st-campus-chips a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 10px 18px; color: var(--text); text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
.st-campus-chips a:hover { color: var(--reef); box-shadow: 0 0 0 2px var(--leaf-tint), var(--shadow); }
.st-campus-chips .ico { color: var(--lagoon); }

.st-band { padding: 64px 0; text-align: center; }
.st-band-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.st-band h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); margin: 0; color: #fff; }
.st-band p { margin: 0 0 8px; color: var(--reef-text); }

/* Inner pages */
.st-page-head { padding: 56px 0 60px; }
.st-page-head .st-wrap { position: relative; }
.st-page-head h1 { font-family: var(--display); font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.02em; margin: 0 0 12px; color: #fff; }
.st-crumb { margin: 0 0 8px; } .st-crumb a { color: var(--sand); font-weight: 700; }
.st-prose { line-height: 1.75; font-size: 17px; }
.st-prose > * { max-width: 760px; }
.st-prose h2 { margin-top: 28px; }
.st-prose ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.st-cta-line { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.st-course-list { display: grid; gap: 16px; max-width: 900px; }
.st-course { background: #fff; border-radius: 18px; padding: 24px 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: 48px 1fr; gap: 10px; }
.st-course h2 { font-size: 22px; margin: 0 0 6px; }
.st-course p { margin: 0; color: var(--muted); line-height: 1.65; }
.st-note { background: var(--reef); color: #fff; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.st-note h2 { color: #fff; font-size: 22px; margin: 0; }
.st-note p { margin: 0; color: var(--reef-text); }
.st-note .btn { background: var(--sand); color: var(--reef); border-color: var(--sand); }
.st-agenda { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.st-agenda li { display: grid; grid-template-columns: 90px 1fr; column-gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-agenda span { color: var(--lagoon); font-weight: 700; }
.st-agenda em { grid-column: 2; font-style: normal; color: var(--muted); font-size: 15px; }
.st-results-h { font-family: var(--display); font-size: 30px; margin: 10px 0 4px; }
.st-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.st-result { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.st-result h3 { margin: 0 0 10px; font-size: 18px; }
.st-result h4 { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.st-result h4 span { width: 12px; height: 12px; border-radius: 50%; background: #4a86c5; }
.st-result h4.m1 span { background: #d4a72c; } .st-result h4.m2 span { background: #a7b1b9; } .st-result h4.m3 span { background: #c27c4a; } .st-result h4.mt span { background: #2f9e6e; }
.st-result ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

/* Contact */
.st-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .st-contact { grid-template-columns: 1fr; } }
.st-campus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.st-campus { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.st-campus h2 { font-family: var(--display); font-size: 20px; margin: 0 0 8px; }
.st-campus p { margin: 0 0 6px; line-height: 1.55; }
.st-campus-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px !important; }
.st-campus-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--lagoon-ink, var(--reef)); text-decoration: none; }
.st-contact-side { display: grid; gap: 18px; position: sticky; top: 90px; }
.st-panel { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.st-panel h2 { font-size: 20px; margin: 0 0 12px; font-family: var(--display); }
.st-contact-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.st-contact-list li { display: flex; justify-content: space-between; gap: 12px; }
.st-contact-list span { color: var(--muted); }
.st-contact-list a { font-weight: 700; }
.st-form-wrap { max-width: 900px; }
.st-done h2 { color: var(--reef); }

/* Footer */
.st-foot { background: #0b2e22; color: var(--reef-text); padding: 56px 0 28px; }
.st-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .st-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .st-foot-grid { grid-template-columns: 1fr; } }
.st-foot h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.site-dv .st-foot h2 { letter-spacing: 0; font-size: 16px; }
.st-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-foot a { color: var(--reef-text); text-decoration: none; }
.st-foot a:hover { color: #fff; text-decoration: underline; }
.st-foot-text { line-height: 1.6; max-width: 36ch; }
.st-brand-foot { margin-bottom: 14px; }
.st-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; font-size: 13.5px; }

/* ---------- Lively bits ---------- */
.st-kicker { margin: 0 0 6px; color: var(--lagoon-ink); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.st-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(234,217,168,.35); }
.site-dv .st-kicker { letter-spacing: 0; font-size: 15px; }
.st-link { display: inline-flex; align-items: center; gap: 6px; }
.st-link span { transition: transform .25s; } .st-link:hover span { transform: translateX(5px); } .site-dv .st-link:hover span { transform: translateX(-5px); }

/* Buttons: a light sweep and a soft pulse */
.st-shine { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.st-shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); }
.st-shine:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(234,217,168,.35); }
.st-shine:hover::after { animation: st-sweep .8s ease; }
@keyframes st-sweep { to { left: 130%; } }
.st-pulse { animation: st-pulse 2.6s ease-in-out infinite; }
@keyframes st-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(234,217,168,.55); } 60% { box-shadow: 0 0 0 16px rgba(234,217,168,0); } }

/* Course cards: tilt and a spotlight that follows the pointer */
.st-cards { perspective: 1000px; }
.st-card { position: relative; overflow: hidden; padding: 28px 24px 26px; border-radius: 22px; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.st-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(234,217,168,.38), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.st-card:hover { box-shadow: 0 24px 50px rgba(15,61,46,.16); }
.st-card:hover::before { opacity: 1; }
.st-card > * { position: relative; }
.st-card-glyph { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-family: "Amiri", "Noto Sans Thaana", serif; font-size: 30px; font-weight: 700;
  color: #fff; background: var(--tone, var(--reef)); margin-bottom: 8px; transform: translateZ(30px); transition: transform .4s; box-shadow: 0 10px 22px color-mix(in srgb, var(--tone, var(--reef)) 35%, transparent); }
.st-card:hover .st-card-glyph { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.st-card-n { position: absolute !important; top: 22px; inset-inline-end: 24px; font-size: 40px !important; color: rgba(15,61,46,.08) !important; font-weight: 700 !important; }
.st-tone-0 { --tone: #1b7a50; } .st-tone-1 { --tone: #c08a2b; } .st-tone-2 { --tone: #13707e; } .st-tone-3 { --tone: #b85c47; }
.st-card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--tone, var(--reef)); transform: scaleX(0); transition: transform .4s; transform-origin: left; }
.st-card:hover::after { transform: scaleX(1); }

/* Steps as a path that draws itself */
.st-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.st-path::before { content: ""; position: absolute; top: 27px; inset-inline: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--lagoon) 0 10px, transparent 10px 18px);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.6,.1,.2,1) .2s; }
.site-dv .st-path::before { transform-origin: right; }
.st-path.is-in::before, .no-anim .st-path::before { transform: scaleX(1); }
.st-path li { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 20px; padding: 76px 22px 24px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.st-path li:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,61,46,.13); }
.st-path-dot { position: absolute; top: 4px; inset-inline-start: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--reef); color: var(--sand); display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 20px; box-shadow: 0 0 0 6px #ecefe7; transition: transform .3s; }
.st-path li:hover .st-path-dot { transform: scale(1.12) rotate(-10deg); background: var(--sand); color: var(--reef); }
.st-path b { font-size: 18px; } .st-path li > span:last-child { color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .st-path { grid-template-columns: 1fr; } .st-path::before { display: none; } }

/* Campuses section: a calm sea with floating chips */
.st-sec-sea { position: relative; overflow: hidden; background: linear-gradient(180deg, #e8f3ee, #d7ebe6); }
.st-sec-sea .st-bubbles span { color: rgba(19,112,126,.12); }
.st-sec-sea .st-wrap { position: relative; }
.st-campus-chips li { animation: st-bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes st-bob { 50% { transform: translateY(-6px); } }
.st-campus-chips a { transition: transform .2s, box-shadow .2s, background .2s; padding: 12px 20px; }
.st-campus-chips a:hover { transform: scale(1.06); background: var(--reef); color: #fff; }
.st-campus-chips a:hover .ico { color: var(--sand); }
.st-online-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 0 rgba(47,158,107,.6); animation: st-ping 1.8s infinite; }
@keyframes st-ping { 70% { box-shadow: 0 0 0 10px rgba(47,158,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,107,0); } }

/* Closing band */
.st-band { background: linear-gradient(120deg, #0f3d2e, #13707e, #1b7a50, #0f3d2e); background-size: 300% 300%; animation: st-grad 16s ease infinite; padding: 84px 0; }
@keyframes st-grad { 50% { background-position: 100% 50%; } }
.st-band .st-bubbles span { color: rgba(234,217,168,.18); }
.st-band h2 { font-size: clamp(30px, 4.4vw, 54px); }

/* Inner page heads */
.st-page-head { padding: 64px 0 96px; background: radial-gradient(100% 90% at 90% 0%, #1d6a4c, transparent 60%), var(--reef); }
.st-page-head h1 { animation: st-up .8s cubic-bezier(.2,.7,.2,1) both; }
.st-page-head .st-wrap > :not(h1) { animation: st-up .8s cubic-bezier(.2,.7,.2,1) .12s both; }

/* Cards that lift */
.st-course, .st-campus, .st-result, .st-panel { transition: transform .3s, box-shadow .3s; }
.st-course:hover, .st-campus:hover, .st-result:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,61,46,.12); }
.st-event { border-radius: 22px; position: relative; overflow: hidden; }
.st-event::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--lagoon), var(--sand)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.st-event:hover { transform: translateY(-6px) rotate(-.4deg); }
.st-event:hover::before { transform: scaleX(1); }

/* Reveal on scroll (only once the script has started, so nothing is hidden without it) */
.js-anim .rv { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
.js-anim .rv.is-in { opacity: 1; transform: none; }
.js-anim .st-card.rv.is-in { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: opacity .8s, transform .35s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s), 0s; }

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .st-bubbles, .st-scroll { display: none; }
  .js-anim .rv { opacity: 1; transform: none; }
}
.st-page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f4ec' d='M0 32C240 60 480 8 720 26s480 30 720 6v28H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
