/* Global Theme */
:root {
  --bg-start: #000000;       /* deep navy */
  --bg-end: #000000;         /* royal purple */
  --text: #e6e6f0;           /* soft white */
  --muted: #1a1a1a;          /* muted text */
  --accent: #fbfbfb;         /* purple */
  --accent-2: #ffffff;       /* cyan */
  --accent-3: #ffffff;       /* pink */
  --card: #06070ecc;         /* translucent card */
  --border: #111113;         /* subtle border */
  --shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 60px rgba(30, 30, 30, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 15% 10%, rgba(124,58,237,0.12), transparent 40%),
              radial-gradient(1000px 600px at 85% 30%, rgba(34,211,238,0.10), transparent 50%),
              linear-gradient(140deg, var(--bg-start), var(--bg-end));
  background-attachment: fixed;
  line-height: 1.6;
}


.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.sa-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(150%) blur(10px); }
.sa-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.06); height: 80px;
}
.sa-brand { display: inline-flex; align-items: center; gap: 10px; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-weight: 700; text-decoration: none; color: var(--text); letter-spacing: 0.2px; padding: 0; border-radius: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.sa-logo { height: 60px; width: auto; display: block; }
.sa-brand span { color: #ffffff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sa-brand:hover { opacity: 0.9; }
.sa-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.sa-links .nav-link { color: #fff; text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: all 220ms ease; }
.sa-links .nav-link:hover { color: var(--text); background: rgba(143, 143, 143, 0.06); box-shadow: 0 0 0 2px rgba(124,58,237,0.18) inset; }
.sa-links .nav-link.active { color: var(--text); background: rgba(0, 0, 0, 0.15); box-shadow: 0 0 0 2px rgba(97, 97, 97, 0.3) inset; }

/* Hero */
.hero {
  min-height: calc(100vh - 88px);
  display: grid; place-items: center; text-align: center;
  position: relative;
}
.hero-title { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-weight: 700; font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 14px; }
.hero-title span { background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { color: #ffffff; font-size: clamp(15px, 1.8vw, 18px); margin: 0 0 28px; position: relative; text-shadow: 0 0 6px rgba(255,255,255,0.85), 0 0 18px rgba(255,255,255,0.45), 0 2px 2px rgba(0,0,0,0.85); }
.hero-subtitle.is-hidden { opacity: 0; transform: translateY(8px); }
.hero-subtitle::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scaleY(-1);
  width: 100%;
  text-align: center;
  color: #ffffff;
  opacity: 0.28;
  filter: blur(2.2px);
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
  -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0));
  mask-image: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; }

/* Hero visual effect (DOM-based, no canvas) */
.hero-effect {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  --c: 255,255,255; /* will appear neutral over dark bg; reads as white glow */
  /* base vignette */
  background:
    radial-gradient(60% 60% at 35% 55%, rgba(var(--c),0.06), rgba(0,0,0,0) 60%),
    radial-gradient(80% 80% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
}
.hero-effect::before,
.hero-effect::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  filter: blur(22px);
}
/* Core glow */
.hero-effect::before {
  background:
    radial-gradient(45% 45% at 45% 48%, rgba(var(--c),0.95) 0%, rgba(var(--c),0.55) 25%, rgba(var(--c),0.18) 46%, rgba(0,0,0,0) 70%);
  transform: translate3d(0,0,0);
}
/* Rays sweep */
.hero-effect::after {
  background:
    conic-gradient(from 10deg at 62% 48%, rgba(var(--c),0.25), rgba(var(--c),0.05) 18%, rgba(0,0,0,0) 27%, rgba(0,0,0,0) 60%, rgba(var(--c),0.2) 78%, rgba(0,0,0,0));
  filter: blur(30px) saturate(120%);
  transform: translate3d(0,0,0);
  animation: raysSweep 8s linear infinite;
}

@keyframes raysSweep {
  0% { transform: translate3d(0,0,0) rotate(0deg); }
  100% { transform: translate3d(0,0,0) rotate(360deg); }
}

/* Contact */
.contact { padding: 64px 0 80px; }
.contact-title { font-family: "Poppins", "Inter", sans-serif; font-weight: 700; font-size: clamp(26px, 4.5vw, 38px); margin: 4px 0 6px; text-align: center; }
.contact-subtitle { font-family: "Poppins", "Inter", sans-serif;color: #fff; text-align: center; margin: 0 auto 28px; max-width: 720px; }

.sa-form {
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.85), rgba(27, 27, 27, 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; color: var(--text); opacity: 0.9; }
.form-field input, .form-field select, .form-field textarea {
  background: #7777778e;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 120ms ease;
}
.form-field textarea { resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa1c0; opacity: 0.8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: rgba(124,58,237,0.55);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.25), 0 0 32px rgba(34,211,238,0.2);
  transform: translateY(-1px);
}
.error-msg { color: #fda4af; font-size: 12px; min-height: 16px; }

.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; letter-spacing: 0.2px; transition: transform 140ms ease, filter 200ms ease, box-shadow 200ms ease;
}
.btn-primary { color: #0b1020; background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3)); box-shadow: 0 10px 20px rgba(56, 55, 57, 0.28), 0 0 40px rgba(34,211,238,0.18); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

/* Footer */
.sa-footer { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 40px; }
.sa-footer .container { padding: 26px 24px; text-align: center; color: #9aa1c0; font-size: 14px; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Map */
.map { padding: 0 0 64px; }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: clamp(260px, 50vh, 420px); filter: grayscale(100%) contrast(110%) brightness(90%); }

/* Courses brochures redesigned */
.section-title { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-weight: 800; font-size: clamp(26px, 4vw, 36px); margin: 40px 0 8px; text-align: center; position: relative; }
.section-title.accent::after { content: ""; display: block; width: 140px; height: 3px; margin: 10px auto 0; background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3)); border-radius: 999px; animation: accentPulse 3s ease-in-out infinite; opacity: 0.85; }
@keyframes accentPulse { 0%,100%{ transform: scaleX(0.9);} 50%{ transform: scaleX(1.05);} }
.section-subtitle { color: #bdbdc9; text-align: center; margin: 0 0 28px; max-width: 900px; margin-left: auto; margin-right: auto; }

.courses { padding: 10px 0 80px; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.course-card { background: linear-gradient(180deg, rgba(17,17,20,0.88), rgba(17,17,20,0.6)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: transform 160ms ease, box-shadow 220ms ease, filter 200ms ease; }
.course-card:hover { transform: translateY(-2px); box-shadow: 0 16px 45px rgba(0,0,0,0.35); }
.course-card.dj { background-image: radial-gradient(600px 200px at 10% -10%, rgba(124,58,237,0.12), transparent 60%); }
.course-card.mp { background-image: radial-gradient(600px 200px at 90% -10%, rgba(34,211,238,0.12), transparent 60%); }
.course-head { display: flex; align-items: center; gap: 10px; }
.course-head h3 { margin: 0; font-size: clamp(18px, 2.2vw, 22px); }
.course-icon { font-size: 20px; }
.course-desc { margin: 0; color: #d7d7e3; }
.course-preview { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #0f1020; }
.course-preview iframe { display: block; width: 100%; height: clamp(220px, 42vh, 340px); background: #0f1020; }
.course-actions { display: flex; justify-content: flex-end; }
.btn-blue { background: linear-gradient(90deg, #60a5fa, #38bdf8); color: #0b1020; }
.btn-green { background: linear-gradient(90deg, #34d399, #22c55e); color: #0b1020; }
.btn-blue, .btn-green { border-radius: 999px; padding: 10px 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.btn-blue:hover, .btn-green:hover { filter: brightness(1.08); transform: translateY(-1px); }

@media (max-width: 900px) { .course-grid { grid-template-columns: 1fr; } }

/* Utilities */
@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sa-nav { padding: 16px 0; }
  .hero { min-height: calc(100vh - 76px); }
  .sa-form { padding: 20px; }
}

/* reCAPTCHA styling */
.captcha-field { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 6px; }
.captcha-field .g-recaptcha { transform-origin: left top; filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35)); }
.captcha-field .error-msg { margin-top: 4px; }


