:root {
  --bg: #111;
  --fg: #eee;
  --accent: #fff;
  --accent2: #e5e5e5;
  --highlight: #ffce00;
  --card: rgba(255, 255, 255, 0.08);
  --glass: rgba(0, 0, 0, 0.5);
  --surface: rgba(12, 12, 12, 0.85);
  --section-bg: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}
:root.light-theme {
  --bg: #f6f7f8;
  --fg: #1a1a1a;
  --accent: #0f172a;
  --accent2: #1f2a3d;
  --highlight: #0d6efd;
  --card: rgba(255, 255, 255, 0.95);
  --glass: rgba(255, 255, 255, 0.7);
  --surface: rgba(255, 255, 255, 0.95);
  --section-bg: rgba(255, 255, 255, 0.97);
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--fg);
  background: linear-gradient(145deg, var(--bg), #10101a);
  min-height: 100vh;
}
a { color: var(--highlight); text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}
.brand h1 {
  margin: 0;
  letter-spacing: 0.09em;
  font-size: 1.15rem;
}
.brand p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--accent2);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav a, .btn {
  font-weight: 600;
}
.btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.17);
}
.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #111;
  border: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  padding: 0.75rem 1.3rem;
  margin: 0.8rem 0 1.2rem;
}
.hero-content .btn { margin: 0.8rem 0 0.4rem; }
:root.light-theme .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.theme-btn {
  font-size: 1rem;
  min-width: 44px;
}
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) contrast(1.05);
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.5), rgba(0, 0, 0, 0.9));
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--fg);
}
.hero-content h2 { font-size:min(3.4rem, 8vw); margin:.2rem 0; animation: fadeUp 1s ease both; }
.hero-content p, .subtitle { margin:.5rem 0; color: #ddd; }
.subtitle a { color: var(--highlight);}
.fade-up { opacity:0; animation: fadeUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.7s; }

.main-content { margin-top: 3rem; }
.section { margin: 2.4rem 0; padding: 1.5rem; border-radius: 1rem; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.08); animation: fadeUp 0.7s ease both; }
.section h3 { margin-top:0; letter-spacing:0.04em; }
.course-grid .cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; margin-top:1rem; }
.card { background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,.12); border-radius: 16px; padding:1rem; min-height: 160px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 22px rgba(0,0,0,.28); }
.values ul { list-style: inside decimal; margin: 0; padding: 0.8rem 0 0 0; }
.values li { margin-bottom:.5rem; }
.footer { margin-top:3rem; padding:2rem 0 1rem; color:#ddd; font-size:.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:1rem; align-items:start; }
.social-buttons { display:flex; flex-wrap:wrap; gap:.5rem; }
.social-buttons a { background: rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); border-radius:.8rem; padding:.5rem .75rem; }
.contact-card a { color: #f0e500; }
.mobile-toggle { display:none; border:none; background:transparent; flex-direction:column; gap:.2rem; padding:.2rem; }
.mobile-toggle span { width: 22px; height: 2px; display:block; background:#fff; border-radius:999px; }

@keyframes fadeUp { 0% { opacity:0; transform: translateY(12px); } 100% { opacity:1; transform: translateY(0); } }
@keyframes slideIn { 0% { opacity:0; transform: translateY(20px); } 100% { opacity:1; transform: translateY(0); } }

.slide-in { animation: slideIn .7s ease forwards; opacity:0; }
.slide-in.delay-1 { animation-delay: .13s; }
.slide-in.delay-2 { animation-delay: .26s; }

@media (max-width: 900px) {
  .header-grid { flex-wrap: wrap; }
  .topbar { position: sticky; z-index: 1000; }
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 280px;
    min-width: 280px;
    padding-top: 5.3rem;
    background: rgba(10, 10, 25, 0.97);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
    overflow-y: hidden;
    visibility: hidden;
  }
  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav a {
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: var(--fg);
    background: rgba(255,255,255,0.04);
  }
  .nav a:hover { background: rgba(255,255,255,0.08); }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(0,0,0,0.40);
    cursor: pointer;
    z-index: 1002;
  }
  .mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    display: block;
  }
  .hero-content h2 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero { min-height: 70vh; }
  .container { width: 95%; }
  .btn { width: auto; }
}

.copyright{
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent2);
}


:root.light-theme .topbar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(40, 45, 55, 0.2);
}
:root.light-theme .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.46), rgba(255,255,255,0.85)); }
:root.light-theme .hero-bg { filter: saturation(0.8) brightness(0.78); }
:root.light-theme .card { background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(100, 110, 130, 0.25); color: var(--fg); }
:root.light-theme .section { background: var(--section-bg); border: 1px solid rgba(150, 160, 180, 0.3); }
:root.light-theme .footer, :root.light-theme .values li, :root.light-theme .social-buttons a { color: var(--fg); }

