:root {
  --cp-bg-dark: #0b1b3a;
  --cp-accent: #a933c9;      /* ljubičasta iz logotipa */
  --cp-accent-alt: #00b6c9;  /* tirkizna */
  --cp-yellow: #ffd86b;
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-top: 0;
  background: radial-gradient(circle at top left, #f3f7ff 0, #ffffff 45%, #f6f3ff 100%);
  color: #17171b;
}

h1, h2, h3, .navbar-brand {
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Hero */
.hero-section {
  min-height: 65vh;
  background: linear-gradient(135deg, #77d6ff 0%, #f5f1ff 40%, #ffd6ff 100%);
  color: #0b1b3a;
  padding-top: 5.5rem;
  margin-top: 0;
  
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.3;
  background: radial-gradient(circle, var(--cp-accent) 0%, transparent 70%);
  z-index: 0;
}

.hero-section::before {
  width: 220px;
  height: 220px;
  top: -40px;
  left: -60px;
}

.hero-section::after {
  width: 260px;
  height: 260px;
  bottom: -60px;
  right: -40px;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.7);
}

.hero-note {
  color: #1f2a4d;
}

.hero-media {
  max-width: 480px;
}

.hero-illustration {
  border-radius: 32px;
  box-shadow: 0 18px 40px rgba(7, 23, 56, 0.28);
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, #0b1b3a, #1f2754);
  border-bottom: 0;
  box-shadow: none;
}

.navbar-brand {
  letter-spacing: 0.06em;
}

.nav-link.active,
.nav-link:hover {
  color: var(--cp-yellow) !important;
}

/* Sections */
.section-title {
  font-weight: 700;
}

.section-lead {
  font-size: 1.05rem;
  color: #4b4b5a;
}

/* Program cards */
.program-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(11, 27, 58, 0.07);
  background: radial-gradient(circle at top left, rgba(255, 216, 107, 0.14), #ffffff 55%);
}

.program-card .card-title {
  font-weight: 600;
}

.program-card ul {
  color: #4c4c57;
}

/* Info panels */
.info-panel,
.about-panel,
.hero-card,
.contact-card,
.blog-card,
.novosti-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(11, 27, 58, 0.06);
}

.bg-light-subtle {
  background-color: #f5f6ff;
}

/* Novosti */
.novosti-section {
  background: radial-gradient(circle at top, rgba(0, 182, 201, 0.12), #ffffff 55%);
}

.novosti-card h2 {
  color: #1f2754;
}

/* Blog */
.blog-main {
  margin-top: 4.5rem;
}

.blog-article h1 {
  font-weight: 700;
}

.blog-article p,
.blog-article li {
  font-size: 1rem;
  line-height: 1.7;
}

.blog-article h2 {
  margin-top: 1.5rem;
}

/* Footer */
footer {
  font-size: 0.85rem;
}

@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
  }

  .hero-media {
    max-width: 320px;
  }
}