/* Reset margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  /* Uklanja podcrtavanje */
  color: inherit;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Red Hat Display", sans-serif;
  /* Apply the Red Hat Display font */
  background-color: black;
}

/* Dodajte smooth scroll za celu stranicu */
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  /* Omogućava obavezno snappanje pri skrolovanju */
}



/* Stilizovanje skrol bara */
::-webkit-scrollbar {
  width: 5px;
  /* Širina skrol bara */
  transition: all 0.5s ease;
  /* Tranzicija za promenu boje */
}

::-webkit-scrollbar-track {
  background-color: #000000;
  /* Boja pozadine skrol bara */
  transition: all 0.5s ease;
  /* Tranzicija za pozadinsku boju */
}

::-webkit-scrollbar-thumb {
  background-color: #081e20;
  /* Boja skrol dugmeta */
  /* Zaobljeni rubovi skrol dugmeta */
  transition: all 0.5s ease;
  /* Tranzicija za promenu boje */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #1a6e7c;
  /* Boja skrol dugmeta pri hover-u */
  transition: all 0.5s ease;
  /* Tranzicija za promenu boje */
}



/* Prilagođeni skrol bar samo za određeni element */
.custom-scrollbar {
  height: 500px;
  overflow-y: scroll;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  transition: background-color 0.5s ease;
  /* Tranzicija za promenu boje */
}

.custom-scrollbar::-webkit-scrollbar-track {
  background-color: #0f0f0f;
  transition: background-color 0.5s ease;
  /* Tranzicija za promenu boje */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #175259;
  border-radius: 10px;
  transition: background-color 0.5s ease;
  /* Tranzicija za promenu boje */
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #1a6e7c;
  transition: background-color 0.5s ease;
  /* Tranzicija za promenu boje */
}


/* Fade-in animacija */
.fade-in-element {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in-element.visible {
  opacity: 1;
}

.fade-in-element,
.scroll-effect {
  will-change: opacity, transform;
}

.zoom-in-smooth {
  opacity: 0;
  transform: scale(0.9);
  /* Element je inicijalno manji */
  transition: opacity .8s ease, transform .8s ease;
  /* Glatka promena opaciteta i veličine */
}

.zoom-in-smooth.visible {
  opacity: 1;
  transform: scale(.9);
  /* Element raste do originalne veličine */
}


/* Full-screen block */
.full-screen-block {
  background-image: url('../images/intro.png');
  /* Put the path to your image here */
  background-size: cover;

  background-position: center;
  width: 100%;
  height: 100vh;
  /* Full viewport height */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #2c99a8;
  animation: fadeIn 2s forwards;
  /* Animacija za fadeIn */
}


/* Animacija slova */
.animate-text span {
  opacity: 0;
  position: relative;
  display: inline-block;
  transition: opacity 0.1s ease;
}

/* Text container */
.text-container {
  margin-left: 135px;
  width: 640px;
}

/* Main title */
.main-title {
  font-size: 3em;
  margin: 0;
  font-weight: bold;
  animation: fadeInText 3s ease-out forwards;
}

/* Mini text under the title */
.mini-text {
  position: absolute;
  font-size: 1.2em;
  margin-top: 20px;
  width: 36%;
  animation: fadeInText 4s ease-out forwards;
}

.light {
  font-weight: 600;
  font-size: 3em;
  padding: 0;
  margin: 0;
}

.regular,
.bold {
  font-weight: 300;
  font-size: 3em;
  margin: 0;
  padding: 0;
}

.semibold {
  font-weight: 700;
  font-size: 3em;
  margin: 0;
  padding: 0;
}

/* Animacija za fade-in efekat */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Animacija za fade-in tekst */
@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(30px);
    /* Početna pozicija sa pomakom */
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    /* Na kraju vraća tekst u normalnu poziciju */
  }
}


/* Stilizovanje navigacije */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.8s ease, background-color 0.8s ease;
}

.navbar.scrolled {
  padding: 20px 30px;
  /* Smanji padding kad skroluješ */
  background-color: rgba(0, 0, 0, 0.3);
  /* Dodajemo tamnu pozadinsku boju */
}

.navbar .left {
  display: flex;
  align-items: center;
  margin-left: 56px;
  position: relative;
}

/* Logo sa natpisom, sakriva se kada se skroluje */
.full-logo {
  width: 120px;
  height: auto;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Logo simbol se pojavljuje samo pri skrolovanju */
.symbol-logo {
  width: 38px;
  /* Manja širina simbola */
  height: auto;
  opacity: 0;
  /* Početno sakrivanje */
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  /* Ovaj simbol treba da bude na istom mestu kao i originalni logo */
  top: 0;
  left: 0;
}

.navbar.scrolled .symbol-logo {
  opacity: 1;
  /* Prikazivanje simbola nakon skrolovanja */
}

.navbar.scrolled .full-logo {
  opacity: 0;
  /* Sakrivanje loga sa natpisom kada se skroluje */
}

.navbar .right {
  display: flex;
  font-family: "Reem Kufi", serif;
  font-size: 11px;
  width: 50%;
  font-weight: 400;
  text-transform: uppercase;
  align-items: center;
  justify-content: space-between;
  margin-right: 56px;
}

.navbar a {
  font-family: "Reem Kufi", serif;
  text-decoration: none;
  color: rgb(153, 153, 153);
  transition: all 1s ease;
}

.navbar a:hover {
  color: #2c99a8;
  transition: all 1s ease;
}

.navbar .right a {
  opacity: 0;
  transform: translateY(10px);
  /* Pomeri stavke prema dole */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.navbar.scrolled .right a {
  opacity: 1;
  transform: translateY(0);
}

.navbar .right a:nth-child(1) {
  animation: fadeIn 0.6s ease forwards 0.3s;
}

.navbar .right a:nth-child(2) {
  animation: fadeIn 0.6s ease forwards 0.6s;
}

.navbar .right a:nth-child(3) {
  animation: fadeIn 0.6s ease forwards 0.9s;
}

.navbar .right a:nth-child(4) {
  animation: fadeIn 0.6s ease forwards 1.2s;
}

.navbar .right a:nth-child(5) {
  animation: fadeIn 0.6s ease forwards 1.5s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stilizovanje linkova u navigaciji */
.navbar a {
  position: relative;
  /* Potrebno za pozicioniranje pseudo-elementa */
  text-decoration: none;
  /* Uklanja podvlačenje */
  color: rgb(153, 153, 153);
  /* Početna boja teksta */
  font-family: "Reem Kufi", serif;
  transition: color 2s ease;
  /* Promena boje teksta */
}

/* Dodavanje linije ispod linka prilikom hover efekta */
.navbar a::after {
  content: "";
  /* Bez teksta, samo linija */
  position: absolute;

  left: 0;
  width: 100%;
  /* Linija će biti širine linka */
  height: 1px;
  /* Debljina linije */
  bottom: -9px;
  /* Pomera liniju malo niže */
  background-color: #2c99a8;
  /* Boja linije */
  transform: scaleX(0);
  /* Početni skaliranje linije na 0 */
  transform-origin: bottom right;
  /* Podesite tačku odakle linija počinje */
  transition: transform 2s ease;
  /* Animacija linije */
}

/* Efekat pri hover-u: Linija se povlači */
.navbar a:hover::after {
  transform: scaleX(1);
  /* Širi liniju kada je link hover-ovan */
  transform-origin: bottom right;
  /* Linija se povlači s leva */
  transition: all 1s ease;
}

/* Efekat promene boje pri hover-u */
.navbar a:hover {
  color: #2c99a8;
  /* Menjanje boje teksta prilikom hover-a */
  transition: all 1s ease in;
}



/* Efekat treptanja slova */
@keyframes flicker {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.1;
  }

  100% {
    opacity: 1;
  }
}

/* Početno stanje svakog slova */
.flicker-text {
  display: inline-block;
  opacity: 0;
  /* Početno stanje slova je nevidljivo */
  transition: opacity 0.1s ease-in-out;
  /* Glatka promena opaciteta */
}

/* Klasa koja pokreće treperenje */
.flicker-start {
  animation: flicker 0.6s infinite;
  /* Trajanje animacije treperenja */
  opacity: 1;
  /* Slovo postaje vidljivo */
}




/* Full-screen block styling */
.unique-block {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: left;
  text-align: left;
  background-image: url('../images/tipografija-3.png');
  /* Zameni sa pravom slikom */
  background-size: cover;
  background-position: center;
  height: 100vh;
  /* Puna visina ekrana */
  padding: 20px;
  /* Dodatni prostor unutar bloka */
}

.unique-block-mobile {
  display: none;
}


.block {
  position: absolute;
  width: auto;
  height: auto;
  bottom: 30px;
  /* Udaljenost od dna */
  right: 80px;
  /* Udaljenost od desne ivice */

}

.block-mobile {
  display: none
}

.bottom-right-title {
  font-weight: 700;
  bottom: 10px;
  /* Udaljenost od dna */
  right: 10px;
  /* Udaljenost od desne ivice */
  font-size: 64px;

  color: rgb(255, 255, 255);
}

.bottom-right-title-one {

  bottom: 10px;
  right: 10px;
  display: flex;
  font-weight: 300;
  color: rgb(255, 255, 255);
  font-size: 64px;
  text-align: right;
  margin: 0;
  height: 68px;
  padding: 0;
  justify-content: flex-end;

}

.unique-content {
  max-width: 830px;
  color: rgb(255, 255, 255);
  margin-left: 8%;

}

/* Stilovi za tekst */
.unique-short-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5%;

}

.unique-main-title {
  font-size: 2.5rem;
  font-weight: 700;

}

.unique-description {
  font-size: 1rem;
  width: 75%;
  margin-top: 25px;
  line-height: 1.4;

}

/* Highlight classes for specific words */
.highlight-bold {
  font-weight: 700;
  /*text-transform: uppercase;*/
  /* Velika slova */
  color: #ffffff;
  /* Crna boja, možeš promeniti po želji */
}

.highlight-light {
  font-weight: 300;
  /* Light stil */
  text-transform: capitalize;
  /* Prva slova velika */
  color: #2c99a8;
}

/* New main container */
.new-main-container {
  width: 100%;
  height: 100vh;
  /* Full screen height */
  display: flex;
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
}

/* New inner content wrapper for margin control */
.new-inner-content {
  width: 100%;
  max-width: 100%;
  /* Maximum width */
}

/* New full-screen background block */
.new-background-block {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Full screen height */
  display: flex;
  align-items: center;
  /* Vertical alignment */
  justify-content: flex-start;
  /* Align content to the left */

}

/* New background image */
.new-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Make image cover the full space */
  z-index: -1;
  /* Image goes behind text */
}

/* New left text area */
.new-left-text {
  position: relative;
  z-index: 1;
  /* Text in front of the image */
  padding: 20px;
  color: white;
  margin-left: 8%;
}

.new-left-text h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 15px;
  max-width: 560px;
  /* Adjust text width */
}

.new-left-text p {
  font-size: 1em;
  max-width: 460px;
  /* Adjust text width */
}


/* Main container for centering */
.final-main-container {
  width: 100%;
  height: 100vh;
  /* Full screen height */
  display: flex;
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
}

/* Inner content wrapper for margin control */
.final-inner-content {
  width: 100%;
  max-width: 1239px;
  margin: 0 56px;
}

/* Background block covering the full screen */
.final-background-block {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Full screen height */
  display: flex;
  align-items: center;
  /* Vertical alignment */
  justify-content: flex-end;

  /* Align content to the right */
}

/* Background image */
.final-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Make image cover the full space */
  z-index: -1;
  /* Image goes behind text */
}

/* Right text area */
.final-right-text {
  position: relative;
  z-index: 1;
  /* Text in front of the image */
  color: white;
  max-width: 570px;
  text-align: left;
  /* Align text to the right */
}

.final-right-text h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.final-right-text p {
  font-size: 1em;
}

.text-animation-container {
  width: 100%;
  height: 100vh;
  background: url('your-image.jpg') no-repeat center center/cover;
  /* Postavi pozadinsku sliku */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.text-animation-inner {
  max-width: 80%;
  /* Maksimalna širina teksta */
  text-align: left;
  /* Tekst poravnan ulevo */
  color: white;
  font-family: 'Red Hat Display', sans-serif;
}

#animated-title {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 20px;
}

#animated-subtitle {
  font-size: 20px;
  line-height: 1.5;
}

/* Glavni blok */
.custom-block {

  background-color: #000000;
  text-align: center;
  display: flex;
  width: 100%;
  height: 100vh;
  align-content: center;
  align-items: center;
  justify-content: space-between;

}

.custom-block-mobile {
  display: none;
}

/* Leva strana - slika i naslov preklapaju */
.left-side {
  position: relative;
  width: 50%;
  /* Leva strana */
  height: 100%;
}

.left-side .image-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 90%;
}

.left-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title-overlay {
  position: absolute;
  top: 50%;
  left: 45.6%;
  transform: translate(-50%, -50%);
  color: white;
  /* Boja naslova */
  font-size: 3rem;
  /* Veličina fonta */
  text-align: left;
  font-weight: bold;
  z-index: 1;
}

/* Središnja slika */
.center-image {
  width: 25%;
  height: 100%;
  position: absolute;
  left: 36%;
  padding: 0 10px;
}

.center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desna strana - tekst */
.right-side {
  position: absolute;
  width: 38%;
  text-align: left;
  padding: 20px;
  left: 60%;

}

.typography-text {
  font-size: 16px;
  /* Veličina fonta za tekst */
  color: #ffffff;
  line-height: 1.5;
}

.typography-bold {
  font-weight: bold;
  text-transform: uppercase;
  /* Velika slova */
}

.typography-regular {
  font-weight: normal;
  text-transform: capitalize;
  /* Prva slova sa velikim */
}

.main-section {
  padding: 50px;
  background: url('../images/footer.png') no-repeat center center/cover;
  /* Postavi pozadinsku sliku */
  color: rgb(5, 5, 5);
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.header-block {
  margin-bottom: 50px;
  display: flex;

  align-items: center;
  flex-direction: column;

}

.header-block h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.header-block p {
  font-size: 16px;
  text-align: center;
  width: 56%;
}

.small-black-block {
  background-color: black;
  color: white;
  padding: 11% 27%;
  font-weight: 300;

  background: url('../images/B.png') no-repeat center center/cover;
  /* Postavi pozadinsku sliku */
  text-align: center;
}

.small-black-block h2 {
  font-size: 2rem;
  font-weight: 300;
  margin: 0;
}


.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  margin-top: 42px;
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  -webkit-appearance: none;
appearance: none;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* hover */
.cta-button:hover {
  background: #1ab2ba;
  transform: translateY(-1px);
}

.cta-meta {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  padding-top: 8px;
}

/* icon */
.cta-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* MOBILE */
@media (max-width: 768px) {
  .cta-button {
    padding: 14px 22px;
    font-size: 15px;
    -webkit-appearance: none;
appearance: none;
  }

  .cta-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;

  }
}

.fade-in-block {
  opacity: 0;
  animation: fadeIn-2 2s forwards;
  transform: translateY(30px);
  /* Start slightly lower */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

@keyframes fadeIn-2 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fade-in-block.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-text span {
  opacity: 0;
  display: inline-block;
  transition: opacity 0.5s ease;
}

.contact-section {
  padding: 18px 50px;
  background-color: #05242d;
  text-align: center;
  color: #cdebf0;
  /* DISPLAY: flex; */
  display: flex;
  justify-content: space-around;
  align-content: center;
  align-items: center;
}

.contact-section h1 {
  font-size: 14px;
  margin-bottom: 0px;
  font-weight: 300;
}

.contact-section p {
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

.contact-section h1 {
  width: 25px;
  padding-right: 75px;
}

.contact-section a {
  color: #2c99a8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section a:hover {
  color: #abdaf4;
  /* LinkedIn plava */
  transition: color 0.3s ease;
}

.social {
  width: auto;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}

.social h1 {
  width: 25px;
  padding-right: 75px;
}

.social a {
  color: #2c99a8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social a:hover {
  color: #abdaf4;
  /* LinkedIn plava */
  transition: color 0.3s ease;
}

.font-effect {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 68px;
  font-weight: 100;
  /* Početna težina */
  text-align: left;
  transition: font-weight 0.1s ease;
  /* Glatka promena */
  color: #ffffff;
}

.desctop {
  display: block;
}

.mobile {
  display: none;
}

.new-bg-image {
  display: block;
}



.font-mobile {
  display: none;
}

.new-main-container-mobile {
  display: none;
}