* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: "Poppins", sans-serif;
}


.container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: #5C90FF;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    width: 30%;
    height: auto;
    transition: width 0.3s ease-in-out;
}

/* Hamburger meni */
.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

/* Navigacijski stavci */
.nav-items {
    display: flex;
    gap: 45px;
    white-space: nowrap;
}

.nav-item {
    color: #FFF;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
}

/* Animacija za prikazivanje stavki */
@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*O nama*/
#onama-section {
    overflow: hidden;
}

.onama {
    padding-top: 233px;
    padding-bottom: 170px;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.onama div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 43px;
}

.onama div h2 {
    color: #000;
    font-size: 56px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.onama div p {
    width: 700px;
    height: 263px;
    color: #000;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0.64px;
    text-align: left;
}

/*Cilj*/
.cilj {
    padding-bottom: 260px;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.cilj div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 43px;
}

.cilj div h2 {
    color: #000;
    font-size: 56px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.cilj div p {
    width: 700px;
    height: 263px;
    color: #000;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0.64px;
    text-align: left;
}

/*Značajke*/
.znacajke {
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 66px;
}

.znacajke h1 {
    color: #000;
    font-size: 56px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.znacajka {
    display: flex;
    gap: 32px;
    margin-bottom: 25px;
    width: 100%;
    height: auto;
    align-items: start;
}

.znacajka img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.znacajka h4 {
    flex-shrink: 0;
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.64px;
}

/* Footer styling */
.footer {
    background-color: #5C90FF;
    color: white;
    padding: 40px 20px 20px 20px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
}

.footer-top {
    text-align: right;
    margin-bottom: 30px;
    padding-right: 8vw;
  }
  
  .footer-nav {
    display: inline-flex; /* Prati širinu sadržaja */
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5vw;
    margin-bottom: 10px;
    border-bottom: 3px solid #ffffff30; /* Border ispod linkova */
    padding-bottom: 10px; /* Mali razmak iznad bordera */
  }

.footer-nav a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-nav a:hover::after {
    transform: scaleX(1);
}


.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin-top: 40px;
    margin-bottom: 20px;
    margin-right: 26vw;
}

.footer-logo img {
    width: 350px;
    margin-left: 10vw;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: left;
    gap: 60px;
}

.footer-section img {
    aspect-ratio: 1/1;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.footer-section p,
.footer-section a {
    font-size: 16px;
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px; /* razmak između ikone i teksta */
    margin-bottom: 10px; /* razmak između redova */
}

.footer-contact img {
    width: 24px; /* svi ikonice iste širine */
    height: 24px; /* svi ikonice iste visine */
    object-fit: contain; /* da ne iskrive */
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #ffffff30;
    flex-direction: row;
    padding-top: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 1vw;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {

    .footer-top{
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-right:  0px;
    }

    .footer-container {
        margin: 0 0 0 0 ;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    
    .footer-logo{
        margin-bottom: 30px;
    }
    .footer-logo img{
        margin-left: 0px;
    }
    .footer-content {
      justify-content: center;
    }
  }

@media  (max-width: 600px){

    .footer-top {
        max-width: 400px; /* ili po potrebi, da ne idu preširoko */
        margin: 0 auto;
      }
    
      .footer-top a:nth-child(1),
      .footer-top a:nth-child(2) {
        width: 45%;
      }
    
      .footer-top a:nth-child(3),
      .footer-top a:nth-child(4) {
        width: 45%;
      }
    
      .footer-top a:nth-child(5) {
        margin-top: 10px;
        width: 100%;
      }

      .footer-logo{
        margin-top: 30px;
      }

}
  
@media  (max-width: 450px){
    .footer-top{
        max-width: 300px;
    }
    .footer-logo img{
        width: 250px;
    }
}

@media  (max-width: 320px){
    .footer-top{
        max-width: 300px;
    }
    .footer-logo img{
        width: 200px;
    }
}

/*Responsive*/
@media screen and (max-width: 1500px) {
    .onama div h2 {
        font-size: 40px;
    }

    .onama div p {
        font-size: 24px;
    }

    .cilj div h2 {
        font-size: 40px;
    }

    .cilj div p {
        font-size: 24px;
    }

    .znacajke h1 {
        font-size: 48px;
    }

    .znacajka h4 {
        font-size: 24px;
    }

    .znacajka img {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 1320px) {
    .onama {
        padding-top: 150px;
    }

    .onama div p {
        width: 400px;
    }

    .cilj div p {
        width: 400px;
    }

    .onama img {
        width: 30%;
        height: auto;
    }

    .cilj img {
        width: 30%;
        height: auto;
    }

}

@media screen and (max-width: 1200px) {

    .logo-img {
        width: 200px;
        height: auto;
    }

    .onama div h2 {
        font-size: 32px;
    }

    .onama div p {
        width: 400px;
        font-size: 20px;
        line-height: 150%;
    }

    .cilj div h2 {
        font-size: 32px;
    }

    .cilj div p {
        width: 400px;
        font-size: 20px;
        line-height: 150%;
    }

    .znacajke h1 {
        font-size: 40px;
    }

    .znacajka h4 {
        font-size: 20px;
        max-width: 90%
    }

    .znacajka img {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 930px) {
    .onama div h2 {
        font-size: 28px;
    }

    .onama div p {
        width: 400px;
    }

    .cilj div h2 {
        font-size: 28px;
    }

    .cilj div p {
        width: 400px;

    }

    .znacajke h1 {
        font-size: 36px;
    }

   

    .znacajka img {
        width: 25px;
        height: 25px;
    }

    

}


@media only screen and (max-width: 850px) {
    

    /* Sakrij navigacijske linkove na manjim ekranima */
    .nav-items {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #5C90FF;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 999;
        padding-top: 20px;
        gap: 0;
    }

    .nav-item {
        padding: 15px;
        text-align: center;
        color: white;
        font-size: 20px;
        border-top: 1px solid #FFF;
        transition: transform 0.3s ease-in-out;
    }

    .nav-item:first-child {
        border-top: none;
    }

    /* Prikazivanje hamburger menija */
    .hamburger {
        display: block;
    }

    /* Aktiviranje navigacijskih stavki nakon klika na hamburger */
    .nav-items.active {
        display: flex;
    }

    /* Animacija za otvaranje menija */
    .nav-items.active .nav-item {
        opacity: 0;
        animation: slideIn 0.5s forwards;
        padding: 40px;
    }

    /* Animacija za izrada nav stavki */
    .nav-items.active .nav-item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .nav-items.active .nav-item:nth-child(2) {
        animation-delay: 0.3s;
    }

    .nav-items.active .nav-item:nth-child(3) {
        animation-delay: 0.4s;
    }

    .nav-items.active .nav-item:nth-child(4) {
        animation-delay: 0.5s;
    }

    /* Hamburger ikona (tri linije) */
    .hamburger div {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
        transition: 0.3s;
    }

    /* Transformacija hamburgera u X (kada je otvoren) */
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg);
        position: relative;
        top: 8px;
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg);
        position: relative;
        top: -10px;
    }

    .copyright{
        padding-left: 30px;
    }

}


@media screen and (max-width: 800px) {
    .onama {
        padding-top: 100px;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .cilj {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 70px;
    }

    .onama div {
        gap: 15px;
    }

    .cilj div {
        gap: 15px;
    }

    .onama div h2 {
        font-size: 36px;
    }

    .onama div p {
        width: 600px;
        font-size: 24px;
        line-height: 35px;
    }

    .cilj div h2 {
        font-size: 36px;
    }

    .cilj div p {
        width: 600px;
        font-size: 24px;
        line-height: 35px;
    }

    .znacajke h1 {
        font-size: 40px;
    }

    .znacajka{
        margin-bottom: 0;
    }

    .znacajka h4 {
        font-size: 20px;
    }


    .znacajka img {
        width: 25px;
        height: 25px;
    }

    .onama img {
        width: 45%;
        height: auto;
    }

    .cilj img {
        width: 45%;
        height: auto;
    }

    .footer-down {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }

    .kontakt {
        gap: 5px;
    }
    
    .copyright {
        order: 3;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cookies {
        gap: 5px;
        order: 2;
    }

    .cookies h3 {
        text-align: left;
    }
}

@media screen and (max-width: 700px) {
    .onama{
        padding-bottom: 60px;
    }
    .cilj {
        gap: 80px;
    }

    .onama div {
        margin-left: 50px;
    }

    .cilj div {
        margin-left: 50px;
    }

    .onama div p {
        width: 500px;
    }

    .cilj div p {
        width: 500px;
    }
    
    .onama div h2 {
        font-size: 32px;
    }

    .cilj div h2 {
        font-size: 32px;
    }

    .znacajke h1 {
        font-size: 32px;
    }


    .znacajka img {
        width: 20px;
        height: 20px;
    }

    .onama img {
        width: 50%;
        height: auto;
    }

    .cilj img {
        width: 50%;
        height: auto;
    }

    .footer-up img {
        width: 40%;
        height: auto;
    }

    .cookies h3 {
        font-size: 24px;
    }
    
    .cookies h4 {
        font-size: 16px;
    }

    .copyright {
        font-size: 12px;
    }

    .kontakt h3 {
        font-size: 24px;
    }
    
    .kontakt h4 {
        font-size: 16px;
    }
}

@media screen and (max-width: 630px) {
    .cilj {
        gap: 120px;
    }

    .onama div p {
        width: 400px;
        font-size: 16px;
        line-height: 25px;
        height: auto; 
        margin-bottom: 60px;
    }

    .cilj div p {
        width: 400px;
        font-size: 16px;
        line-height: 25px;
        height: auto;
    }
    .znacajka h4 {
        font-size: 20px;
        max-width: 90%;
    }

    .znacajke-wrapper {
        margin-left: -15px;
    }

    .znacajke {
        align-items: flex-start;
    }

    .znacajka img {
        width: 15px;
        height: 15px;
    }
}

@media screen and (max-width: 580px) {
    .onama {
        gap: 50px;
    }

    .cilj {
        gap: 200px;
    }

    .znacajka {
        margin-bottom: 20px;
    }

    .znacajka h4 {
        font-size: 16px;
    }

    .onama div p {
        width:300px;
        font-size: 16px;
    }

    .cilj div p {
        width: 300px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .znacajka {
        gap: 16px;
    }

    .onama img {
        width: 70%;
        height: auto;
    }

    .cilj img {
        width: 70%;
        height: auto;
    }
}

@media screen and (max-width: 440px) {
    .cookies h3 {
        font-size: 20px;
    }
    
    .cookies h4 {
        font-size: 12px;
    }


    .kontakt h3 {
        font-size: 20px;
    }
    
    .kontakt h4 {
        font-size: 12px;
    }

    .onama div p {
        width:270px;
        font-size: 16px;
    }

    .cilj div p {
        width: 270px;
        font-size: 16px;
    }
    

}

@media screen and (max-width: 380px) {
    .onama div p {
        font-size: 12px;
    }

    .cilj div p {
        font-size: 12px;
    }
    
    .onama div h2 {
        font-size: 20px;
    }

    .cilj div h2 {
        font-size: 20px;
    }

    .znacajke h1 {
        font-size: 20px;
    }

    .znacajka h4 {
        font-size: 12px;
    }

    .znacajka img {
        width: 15px;
        height: 15px;
    }

    .znacajka {
        margin-bottom: 30px;
    }

    .znacajke {
        padding-bottom: 200px;
        gap: 40px;
    }

    .cilj {
        padding-bottom: 200px;
    }

    .onama div p {
        width:230px;
        font-size: 16px;
    }

    .cilj div p {
        width: 230px;
        font-size: 16px;
    }
    
}






