* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #eef3f8;
    color: #1f2937;
    line-height: 1.6;
}

/* HERO DEO */

.hero {
    min-height: 520px;
    background:
        linear-gradient(rgba(10, 35, 66, 0.88), rgba(10, 35, 66, 0.92)),
        radial-gradient(circle at top right, #38bdf8, transparent 35%),
        linear-gradient(135deg, #0f172a, #0f4c81);
    color: white;
    padding: 22px 8%;
}

.navigacija {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.meni {
    display: flex;
    gap: 18px;
}

.meni a {
    color: #dbeafe;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.meni a:hover {
    color: white;
}

.hero-sadrzaj {
    max-width: 1200px;
    margin: 70px auto 0;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.oznaka {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #bfdbfe;
    padding: 8px 14px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.opis {
    font-size: 20px;
    color: #dbeafe;
    max-width: 720px;
    margin-bottom: 30px;
}

.hero-dugmad {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.dugme {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.dugme.glavno {
    background: #38bdf8;
    color: #082f49;
}

.dugme.glavno:hover {
    background: #7dd3fc;
}

.dugme.sporedno {
    border: 2px solid #93c5fd;
    color: white;
}

.dugme.sporedno:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero-kartica {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.hero-kartica h2 {
    margin-bottom: 16px;
    font-size: 26px;
}

.hero-kartica ul {
    list-style: none;
}

.hero-kartica li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: #e0f2fe;
    font-weight: bold;
}

.hero-kartica li:last-child {
    border-bottom: none;
}

/* GLAVNI SADRŽAJ */

.kontejner {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.uvod {
    background: white;
    padding: 28px;
    border-radius: 18px;
    margin-bottom: 40px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border-left: 7px solid #0ea5e9;
}

.uvod h2 {
    color: #0f4c81;
    margin-bottom: 10px;
    font-size: 28px;
}

.uvod p {
    color: #4b5563;
    font-size: 17px;
}

.sekcija {
    margin-bottom: 48px;
}

.naslov-sekcije {
    margin-bottom: 22px;
}

.naslov-sekcije p {
    color: #0284c7;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.naslov-sekcije h2 {
    color: #0f172a;
    font-size: 32px;
}

/* PROBNI TESTOVI */

.probni-testovi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.test-kartica {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: white;
    color: #1f2937;
    text-decoration: none;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    transition: 0.2s;
}

.test-kartica:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
    border-color: #38bdf8;
}

.test-kartica .ikona {
    font-size: 34px;
}

.test-kartica h3 {
    color: #0f4c81;
    margin-bottom: 6px;
}

.test-kartica p {
    color: #6b7280;
}

/* OBLASTI */

.oblasti {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.oblast {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}

.oblast::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.oblast:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.14);
}

.oblast-zaglavlje {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.oblast-zaglavlje span {
    width: 48px;
    height: 48px;
    background: #e0f2fe;
    color: #075985;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    font-size: 26px;
}

.oblast h3 {
    color: #0f4c81;
    font-size: 22px;
}

.oblast p {
    color: #4b5563;
    margin-bottom: 18px;
    min-height: 78px;
}

/* LINKOVI TESTOVA */

.testovi {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testovi a {
    display: block;
    background: #f1f5f9;
    color: #0f4c81;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: bold;
    border-left: 4px solid #0ea5e9;
    transition: 0.2s;
}

.testovi a:hover {
    background: #0ea5e9;
    color: white;
    padding-left: 20px;
}

/* FOOTER */

.futer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 22px;
    margin-top: 50px;
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .hero-sadrzaj {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .oblasti {
        grid-template-columns: repeat(2, 1fr);
    }

    .probni-testovi {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .hero {
        padding: 18px 5%;
    }

    .navigacija {
        flex-direction: column;
        gap: 12px;
    }

    .meni {
        gap: 12px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .opis {
        font-size: 17px;
    }

    .oblasti {
        grid-template-columns: 1fr;
    }

    .kontejner {
        width: 94%;
    }

    .naslov-sekcije h2 {
        font-size: 27px;
    }

    .oblast p {
        min-height: auto;
    }
}