*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
  }
  *::selection {
  background: #0da841;
  color: white;
  }
  html,
  body {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  }
  #container{
    height: auto;
    background-color: #0E1D33;
    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;
    }
  
  /*--------------GOTOV HEADER ----------------*/
  
  #vanta-bg {
    width: 100%;
    height: 100vh;
    position: relative;
  }
  
  .center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 5px black;
    color: white;
    z-index: 10;
  }
    /* dugmence */
    #scrolldown {
      --color: rgb(255, 255, 255);
      --sizeX: 30px;
      --sizeY: 50px;
      position: absolute;
      width: var(--sizeX);
      height: var(--sizeY);
      margin-left: var(sizeX / 2);
      border: calc(var(--sizeX) / 10) solid var(--color);
      border-radius: 50px;
      box-sizing: border-box;
      bottom: 250px;
      left:50%;
      cursor: pointer;
    }
    
    #scrolldown::before {
      content: "";
      position: absolute;
      bottom: 30px;
      left: 50%;
      width: 6px;
      height: 6px;
      margin-left: -3px;
      background-color: var(--color);
      border-radius: 100%;
      animation: scrolldown-anim 2s infinite;
      box-sizing: border-box;
      box-shadow: 0px -5px 3px 1px #2a547066;
    }
    
    @keyframes scrolldown-anim {
      0% {
        opacity: 0;
        height: 6px;
      }
    
      40% {
        opacity: 1;
        height: 10px;
      }
    
      80% {
        transform: translate(0, 20px);
        height: 10px;
        opacity: 0;
      }
    
      100% {
        height: 3px;
        opacity: 0;
      }
    }
    
    .chevrons {
      padding: 6px 0 0 0;
      margin-left: -3px;
      margin-top: 48px;
      width: 30px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .chevrondown {
      margin-top: -6px;
      position: relative;
      border: solid var(--color);
      border-width: 0 3px 3px 0;
      display: inline-block;
      width: 10px;
      height: 10px;
      transform: rotate(45deg);
    }
    
    .chevrondown:nth-child(odd) {
      animation: pulse54012 500ms ease infinite alternate;
    }
    
    .chevrondown:nth-child(even) {
      animation: pulse54012 500ms ease infinite alternate 250ms;
    }
    
    @keyframes pulse54012 {
      from {
        opacity: 0;
      }
    
      to {
        opacity: 0.5;
      }
    }
  /*--------------desc----------------*/
  
  #desc{
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background: linear-gradient(to right, #05245a, #111e35);
    z-index: 1000;
  }
  /* .grnj-ob{
    width: 100%;
    height: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }
  .dnj-ob{
    width: 100%;
    height: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  } */
  #ob-desc1{
    width: 25%;
    height: 100%;
    background-color: #172331;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  #sl-ob{
   width: 100%;
   height: 100%;
   object-fit: cover;
  }
  #ob-desc2{
    width: 25%;
    height: 100%;
    background: linear-gradient(to left, #155c96, #4b75bd);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    z-index: 1000;
  
  }
  #nas-ob2-2{
    color: white;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    padding: 0px 50px;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
  }
  
  #ob-desc3{
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #223549;
    flex-direction: column;
    gap: 50px;
    z-index: 1000;
  
  }
  #nas-ob3-2{
    color: #ffffff;
    font-size: 18px;
    padding: 0px 50px;
    text-align: center;
    z-index: 1;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
  }
  #ob-desc4{
    width: 25%;
    height: 100%;
    background: linear-gradient(to right, #287fc7, #4ba6bd);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    z-index: 1000;
  }
.nas-grnj-ob{
    color: white;
    font-size: 40px;
    text-transform: uppercase;
  }
  #nas-ob4-2{
    color: #ffffff;
    font-size: 18px;
    padding: 0px 50px;
    text-align: center;
    z-index: 1;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
  }  

    /*--------------srednji----------------*/

#opis{
  width: 100%;
  height: 700px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 40px; /* razmak između strelica i slidera */
}

.slider-container {
  position: relative;
  width: 1080px; /* 3 kartice x 300 + 2x90px gap */
  overflow: hidden;
}

.slider {
  display: flex;
  gap: 90px; /* VEĆI razmak između kartica */
  transition: transform 0.5s ease;
}

.card {
  flex: 0 0 300px;
  height: 400px;
  background: linear-gradient(to left, #155c96, #4b75bd);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  box-sizing: border-box;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding:0px 10px;
  gap: 30px;
  font-size:40px;
  color: white;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.arrow {
  border: none;
  background-color: transparent;
  color: white;
  font-size: 40px;
  cursor: pointer;
  padding: 5px 10px;
  transition: background 0.3s;
}
/* Responsive primer */
@media (max-width: 1200px) {
  .slider-container {
    width: 90%;
  }
  .card {
    flex: 0 0 250px;
    height: 350px;
  }
  .slider {
    gap: 50px;
  }
}
.nas-card{
  font-size: 32px;
  margin-bottom: 15px;
  height: 50px; /* fiksna visina naslova */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ikonice{
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
  flex-shrink: 0; /* ne smanjuje se */
}
.tekst-kartica{
  font-size: 20px;
  color: white;
  padding: 0 10px;
  text-align: center;
  height: 100px; /* fiksna visina teksta */
  display: flex;
  align-items: center;
  justify-content: center;
}
  /*--------------srednji----------------*/
  
  #srd{
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to left, #155c96, #4b75bd);
    position: relative;
  }
  #nas-srd{
    color: white;
    padding: 0px 150px;
    z-index: 1;
    text-align: center;
    text-shadow: 2px 2px 2px rgb(0, 0, 0);

  }
  #sl-srd{
    position: absolute;
    width: 350px;
    height: 350px;
    opacity: 70%;
    filter: drop-shadow(10px 0px 20px rgba(0,0,0,0.5));
  }

  /* opis */
  #srednji-div{
    width: 100%;
    height: 1300px;
    background: linear-gradient(
      to bottom,
      #3c7bbf 0%,   /* gornja */
      #164a80 50%,  /* srednja */
      #0b2a4a 100%  /* donja */
    ); 
  }
  
 #onama{
    width: 100%;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
 } 

 .onama-ds{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    
 }
 .onama-lv{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

 }
 .sl-opo{
    width: 720px;
    height: 520px;
    object-fit: cover;
    border-radius: 12px;
    border-bottom-left-radius: 0px;
    position: absolute;
    left: 0;
    bottom: 0;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.2);

 }
#lv-srd{
  background: rgb(4, 87, 155) ;
  width: 620px;
  height: 450px;
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  flex-direction: column;
  border-radius: 12px;
  right: 60px;
  bottom: 60px;
}
 /* spojeni */

 #spojen{
  width: 100%;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
#spojen-des{
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
#spojen-lev{
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
#des-srd{
  background: rgb(4, 87, 155) ;
  width: 620px;
  height: 450px;
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  flex-direction: column;
  border-radius: 12px;
  left: 60px;
  top: 60px;
}
#sl-des-srd{
  position: absolute;
  right: 30px;
  top: 30px;
  width: 80px;
  height: 80px;
}
.slider-parent {
  position: absolute;
  width: 720px;
  max-width: 100%; /* responsive */
  height: 520px;
  overflow: hidden;
  border-radius: 12px;
  border-top-right-radius: 0px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background-color: black;
  top:0;
  right:0;
}

.slider-images1 {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.slider-images1 img {
  flex: 0 0 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 70%;
}

.slider-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 30px;
}

.strela {
  background: transparent;
  border: 1px solid white;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 0px 12px;
  border-radius: 100%;
  transition: background 0.3s;
}

.strela:hover {
  background: rgba(0,0,0,0.8);
}

/* Responsive primer: na manjim ekranima manja visina */
@media (max-width: 768px) {
  .slider-parent {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .slider-parent {
    height: 250px;
  }
}
.nas-spoj{
  color: white;
  padding: 0px 30px;
  text-align: left;
  align-self: flex-start;
  margin-left: 0px;
}
.tek-spoj{
  color: white;
  font-size: 13px;
  padding: 0px 30px;
  text-align: left;
  
}
.dug-spoj{
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #1664a3, #305699);
  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);
  margin-left: 30px;
  align-self: flex-start;

}
.dug-spoj:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.dug-spoj:active{
  transform: translateY(0);
  box-shadow: 0 3px 7px rgba(0,0,0,0.2);
}

 /* 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: 100;
}
#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 1.2s 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;
  }
  a{
    z-index: 100;
  }
  #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;
    }
  

  /* 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);
}

  #s{
    margin-left: 500px;
    width: 850px;
    height: 900px;
  }
  
  /* 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;
}