@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@500;700&display=swap');

/******
default
*******/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --white: hsl(0, 0%, 98%);
    --gray: hsl(0, 0%, 41%);
    --black: hsl(0, 0%, 8%);
    --black1: hsla(0, 0%, 8%, 0.637);
}
html, body {
  width: 100%;
  overflow-x: hidden; /* Sprečava horizontalno skrolovanje */
}  

ul {
    list-style-type: none;
}

nav a {
    color: var(--gray);
    text-decoration: none;
}

header .logo{
  align-items: center;
}

header {
  height: 110px;
  padding: 1.3rem 1rem;
  display: flex;
  align-items: center;
  position: fixed; /* Dodajemo position: fixed; */
  top: 0; /* Postavljamo da bude na vrhu ekrana */
  left: 0; /* Postavljamo da bude na levoj strani ekrana */
  right: 0; /* Postavljamo da zauzima celu širinu ekrana */
  background-color: var(--black1);
  z-index: 1000; /* Postavljamo z-index da bude iznad ostalog sadržaja */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);   
}

header.open nav {
  background-color: var(--black1); /* Postavljamo pozadinu menija na var(--black1) kada je meni otvoren */
  color: var(--white); /* Postavljamo boju linkova na var(--white) kada je meni otvoren */
}

/* Pomeramo zastave ispod linkova kada je meni otvoren */
header.open #flags {
  position: absolute;
    top: 0;
    padding-left: 15px;
    width: 120px;
}

header .menu {
    position: fixed;
    top: 1.3rem;
    right: 1rem;
    z-index: 2;
    cursor: pointer;
}

.menu .close-menu {
    display: none;
}

header.open .open-menu {
    display: none;
    
}

header.open .menu .close-menu {
  display: initial; /* Prikaz kada je meni otvoren */
  z-index: 3; /* Postavite veći z-index kako bi bila iznad ostalog sadržaja */
  position: absolute; /* Pozicionirajte apsolutno kako bi bila nezavisna od roditeljskog elementa */
  top: 1.3rem; /* Prilagodite visinu */
  right: 5rem; /* Prilagodite odstupanje od desne ivice */
}
@media (max-width: 600px) {
  header .menu {
      right: 0.5rem; /* Prilagodite vrednost za manje ekrane */
  }
  header.open .menu .close-menu {
      right: 3rem; /* Prilagodite vrednost za manje ekrane */
  }
}

/* Media Queries za tablet uređaje */
@media (max-width: 768px) {
  header .menu {
      right: 1rem; /* Prilagodite vrednost za tablet uređaje */
  }
  header.open .menu .close-menu {
      right: 4rem; /* Prilagodite vrednost za tablet uređaje */
  }
}

/* Media Queries za veće ekrane */
@media (min-width: 1024px) {
  header .menu {
      right: 1.5rem; /* Prilagodite vrednost za veće ekrane */
  }
  header.open .menu .close-menu {
      right: 5rem; /* Prilagodite vrednost za veće ekrane */
  }
}

@media (max-width: 320px){
  header{
    width: 100%;
  }
  
}
/******
**nav**
******/
.flags {
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centriranje zastavica */
    gap: 6px;
}

.flags__items {
    width: 30px;
}

.flags__img {
    cursor: pointer;
    display: block;
}

@media (max-width: 768px) {
    .flags {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        margin-left: 2px;
        width: 80px;
        padding-top: 10px;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 65vw;
    height: 100vh;
    background: white;
    transform: translateX(100%);
    transition: all .3s ease-in;
    display: flex;
    text-align: left;
    z-index: 1;
}

header.open nav {
    transform: translateX(0%);
}

nav .nav-links {
    margin-top: 75px;
    flex: 1;
}

.nav-links .nav-link {
    cursor: pointer;
    position: relative;
}

.nav-link > a {
    width: 100%;
    padding: .5rem 1.5rem;
    display: block;
    transition: all .3s ease-in;
    color: var(--white);
    font-weight: 570;
    font-size: 18px;
}

.nav-link > a:hover {
    background: var(--gray);
}

.nav-link .dropdown-list {
    display: none;
    padding: .5rem 1.5rem;
    overflow-y: hidden;
    
}

.nav-link.link-open .dropdown-list {
    display: block;
    background: var(--black1);
}

.dropdown-list .dropdown-link a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .5rem 1.5rem;
}
.dropdown-list .dropdown-link a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .5rem 1.5rem;
  color: var(--white);
  
}
header.open .dropdown-list .dropdown-link a{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .5rem 1.5rem;
  color: var(--white);
}
.dropdown-link a:hover {
    background: hsla(0, 0%, 78%,.5);
}

.nav-link a span {
    margin-right: .75rem;
}

.nav-link .arrow-up {
    display: none;
}

.nav-link.link-open .arrow-up {
    display: initial;
}

.nav-link.link-open .arrow-down {
    display: none;
}


/* ------------------------------------------------media-queries---------------------------------------------------- */

@media (min-width: 850px) {
    header {
        padding: 1.5rem 3rem;
        justify-content: center;
        
    }

    header .logo {
        margin-top: .5rem;
    }

    header .menu {
        display: none;
        
    }

    nav {
        position: initial;
        max-width: 80vw;
        height: auto;
        background: transparent;
        margin: 0 2rem;
        flex: 3;
        align-items: center;
        transform: translate(0%);
        
    }

    nav .nav-links {
        display: flex;
        flex: 3;
        margin-top: 0;
        
    }

    .nav-link {
        text-align: right;
        margin: 0 1rem;
        
    }

    

    .nav-link > a {
        padding: 0;
        
    }

    .nav-link > a:hover {
        color: var(--white);
        background: transparent;
        transform: translateY(-1px);
    }

    .nav-link > a:active {
        transform: scale(1.2);
    }

    .nav-link a span {
        margin-right: .5rem;
    }

    .nav-link .dropdown-list {
        position: absolute;
        top: calc(100% + 1rem);
        right: 0;
        width: max-content;
        background-color: white;
        box-shadow: 0 1rem 1rem 0 rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        border-radius: .5rem;
    }
}

@media (min-width: 1025px) {
    .nav-link {
        margin: 0 1.5rem;
    }

    .text-content h1 {
        font-size: 4.5rem;
    }
}

/* Overlay sloj za open menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.479); /* Poluprozirna crna pozadina */
    z-index: 2; /* Overlay ima viši z-index od ostatka sadržaja */
    display: none; /* Početno sakriven */
}

header.open .overlay {
    display: block; /* Prikazuje se kada je open menu otvoren */
}

/* Onemogućavanje klikova na ostatak sadržaja kada je otvoren nav open menu */
header.open ~ .content-wrapper {
    pointer-events: none;
}

nav {
    z-index: 3; /* Nav ima viši z-index od ostalog sadržaja */
}
.nav-link a.active {
  font-weight: bold;
}

@media (max-width: 600px) {
  header {
      padding: 1rem;
      height: 90px;
  }

  .logo {
      font-size: 1.5rem;
  }

  nav {
      width: 75vw;
  }

  .nav-links {
      gap: 0.5rem;
  }

  .nav-link > a {
      padding: 0.5rem 1rem;
      font-size: 16px;
  }

  .dropdown-link a {
      padding: 0.5rem 1rem;
      font-size: 14px;
  }

  .nav-link .dropdown-list {
      top: calc(100% + 0.5rem);
  }

  .menu .close-menu {
      right: 3rem;
  }
}

/* #### contact #### */
#contact-1{
    width: 100%;
    height: 100vh;
    display: grid;
    align-items: center;
    background: #1A1313;
}
#contact-1 .contact-title h1{
    color: #fafafa;
font-size: 55px;
text-align: center;
margin-top:100px;
}
#contact-1 .contact-title h1:after{
    content: '';
    background: #FDC93B ;
    width: 100px;
    height: 5px;
    position: absolute;
    margin-top: 85px;
    left: 50%;
    transform: translateX(-50%);
}
#contact{
    width: 80%;
    height: auto;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 10px;
    background:#fafafa;
    box-shadow: 0px 0px 10px 0px #666;
}
#contact .contact-map{
    width: 100%;
    height: auto;
    flex: 50%;
}
#contact .contact-map iframe{
    width: 100%;
    height: 100%;
}

#contact .contact-form{
    width: 100%;
    height: auto;
    padding: 30px;
    flex: 50%;
}
#contact .contact-form h1{
    margin-bottom:10px ;
    color: #111;
    font-size: 40px;
}
#contact .contact-form-txt{
    width: 100%;
    height: 40px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 50px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
}
#contact .contact-form-txt::placeholder{
    color: #aaa;
}
#contact .contact-form-txtarea{
    width: 100%;
    height: 130px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 10px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
}
#contact .contact-form-txtarea::placeholder{
    color: #aaa;
}
#contact .contact-form-btn{
    width: 100%;
    border: none;
    outline: none;
    border-radius: 50px;
    background: #111;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 0;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s ease ;
}
#contact .contact-form-btn:hover{
    color: #fff;
    background-color: #e93406;
}
.contact map iframe{
    width: 100%;
    height: 100%;
}


/*services*/

#services {
    min-height: 100vh;
    width: 100%;
    padding: 0% 8%;
}
#services h1 {
    text-align: center;
    font-size: 3rem;
    padding-top: 5%;
    margin-bottom: 60px;
    font-weight: 600;
    position: relative;
}

#services h1:after{
    content: '';
    background: #FDC93B ;
    width: 100px;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);

}

#services .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}

#services .services{
   display: flex;
   flex-direction: column;
   align-items: center;
   cursor: pointer;
   font-size: 14px;
   background: transparent;
   transition:transform 0.5s, background 0.5s;
   border-radius: 10px;
}
#services .services i{
    font-size: 40px;
    margin-bottom: 10px;
}
#services .services h2{
    font-weight: 600;
    margin-bottom: 8px;
}
#services .services:hover{
    background: #FDC93B;
    color: aliceblue;
    transform: scale(1.05);
}

#services .services p{
    display: flex;
    align-items: center;
    text-align: center;
}
#services .btn-container{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#services .btn-container .btn-a  {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
#services .btn-container .btn-a a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: aliceblue;
    font-weight: 600;
    border-radius: 5px;
}

#services .btn-container .btn-a a{
    color: aliceblue;
    background-color: #FDC93B;
    transition: 0.3s ease ;
}

#services  .btn-container .btn-a a:hover {
    color: rgb(21,21,100);
    background-color: aliceblue;
}

/*home*/
#home{
    padding: 100px 200px;
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #bcbcbc;
}

#home video{
    z-index: 000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#home:before{
    z-index: 777;
    content: '';
    position: absolute;
    background: linear-gradient(rgba(7, 4, 43, 0.3), rgba(3, 3, 31, 0.7));
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}
#home .content{
    z-index: 888;
    color: #fff;
    width: 70%;
    margin-top: 50px;
}

#home .content h1{
    font-size: 4em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 40px;
}
#home .content h1 span{
    font-size: 1.2em;
    font-weight: 600;
}
#home .content p{
    font-size: 1.2em;
    margin-bottom: 80px;
}
#home .content{
    margin-bottom: 65px;
}
#home .content a{
    background: #fff;
    padding: 10px 25px;
    color: #252525;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
}
#home .media-icons{
    z-index: 888;
    position: absolute;
    right: 30px;
    display: flex;
    flex-direction: column;
    transition: o.5s ease;
}
#home .media-icons a{
    color: #fff;
    font-size: 1.6em;
    transition: 0.3s ease;
}
#home .media-icons a:not(:last-child){
    margin-bottom: 20px;
}
#home .media-icons a:hover{
    transform: scale(1.3);
}
#home .slider-navigation{
    z-index: 888;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(80px);
    margin-bottom: 12px;
}
#home .slider-navigation .nav-btn{
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(225,225 ,255 ,0.5 );
    transition: 0.3s ease;

}
#home .slider-navigation .nav-btn.active{
    background: #666;
}
#home .video-slide{
    position: absolute;
    width: 100%;
    clip-path: circle(0% at 0 50%);
}
#home .video-slide.active{
    clip-path: circle(150% at 0 50%);
    transition: 2s ease;
    transition-property: clip-path;
}

#home .slider-navigation .nav-btn:not(:last-child){
    margin-right:20px ;
}
#home .slider-navigation .nav-btn:hover{
    transform: scale(1.2);
}

@media (max-width:1040px){
    #home{
        padding: 100px 20px;
    }
    #home .media-icons{
        right: 15px;
    }
}
/*home end*/

/* contact us start*/
#contact .container1 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #contact .form {
    width: 100%;
    max-width: 1300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
  #contact .contact-form {
    background-color: #DC3D24;
    position: relative;
  }  
  #contact .contact-map iframe{
    width: 100%;
    height: 100%;
  }
  #contact .contact-form:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #fff;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
  }
  #contact .info i{
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background-color: #DC3D24;
  }
  #contact form {
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
  }
  
  #contact .title {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
  }
  
  #contact .input-container {
    position: relative;
    margin: 1rem 0;
  }
  
  #contact .input {
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: 0.3s;
  }
  
  #contact textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 22px;
    resize: none;
    overflow-y: auto;
  }
  
  #contact .input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
  }
  
  #contact .input-container.textarea label {
    top: 1rem;
    transform: translateY(0);
  }
  
  #contact .btn {
    padding: 0.6rem 1.3rem;
    background-color: #fff;
    border: 2px solid #fafafa;
    font-size: 0.95rem;
    color: #DC3D24;
    line-height: 1;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
  }
  
  #contact .btn:hover {
    background-color: transparent;
    color: #fff;
  }
  
  #contact .input-container span {
    position: absolute;
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    padding: 0 0.4rem;
    color: transparent;
    pointer-events: none;
    z-index: 500;
  }
  
  #contact .input-container span:before,
  .input-container span:after {
    content: "";
    position: absolute;
    width: 10%;
    opacity: 0;
    transition: 0.3s;
    height: 5px;
    background-color: #DC3D24;
    top: 50%;
    transform: translateY(-50%);
  }
  
  #contact  .input-container span:before {
    left: 50%;
  }
  
  #contact .input-container span:after {
    right: 50%;
  }
  
  #contact .input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
  }
  
  #contact .input-container.focus span:before,
  .input-container.focus span:after {
    width: 50%;
    opacity: 1;
  }
  
  #contact .contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
  }
  
  #contact .contact-info .title {
    color: #252525;
  }
  
  #contact .text {
    color: #252525;
    margin: 1.5rem 0 2rem 0;
  }
  
  #contact .information {
    display: flex;
    color: #252525;
    margin: 0.7rem 0;
    align-items: center;
    font-size: 0.95rem;
    gap: 10px;
  }
  
  #contact .icon {
    width: 28px;
    margin-right: 0.7rem;
  }
  
  #contact .social-media {
    padding: 2rem 0 0 0;
  }
  
  #contact .social-media p {
    color: #333;
  }
  
  #contact .social-icons {
    display: flex;
    margin-top: 0.5rem;
  }
  
  #contact .social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(45deg, #DC3D24, #DC3D24);
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 0.5rem;
    transition: 0.3s;
  }
  
  #contact .social-icons a:hover {
    transform: scale(1.05);
  }
  
  #contact .contact-info:before {
    content: "";
    position: absolute;
    width: 110px;
    height: 100px;
    border: 22px solid #DC3D24;
    border-radius: 50%;
    bottom: -77px;
    right: 50px;
    opacity: 0.3;
  }
  
  @media (max-width: 850px) {
    #contact  .form {
      grid-template-columns: 1fr;
    }
  
    #contact  .contact-info:before {
      bottom: initial;
      top: -75px;
      right: 65px;
      transform: scale(0.95);
    }
  
    #contact .contact-form:before {
      top: -13px;
      left: initial;
      right: 70px;
    }
    #contact .text {
      margin: 1rem 0 1.3rem 0;
    }
  
    #contact .social-media {
      padding: 1.5rem 0 0 0;
    }
  }
  
  @media (max-width: 480px) {
    #contact  .container1 {
      padding: 1.5rem;
    }
  
    #contact  .contact-info:before {
      display: none;
    }
  
  
    #contact  form,
    .contact-info {
      padding: 1.7rem 1.6rem;
    }
  
    #contact .text,
    .information,
    .social-media p {
      font-size: 0.8rem;
    }
  
    #contact .title {
      font-size: 1.15rem;
    }
  
    #contact .social-icons a {
      width: 30px;
      height: 30px;
      line-height: 30px;
    }
  
    #contact .icon {
      width: 23px;
    }
  
    #contact .input {
      padding: 0.45rem 1.2rem;
    }
  
    #contact  .btn {
      padding: 0.45rem 1.2rem;
    }
  }
/* contact us end */


/* #### about start #### */
.about-top{
    height: 50vh;
    background: linear-gradient(rgba(31, 31, 31, 0.575), rgba(29, 29, 29, 0.329)), url(gl/1pozadina.jpg) no-repeat center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}
.about-top h1{
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-size: 70px;
  font-weight: 700;
  padding: 180px;
}
.about{
    height: 110vh;
    width: 100%;
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about .main img{
    width: 580px;
    max-width: 100%;
    height: auto;
    padding: 0 10px;
}

.about .all-text{
    width: 600px;
    max-width: 100%;
    padding: 0 10px;
}

.about .main{
    width: 1290px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.about .all-text h4{
font-size: 25px;
color: #1A1313;
letter-spacing: 1px;
font-weight: 600;
margin-bottom: 10px;
}

.about .all-text h4 span{
    color: #DC3D24;
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.about .all-text h1{
    font-size: 65px;
    color: #1A1313;
    font-weight: 700;
    margin-bottom: 20px;
}

.about .all-text p{
    font-size: 16px;
    color: #1A1313;
    line-height: 30px;
    margin-bottom: 35px;
}

.about .btn a {
    background: #DC3D24;
    padding: 20px 32px;
    font-size: 16px;
    font-weight: bold;
    color: #fafafa;
    border: none;
    outline: none;
    box-shadow: 0px 16px 32px 0px rgb(0 0 0 / 6%);
    margin-right: 20px;
    border-radius: 5px;
}

.about .btn a:hover{
    background-color: #1A1313;
    color: #fafafa;
    transition: 0.3s;
    cursor: pointer;
}

@media screen  and (max-width: 1250px) {
    .about{
        width:100%;
        height:auto;
        padding: 60px 0;
    }
    .all-text{
        text-align: center;
        margin-top: 40px;
    }
}

@media screen and (max-width: 650px){
  .about-top {
    padding: 0% 2%;
    background-size: cover;
  }
    .about .main img{
        margin-bottom: 35px;
    }
    .all-text h1{
        font-size: 45px;
        margin-bottom: 20px;
    }
}
.about1{
    height: 90vh;
    width: 100%;
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 20px 5px inset rgba(0, 0, 0, 0.1);
    
}

.about1 .main1 img{
    width: 580px;
    max-width: 100%;
    height: auto;
    padding: 0 10px;
    margin-right: auto;
}

.about1 .all-text1{
    width: 600px;
    max-width: 100%;
    padding: 0 10px;
    margin-left: auto;
    margin-left: 20px;
}

.about1 .main1{
    width: 1290px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.about1 .all-text1 h4{
font-size: 25px;
color: #1A1313;
letter-spacing: 1px;
font-weight: 600;
margin-bottom: 10px;
}

.about1 .all-text1 h4 span{
    color: #CFD4D9;
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}
.about1 .all-text1 h1{
    font-size: 65px;
    color: #383838;
    font-weight: 700;
    margin-bottom: 20px;
}
.about .all-text h1 span{
    font-size: 65px;
    color: #CFD4D9;
    font-weight: 700;
    margin-bottom: 20px;
}
.about1 .all-text1 p{
    font-size: 16px;
    color: #1A1313;
    line-height: 30px;
    margin-bottom: 35px;
}

.about1 .btn a {
    background: #DC3D24;
    padding: 20px 32px;
    font-size: 16px;
    font-weight: bold;
    color: #fafafa;
    border: none;
    outline: none;
    box-shadow: 0px 16px 32px 0px rgb(0 0 0 / 6%);
    margin-right: 20px;
    border-radius: 5px;
}

.about .btn a:hover{
    background-color: #1A1313;
    color: #fafafa;
    transition: 0.3s;
    cursor: pointer;
}
@media screen  and (max-width: 1440px){
  .about1 .main1 img{
     width: 530px;
     height: 670px;
  }
}
@media screen  and (max-width: 1250px) {
    .about1{
        width:100%;
        height:auto;
        padding: 60px 0;
    }
    .all-text1{
        text-align: center;
        margin-top: 40px;
    }
    .about1 .main1 img{
        margin-bottom: 35px;
    }
    .about1 .main1 img{
      display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media screen and (max-width: 650px){
  .about-top {
    background: url(gl/poz\ za\ onama.jpg);
    padding: 0% 2%;
    background-size: cover;
  }
    .about1 .main1 img{
        margin-bottom: 35px;
    }
    .all-text1 h1{
        font-size: 45px;
        margin-bottom: 20px;
    }
    .all-text1 p {
      text-align: center;
    }
    .about .all-text, .about1 .all-text1 {
      text-align: center;
      margin: 0 auto;
  }
  .about-top h1 {
    padding: 200px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 55px; /* Smanji font veličinu za bolju čitljivost na manjim ekranima */
}
}
@media screen and (max-width: 320px) {
  .about-top {
    padding: 0% 2%;
    background-size: cover;
  }
  .about .all-text, .about1 .all-text1 {
      text-align: center;
      margin: 0 auto;
  }
 
.about-top h1 {
    padding: 200px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 50px; /* Smanji font veličinu za bolju čitljivost na manjim ekranima */
}
.about1 .main1 img{
  width: 530px;
  height: 450px;
}
}
/* #### about end #### */
/* Osnovni stilovi */
.primer {
  background-color: #EBEEE8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  height: 130;
  padding: 20px; /* Dodato univerzalno unutrašnje rastojanje */
}

.container-card-primer .section-heading-primer {
  color: #0b0b14;
  font-size: 55px;
  text-align: center;
  display: block;
  margin-top: 20px; /* Smanjen gornji odmak */
  padding-top: 100px;
}

.container-card-primer .section-heading-primer:after {
  content: '';
  background: #0b0b14;
  width: 130px;
  height: 5px;
  display: block;
  margin: 0px auto; /* Centriranje i dodato rastojanje ispod */
}

.grid-primer {
  display: flex; /* Promenjeno u flex */
  flex-wrap: wrap; /* Dodato */
  justify-content: center; /* Dodato */
  margin: auto;
  grid-gap: 40px; /* Dodato univerzalno rastojanje između elemenata */
}

.grid-item-primer {
  background-color: #fafafa;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
  transition: 0.4s;
  width: 460px; /* Širina grid item-a je 460px */
  margin: 20px; /* Dodato rastojanje između elemenata */
}
.grid-item-primer:hover {
  transform: scale(1.05); /* Uvećavanje elementa na hover */
  z-index: 1; /* Postavljanje z-indeksa kako bi se element ispravno prikazao iznad ostalih */
}
.card-img-primer {
  display: block;
  width: 100%;
  height: 25rem;
  object-fit: cover;
}

.card-content-primer {
  padding: 20px; /* Dodato univerzalno unutrašnje rastojanje */
}

.card-header-primer {
  font-size: 3rem;
  font-weight: 500;
  color: #0b0b14;
}

.card-text-primer {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  line-height: 1.7;
  color: #0b0b14;
}

.card-btn-primer {
  display: block;
  width: 250px;
  margin: auto; /* Centriranje dugmeta */
  font-size: 1.5rem;
  color: #fafafa;
  background-color: #FDC93B;
  border-radius: 35px;
  transition: 0.2s;
  cursor: pointer;
  text-align: center;
  padding: 10px 20px; /* Dodato univerzalno unutrašnje rastojanje */
}

.card-btn-primer:hover {
  background-color: #FDC93B;
  color: #1A1313;
}

/* Media upiti za responsivnost */
@media only screen and (max-width: 1024px) {
  .grid-item-primer {
    width: 300px; /* Smanjena širina za tablete i manje ekrane laptopova */
  }
}

@media only screen and (max-width: 768px) {
  .grid-item-primer {
    width: 100%; /* Puni širina za telefone */
    margin: 20px 0; /* Dodato rastojanje između elemenata */
  }
}







.container-home {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.background-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.background-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.content-home {
  position: relative;
  z-index: 1;
  text-align: left;
  color: white;
  max-width: 600px;
  margin-left: 100px; /* Pomerite tekst malo ka desno */
  top: 50%;
  transform: translateY(-50%);
}

.content-home h1 {
  font-size: 3em; /* Smanjite veličinu fonta */
  line-height: 1.2; /* Smanjuje razmak između redova */
  margin: 0; /* Uklanjanje dodatnih margina */
}

.content-home p {
  font-size: 1.5em;
  margin-top: 20px;
}

.btn-home {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.5em;
  background-color: #DC3D24;
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}

.btn-home:hover {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.5em;
  background-color: var(--white);
  color: #1A1313;
  transition: .3s ease;
  cursor: pointer;
  text-decoration: none;
}

.navigation-home {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.arrow-home {
  cursor: pointer;
  font-size: 5em;
  color: white;
}

/* Tranzicija za slajdove */
.slide-home {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-home.active {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-home {
    margin-left: 50px; /* Smanjeno za manje ekrane */
  }

  .content-home h1 {
    font-size: 2.5em; /* Smanjena veličina fonta za manje ekrane */
  }

  .content-home p {
    font-size: 1.2em;
  }

  .btn-home {
    font-size: 1.2em;
    padding: 8px 16px; /* Smanjena veličina dugmeta */
  }

  .arrow-home {
    font-size: 3em;
  }
}

@media (max-width: 480px) {
  .content-home {
    margin-left: 20px; /* Još više smanjeno za najmanje ekrane */
  }

  .content-home h1 {
    font-size: 2em; /* Još manja veličina fonta za najmanje ekrane */
  }

  .content-home p {
    font-size: 1em;
  }

  .btn-home {
    font-size: 1em;
    padding: 6px 12px; /* Još više smanjena veličina dugmeta */
  }

  .arrow-home {
    font-size: 2.6em;
  }
}

/* Stilovi za specifičan slajd */
.slide-special .content-home h1 {
  width: 100%; /* Puni širinu */
  word-break: break-word; /* Omogućava prelamanje reči */
  white-space: normal; /* Omogućava normalno prelamanje rečenica */
}

@media (max-width: 768px) {
  .slide-special .content-home h1 {
    font-size: 2.5em;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .slide-special .content-home h1 {
    font-size: 2em;
    line-height: 1.2;
  }
}



/* #### footer #### */
.footer {
  position: relative; /* Dodajte relativnu poziciju */
  padding: 2.5rem 0;
  border-top: 1.5px solid #1A1313;
  
}

.image-slider {
  overflow: hidden;
  position: relative;
  max-height: 500px; /* Dodali smo maksimalnu visinu od 500px */
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  max-height: 500px; /* Ažurirali smo maksimalnu visinu i ovde */
}

.image-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  
}

/* Dodatno CSS za responsivnost */
@media screen and (max-width: 600px) {
  .slider-wrapper {
    flex-wrap: nowrap;
  }
}

.footer .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.footer-title {
  text-transform: capitalize;
  font-size: 1.8rem;
  font-family: var(--poppins);
  font-weight: 700;
  color: #EBEEE8;
}

.footer .col {
  text-align: center;
  padding: 1.6rem 0;
  
}

.social-links {
  display: flex;
  justify-content: center;
}

.social-links a {
  background: #686f79;
  color: #fafafa;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 1.5rem 0.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: #9FA6B4;
  color: #1A1313;
}

.footer-links a {
  display: block;
  text-transform: capitalize;
  padding: 0.2rem 0;
  transition: var(--transition);
}

.footer-links a .fas {
  display: none;
}

.footer-links a:hover {
  color: #9FA6B4;
}

.footer .col:last-child div {
  padding: 0.2rem 0;
}

.footer .col:last-child .fas {
  padding-right: 0.5rem;
}

.footer-text .text {
  text-align: center;
}

/* #### Media Queries #### */

@media screen and (min-width: 500px) {
  /* home page */
  .home .row-left h1 {
    font-size: 4rem;
  }

  .home .row-left h2 {
    font-size: 1.4rem;
  }

  .home-pg-btn button {
    padding: 1rem 1.5rem;
  }

  .home .img-container {
    width: 320px;
    height: 320px;
  }

  .home .img-border {
    width: 325px;
    height: 325px;
  }
}

@media screen and (min-width: 768px) {
  /* footer */
  .footer .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* about page */
  .about .row-left {
    width: 400px;
    height: 400px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
  }
}

@media screen and (min-width: 992px) {
  /* navbar section */
  .navbar-toggler {
    display: none;
  }

  .navbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-nav {
    display: flex;
    justify-content: flex-end;
  }

  .navbar-collapse {
    height: 100%;
    flex: 1 0 auto;
  }

  .brand-and-toggler {
    flex: 0 0 100px;
  }

  .nav-item {
    margin: 0 0.5rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  /* home page */
  .home .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
  }

  .home .row > div {
    height: calc(100vh - 73px);
    border: none;
    margin: 0;
    align-items: flex-start;
  }

  .home .row-left {
    text-align: left;
  }

  .home .img-container {
    width: 100%;
    height: 100%;
    border-radius: unset;
  }

  .home .img-border {
    height: 90%;
    width: 100%;
    transition: var(--transition);
    border-radius: unset;
    background: transparent;
  }

  .home .img-border:hover {
    transform: translateY(-14px);
  }

  /* about page */
  .about .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 2rem;
  }
}

@media screen and (min-width: 1200px) {
  /* footer */
  .footer .row {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer .row .col {
    text-align: left;
  }

  .footer .col:first-child .text {
    margin: 0;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-links a .fas {
    display: inline-block;
  }
}