/* ============= GLOBAL ============= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #151518;
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
  /* prostor za promo bar (40px); header je sticky i "sjeda" preko hero-a */
  padding-top: 36px;
}

/* NOISE BG */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/noise-bg.webp");
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

/* zajednički container */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 60px;
}
@media (max-width: 900px) {
  .container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
  }
}

/* ============= PROMO TRAKA ============= */

.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #ffd33b;
  color: #ffffff;
  z-index: 3000;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.promo-marquee {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.promo-track {
  display: inline-flex;
  align-items: center;
  animation: promo-marquee 20s linear infinite;
}

.promo-track span {
  margin: 0 60px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@keyframes promo-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  body { 
    /* promo-bar (36) + malo spacera */
    padding-top: 96px; 
  }

  .promo-bar { height: 36px; }

  .promo-track span {
    margin: 0 32px;
    font-size: 12px;
    letter-spacing: 0.15em;
  }
}

/* ============= HERO ============= */

.hero {
  position: relative;
  padding: 80px 0 110px;
  text-align: center;
  overflow: hidden;
}

/* žuti glow circle iz assets/background-circle.webp */
.hero-bg-circle {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background-image: url("assets/background-circle.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.95;
  pointer-events: none;
  z-index: -1;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  font-family: Manrope;
}

.hero-title span {
  color: #ffd33b;
  font-style: italic;
  font-family: Amiri;
}

.hero-subtitle {
  margin: 0 auto 40px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  font-family: "Manrope", Sans-serif;
}

/* video */

.hero-video-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-video-frame {
  border-radius: 0px;
  overflow: hidden;
  background: transparent;
  /* box-shadow: 0 30px 80px rgba(0,0,0,0.9); */
}

.hero-video {
  display: block;
  width: 250px;
  max-width: 80vw;
  height: auto;
}

/* hero dugme */

.hero-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 18px 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffd33b, #ffc400);
  color: #111111;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 26px 70px rgba(0,0,0,1);
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-bg-circle {
    width: 520px;
    height: 520px;
    top: 60px;
  }

  .hero-video-frame { border-radius: 16px; }

  .hero-btn {
    width: 100%;
    max-width: 360px;
  }
}

/* ============= KLIJENTI ============= */

.clients {
  padding: 0px 0 90px;
  text-align: center;
}

.clients-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.clients-line {
  flex: 1;
  height: 1px;
  background-color: rgba(255,255,255,0.5);
}

.clients-title {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 60px;
}

.clients-logos img {
  height: 50px;
  width: auto;
  opacity: 0.5;
  object-fit: contain;
  filter: grayscale(1);
}

@media (max-width: 900px) {
  .clients-header {
    flex-direction: column;
    gap: 10px;
  }

  .clients-line {
    width: 80%;
  }

  .clients-title {
    white-space: normal;
    line-height: 1.4;
    letter-spacing: 0.15em;
  }
}

/* ============= EXPECTATIONS ============= */

.expectations {
  padding: 80px 0 100px;
}

.expectations-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
}

.expectations-subtitle {
  margin: 0 auto 60px;
  max-width: 720px;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.expectations-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 900px;
  margin: 0 auto 60px;
}
.expectation-item {
  display: flex;
  align-items: center;
  gap: 22px;
}
.expectation-number {
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
}
.expectation-number img {
  display: block;
  height: 80px;
  width: auto;
}

.expectation-text h3 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 600;
}
.expectation-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

.expectations-cta {
  text-align: center;
}

@media (max-width: 768px) {
  .expectations {
    padding: 60px 0 80px;
  }

  .expectation-item {
    gap: 16px;
  }

  .expectation-number img {
    height: 64px;
  }
}

/* ============= COURSE OFFERS / KURSEVI ============= */

.course-offers {
  padding: 80px 0 100px;
}

.course-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

/* kartica */
.course-card {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 211, 59, 0.95);
  background:
    radial-gradient(circle at 0 0, rgba(255,255,255,0.05), transparent 55%),
    #151518;
  box-shadow: 0 30px 80px rgba(0,0,0,0.85);
  overflow: visible;
}

.course-card__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 40px 36px;
}

.course-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  width: 80px;
  height: auto;
  pointer-events: none;
  z-index: 10;
}

.course-card__text {
  flex: 0 0 52%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.course-card__desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

/* cijene */
.course-card__pricing {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.course-card__old-wrap {
  position: relative;
  display: inline-block;
}

.course-card__old-price {
  display: inline-block;
  padding: 4px 12px;
  background: #ffd33b;
  color: #111111;
  font-weight: 700;
  font-size: 28px;
}

.course-card__old-strike {
  position: absolute;
  left: -10px;
  right: -10px;
  top: 50%;
  height: 4px;
  background: #ff2a2a;
  transform: rotate(-15deg);
  transform-origin: center;
}

.course-card__new-price {
  font-size: 32px;
  font-weight: 700;
}

/* dugmad */
.course-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  max-width: 240px;
}

.course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.course-btn--outline {
  border: 1px solid #ffd33b;
  background: #000000;
  color: #ffffff;
}

.course-btn--outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
}

.course-btn--solid {
  border: none;
  background: linear-gradient(135deg, #ffd33b, #ffc400);
  color: #111111;
  box-shadow: 0 16px 40px rgba(0,0,0,0.95);
}

.course-btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(0,0,0,1);
}

.course-card__media {
  flex: 0 0 40%;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.course-card__mockup {
  max-width: 100%;
  height: auto;
  display: block;
}

/* RESPONZIVNO – course cards */

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

  .course-card__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px 30px;
    gap: 22px;
  }

  .course-card__media {
    order: -1;
    width: 100%;
    min-height: auto;
    justify-content: center;
  }

  .course-card__mockup {
    width: 100%;
    max-width: 420px;
    margin: 4px auto 8px;
  }

  .course-card__text,
  .course-card__buttons {
    max-width: 100%;
    width: 100%;
  }

  .course-btn {
    width: 100%;
  }

  .course-card__badge {
    width: 70px;
    right: 24px;
  }
}

@media (max-width: 600px) {
  .course-card__title {
    font-size: 26px;
  }

  .course-card__old-price {
    font-size: 24px;
  }

  .course-card__new-price {
    font-size: 28px;
  }
}

/* ===== FLOATING CHAT BUTTON (dugme) ===== */

.chat-fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 2500;
}

/* pulsirajući krug oko dugmeta */
.chat-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 211, 59, 0.45);
  opacity: 0;
  pointer-events: none;
  animation: chat-pulse 1.8s ease-out infinite;
}

.chat-fab__btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 6px solid rgba(255, 211, 59, 0.18);
  background-color: #ffd33b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.9);
  padding: 0;
  outline: none;
  border-style: solid;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.chat-fab__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 24px 60px rgba(0,0,0,1);
}

.chat-fab__btn:active {
  transform: translateY(0);
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
}

.chat-fab__icon {
  width: 32px;
  height: 32px;
}

/* animacija pulsiranja */
@keyframes chat-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .chat-fab {
    right: 20px;
    bottom: 20px;
  }

  .chat-fab__btn {
    width: 60px;
    height: 60px;
  }

  .chat-fab__icon {
    width: 28px;
    height: 28px;
  }
}

/* ===== MONETIZE SEKCIJA ===== */

.monetize {
  padding: 80px 0 110px;
  text-align: center;
}

.monetize-header {
  margin-bottom: 0;
}

.monetize-symbols {
  font-size: 26px;
  color: #ffd33b;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.monetize-title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 700;
}

.monetize-title span {
  color: #ffd33b;
}

.monetize-subtitle {
  margin: 0 auto;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.monetize-graphic {
  margin: -40px auto 0;
  width: 100%;
  max-width: 1150px;
  aspect-ratio: 16 / 9;
  background-image: url("assets/monetizacija-1.webp");
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .monetize {
    padding: 60px 0 80px;
  }

  .monetize-graphic {
    margin: 20px auto 0;
    aspect-ratio: 4 / 5;
  }
}

/* ===================== FAQ SEKCIJA ===================== */

.faq {
  padding: 80px 0 100px;
}

.faq-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.faq-left {
  flex: 0 0 40%;
}

.faq-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
}

.faq-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.faq-right {
  flex: 0 0 60%;
  max-width: 640px;
  margin-left: auto;
}

.faq-item {
  border-radius: 14px;
  background-color: #18181c;
  overflow: hidden;
  margin-bottom: 8px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  transition:
    background-color .25s ease,
    color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.faq-item.is-open {
  background-color: #ffffff;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.75);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.faq-question:hover {
  background-color: rgba(255,255,255,0.03);
}

.faq-item.is-open .faq-question:hover {
  background-color: rgba(0,0,0,0.03);
}

.faq-answer {
  padding: 0 22px;
  font-size: 18px;
  line-height: 1.7;
  color: inherit;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition:
    max-height .3s ease,
    opacity .3s ease,
    transform .3s ease,
    padding-bottom .3s ease;
}

.faq-item.is-open .faq-answer {
  padding-bottom: 18px;
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
}

@media (max-width: 900px) {
  .faq-layout {
    flex-direction: column;
    gap: 30px;
  }

  .faq-left,
  .faq-right {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ===== KLIJENTI – MARQUEE LOGOI ===== */

.clients-marquee {
  position: relative;
  margin-top: 32px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 10%,
    rgba(0,0,0,1) 90%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 10%,
    rgba(0,0,0,1) 90%,
    rgba(0,0,0,0) 100%
  );
}

.clients-marquee__inner {
  display: flex;
  width: max-content;
  animation: clients-marquee-scroll 24s linear infinite;
}

.clients-marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.clients-marquee__logo {
  height: 24px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1);
  object-fit: contain;
}

@keyframes clients-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.clients-marquee::before,
.clients-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(
    to right,
    #151518 0%,
    rgba(21,21,24,0.8) 30%,
    rgba(21,21,24,0) 100%
  );
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(
    to left,
    #151518 0%,
    rgba(21,21,24,0.8) 30%,
    rgba(21,21,24,0) 100%
  );
}

@media (max-width: 768px) {
  .clients-marquee__track {
    gap: 40px;
    padding-right: 40px;
  }

  .clients-marquee::before,
  .clients-marquee::after {
    width: 50px;
  }

  .clients-marquee__logo {
    height: 20px;
  }
}

/* ================== SIMPLE HAMBURGER + FULLSCREEN OVERLAY ================== */

/* zabranimo scroll kad je meni otvoren */
body.nav-open {
  overflow: hidden;
}

/* MENU dugme – gore desno, ispod crvene trake */
.nav-toggle {
  position: fixed !important;
  top: 48px !important;      /* ispod promo trake (40px) */
  right: 24px !important;
  z-index: 8500 !important;  /* iznad sadržaja, ispod loadera (9000) */

  width: 52px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* fino poravnanje po širini */
@media (min-width: 1024px) {
  .nav-toggle {
    right: 40px !important;   /* u ravni sa container paddingom */
  }
}

/* na mobu malo bliže */
@media (max-width: 768px) {
  .nav-toggle {
    top: 44px !important;
    right: 16px !important;
  }
}

/* 3 linije (hamburger) */
.nav-toggle__line,
.nav-toggle__line::before,
.nav-toggle__line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  transition:
    transform .25s ease,
    opacity .25s ease,
    background-color .25s ease;
}

/* gornja i donja linija pomjerene gore/dole */
.nav-toggle__line::before {
  transform: translate(-50%, -50%) translateY(-7px);
}

.nav-toggle__line::after {
  transform: translate(-50%, -50%) translateY(7px);
}

/* KAD JE MENI OTVOREN → HAMBURGER POSTAJE X (samo preko before/after) */
body.nav-open .nav-toggle__line {
  background-color: transparent;
}

body.nav-open .nav-toggle__line::before {
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: #000000;   /* crn X na žutoj pozadini */
}

body.nav-open .nav-toggle__line::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: #000000;
  opacity: 1;
}

/* FULLSCREEN žuti overlay preko cijelog ekrana */
/* FULLSCREEN žuti overlay sa radial animacijom (kontra loaderu) */
.nav-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 8000 !important;          /* ispod .nav-toggle */
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  color: #000000;

  /* rupa u sredini koju punimo žutom */
  --nav-cut: 0px;
  background:
    radial-gradient(
      circle at 50% 50%,
      transparent 0,
      transparent var(--nav-cut),
      #ffd33b calc(var(--nav-cut) + 1px)
    );

  transition: opacity .35s ease-out;
}

/* kad je meni otvoren */
body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}


/* kad je meni otvoren */
body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* unutrašnji layout overlaya */
.nav-overlay__inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
}

.nav-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-overlay__item {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  cursor: pointer;

  opacity: 0;
  transform: translateY(18px) scale(0.95) skewY(3deg);
  transition:
    opacity .45s cubic-bezier(0.19, 1, 0.22, 1),
    transform .45s cubic-bezier(0.19, 1, 0.22, 1);
}

/* animacija ulaza stavki kad je meni otvoren */
body.nav-open .nav-overlay__item {
  opacity: 1;
  transform: translateY(0) scale(1) skewY(0deg);
}

body.nav-open .nav-overlay__item:nth-child(1) { transition-delay: .18s; }
body.nav-open .nav-overlay__item:nth-child(2) { transition-delay: .26s; }
body.nav-open .nav-overlay__item:nth-child(3) { transition-delay: .34s; }
body.nav-open .nav-overlay__item:nth-child(4) { transition-delay: .42s; }
body.nav-open .nav-overlay__item:nth-child(5) { transition-delay: .50s; }

.nav-overlay__item--active {
  color: rgba(0,0,0,0.4);
}

/* ===================== CHAT BALON ===================== */

.chat-bubble {
  position: absolute;
  right: 90px;
  bottom: 14px;
  max-width: 260px;
  background-color: #ffd33b;
  color: #111111;
  border-radius: 18px;
  padding: 12px 14px 14px 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.8);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.chat-bubble__tail {
  position: absolute;
  right: 32px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background-color: #ffd33b;
  transform: rotate(45deg);
}

.chat-bubble__close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #000000;
}

.chat-bubble__avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-bubble__name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.chat-bubble__text {
  font-size: 13px;
  line-height: 1.4;
}

.chat-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 600px) {
  .chat-bubble {
    right: 80px;
    bottom: 8px;
    max-width: 230px;
  }
}

/* ================== SITE LOADER – DIZIGMA ================== */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9000; /* najiznad svega */
  display: flex;
  align-items: center;
  justify-content: center;

  --cut: 0px;

  background: #ffd33b;

  pointer-events: auto;
  overflow: hidden;
  opacity: 1;
  transition: opacity .1s ease-out;
}

/* KORAK 2: kad dodamo .is-revealing – prelazimo na “rupu” krug */
.site-loader.is-revealing {
  background:
    radial-gradient(
      circle at 50% 50%,
      transparent 0,
      transparent var(--cut),
      #ffd33b calc(var(--cut) + 1px)
    );
}

/* stari mask div gasimo da ne smeta */
.site-loader__mask {
  display: none;
}

/* centar – logo + ringovi */
.site-loader__center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* logo – veći i bijeli */
.site-loader__logo {
  width: 320px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* unutrašnji ring */
.site-loader__ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
}

/* spoljašnji ring */
.site-loader__ring--outer {
  width: 260px;
  height: 260px;
}

@keyframes loader-ring-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  30% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* responsive */
@media (max-width: 768px) {
  .site-loader__logo {
    width: 90px;
  }

  .site-loader__ring {
    width: 190px;
    height: 190px;
  }

  .site-loader__ring--outer {
    width: 230px;
    height: 230px;
  }
}



.dizigma-hub { padding: 80px 0; }
.hub-title { font-size: 38px; line-height: 1.1; margin: 0 0 12px; }
.hub-subtitle { max-width: 820px; opacity: .85; margin: 0 0 28px; }

.hub-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.hub-card{
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hub-card.is-active { border-color: rgba(255,255,255,.22); }
.hub-card.is-soon { opacity: .85; }

.hub-top{ display:flex; align-items:center; justify-content: space-between; gap: 12px; }
.hub-tag{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
}

.hub-name{ margin: 10px 0 0; font-size: 22px; }
.hub-desc{ margin: 14px 0 14px; opacity: .9; }

.hub-list{ margin: 0 0 18px; padding-left: 18px; opacity: .9; }
.hub-list li{ margin: 6px 0; }

.hub-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: inherit;
  width: 100%;
}

.hub-btn:hover{ transform: translateY(-1px); }
.hub-btn.is-disabled{
  opacity: .55;
  pointer-events: none;
}

.hub-cta{ margin-top: 18px; }

@media (max-width: 980px){
  .hub-grid{ grid-template-columns: 1fr; }
}
/* STACK layout: Naslov -> Slika -> Tekst -> Cijena -> Dugmad */
.course-card__content--stack{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 40px 36px;
}

/* slika ispod naslova */
.course-card__content--stack .course-card__media{
  width: 100%;
  min-height: auto;
  display: flex;
  justify-content: flex-start; /* stavi center ako hoćeš centrirano */
  align-items: center;
}

/* mockup širina */
.course-card__content--stack .course-card__mockup{
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* dugmad jedno ispod drugog - full širina */
.course-card__content--stack .course-card__buttons{
  width: 100%;
  max-width: 320px; /* po želji */
}
/* ===================== FOOTER ===================== */

.site-footer{
  padding: 70px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0f0f12;
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 38px;
}

.footer-title{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.footer-link{
  display: block;
  padding: 7px 0;
  text-decoration: none;
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  transition: color .15s ease, transform .15s ease;
}

.footer-link:hover{
  color: rgba(255,255,255,0.92);
  transform: translateX(2px);
}

.footer-text{
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

.footer-meta{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-meta__row{
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.70);
}

.footer-meta__label{
  min-width: 64px;
  color: rgba(255,255,255,0.55);
}

.footer-meta__value{
  color: rgba(255,255,255,0.85);
}

.footer-region{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.footer-region__label{
  font-size: 13px;
  opacity: .7;
}

.footer-region__value{
  font-size: 13px;
  opacity: .95;
}

/* bottom */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-social{
  display: flex;
  gap: 12px;
}

.footer-social__btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
}

.footer-social__btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}

.footer-social__btn svg{
  width: 20px;
  height: 20px;
  fill: rgba(255,255,255,0.85);
}

.footer-copy{
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-dot{
  opacity: .45;
}

/* responsive */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
}

@media (max-width: 560px){
  .site-footer{ padding: 55px 0 24px; }

  .footer-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom{
    align-items: flex-start;
  }

  .footer-copy{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
/* FOOTER ICONS – fix za IG da izgleda normalno i da sve bude centrirano */
.footer-social__btn{
  display: grid;
  place-items: center;
}

.footer-social__btn svg{
  width: 206px;
  height: 26px;
  display: block;
}

/* Instagram: outline stil */
.footer-social__btn .ico-ig{
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

/* WhatsApp/YouTube: ostaju fill (ali ih poravnamo) */
.footer-social__btn:not(:has(.ico-ig)) svg{
  fill: #fff;
}
/* svi SVG-ovi ista realna dimenzija */
.footer-social__btn svg{
  width: 28px;
  height: 28px;
  display: block;
}

/* Instagram outline vizuelno izgleda manji → malo ga uvećaj */
.footer-social__btn .ico-ig{
  transform: scale(1.18);
  transform-origin: 50% 50%;
}
html{
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* da anchor ne uleti ispod fixed promo bara/menu-a */
}
/* ================================
   FULLSCREEN NAV OVERLAY (FIX)
================================ */

/* overlay pozadina */
.nav-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffd24a; /* tvoja žuta */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

/* kad je nav otvoren */
body.nav-open .nav-overlay{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* centriranje */
.nav-overlay__inner{
  height: 100%;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.nav-overlay__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
  text-align: left;
}

/* LI neka ne utiče – sve ide preko linka */
.nav-overlay__item{
  margin: 0;
  padding: 0;
}

/* LINK: ukloni default plavo/underline i daj tvoj stil */
.nav-overlay__link{
  display: inline-block;
  position: relative;
  text-decoration: none !important;
  color: #0b0b0b;              /* crna (promijeni ako hoćeš plavu) */
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(38px, 6vw, 76px);
  transition: transform .18s ease, opacity .18s ease;
}

/* hover “lift” */
.nav-overlay__link:hover{
  transform: translateY(-2px);
}

/* underline animacija */
.nav-overlay__link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 6px;
  background: #0b0b0b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-overlay__link:hover::after{
  transform: scaleX(1);
}

/* active stavka (POČETNA) */
.nav-overlay__item--active .nav-overlay__link{
  opacity: 1;
}

.nav-overlay__item--active .nav-overlay__link::after{
  transform: scaleX(1);
}

/* fokus za tastaturu */
.nav-overlay__link:focus-visible{
  outline: 3px solid #0b0b0b;
  outline-offset: 8px;
  border-radius: 10px;
}

/* ako želiš da ostale stavke budu malo “bleđe” dok ne hoveraš */
.nav-overlay__link{
  opacity: .95;
}
.nav-overlay__link:hover{
  opacity: 1;
}
