*{
  margin: 0;
  padding:0;
  box-sizing: border-box;
}
*::selection {
background: #0da841;
color: white;
}
@keyframes svetlucanje {
  0% { text-shadow: 0 0 5px #fff, 0 0 10px rgb(14, 119, 167), 0 0 15px rgb(14, 106, 167); }
  50% { text-shadow: 0 0 10px #fff, 0 0 20px #00CFFF, 0 0 30px #00CFFF; }
  100% { text-shadow: 0 0 5px #fff, 0 0 10px rgb(14, 131, 167), 0 0 15px rgb(14, 136, 167); }
}
html,
body {
scroll-behavior: smooth;
font-family: "Poppins", sans-serif;
}
#container{
  height: auto;
  background: linear-gradient(to bottom, #0f172a, #13243b);
  width: 100%;
  overflow: hidden;
  position:relative; 
  display: block; 
  float: left;
  transition: 1s ease;
}
#header {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9999;

  /* Start: totalno transparentan */
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;

  transform: translateY(0);
  opacity: 1;
  transition: 
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease;
}

/* Kad skroluješ – blur + shadow */
#header.with-bg {
  background: rgba(15, 23, 42, 0.55); /* tamna prozirna */
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

/* Auto-hide kad ideš dole */
#header.hide {
  transform: translateY(-100%);
}
  #sl-lev{
    height: 100%;
    width: 20%;
    /* background-color: rgb(29, 32, 151); */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }
  #logo{
    width: 200px;
    height: 86px;
  }
  .navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    width: 80%;
    height: 100%;
    /* background-color: blue; */
  }
  .hamburger {
    display: none;
  }
  
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
  }
  .nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 50px;
    gap: 20px ;
    /* background-color: red; */
  }
  .nav-itemi {
    display: block;
    width: 105px;
    text-align: center;
    transition-duration: .25s;
  }
  .nav-link{
    position: relative;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    list-style:none;
  }
  .nav-link:hover{
    color: #494d72;
  }
  #prj{
    width: 100%;
    height: 3px;
    top: 42px;
    position: absolute;
    background-color: #ffffff;
    display: flex;
  }
  
  .nav-link::after{
    content: '';
    position: absolute;
    left: 0px;
    bottom: -10px;
    height: 3px;
    width: 0px;
    border-radius: 2px;
    background-color: #ffffff;
    transition: 0.4s ease;
  }
  .nav-link:hover::after{
    width: 100%;
  }
  #jeza{
    width: 120px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;  
    gap: 10px;
  }
  .zas{
    width: 40px;
    height: 40px;
  }
  .zas:hover{
    filter: brightness(0.5);
    cursor: pointer;
  }
/* POCETNA */

#glavni{
    width: 100%;
    height: 930px;
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
#nas-glavni{
    font-size: 120px;
    z-index: 1000;
    position: absolute;
    color: white;
}
#vid{
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 60%;
    object-fit: cover;
  }

  /* usluge */

#proba{
    width: 100%;
    height: 1060px;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.prb{
    width: 25%;
    background-color: #22314D;  
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.prb:hover,
.prb2:hover,
.prb3:hover,
.prb4:hover,
.prb5:hover,
.prb6:hover,
.prb7:hover,
.prb8:hover {
  background: rgba(4, 40, 117, 0.3); /* samo pozadina potamni */
  transition: 0.7s;
}
.prb2{
    width: 25%;
    background-color: #2E4772;  
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.prb3{
    width: 25%;
    background-color: #174488;  
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.prb4{
    width: 25%;
    background-color: #3361A8;
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.prb5{
    width: 25%;
    background-color: #2B5B8C;
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.prb6{
    width: 25%;
    background-color: #387aaf;
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.prb7{
    width: 25%;
    background-color: #1F3B63;
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.prb8{
    width: 25%;
    background-color: #284B78;
    height: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.nas-gl{
    font-size: 35px;
    color: white;
    flex: 1;
    margin-top: 10px;
}
.tek-gl{
    font-size: 17px;
    color: white;
    text-align: center;
    padding: 0px 30px;
    flex: 2;

}
.gornji{
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.donji{
    width: 100%;
    height: 60%;
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    align-items: center;
    flex-direction: column;
}
.sl-prb{
    width: 100px;
    height: 100px;
}


/* cenovnik */
#pricing-blocks{
  max-width: 1600px;
  padding-block: clamp(48px, 7vw, 96px);
  min-height: 70vh;
  display: flex;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
}
#pricing-blocks * { 
  box-sizing: border-box; 
}
#pricing-blocks :where(h1,h2,h3,p,ul,li){ 
  margin:0; 
  padding:0; 
} /* skini nasleđene margine */
#pricing-blocks ul{ 
  list-style: none; 
}  
:root{
  --card-min-h: 560px;    /* ovde menjaš ukupnu visinu kartice */
}
/* Blok (Starter default – plavi gradient) */
.pb-item{
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  border-radius: 18px;
  padding: clamp(20px,3vw,32px);
  color:#fff;
  transition: transform .25s ease, box-shadow .25s ease, outline-color .25s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  outline: 1px solid rgba(255,255,255,.06); /* delikatna ivica */
  position: relative;
  overflow: hidden;
  display:flex;
  flex-direction: column;
  gap: clamp(14px,2vw,20px);
  flex: 1 1 380px;
  max-width: 520px;
  height: 100%;
  min-height: var(--card-min-h);
  text-align: left;
}
.pb-item:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) inset;
}
/* spotlight sloj */
.pb-item::after{
  content:"";
  position:absolute; inset:-20%;
  background:
    radial-gradient(220px 160px at var(--mx,50%) var(--my,50%), rgba(255,255,255,.10), transparent 60%),
    radial-gradient(220px 160px at var(--mx,50%) var(--my,50%), rgba(0,0,0,.08), transparent 60%);
  pointer-events:none;
  opacity:0; 
  transition:opacity .2s ease;
}
.pb-item:hover::after{ 
  opacity:1; 
}

.pb-item::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  pointer-events:none;
  opacity:0;
  transition:opacity .25s ease;
  background:
    radial-gradient(1200px 400px at 50% 120%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(135deg, rgba(99,102,241,.35), rgba(59,130,246,.25), rgba(6,182,212,.35));
  mix-blend-mode: screen;
}
.pb-item:hover::before{ opacity: .9; }
/* Varijante pozadina */
.pb-dark{ 
  background: linear-gradient(135deg, #0f172a, #1e293b); 
}
.pb-cyan{ 
  background: linear-gradient(135deg, #06b6d4, #0e7490); 
}
/* istakni „Advanced“ */
.pb-item.featured{
  transform: translateY(-8px);
  outline-color: rgba(96,165,250,.35);
}
.pb-item.featured:hover{
  transform: translateY(-12px);
}

/* Header bloka */
.pb-head{
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  gap:12px;
  padding-right: 6px;
  width: 100%;
  flex: 0 0 auto;
}
.pb-title{
  margin:0;
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .2px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
.pb-title strong{ 
  font-weight: 900; 
}
.pb-icon{
  font-size: clamp(28px, 3vw, 38px);
  filter: drop-shadow(0 0 8px rgba(0,200,255,.6));
}

/* Lista benefita (čekovi) */
.pb-list{
  list-style:none; 
  margin: 4px 0 0; 
  padding-top: 6px;
  display:flex; 
  flex-direction:column; 
  gap: 20px;
  width: 100%;
  flex: 0 0 auto;
}
.pb-list li{
  display:flex; 
  align-items:flex-start; 
  gap:10px;
  font-size: clamp(16px, 1.2vw, 20px);  
  line-height: 1.55; 
  text-shadow:0 1px 2px rgba(0,0,0,.3);
}
.pb-list li::before{
  content:"✔"; flex-shrink:0;
  display:inline-grid; 
  place-items:center;
  width:22px; height:22px; 
  border-radius:999px;
  background:#00d0ff; color:#0b1530; 
  font-weight:800; font-size:14px;
  box-shadow:0 0 6px rgba(0,208,255,.6); 
  margin-top:2px;
}

/* Dugme */
.pb-btn{
  margin-left: 0;
  padding:12px 32px; 
  border-radius:999px; 
  text-decoration:none;
  color:#fff; font-weight:800;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 -6px 14px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  margin-top: auto; 
  align-self: flex-start;
}
.pb-btn:hover{ 
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0,0,0,.45);
  filter: saturate(1.15);
}
.pb-btn:active{
  transform: translateY(0) scale(.98);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
/* tastatura fokus – lep i vidljiv */
.pb-btn:focus-visible{
  outline: 3px solid rgba(59,130,246,.9);
  outline-offset: 2px;
}

/* promo */

#promo{
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
#promo-lv{
  width: 25%;
  height: 100%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgb(0, 0, 0);
  position: relative;
}
#nas-lv{
  color: white;
  font-size: 40px;
  line-height: 65px;
  text-align: center;
  z-index: 100;
  text-shadow: 2px 2px 2px black;
  padding:0px 40px;
}
#sl-lv{
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 60%;
  z-index: 1;
}
#sl-lv:hover{
opacity: 100%;
transition: 0.3s ease-in-out;
}
#nas-lv:hover ~ #sl-lv{
opacity: 100%;
transition: 0.3s ease-in-out;
cursor: pointer;
}
#sr{
  width: 50%;
  height: 100%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(to left, #0a416e, #0a295e);
  gap: 0px;
  position: relative;
}
#sl-sr{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 70%;
}
#sl-sr:hover{
opacity: 100%;
transition: 0.3s ease-in-out;
}

#nas-sr{
  color: white;
  font-size: 60px;
  text-align: left;
  align-self: flex-start;
  margin-left: 50px;
  font-weight: 650;
  z-index: 100;
  margin-bottom: -10px;
  text-shadow: 2px 2px 2px black;
}
#nas-sr:hover ~ #sl-sr{
opacity: 100%;
transition: 0.3s ease-in-out;
cursor: pointer;
}
#tek-sr{
  color: white;
  font-size: 21px;
  text-align: left;
  padding: 50px;
  line-height: 40px;
  font-weight: 550;
  z-index: 100;
  text-shadow: 2px 2px 2px black;
}
#tek-sr:hover ~ #sl-sr{
opacity: 100%;
transition: 0.3s ease-in-out;
cursor: pointer;
}
#promo-ds{
  width: 25%;
  height: 100%;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to left, #4b75bd, #155c96);
  position: relative;
}
#sl-ds{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 80%;
  filter: brightness(0.5);
}
#sl-ds:hover{
opacity: 100%;
filter: brightness(1);
transition: 0.3s ease-in-out;
}
#dgm-ds:hover ~ #sl-ds{
opacity: 100%;
filter: brightness(1);
transition: 0.3s ease-in-out;
}
#dgm-ds{
display: inline-block;
padding: 20px 60px;
background: linear-gradient(135deg, #0c3f69, #244c91);
color: #fff;
font-size: 15px;
font-weight: 600;
text-decoration: none;
border: none;
border-radius: 0.5em;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
z-index: 1;
}
#dgm-ds:hover{
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
#dgm-ds:active{
transform: translateY(0);
box-shadow: 0 3px 7px rgba(0,0,0,0.2);
}
/* FOOTER */


#footer{
    height: 250px;
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    /* background: linear-gradient(to left, #1C2023, #111c4d); */
    background-color: #0A192F ;
    z-index: 100;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-in-out;
  }
 #footer.in-view {
  opacity: 1;
  transform: translateY(0);
  }
  #lev{
    width: 25%;
    height: 100%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #lg-donji{
    width: 150px;
    height: 150px;
  }
  #sred{
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .sred-nas{
    color: white;
    text-align: left;
    line-height: 10px;
    font-weight: 600;
    gap: 10px;
    display: flex;
    align-items: center;
  }
  .sred-nas2{
    color: white;
    text-align: left;
    line-height: 10px;
    font-weight: 600;
  }
  .fa-envelope{
    color: white;
  }
  #a{
    text-decoration: none;
    list-style: none;
    color: rgb(36, 164, 214);
  }
  #a:hover{
    color: rgb(29, 135, 177);
    transition: 0.2s;
  }
  #izmedju{
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: .25s;
    text-decoration: none;
    gap: 30px;
  }
  .nav-izlistani{
    position: relative;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    list-style:none;
    text-align: left;
  }
  .nav-izlistani:hover{
    color: #494d72;
  }
  li{
    list-style: none;
  }
  #desn{
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 30px;
  }
  .sl-desn{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    margin: 0 8px;
  }
  .sl-desn:hover{
    background-color: #00E0FF;
    transform: scale(1.1);
    cursor: pointer;
    }
  


  a{
    z-index: 100;
    list-style: none;
    text-decoration: none;
  }
  /* Za sve: inicijalno nevidljivi */
  .animate-on-scroll {
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    transform: none;
    position: relative;
  }
  
  /* Kada su vidljivi */
  .animate-on-scroll.visible {
    opacity: 1;
    transform: none;
  }
  
  /* Za fade in bez pomeranja (desc) */
  .fade-only {
    transform: none;
    transition: 0.8s ease-in-out;
  }
  
  /* Za ulazak sa leve strane */
  .fade-left {
    transform: translateX(-50px);
  }
  
  /* Za ulazak sa desne strane */
  .fade-right {
    transform: translateX(50px);
  }
  
  /* scroll */
/* samo za WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;  /* tamna pozadina */
}
::-webkit-scrollbar-thumb {
  background: #2563eb;  /* plavi slider */
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}