/* @font-face{ */
  /* font-family: "Radnika"; */
  /* src: url("https://apos-it.com/ucenje/assets/fonts/radnika-bold.ttf") format("truetype"); */
  /* font-weight: 700; */
  /* font-style: normal; */
  /* font-display: swap; */
/* } */
@font-face{
  font-family: "Radnika Next";
  src: url("https://www.ucenje.hr/assets/fonts/radnika-next-bold-webfont.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html, body {
  background-color: #e0dfdc;
}
@media (min-width: 992px) {
  body {
  font-family: "Radnika Next", "Radnika", system-ui, Arial, sans-serif;
  font-weight: 200;
}
}
body {
  /* font-family: "Radnika", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; */
  /* font-family: "Radnika Next", "Radnika", system-ui, Arial, sans-serif; */
  /* font-weight: 700; */
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.35) transparent;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,.35);
  border-radius: 999px;
  border: 2px solid transparent;   /* daje “thin” look */
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0,0,0,.55);
}

/* NAVIGACIJA */
.navbar-nav { gap: 0; }

@media (min-width: 992px) {
  .navbar-nav { gap: 55px; }
}

.nav-link {
  font-family: "Radnika", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.offcanvas.offcanvas-nav{
	max-width: 50% !important;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* VAŽNO: ovo sad vrijedi samo unutar .hero */
.hero .hero-img {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
}

/* .hero .hero-img{ */
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
/* } */

@media (max-width: 576px){
  .hero .hero-img{
    left: -80%;      /* pomak ulijevo (podesi -10% do -40%) */
	bottom: -10%;
  }
}

/* overlay (ako želiš tamniji, dodaj background) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
}

.hero{ overflow:hidden; }

.hero-chaos{ position: relative; }
.hero-chaos .hero-original p{ margin:0; }

.hero-chaos .hero-measure{
  visibility:hidden;
  pointer-events:none;
}

.hero-chaos .hero-fly{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.hero-chaos .fly-ch{
  position:absolute;
  left:0; top:0;
  opacity:1;                 /* odmah se vide */
  will-change: transform;
}

@keyframes settle{
  0%{opacity:0;}
  60%{opacity:1;}
  80%{transform: translate(-10px, 10px) rotate(0deg) scale(1);}
  100%{transform: translate(0,0) rotate(0deg) scale(1); opacity:1;}
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .hero-scatter .ch{ animation: none; transform: none; opacity: 1; }
}

.hero-text { text-align: center; }

.brand-small {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 40px;
}

.hero-title {
  /* font-size: clamp(4rem, 10vw, 9rem); */
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 900;
  line-height: 0.95;
  color: #ffbd59;
  letter-spacing: -2px;
}

/* INSTRUKCIJE */
.hero-instrukcije{
  background: #f3f3f3;
  /* padding: 110px 0; */
}

.hero-instrukcije .instrukcije-opis{
	padding: 3rem 3rem 3rem 10rem;
}

.hero-instrukcije .instrukcije-title{
  font-size: clamp(64px, 6vw, 92px);
  font-weight: 900;
  color: #ffbd59;
  line-height: 0.95;
  margin-bottom: 18px;
}

.hero-instrukcije .instrukcije-subtitle{
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
}

.hero-instrukcije .instrukcije-text{
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 34px;
}

.hero-instrukcije .instrukcije-opis .instrukcije-text p{
	font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 34px;
}

@media (max-width: 991.98px){
  .hero-instrukcije .instrukcije-opis{
    text-align: right;
	padding: 3rem 1rem 0rem 1rem;
  }

  /* gumb u desno (jer je inline/block element) */
  .hero-instrukcije .instrukcije-opis .btn-instrukcije{
    display: inline-flex;
    margin-left: auto;   /* gura u desno */
  }

  /* ako želiš da i cijeli blok teksta “sjedi” desno */
  .hero-instrukcije .instrukcije-opis .instrukcije-text,
  .hero-instrukcije .instrukcije-opis .instrukcije-small{
    margin-left: auto;
  }
}

.hero-instrukcije .highlight{
  color:#f2a93b;
  font-weight: 900;
}

.btn-instrukcije{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:#f2a93b;
  color:#000;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 900;
  border: 0;
  text-decoration: none;
  letter-spacing: 1px;
}

.hero-instrukcije .btn-instrukcije:hover {
  background: #e69a2e;
}

.hero-instrukcije .instrukcije-small{
  font-size: 14px;
  font-weight: 700;
  max-width: 520px;
  margin-top: 18px;
}

.hero-instrukcije .instrukcije-opis{
	z-index:1;
}

/* INSTRUKCIJE sekcija - slika */
.hero-instrukcije .hero-img-wrapper{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-instrukcije .instrukcije-img{
  position: static;
  max-height: 620px;
  width: auto;
  height: auto;
  display: block;
}

@media (max-width: 991.98px){
  /* izvuci wrapper van container paddinga (Bootstrap container je ~12px) */
  .hero-instrukcije .hero-img-wrapper{
    justify-content: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-instrukcije .instrukcije-img{
    width: 100%;
    object-fit: cover;
    object-position: bottom center; /* bitno da “sjedne” na dno */
    display: block;
    max-height: none;
  }
}

/* --- OVERLAP kao mockup (desktop) --- */
.hero-instrukcije .instrukcije-opis.pripreme{
	text-align:right;
    padding: 3rem 10rem 3rem 3rem;
  }
  
.hero-instrukcije .instrukcije-opis.pripreme .matura-tekst{
	  padding-left:20%; 
}

/* --- mobilno/tablet: sve normalno --- */
@media (max-width: 991.98px){
  .hero-instrukcije .hero-img-wrapper{
    position: static;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* PRIPREME */
@media (max-width: 991.98px){

  /* AKO .instrukcije-opis ima klasu .pripreme -> sve lijevo */
  .hero-instrukcije .instrukcije-opis.pripreme{
    text-align: left;
	padding: 3rem 1rem 1rem 1rem;
  }

  /* gumb neka prati poravnanje (inline element) */
  .hero-instrukcije .instrukcije-opis.pripreme .btn-instrukcije{
    display: inline-flex;   /* ok za pill */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ako negdje imaš auto margine iz drugih pravila, resetiraj */
  .hero-instrukcije .instrukcije-opis.pripreme .instrukcije-text,
  .hero-instrukcije .instrukcije-opis.pripreme .instrukcije-small,
  .hero-instrukcije .instrukcije-opis.pripreme .matura-tekst{
    margin-left: 0 !important;
    margin-right: 0 !important;
	padding-left: 0 !important;
  }
}

/* Ostalo (kako si imao) */
.section-title{
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: .95;
  color: #ffbd59;
  margin: 0 0 1rem 0;
  word-break: break-word;   /* sigurnosno za dugačke riječi */
}

.normal-font{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 600;
  font-style: normal !important;
}

.note-list{
	margin: 0 0 18px 0;
}

.note-list li{
  position: relative;
  margin: 0 0 14px 0;     /* razmak između stavki */
  line-height: 1.45;
  font-size: 14px;        /* kao na slici */
}



.highlight {
  color: #ffbd59;
  font-weight: 600;
}

.btn-main {
  background: #ffbd59;
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
}

.btn-main:hover {
  background: #d98d2f;
  color: white;
}

/* O NAMA */
.onama-veliko{
	font-size: clamp(24px, 1.8vw, 32px);
}

.footer { background: #f2f2f2; }

.lead { font-size: 2rem; }

/* navbar mora biti fixed ili sticky da ima smisla */
.hide-header {
  position: sticky;         /* ili fixed */
  top: 0;
  z-index: 1050;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
  will-change: transform;
}

/* kad se skriva */
.hide-header.is-hidden {
  transform: translateY(-110%);
}

/* malo “premium” osjećaj kad krene scroll */
.hide-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
  .hide-header { transition: none; }
}

@media (max-width: 576px){
  .container-mobile-fluid{
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* očisti default stil linka (plavo + underline) */
a.cisti-a,
a.cisti-a:link,
a.cisti-a:visited {
  color: inherit !important;
  text-decoration: none !important;
}

/* hover/active */
a.cisti-a:hover,
a.cisti-a:active {
  color: inherit !important;
  text-decoration: none !important;
}

/* fokus (tipkovnica) – zadrži pristupačnost bez underline */
a.cisti-a:focus,
a.cisti-a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(0,0,0,.15);
  text-decoration: none !important;
}

.ikona-kruzic{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #9b9b9b;      /* sivi kružić */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}

.ikona-kruzic i{
  color: #fff !important;   /* bijela ikona */
  font-size: 16px;
  line-height: 1;
}

/* FOOTER */
.site-footer{
  background:#e0dfdc; /* tvoja pozadina */
  padding: 50px 0 60px; /* puno "zraka" gore kao na slici */
}

.footer-inner{
  padding-left: 70px;
  padding-right: 70px;
}

.footer-brand{
  font-family: "Radnika", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color:#2b2b2b;
  margin-bottom: 20px;
}

.footer-nav{
  display:flex;
  flex-direction: column;
  align-items: flex-end;      /* desno poravnanje */
  gap: 10px;
  margin-bottom: 20px;
}

.footer-nav a{
  font-family: "Radnika", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color:#2b2b2b;
  text-decoration: none;
}

.footer-nav a:hover{
  text-decoration: underline;
}

.footer-divider{
  border: 0;
  height: 6px;               /* debela linija */
  background: #8d8d8d;
  opacity: 1;
  margin: 28px 0 22px;
}

.footer-copy{
  font-family: "Radnika", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color:#2b2b2b;
  text-align: center;
}

/* desktop ostaje isto */

/* MOBITEL */
@media (max-width: 767.98px){
  .site-footer{
    padding: 70px 0 35px; /* manje nego desktop */
  }

  .footer-inner{
    padding-left: 22px;
    padding-right: 22px;
  }

  .footer-brand{
    font-size: 28px;
    margin-bottom: 0; /* da bude pri dnu lijevo */
  }

  .footer-nav{
    align-items: flex-end; /* DESNO na mobitelu */
    gap: 6px;
    margin-bottom: 0;
  }

  .footer-nav a{
    font-size: 16px;
  }

  .footer-divider{
    height: 4px;
    margin: 18px 0 14px;
  }

  .footer-copy{
    font-size: 16px;
  }
}


.razina-osnovna {
  text-transform: uppercase;
}

/* FOOTER KRAJ */