/* =========
   Theme Setup
   ========= */
:root{
  --brand: #0ea5e9;       /* sky-500 */
  --brand-dark: #0284c7;  /* sky-600 */
  --ink: #0f172a;         /* slate-900 */
  --muted: #6b7280;       /* slate-500 */
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ring: rgba(2,8,23,.08);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--surface);
  font-feature-settings: "cv02","cv03","cv04","cv11";
}

/* Typography tweaks over Bootstrap */
h1,h2,h3,h4,h5,h6 { letter-spacing: -0.015em; }
.lead { color: var(--muted); }

/* Buttons */
.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.badge-soft {
  background: rgba(14,165,233,.12);
  color: var(--brand);
  border: 1px solid rgba(14,165,233,.25);
}

/* Elevation & shapes */
.shadow-soft { box-shadow: 0 10px 30px rgba(2,8,23,.06); }
.rounded-2xl { border-radius: 1rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, #e2e8f0, transparent); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(14,165,233,.15), transparent 70%),
    radial-gradient(800px 400px at -10% 30%, rgba(14,165,233,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.section { padding: 72px 0; }

/* Navbar */
.navbar.sticky-top {
  transition: box-shadow .2s ease, background-color .2s ease;
}
.navbar.is-scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 6px 24px rgba(2,8,23,.06);
}

/* Cards */
.card { border-radius: 1rem; }
.card .card-img-top { border-top-left-radius: 1rem; border-top-right-radius: 1rem; }
.course-card img { object-fit: cover; height: 180px; }

/* Feature icons */
.icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e0f2fe;
}

/* Gallery */
.gallery img { object-fit: cover; height: 220px; }

/* Forms */
.form-control:focus, .form-select:focus, .btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(14,165,233,.25);
  border-color: var(--brand);
}

/* Utilities */
.bg-striped{
  background-image:
    linear-gradient(135deg, rgba(2,8,23,.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(2,8,23,.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(2,8,23,.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(2,8,23,.03) 25%, #fff 25%);
  background-position: 10px 0,10px 0,0 0,0 0;
  background-size: 10px 10px;
  background-repeat: repeat;
}

/* Footer links */
footer a { color: #64748b; }
footer a:hover { color: var(--ink); }

/* Animations (simple reveal) */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1; transform: none;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .section { padding: 56px 0; }
  .course-card img { height: 160px; }
  .gallery img { height: 180px; }
}
