* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    letter-spacing: 1px;
    text-decoration: none;
}

a {
    color: #3f8bb1;
    text-decoration: none
}


/*navbar*/

.nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    z-index: 999;
    background-color: #103463;
    /* #1A303B;*/
}

.logo {
    margin-left: 7%;
}

.logo a {
    color: #57A2C5;
    font-size: 25px;
    font-family: 'Eagle Lake', cursive;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    padding-right: 7%;
}

.nav-links li {
    list-style: none;
}

.spec-li {
    background-color: #57A2C5;
    padding: 0.9em 1.6em;
    border-radius: 5em;
}

.nav-links a {
    color: #fff;
    font-size: 0.85em;
    font-weight: 500;
}

.nav-links a:hover {
    color: #d9d9d9;
    transition: 300ms;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #fff;
    transition: all 400ms ease;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}


/*end-navbar*/


/*hero*/

.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    background-image: url("img/hero4.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(25, 81, 153, 0.45);
    /* rgba(24, 80, 111, 0.45);*/
}

.hero-text {
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 29px;
    font-weight: 700;
    padding: 0 10px 0 6.5%;
    line-height: 1.3;
    text-align: left;
    position: relative;
    z-index: 2;
    margin-top: 2em;
}

.hero p {
    padding: 0.8em 10px 0 6.5%;
    line-height: 1.5;
    font-size: 15px;
    text-align: left;
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 1000px;
}

.cta {
    position: relative;
    color: #fff;
    background-color: #3f8bb1;
    border-radius: 5em;
    padding: 1em 2em;
    margin: 4em 0 0 6.5%;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    transition: 400ms;
    z-index: 2;
}


/*end-hero*/


/*o-nama*/

.o-nama-wrapper {
    width: 100%;
    margin-bottom: 3em;
}

#o-nama {
    width: 100%;
    max-width: 1300px;
    padding-top: 4em;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    margin: 0 auto;
}

#o-nama h2 {
    color: #2C373F;
    line-height: 1.25;
    padding-bottom: 1em;
}

#o-nama h2::after {
    background: none repeat scroll 0 0 #3f8bb1;
    bottom: -10px;
    content: "";
    display: block;
    height: 3px;
    position: relative;
    width: 70px;
}

.dio {
    margin: 2em 0;
}

.text {
    padding: 0 20px 3em;
    line-height: 1.5;
    color: #2C373F;
}

.o-nama-img {
    width: 100%;
    max-height: 570px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border-radius: 10px;
}


/*end-o-nama*/


/*usluge*/

#usluge {
    background-color: #f5f5f5;
}

.usluge-container {
    max-width: 1300px;
    margin: auto;
}

#usluge h2 {
    color: #2C373F;
    padding: 2.5em 20px 1em;
}

#usluge h2::after {
    background: none repeat scroll 0 0 #3f8bb1;
    bottom: -10px;
    content: "";
    display: block;
    height: 3px;
    position: relative;
    width: 70px;
}

#usluge h3 {
    color: #fff;
    padding: 2em 0 1em;
    font-size: 18px;
    z-index: 2;
}

.opis-usluga {
    padding: 0 20px 4em;
    line-height: 1.5;
    color: #2C373F;
}

.usluge {
    padding-bottom: 2em;
}

.usluga {
    position: relative;
    overflow: hidden;
    padding: 1em;
    height: 350px;
    margin: 20px 20px 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #103463;
    border-radius: 10px;
}

.usluga .layer {
    z-index: 1;
    position: absolute;
    top: calc(100% - 5px);
    height: 100%;
    width: 100%;
    left: 0;
    background: #3f8bb1;
    transition: 0.5s;
}

.card-text {
    color: #fff;
    line-height: 1.5;
    font-size: 15px;
    z-index: 2;
}

.fas,
.far {
    color: #3f8bb1;
    font-size: 2.5em;
}


/*end-usluge*/


/*uspjeh*/

#uspjesi {
    position: relative;
    background-image: url("img/paralax3.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    height: 630px;
}

#uspjesi::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(24, 80, 111, 0.5);
    z-index: 1;
}

#uspjesi-wrapper h2 {
    position: relative;
    color: #fff;
    padding: 0 10px 2em 10px;
    text-align: center;
    font-weight: 800;
    font-size: 25px;
    z-index: 2;
    letter-spacing: 2px;
}

#uspjesi-wrapper h3 {
    position: relative;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}

#uspjesi-wrapper p {
    position: relative;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    padding-top: 0.8em;
}

#uspjesi-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.uspjeh {
    text-align: center;
    z-index: 2;
}

.klijenti {
    margin: 3.5em 0;
}


/*end-uspjeh*/


/*kontakt*/

#kontakt {
    line-height: 1.5;
    color: #2C373F;
}

#kontakt h3 {
    padding-bottom: 5px;
    color: #2C373F;
}

.kontakt-wrapper {
    margin-bottom: 4em;
}

.kontakt-text {
    padding: 4em 20px;
    line-height: 1.7;
    color: #2C373F;
}

.kontakt {
    padding-left: 20px;
}

.tel {
    padding: 40px 0;
}

.tel-grid-container {
    display: inline-grid;
    grid-template-columns: auto auto;
}

.tel-grid-item {
    padding-right: 20px;
    text-align: left;
}

.broj {
    color: #3f8bb1;
    font-weight: bolder;
}

.Mail {
    color: #3f8bb1;
    font-weight: bolder;
}


/*end-kontakt*/


/*footer*/

footer {
    width: 100%;
    height: 80px;
    background-color: #103463;
    color: #3f8bb1;
}

.footer-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 1em;
    text-align: center;
}

.links p {
    padding-top: 10px;
    font-size: 14px;
}


/*end-footer*/


/*
privacy policy
*/

.policy-wrapper {
    width: 100%;
    margin-bottom: 3em;
    padding-top: 4em;
}

.policy-text {
    padding: 4em;
    line-height: 1.7;
    color: #2C373F;
}


/*media*/

@media screen and (max-width:768px) {
    body {
        overflow-x: hidden;
    }
    .nav-links {
        position: absolute;
        right: 0px;
        top: 0px;
        height: 100vh;
        background-color: #1A303B;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
    }
    .burger {
        display: block;
        margin-right: 5%;
    }
    .nav-active {
        transform: translateX(0%);
        transition: transform 500ms ease-in;
    }
}

@media screen and (min-width:425px) {
    h1 {
        font-size: 40px;
    }
    .usluga {
        padding: 2em;
    }
    #usluge h3 {
        font-size: 20px;
    }
    .o-nama-img-wrapper {
        padding: 0 20px;
    }
}

@media screen and (min-width:768px) {
    .logo a {
        font-size: 35px;
    }
    .nav {
        height: 80px;
    }
    .nav-links {
        width: 500px;
    }
    h1 {
        font-size: 45px;
    }
    .hero p {
        font-size: 20px;
    }
    h2 {
        font-size: 30px;
    }
    .usluge {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .usluga {
        width: 44.5%;
        height: 350px;
    }
    .uspjeh-wrapper {
        width: 90%;
        max-width: 1000px;
        margin: 2em auto 0;
        display: flex;
        justify-content: space-between;
    }
    .klijenti {
        margin: 0;
    }
    .kontakt-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 5em 0;
        width: 90%;
        max-width: 1000px;
        margin: 0 auto;
    }
    .kontakt-text {
        width: 60%;
        order: 2;
    }
    .kontakt {
        width: 40%;
        padding-left: 0;
    }
}

@media screen and (min-width:1024px) {
    .nav-links {
        width: 570px;
    }
    h1 {
        font-size: 60px;
    }
    p {
        font-size: 17px;
    }
    .hero p {
        font-size: 25px;
    }
    .cta {
        font-size: 15px;
        padding: 1.1em 2.5em;
    }
    .cta:hover {
        letter-spacing: 4px;
    }
    .dio {
        display: flex;
        flex-direction: row;
    }
    .text {
        width: 50%;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .o-nama-img-wrapper {
        width: 50%;
    }
    .o-nama-img {
        min-height: 320px;
    }
    .pomoc-text {
        order: 2;
    }
    .pomoc {
        order: 1;
    }
    .usluga {
        padding: 3em;
    }
    .usluga:hover .layer {
        top: 0;
    }
    .usluga:hover .fas {
        color: #103463;
        z-index: 2;
        transition: 0.5s;
    }
    .fas {
        font-size: 50px;
    }
    #uspjesi h3 {
        font-size: 50px;
    }
}

@media screen and (min-width:1200px) {
    h1 {
        font-size: 70px;
    }
    h2 {
        font-size: 35px;
    }
    .usluge {
        max-width: 1300px;
        justify-content: space-between;
        padding-bottom: 5em;
    }
    .usluga {
        width: 29%;
        padding: 2em;
        margin: 30px 20px;
    }
}