:root {
  --mb-navy-950: #041226;
  --mb-navy-900: #061b3a;
  --mb-navy-800: #0a2b57;
  --mb-blue-700: #123f78;
  --mb-yellow: #ffbd12;
  --mb-yellow-hover: #f2ad00;
  --mb-gold-text: #b87800;
  --mb-ink: #13233b;
  --mb-muted: #657086;
  --mb-line: #dfe5ed;
  --mb-soft: #f5f8fc;
  --mb-white: #ffffff;
  --mb-radius-sm: 14px;
  --mb-radius: 20px;
  --mb-shadow-sm: 0 10px 30px rgba(8, 29, 61, 0.08);
  --mb-shadow: 0 22px 55px rgba(8, 29, 61, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--mb-ink);
  background: var(--mb-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--mb-blue-700);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
.navbar-brand span {
  letter-spacing: -0.025em;
}

h1,
h2,
h3 {
  color: var(--mb-navy-900);
  font-weight: 800;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--mb-white);
  background: var(--mb-navy-900);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(255, 189, 18, 0.8);
  outline-offset: 3px;
}

/* Header */
.site-header {
  z-index: 1030;
  border-bottom: 1px solid rgba(6, 27, 58, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 78px;
  --bs-navbar-toggler-border-color: rgba(6, 27, 58, 0.14);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--mb-navy-900);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 850;
}

.navbar-brand img {
  width: 48px;
  height: 41px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.8rem 0.85rem !important;
  color: #273246;
  font-weight: 650;
}

.navbar-nav .nav-link::after {
  position: absolute;
  right: 0.85rem;
  bottom: 0.45rem;
  left: 0.85rem;
  height: 2px;
  border-radius: 99px;
  background: var(--mb-yellow);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--mb-navy-900);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Header course dropdown */
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.nav-dropdown-chevron {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.nav-item.dropdown.show .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.navbar-nav .dropdown-menu {
  min-width: 230px;
  margin-top: 0.45rem;
  padding: 0.5rem;
  border: 1px solid var(--mb-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 18px 45px rgba(8, 29, 61, 0.14);
}

.navbar-nav .dropdown-item {
  padding: 0.65rem 0.75rem;
  border-radius: 9px;
  color: #273246;
  font-size: 0.9rem;
  font-weight: 700;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--mb-navy-900);
  background: #eef4fb;
}

.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
  color: var(--mb-navy-900);
  background: #fff1c8;
}

@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    margin: 0.15rem 0 0.45rem;
    border: 0;
    box-shadow: none;
    background: #f5f8fc;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  padding: 0.72rem 1.15rem;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-accent {
  border: 1px solid var(--mb-yellow);
  color: var(--mb-navy-950);
  background: var(--mb-yellow);
  box-shadow: 0 10px 24px rgba(255, 189, 18, 0.22);
}

.btn-accent:hover,
.btn-accent:focus {
  border-color: var(--mb-yellow-hover);
  color: var(--mb-navy-950);
  background: var(--mb-yellow-hover);
  box-shadow: 0 14px 30px rgba(255, 189, 18, 0.32);
}

.btn-primary-dark {
  border-color: var(--mb-navy-900);
  color: var(--mb-white);
  background: var(--mb-navy-900);
}

.btn-primary-dark:hover {
  border-color: var(--mb-navy-800);
  color: var(--mb-white);
  background: var(--mb-navy-800);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  height: clamp(355px, 27vw, 470px);
  min-height: 0;
  align-items: center;
  overflow: hidden;
  background: var(--mb-navy-950);
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center right;
}

.hero__overlay {
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(4, 18, 38, 0.97) 0%,
    rgba(4, 22, 48, 0.91) 36%,
    rgba(4, 22, 48, 0.7) 51%,
    rgba(4, 18, 38, 0.18) 70%,
    rgba(4, 18, 38, 0.03) 100%
  );
}

.hero__content {
  width: 100%;
  align-self: center;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: #f7f9ff;
  background: rgba(10, 43, 87, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--mb-white);
  font-size: clamp(2.35rem, 3.25vw, 3.55rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-title-line {
  display: block;
  color: var(--mb-white);
  white-space: nowrap;
}

.hero__lead {
  max-width: 670px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.5;
}

.hero .btn {
  padding: 0.72rem 1.1rem;
}

.hero .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--mb-white);
  background: rgba(4, 18, 38, 0.22);
}

.hero .btn-outline-light:hover {
  border-color: var(--mb-white);
  color: var(--mb-navy-900);
  background: var(--mb-white);
}

/* Announcement */
.announcement {
  padding: 0.72rem 0;
  color: var(--mb-navy-950);
  background: linear-gradient(90deg, #ffd04a, var(--mb-yellow), #ffd04a);
}

.announcement a {
  border-bottom: 1px solid currentColor;
}

/* Shared sections */
.section-pad {
  padding: clamp(3.2rem, 5.2vw, 4.8rem) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.1rem;
}

.section-heading h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.16;
}

.section-heading p {
  color: var(--mb-muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin-bottom: 0.6rem !important;
  color: var(--mb-gold-text) !important;
  font-size: 0.78rem !important;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Stats */
.stats-section {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0 0;
  background: var(--mb-white);
}

.stats-panel {
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius);
  background: var(--mb-white);
  box-shadow: 0 14px 36px rgba(8, 29, 61, 0.09);
}

.stat-item {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-right: 1px solid var(--mb-line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--mb-white);
  background: var(--mb-navy-900);
  line-height: 1;
}

.stat-icon i {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.stat-item strong {
  display: block;
  color: var(--mb-navy-900);
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 850;
  line-height: 1;
}

.stat-item div > span {
  display: block;
  margin-top: 0.4rem;
  color: var(--mb-muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Benefits */
.benefits-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.benefits-section .section-heading {
  max-width: none;
}

.benefits-section .section-heading h2 {
  white-space: nowrap;
  font-size: clamp(1.9rem, 2.7vw, 2.65rem);
}

.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius-sm);
  background: var(--mb-white);
  box-shadow: 0 8px 28px rgba(8, 29, 61, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(18, 63, 120, 0.22);
  box-shadow: var(--mb-shadow-sm);
  transform: translateY(-4px);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--mb-navy-900);
  background: #eef4fb;
  font-size: 1.35rem;
}

.feature-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.feature-card p {
  color: var(--mb-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Courses */
.courses-section {
  background: linear-gradient(180deg, var(--mb-soft), #ffffff 72%);
}

.course-card {
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius);
  background: var(--mb-white);
  box-shadow: var(--mb-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  box-shadow: var(--mb-shadow);
  transform: translateY(-7px);
}

.course-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mb-navy-900);
}

.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.course-card:hover .course-card__image img {
  transform: scale(1.045);
}

.course-card__image span {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.28rem 0.62rem;
  border-radius: 7px;
  color: var(--mb-white);
  background: rgba(6, 27, 58, 0.9);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.course-card__body {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  padding: 1.35rem;
}

.course-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.course-card h3 a:hover {
  color: var(--mb-blue-700);
}

.course-price {
  margin-bottom: 0.65rem;
  color: var(--mb-gold-text);
  font-size: 1.35rem;
  font-weight: 850;
}

.course-card__body > p:not(.course-price) {
  color: var(--mb-muted);
  font-size: 0.91rem;
}

.btn-course {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.55rem 0.8rem;
  border: 1px solid #b9c7d8;
  color: var(--mb-navy-900);
  background: var(--mb-white);
  font-size: 0.85rem;
}

.btn-course:hover {
  border-color: var(--mb-navy-900);
  color: var(--mb-white);
  background: var(--mb-navy-900);
}

/* Process */
/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.process-list > li {
  position: relative;
}

.process-step {
  position: relative;
  height: 100%;
  padding: 0.5rem 1rem 0;
  text-align: center;
}

.process-visual {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
}

.process-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--mb-navy-900);
  background: #fff1c8;
  font-size: 1.75rem;
}

.process-icon i {
  display: block;
  line-height: 1;
}

.process-number {
  position: absolute;
  z-index: 3;
  top: -8px;
  left: -8px;

  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;

  border: 2px solid var(--mb-white);
  border-radius: 50%;

  color: var(--mb-white);
  background: var(--mb-navy-900);
  box-shadow: 0 2px 7px rgba(4, 18, 38, 0.16);

  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.process-step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.process-step p {
  max-width: 275px;
  margin: 0 auto;
  color: var(--mb-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (min-width: 992px) {
  /* Isprekidani deo strelice */
  .process-list > li:not(:last-child)::after {
    position: absolute;
    z-index: 1;
    top: 46px;

    left: calc(50% + 58px);
    right: calc(-50% + 58px);

    height: 2px;

    background: repeating-linear-gradient(
      to right,
      #9fb2c8 0,
      #9fb2c8 3px,
      transparent 3px,
      transparent 7px
    );

    content: "";
  }

  /* Pun trouglasti vrh */
  .process-list > li:not(:last-child)::before {
    position: absolute;
    z-index: 2;
    top: 41px;
    right: calc(-50% + 49px);

    width: 0;
    height: 0;

    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid var(--mb-navy-800);

    content: "";
  }
}

/* Ukloni stare strelice koje su bile vezane za process-step */
.process-step::before,
.process-step::after {
  display: none !important;
  content: none !important;
}

@media (min-width: 992px) {
  /* Isprekidana linija između dva koraka */
  .process-list > li:not(:last-child)::after {
    position: absolute;
    z-index: 1;
    top: 46px;
    left: calc(50% + 58px);
    right: calc(-50% + 58px);

    height: 0;
    border-top: 2px dotted #9fb2c8;
    background: none;

    content: "";
  }

  /* Pun vrh strelice */
  .process-list > li:not(:last-child)::before {
    position: absolute;
    z-index: 2;
    top: 40px;
    right: calc(-50% + 49px);

    width: 0;
    height: 0;

    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid var(--mb-navy-800);

    content: "";
  }
}

/* Teachers */
.teachers-section {
  padding-top: 3.8rem;
  padding-bottom: 4rem;
  background: var(--mb-soft);
}

.teachers-section .container {
  max-width: 1320px;
}

.teacher-card {
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius-sm);
  background: var(--mb-white);
  box-shadow: 0 7px 22px rgba(8, 29, 61, 0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teacher-card:hover {
  box-shadow: var(--mb-shadow-sm);
  transform: translateY(-4px);
}

.teacher-card img {
  display: block;
  width: 100%;
  height: 285px;
  object-fit: cover;
  object-position: center top;
  background: #fff4ed;
}

.teacher-card div {
  padding: 0.85rem 0.6rem 0.95rem;
}

.teacher-card h3 {
  margin-bottom: 0.12rem;
  font-size: 0.95rem;
  line-height: 1.25;
}

.teacher-card p {
  margin: 0;
  color: var(--mb-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

/* Proof */
.proof-section {
  padding: 5rem 0 1.5rem;
}

.proof-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid #cfdeef;
  border-radius: var(--mb-radius);
  background: linear-gradient(115deg, #f7fbff, #edf5ff);
}

.proof-copy {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.proof-copy > i {
  color: #b8d2ef;
  font-size: 3.2rem;
  line-height: 1;
}

.proof-copy h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.proof-copy p {
  color: var(--mb-muted);
}

.proof-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding-left: 2rem;
  border-left: 1px solid #cfdeef;
}

.proof-rating {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.proof-stars {
  color: #f5b400;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.proof-score {
  color: var(--mb-navy-900);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 850;
  line-height: 1;
}

.proof-rating-copy {
  color: var(--mb-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.proof-quote-right {
  color: #c6d8ee;
  font-size: 2.4rem;
  line-height: 1;
}

/* CTA */
.cta-section {
  padding: 1.2rem 0 4.5rem;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  padding: 1.3rem 1.6rem;
  border-radius: var(--mb-radius);
  color: var(--mb-white);
  background:
    radial-gradient(circle at 15% 50%, rgba(19, 70, 131, 0.65), transparent 35%),
    linear-gradient(120deg, var(--mb-navy-900), #07366e);
  box-shadow: var(--mb-shadow);
}

.cta-panel::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035));
  content: "";
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel > img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 13px 16px rgba(0, 0, 0, 0.25));
}

.cta-copy h2 {
  margin-bottom: 0.45rem;
  color: var(--mb-white);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.77);
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
}

.cta-actions .btn-outline-light:hover {
  color: var(--mb-navy-900);
}

/* Footer */
/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(18, 63, 120, 0.2),
      transparent 28%
    ),
    linear-gradient(
      120deg,
      var(--mb-navy-950),
      var(--mb-navy-900)
    );
}

.footer-main {
  padding-top: 3.6rem;
  padding-bottom: 3.2rem;
}


/* Brend */

.footer-brand-wrap {
  display: flex;
  max-width: 440px;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  color: var(--mb-white);

  font-size: 1.3rem;
  font-weight: 850;
}

.footer-brand:hover {
  color: var(--mb-white);
}

.footer-brand img {
  width: 60px;
  height: 52px;
  object-fit: contain;
}

.footer-summary {
  max-width: 410px;
  margin: 1.05rem 0 1.25rem;

  color: rgba(255, 255, 255, 0.76);

  line-height: 1.65;
}


/* Naslovi */

.footer-title {
  margin-bottom: 1.05rem;

  color: var(--mb-white);

  font-size: 1rem;
  font-weight: 850;
}


/* Kontakt */

.footer-contact {
  display: grid;
  gap: 0.7rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-contact i {
  width: 20px;
  flex: 0 0 20px;

  color: rgba(255, 255, 255, 0.78);

  text-align: center;
}

.footer-contact a {
  word-break: break-word;
}


/* Linkovi */

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  display: inline-flex;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  transform: translateX(3px);
}


/* Povezivanje */

.footer-connect > p {
  max-width: 340px;
  margin-bottom: 1.15rem;

  color: rgba(255, 255, 255, 0.76);

  line-height: 1.65;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;

  color: var(--mb-white);
  background: rgba(255, 255, 255, 0.1);

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.social-links a:hover {
  color: var(--mb-navy-950);
  background: var(--mb-yellow);
  transform: translateY(-3px);
}

.footer-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  margin-top: 1.25rem;
  padding: 0.65rem 0.9rem;

  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;

  color: var(--mb-white) !important;
  background: rgba(255, 255, 255, 0.07);

  font-size: 0.85rem;
  font-weight: 750;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.footer-platform-link:hover {
  border-color: rgba(255, 189, 18, 0.6);
  background: rgba(255, 189, 18, 0.1);
  transform: translateY(-2px);
}


/* Mascot */

.footer-mascot-wrap {
  display: flex;
  min-height: 240px;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-mascot {
  display: block;
  width: 100%;
  max-width: 255px;
  height: auto;

  object-fit: contain;

  filter: drop-shadow(
    0 16px 22px rgba(0, 0, 0, 0.18)
  );
}


/* Linkovi u footeru */

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--mb-yellow);
}


/* Donji red */

.footer-bottom {
  padding: 1.1rem 0;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.84rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}


/* Tablet */

@media (max-width: 1199.98px) {
  .footer-mascot {
    max-width: 220px;
  }
}

@media (max-width: 991.98px) {
  .footer-mascot-wrap {
    min-height: 0;
    align-items: center;
    justify-content: center;
  }

  .footer-mascot {
    max-width: 210px;
    margin: 0 auto;
  }
}


/* Telefon */

@media (max-width: 575.98px) {
  .footer-main {
    padding-top: 3rem;
    padding-bottom: 2.6rem;
  }

  .footer-mascot-wrap {
    justify-content: flex-start;
  }

  .footer-mascot {
    max-width: 180px;
    margin: 0;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }
}

/* Responsive */
@media (min-width: 992px) {
  .process-list > li:not(:last-child) .process-step::after {
    position: absolute;
    top: 48px;
    right: -16%;
    width: 32%;
    border-top: 2px dotted #9fb2c8;
    content: "";
  }
}

@media (max-width: 1199.98px) {
  .hero {
    height: 390px;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(2.25rem, 3.8vw, 3.15rem);
  }

  .hero__lead {
    max-width: 610px;
  }

  .teacher-card img {
    height: 255px;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    padding: 1rem 0 1.25rem;
  }

  .navbar-nav .nav-link::after {
    right: auto;
    width: 42px;
  }

  .hero {
    height: 470px;
  }

  .hero__image {
    object-position: 68% center;
  }

  .hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(4, 18, 38, 0.97) 0%,
      rgba(4, 22, 48, 0.91) 52%,
      rgba(4, 18, 38, 0.48) 100%
    );
  }

  .hero__content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(2.35rem, 5vw, 3.1rem);
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mb-line);
  }

  .proof-number {
    justify-content: flex-start;
    padding: 1rem 0 0;
    border-top: 1px solid #cfdeef;
    border-left: 0;
  }

  .proof-rating {
    justify-content: flex-start;
  }

  .cta-panel {
    grid-template-columns: 90px 1fr;
  }

  .cta-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .footer-mascot {
    max-width: 140px;
    margin: 1rem auto 0;
  }
}

@media (max-width: 767.98px) {
  .hero {
    height: auto;
    min-height: 560px;
    align-items: flex-end;
  }

  .hero__image {
    opacity: 0.6;
    object-position: 70% center;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 18, 38, 0.45) 0%,
      rgba(4, 18, 38, 0.82) 42%,
      rgba(4, 18, 38, 0.98) 78%,
      var(--mb-navy-950) 100%
    );
  }

  .hero__content {
    align-self: flex-end;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .hero__lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero__badge {
    font-size: 0.76rem;
  }

  .benefits-section .section-heading h2 {
    white-space: normal;
  }

  .feature-card {
    align-items: flex-start;
  }

  .teacher-card img {
    height: 230px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    text-align: center;
  }

  .cta-panel > img {
    margin: 0 auto;
  }

  .cta-actions {
    grid-column: auto;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 70px;
  }

  .navbar-brand img {
    width: 42px;
    height: 36px;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 2.65rem);
  }

  .hero .btn {
    width: 100%;
  }

  .stats-section {
    padding-top: 1rem;
  }

  .stats-panel {
    border-radius: 14px;
  }

  .stat-item {
    min-height: 96px;
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 0.75rem;
  }

  .stat-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .stat-icon i {
    font-size: 1.1rem;
  }

  .stat-item strong {
    font-size: 1.35rem;
  }

  .stat-item div > span {
    margin-top: 0.25rem;
    font-size: 0.75rem;
  }

  .course-card__body {
    min-height: auto;
  }

  .teacher-card img {
    height: 205px;
  }

  .teacher-card h3 {
    font-size: 0.85rem;
  }

  .teacher-card p {
    font-size: 0.75rem;
  }

  .proof-copy {
    display: block;
  }

  .proof-copy > i {
    display: block;
    margin-bottom: 0.6rem;
  }

  .proof-rating {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .proof-quote-right {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
  color: var(--mb-navy-950);
  background: #fff1c8;
  font-weight: 800;
}

.dropdown-menu .dropdown-item.active::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--mb-yellow);
  content: "";
  vertical-align: middle;
}