*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat',sans-serif;
    overflow-x:hidden;
    background:#f7f8fb;
}

.container{
    width:92%;
    max-width:1450px;
    margin:auto;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:90px;
    background:#fff;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.header-content{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{height:75px;}

.logo-box{
    display:flex;
    align-items:center;
    gap:16px;
}

.logo-title{
    margin:0;
    font-size:26px;
    font-weight:800;
    color:#0b2d6b;
    letter-spacing:1px;
}

nav{display:flex;gap:24px;}

nav a{
    text-decoration:none;
    color:#111;
    font-size:13px;
    font-weight:700;
    position:relative;
    transition:.3s;
}

nav a:hover,.active{color:#0b2d6b;}

.active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-18px;
    width:100%;
    height:3px;
    background:#d71920;
}

.right-side{display:flex;align-items:center;gap:25px;}
.phone{font-size:14px;font-weight:700;}
.phone i{margin-right:8px;}

.right-side button{
    background:#d71920;
    color:#fff;
    border:none;
    height:48px;
    padding:0 24px;
    border-radius:10px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.hero{
    margin-top:110px;
    width:98%;
    margin-left:auto;
    margin-right:auto;
    height:510px;
    background:url(images/hero.jpg);
    background-size:cover;
    background-position:70% center;
    position:relative;
    display:flex;
    align-items:center;
    overflow:hidden;
    border-radius:0 0 45px 45px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(0,18,65,.96) 0%,rgba(0,18,65,.90) 18%,rgba(0,18,65,.70) 35%,rgba(0,18,65,.25) 52%,transparent 72%);
}

.hero-text{
    position:relative;
    z-index:5;
    width:430px;
    margin-left:55px;
    color:#fff;
}

.hero h1{
    font-size:32px;
    line-height:1.2;
    font-weight:800;
    margin-bottom:22px;
}

.hero p{
    font-size:15px;
    line-height:1.7;
    max-width:340px;
    margin-bottom:30px;
}

.buttons{display:flex;gap:15px;}

.red-btn,.white-btn{
    height:50px;
    padding:0 28px;
    border-radius:8px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.red-btn{background:#d71920;color:#fff;border:none;}
.white-btn{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.85);}
.white-btn:hover{background:#fff;color:#0b2d6b;}

#phone-number {
    display: none;
    margin-top: 15px;
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.features{
    width:90%;
    margin:28px auto 0;
     background:#314556;
    border-radius:20px;
    padding:18px 24px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.feature-box{text-align:center;color:#fff;padding:0 20px;}
.feature-box:not(:last-child){border-right:1px solid rgba(255,255,255,.12);}
.feature-box i{
    width:40px;height:40px;margin:0 auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;background:#d71920;
}
.feature-box h3{font-size:15px;font-weight:700;margin-bottom:8px;}
.feature-box p{font-size:13px;color:#d8d8d8;line-height:1.5;}

.services{margin-top:45px;margin-bottom:60px;}
.section-title{text-align:center;}
.section-title span{color:#d71920;font-size:12px;font-weight:700;letter-spacing:2px;}
.section-title h2{margin-top:10px;font-size:28px;color:#0b2d6b;}

.services-grid{margin-top:35px;display:grid;grid-template-columns:1fr 1fr;gap:30px;}
.service-card{background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.08);transition:.3s;}
.service-card:hover{transform:translateY(-8px);}
.service-card img{width:100%;height:220px;object-fit:cover;}
.service-content{padding:28px;}
.service-content h3{
    display:flex;
    align-items:center;
    gap:12px;

    color:#0b2d6b;

    margin-bottom:15px;

    font-size:18px;
}
.service-content h3 i{color:#d71920;}
.service-content p{
    color:#666;

    line-height:1.8;

    font-size:14px;

    max-width:280px;
}

.stats{
    margin-bottom:80px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.stat{text-align:center;padding:10px;}
.stat:not(:last-child){border-right:1px solid #ececec;}
.stat i{display:block;color:#d71920;font-size:26px;margin-bottom:18px;}
.stat h2{color:#0b2d6b;font-size:34px;margin-bottom:10px;}
.stat p{color:#555;font-size:14px;}
/* ===== NOVE KARTICE USLUGA ===== */

.horizontal-card{
    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:320px;

    overflow:hidden;
}

.horizontal-card img{
    width:52%;
    height:300px;

    object-fit:contain;

    padding:10px;

    background:#fff;
}

.horizontal-card .service-content{
    width:62%;
    padding:30px;
}

.service-icon{
    width:42px;
    height:42px;

    background:#d71920;
    color:white;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:16px;

    margin-bottom:12px;
}

.service-line{
    width:50px;
    height:4px;

    background:#d71920;

    border-radius:20px;

    margin:15px 0 20px;
}

.service-link{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin-top:20px;

    text-decoration:none;

    color:#0b2d6b;

    font-size:13px;
    font-weight:700;

    transition:.3s;
}

.service-link:hover{
    color:#d71920;
}

.service-link i{
    font-size:12px;
}

/* ================= FOOTER ================= */

footer{
    margin-top:18px;
    background:linear-gradient(135deg,#16314d 0%,#0f2338 100%);
    color:#fff;
    overflow:hidden;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1.2fr;
    gap:40px;
    padding:35px 0 28px;
    align-items:flex-start;
}

.footer-logo{
    width:75px;
    display:block;
    margin-bottom:18px;
}

.company-box p{
    max-width:260px;
    color:#d6dde6;
    line-height:1.7;
    font-size:15px;
}

.footer-box h3{
    font-size:22px;
    margin-bottom:20px;
    font-weight:700;
}

.footer-box h3::after{
    content:"";
    display:block;
    width:45px;
    height:3px;
    background:#d71920;
    margin-top:10px;
    border-radius:20px;
}

.footer-box a{
    display:block;
    text-decoration:none;
    color:#d6dde6;
    margin-bottom:12px;
    font-size:15px;
    transition:.3s;
}

.footer-box a:hover{
    color:#fff;
    padding-left:6px;
}

.footer-box p{
    color:#d6dde6;
    font-size:15px;
    line-height:1.8;
    margin-bottom:12px;
}

.footer-box i{
    color:#d71920;
    width:24px;
    margin-right:8px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:16px 0;
    color:#9eaab6;
    font-size:14px;
}

/* ================= O NAMA ================= */

.about-section{
    padding:10px 0 20px;
    background:#f5f6fa;
    margin-top:-50px;
}

.about-wrapper{
    display:grid;
    grid-template-columns:42% 58%;
    align-items:stretch;
}

.about-left{
    background:#fff;
    padding:60px;
    border-radius:20px;
    box-shadow:0 20px 45px rgba(0,0,0,.08);
    position:relative;
    z-index:2;
}

.about-left span{
    color:#d71920;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.about-left h2{
    margin:18px 0 22px;
    font-size:40px;
    line-height:1.2;
    color:#0b2d6b;
    font-weight:800;
}

.about-left p{
    font-size:16px;
    line-height:1.8;
    color:#666;
    margin-bottom:30px;
}

.about-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-bottom:35px;
}

.about-list div{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    color:#333;
}

.about-list i{
    color:#d71920;
}

.about-btn{
    background:#d71920;
    color:#fff;
    border:none;
    padding:16px 34px;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.about-btn:hover{
    background:#b9151b;
}

.about-right{
    margin-left:-120px;
    display:flex;
    align-items:stretch;
}

.about-right::before{
    content:"";
    position:absolute;
    left:-14px;
    top:8%;
    width:14px;
    height:84%;
    background:#d71920;
    border-radius:20px;
}

.about-right img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
/* ================= CTA ================= */

.cta{
    margin-top:0px;
    background:url("images/hero.jpg") center center/cover;
    position:relative;
    overflow:hidden;
    border-radius:18px;
}

.cta::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(10,28,55,.88);
}

.cta-wrapper{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:35px;
    padding:30px 45px;
}

.cta-icon{
    width:80px;
    height:80px;

    border:2px solid #d71920;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    color:#fff;
    font-size:34px;
}

.cta-text{
    flex:1;
}

.cta-text h2{
    color:#fff;
    font-size:28px;
    font-weight:800;
    margin-bottom:10px;
}

.cta-text h2::after{
    content:"";
    display:block;

    width:55px;
    height:3px;

    background:#d71920;

    margin-top:10px;
    border-radius:20px;
}

.cta-text p{
    color:#d8dde6;
    font-size:16px;
    line-height:1.6;
    max-width:480px;
}

.cta-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;

    background:#d71920;
    color:#fff;

    text-decoration:none;

    padding:16px 30px;

    border-radius:8px;

    font-size:15px;
    font-weight:700;

    transition:.3s;
}

.cta-btn:hover{
    background:#b9151b;
    transform:translateY(-3px);
}

.cta::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;

    width:100%;
    height:4px;

    background:#d71920;
}
/* =========================================================
   MOBILNI HEADER
========================================================= */

.hamburger {
    display: none;
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 768px) {

    /* =========================================================
       MOBILNA VERZIJA - POČETNA STRANICA
       Desktop CSS iznad ovog bloka ostaje nepromenjen.
    ========================================================= */

    /* =========================
       OSNOVNO
    ========================= */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 92%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }


    /* =========================
       HEADER
    ========================= */

    header {
        height: 75px;
    }

    .header-content {
        width: 92%;
        height: 75px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-box {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .logo {
        height: 55px;
        width: auto;
    }

    .logo-title {
        font-size: 18px;
        letter-spacing: .5px;
        white-space: nowrap;
    }

    .right-side {
        display: none;
    }

    /* Hamburger već postoji u HTML-u. */
    .hamburger {
        display: block;
        background: none;
        border: none;
        padding: 8px;
        margin-left: auto;
        font-size: 25px;
        line-height: 1;
        color: #0b2d6b;
        cursor: pointer;
    }

    /* Mobilni meni */
    nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,.10);
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 15px 25px;
        font-size: 14px;
    }

    nav a:hover {
        background: #f5f6fa;
    }

    nav a.active::after {
        display: none;
    }


   /* =========================
   HERO - MOBILNI
========================= */

.hero {
    margin-top: 95px;
    width: 92% !important;
    max-width: none !important;
    height: 620px;
    margin-left: auto;
    margin-right: auto;

    /* Slika je samo u gornjem delu */
    background-image: url(images/hero.jpg);
    background-repeat: no-repeat;
    background-size: auto 250px;
background-position: 110% top;
    background-color: #ffffff;

    position: relative;
    display: block;
    overflow: hidden;

    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

/* Uklanjamo tamni overlay preko slike */
.hero .overlay {
    display: none;
}

/* Tekst ide ISPOD slike */
.hero-text {
    position: absolute;
    top: 270px;
    left: 0;

    width: 100%;
    margin: 0;

    padding: 28px 25px 30px;

    color: #0b2d6b;
    background: #ffffff;
}

/* Naslov */
.hero h1 {
    font-size: 27px;
    line-height: 1.15;
    font-weight: 800;

    margin: 0 0 15px;
}

/* Opis */
.hero p {
    font-size: 13px;
    line-height: 1.6;

    max-width: 100%;
    margin: 0 0 22px;

    color: #555;
}

/* Dugme */
.buttons {
    display: block;
}

.white-btn {
    height: 45px;

    padding: 0 20px;

    background: #d71920;
    color: #ffffff;

    border: 2px solid #d71920;
    border-radius: 8px;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.white-btn:hover {
    background: #b9151c;
    border-color: #b9151c;
}

/* Broj telefona */
#phone-number {
    display: none;

    margin-top: 12px;

    color: #0b2d6b;
    font-size: 16px;
    font-weight: 700;
}

    /* =========================
       FEATURES - 2 x 2
    ========================= */

    .features {
        width: 92%;
        margin: 20px auto 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        border-radius: 15px;
        overflow: hidden;
    }

    .feature-box {
        width: 100%;
        min-width: 0;
        min-height: 125px;
        padding: 15px 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-right: 1px solid rgba(255,255,255,.12);
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .feature-box:nth-child(2),
    .feature-box:nth-child(4) {
        border-right: none;
    }

    .feature-box:nth-child(3),
    .feature-box:nth-child(4) {
        border-bottom: none;
    }

    .feature-box i {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        margin: 0 auto 8px;
        font-size: 15px;
    }

    .feature-box h3 {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .feature-box p {
        font-size: 9px;
        line-height: 1.4;
        max-width: 115px;
    }


    /* =========================
       USLUGE
    ========================= */

    .services {
        width: 92%;
        margin: 45px auto 50px;
    }

    .section-title {
        text-align: center;
    }

    .section-title span {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .section-title h2 {
        margin-top: 8px;
        font-size: 22px;
        line-height: 1.25;
    }

    .services-grid {
        width: 100%;
        margin-top: 25px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card,
    .horizontal-card {
        width: 100%;
        min-width: 0;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px;
        overflow: hidden;
    }

    .horizontal-card .service-content {
        width: 100%;
        min-width: 0;
        padding: 22px;
    }

    .service-icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        margin-bottom: 10px;
        font-size: 15px;
    }

    .service-content h3 {
        display: block;
        width: 100%;
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 10px;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .service-line {
        width: 40px;
        height: 3px;
        margin: 10px 0 15px;
    }

    .service-content p {
        width: 100%;
        max-width: none;
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 0;
        overflow-wrap: break-word;
    }

    .service-link {
        margin-top: 15px;
        font-size: 11px;
    }

    .horizontal-card img {
        width: 100%;
        height: 180px;
        padding: 0;
        object-fit: cover;
    }


    /* =========================
       STATISTIKA - 2 x 2
    ========================= */

    .stats {
        width: 92%;
        margin: 0 auto 50px;
        padding: 15px 10px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        border-radius: 18px;
        overflow: hidden;
    }

    .stat {
        min-width: 0;
        padding: 18px 8px;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid #ececec;
    }

    .stat:nth-child(1),
    .stat:nth-child(3) {
        border-right: 1px solid #ececec;
    }

    .stat:nth-child(2),
    .stat:nth-child(4) {
        border-right: none;
    }

    .stat i {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .stat h2 {
        font-size: 25px;
        line-height: 1.1;
        margin-bottom: 7px;
    }

    .stat p {
        font-size: 11px;
        line-height: 1.4;
    }


    /* =========================
       O NAMA
    ========================= */

    .about-section {
        width: 100%;
        padding: 0 0 30px;
        margin-top: 0;
    }

    .about-wrapper {
        width: 92%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .about-left {
        width: 100%;
        min-width: 0;
        padding: 30px 22px;
        border-radius: 18px;
    }

    .about-left span {
        font-size: 11px;
    }

    .about-left h2 {
        margin: 12px 0 16px;
        font-size: 27px;
        line-height: 1.2;
    }

    .about-left p {
        width: 100%;
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 20px;
        overflow-wrap: break-word;
    }

    .about-list {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }

    .about-list div {
        font-size: 12px;
        line-height: 1.4;
    }

    .about-btn {
        padding: 13px 24px;
        font-size: 11px;
    }

    .about-right {
        width: 100%;
        min-width: 0;
        margin: 0;
        display: block;
        position: relative;
    }

    .about-right::before {
        display: none;
    }

    .about-right img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        border-radius: 18px;
    }


    /* =========================
       CTA
    ========================= */

    .cta {
        width: 92%;
        margin: 0 auto 30px;
        border-radius: 18px;
    }

    .cta-wrapper {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        padding: 30px 20px;
        text-align: center;
    }

    .cta-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        font-size: 25px;
    }

    .cta-text {
        width: 100%;
        min-width: 0;
        flex: none;
    }

    .cta-text h2 {
        font-size: 21px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .cta-text p {
        width: 100%;
        max-width: none;
        font-size: 12px;
        line-height: 1.6;
    }

    .cta-btn {
        max-width: 100%;
        padding: 13px 22px;
        font-size: 11px;
        white-space: nowrap;
    }


    /* =========================
       FOOTER
    ========================= */

    footer {
        width: 100%;
        margin-top: 0;
    }

    .footer-grid {
        width: 92%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 0 25px;
    }

    .footer-box {
        width: 100%;
        min-width: 0;
    }

    .footer-logo {
        width: 60px;
        margin-bottom: 12px;
    }

    .company-box p {
        width: 100%;
        max-width: none;
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-box h3 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer-box a {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-box p {
        font-size: 12px;
        line-height: 1.7;
        margin-bottom: 8px;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        padding: 14px 10px;
        font-size: 10px;
        line-height: 1.4;
    }

}
