
*{
    box-sizing:border-box;
}

html{
    scroll-behavior: smooth;
    width: 100%;
}

html,body{
    overflow-x: hidden;
}

li{
    list-style-type: none;
    margin-left: -33px;
}

body{
    margin:0;
    font-family: "amble", Helvetica, sans-serif;
    text-align:center;
    width: 100%;
    /*background: linear-gradient(180deg, #dff4ff 0%, #f3faff 45%, #ffffff 100%);
    color:#111;*/
    background: #022A6C;
    background: linear-gradient(180deg,rgb(30, 47, 108) 35%,
                 #793515 90%);
    position:relative;
    overflow-x:hidden;
    min-height:100vh;
}


/* Pozadinske ikonice */

.bg-icon{
    position:absolute;
    font-size:34px;
    opacity:0.36;
    z-index:0;
    pointer-events:none;
    user-select:none;
}

/* Dekorativni blur krugovi */

.bg-blob{
    position:absolute;
    border-radius:50%;
    filter:blur(80px);
    opacity:0.20;
    z-index:0;
    pointer-events:none;
}

.blob1{
    width:240px;
    height:240px;
    background:#a7ddff;
    top:180px;
    left:-90px;
}

.blob2{
    width:280px;
    height:280px;
    background:#c9dcff;
    top:860px;
    right:-100px;
}

.blob3{
    width:220px;
    height:220px;
    background:#d5f3ff;
    top:1500px;
    left:15%;
}

/* Sadržaj iznad pozadine */

.menu-button,
.menu,
.banner,
.popup,
.content,
footer{
    position:relative;
    z-index:1;
}

/* Naslovi */

h1{
    font-size:48px;
    color:#0a2f6b;
    margin:0;
    line-height:1.15;
}

h2, h3{
    font-family: "oswald", Helvetica, sans-serif;
    font-size:37px;
    color:#ffffff;
    margin-top:70px;
    margin-bottom:18px;
    /*
    text-shadow: -4px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    */
}

h2::after{
    content:"";
    display:block;
    width:370px;
    height:4px;
    margin:12px auto 0;
    border-radius:999px;
    background:linear-gradient(90deg, #62bfff, #0b3d91);
}

h3{
    color:#ffffff;
    margin-top:10px;
    font-size:32px;
    /*
    text-shadow: -4px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    */
}

h3::after{
    content:"";
    display:block;
    width:350px;
    height:4px;
    margin:12px auto 0;
    border-radius:999px;
    background:linear-gradient(90deg, #62bfff, #0b3d91);
}

/* Tekst */

p{
    color:#243447;
    line-height:1.8;
    font-size:17px;
    margin:0;
}

/* Hamburger gumb */

.menu-button{
    font-size:28px;
    cursor:pointer;
    position:fixed;
    top:20px;
    left:20px;
    z-index:3001;
    color:#0b3d91;
    background:rgba(255,255,255,0.92);
    padding:8px 13px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
    backdrop-filter:blur(8px);
    -webkit-tap-highlight-color: transparent;
}

/* Meni */

.menu{
    font-family: "oswald", Helvetica, sans-serif;
    position:fixed;
    top:0;
    left:-320px;
    width:300px;
    height:100%;
    background:linear-gradient(180deg, #0b3d91, #082d6c);
    padding-top:100px;
    transition:left 0.3s ease;
    z-index:3000;
    box-shadow:4px 0 20px rgba(0,0,0,0.15);
}

.menu.open{
    left:0;
}

.menu a{
    display:block;
    color:white;
    padding:18px 10px;
    text-decoration:none;
    font-size:18px;
    text-align:left;
}

.menu a:hover{
    background:rgba(255,255,255,0.15);
}

.menu i{
    display: inline;
    margin-right: 8px;
}


.menu-link{
    background-color: #072250;
    border-color: #072250;
    border-style: solid;
    border-radius: 25px;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.mini-footer a{
    font-size: 16px;
    margin-top: 0px;
    color: rgb(0, 0, 0);
}

.face{
    display: flex;
    width: 100%;
    border-color: black;
    margin-top: 20px;
    margin-left: 90px;
}

.face i{
    font-size: 25px;
}

.face a:hover{
    background:rgba(255,255,255,0.15);
    border-style: groove;
    border-radius: 8px;
}

.tm{
    display: block;
    margin-top: 10px;
}

/* Banner */

.banner{
    min-height:440px;
    width:100%;
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    position:relative;
}

.banner-vid{
    width: 100%;
}

.banner::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

#vid{
    width: 100%;
}



/* Popup */

.popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:2000;
    padding:20px;
}

.popup-content{
    background:rgba(255,255,255,0.94);
    backdrop-filter:blur(10px);
    padding:34px 28px;
    border-radius:24px;
    text-align:center;
    max-width:500px;
    width:100%;
    box-shadow:0 18px 45px rgba(0,0,0,0.18);
    border:1px solid rgba(255,255,255,0.65);
}

.popup-content h2{
    margin-top:0;
    margin-bottom:16px;
}

.popup-content button{
    margin-top:24px;
    padding:12px 24px;
    border:none;
    border-radius:10px;
    background:#0b3d91;
    color:white;
    cursor:pointer;
    font-size:16px;
    box-shadow:0 8px 20px rgba(11,61,145,0.18);
    transition:0.3s ease;
}

.popup-content button:hover{
    background:#002f8a;
    transform:translateY(-2px);
}

/* Sekcija */

.content{
    padding:70px 20px;
    max-width:1100px;
    margin:auto;
}

.section-box{
    background:rgba(255,255,255,0.88);
    backdrop-filter:blur(8px);
    max-width:750px;
    text-align: left;
    margin:40px auto;
    padding:36px;
    border-radius:22px;
    box-shadow:0 10px 30px rgba(31, 63, 104, 0.10);
    border:1px solid rgba(255,255,255,0.55);
}


/* Kartice */

.cards{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:28px;
    max-width:1000px;
    margin:40px auto;
}

.card1, .card2{
    width:100%;
    margin:0;
    padding:30px 26px;
    border-radius:20px;
    box-shadow:0 10px 28px rgba(20, 52, 92, 0.10);
    transition:transform 0.3s ease, box-shadow 0.3s ease;
    text-align:left;
}

.card1{
    background:linear-gradient(180deg, rgba(77,155,224,0.96), rgba(56,128,196,0.96));
    color:white;
}

.card2{
    background:linear-gradient(180deg, rgba(232,247,255,0.96), rgba(205,235,250,0.96));
    color:#16324f;
}

.card1 p{
    color:white;
}

.card2 p{
    color:#16324f;
}

.card1:hover, .card2:hover{
    transform:translateY(-5px) scale(1.01);
    box-shadow:0 16px 34px rgba(0,0,0,0.14);
}

/* Link */

a{
    color:#0b3d91;
    font-weight:bold;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

/* Gumbi */

.button-wrap{
    margin-top:30px;
    text-align: center;
}

.button{
    display:inline-block;
    padding:15px 30px;
    background:linear-gradient(135deg, #0b3d91, #1f67d2);
    color:white;
    border-radius:14px;
    text-decoration:none;
    box-shadow:0 10px 24px rgba(11,61,145,0.22);
    transition:all 0.3s ease;
}

.button:hover{
    background:linear-gradient(135deg, #082d6c, #1552b0);
    text-decoration:none;
    transform:translateY(-3px);
}

/* Footer */

footer{
    color:#05142d;
    margin-top:70px;
    padding:30px 20px 40px;
    font-size:17px;
}

/* Fontovi - stilovi teksta*/

@font-face {
    font-family: "amble";
    src: url("nc_assets/fonts/amble_regular_macroman/Amble-Regular-webfont.woff");
}

@font-face {
    font-family: "oswald";
    src: url("nc_assets/fonts/Oswald/Oswald-VariableFont_wght.ttf");
}

@font-face {
    font-family: "fahim";
    src: url("nc_assets/fonts/fahim-sans/FahimSans-Regular.otf");
}

@font-face {
    font-family: "aego";
    src: url("nc_assets/fonts/aeogo-pxltd-serif/AeogoPxltdSerif-Regular.ttf");
}

@font-face {
    font-family: "bedafutr";
    src: url("nc_assets/fonts/bedafutr/Bedafutr-Regular.otf");
}

@font-face {
    font-family: "Quadrillion";
    src: url("nc_assets/fonts/quadrillion/Quadrillion\ Sb.otf");
}

/* Tablet */

@media (max-width:992px){

    html, body {
    overflow-x: hidden;
    }

    h1{
        font-size:40px;
    }

    h2{
        font-size:29px;
    }

    .menu-link{
        background-color: #072250;
        border-color: #072250;
    }

    .banner{
        min-height:360px;
    }

    .section-box{
        padding:30px 24px;
    }

    .cards{
        gap:22px;
    }
}

/* Mobitel */

@media (max-width:768px){

    html, body {
    overflow-x: hidden;
    }

    body{
        text-align:center;
    }

    .menu{
        width:100%;
        left:-800px;
    }

    .menu-link{
        background-color: #072250;
        border-color: #072250;
    }

    .menu.open{
        left:0px;
    }

    .menu-button{
        top:12px;
        left:12px;
        font-size:26px;
        padding:7px 12px;
    }

    .banner{
        width: 100%;
    }

    .banner-vid{
        display: flex;
        max-width: 100%;
        justify-content: center;
    }

    #vid{
        width: 1000px;
        height: 100%;
    }
    

    h1{
        font-size:32px;
    }

    h2{
        font-size:26px;
        margin-top:52px;
    }

    h3{
        font-size:22px;
    }


    p{
        font-size:16px;
        line-height:1.75;
    }

    .content{
        padding:45px 14px;
    }

    


    .section-box{
        margin:24px auto;
        padding:24px 18px;
        border-radius:18px;
    }

    .cards{
        grid-template-columns:1fr;
        gap:18px;
        margin:28px auto;
    }

    .card1, .card2{
        margin-bottom: 17px;
        text-align:center;
        padding:22px 18px;
        border-radius:18px;
    }

    .button{
        width:100%;
        max-width:280px;
        padding:14px 20px;
    }

    .popup-content{
        padding:26px 18px;
        border-radius:18px;
    }

    .bg-icon{
        font-size:24px;
        opacity:0.045;
    }

    .blob1{
        width:180px;
        height:180px;
        top:160px;
        left:-70px;
    }

    .blob2{
        width:200px;
        height:200px;
        right:-80px;
        top:980px;
    }

    .blob3{
        width:160px;
        height:160px;
        top:1650px;
        left:5%;
    }
}

/* Mali mobiteli */

@media (max-width:480px){

    html, body {
    overflow-x: hidden;
    }

    h1{
        font-size:28px;
    }

    h2{
        font-size:23px;
    }

    .card1, .card2{
        margin-bottom: 17px;
    }


    .banner-vid{
        display: flex;
        max-width: 100%;
        justify-content: center;
    }

    #vid{
        width: 1000px;
        height: auto;
    }

    p{
        font-size:15px;
    }

    .section-box{
        padding:20px 16px;
    }

    .card1, .card2{
        padding:20px 16px;
    }

    .popup-content button{
        width:100%;
    }

    .menu{
        width:100%;
        left:-450px;
    }

    .face{
        display: flex;
    }

    .menu a:last-child{
    margin-top:12px;
    border-top:1px solid rgba(255,255,255,0.12);
}
}
