
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Archivo", sans-serif;
    color: #000000;
    background-color: #f7f9fc;
}

section {
    padding: 80px 8%;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    max-width: 720px;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive .embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* HEADER*/
.header-section {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    background: linear-gradient(181.42deg, #0465B2 51.62%, #4E91E4 102.2%);
    color: #fff;
    gap: 10px;
}

.header-logo {
    padding-bottom: 20px;
    width: 100px;
}

.header-video video {
    width: 100%;
    object-fit: cover;
}

.header-content {
    padding: 15px;
}

.header-content h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.header-content h1 {
    font-size: 36px;
    font-family: "Oxanium", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.header-content p {
    font-size: 14px;
    line-height: 20px;
    max-width: 100%;
    padding: 15px 0;
}

/* SECTION */
.section-grid {
    padding: 80px 8%;
    background-color: #fff;
}

.row {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 1.6fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
}

.row.reverse {
    grid-template-columns: 1.6fr 1.8fr 1.2fr;
}

.col img{
    width: 100%;
    height: 500px;
    border-radius: 32px;
    object-fit: cover;
}

.col video {
    width: 300px;
    max-width: 100%;
    max-height: 500px;
    border: 3px solid red;
    border-radius: 32px;
}

.text h3 {
    font-size: 20px;
    font-family: "Oxanium", sans-serif;
    text-transform: uppercase;
    color: #093367;
    max-width: 400px;
    margin-bottom: 15px;
}

.text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 28px;
    color: #000000;
}

.text a {
    text-decoration: none;
    font-weight: 600;
    color: #0a3d91;
    padding-bottom: 3px;
    transition: 0.3s;
    font-size: 18px;
}

.text a:hover {
    color: #082b6a;
    border-color: #082b6a;
}

/* DRUGA SEKCIJA */
.section-side {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    background: linear-gradient(181.42deg, #0465B2 51.62%, #4E91E4 102.2%);
    color: #ffffff;
}

.side-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.side-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.side-left img {
    width: 100%;
    object-fit: cover;
    border-radius: 32px;
    margin-bottom: 20px;
}

.side-left-text h3 {
    font-size: 25px;
    font-family: "Oxanium", sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.side-left-text p {
    font-size: 16px;
    margin-bottom: 20px;
}

.side-left-text a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 3px;
    transition: 0.3s;
}

.side-right {
    flex: 0 0 50%;
}

.side-right img {
    width: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* ZADNJA SEKCIJA*/
.section-side.second {
    background: linear-gradient(181.42deg, #93C3FF 37.1%, #EDF5FF 102.2%);
    color: #ffffff;
    align-items: center;
}

.side-right.second img{
    object-position: center 89%;
}

.side-left-text.second h3 {
    color: #093367;
}

.side-left-text.second p {
    color: #000000;
}

.side-left-text.second a {
    color: #093367;
}

/* FONDOVI */
.mirovinski-infografika {
    position: relative;
    width: 700px;
    height: 700px;
}

.krug-centar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    /* position: relative; */
}

.krug-centar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 15px;
    background: conic-gradient(#4ca3dd 0deg 90deg, #f3b547 90deg 180deg, #e96e47 180deg 270deg, #57b957 270deg 360deg);
    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.krug-centar span {
    position: relative;
    z-index: 2;
}

.krug {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    perspective: 1000px;
}

.krug:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.krug .krug-placeholder {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.dionice {
    top: 20px;
    left: 17px;
    background-color: #57b957;
}

.obveznice {
    top: 20px;
    right: 17px;
    background-color: #4ca3dd;
}

.novcani {
    bottom: 20px;
    left: 17px;
    background-color: #e96e47;
}

.ostala {
    bottom: 20px;
    right: 17px;
    background-color: #f3b547;
}

/* Tekstualni dio */
.tekst-info {
    box-sizing: border-box;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: #000;
    border-radius: 20px;
    padding: 30px;
    display: none;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    overflow: auto;
    z-index: 30;
}

/*
.tekst-info {
    padding: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
*/

.tekst-info.circle-view {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transform: none !important; 
    width: 100%;
    height: 100%;
    padding: 14px;
    left: 0;
    top: 0;
}

.tekst-info.circle-view h3 {
    margin: 6px 0 8px;
    font-size: 16px;
    line-height: 1.1;
}

.tekst-info.circle-view p {
    margin: 4px 0;
    font-size: 13px;
    line-height: 1.2;
}


.krug.active .krug-placeholder {
    visibility: hidden;
}


.mirovinski-infografika {
    position: relative;
}

.side-right .icon-info {
    width: 20%;
    border-radius: 0;
}

.krug::after {
    content: "";
    position: absolute;
    width: 55px;
    height: 55px;
    background: currentColor;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    z-index: -1;
}

.dionice {
    color: #57b957;
}

.dionice::after {
    top: 50%;
    right: 21px;
    transform: translateY(142%) rotate(350deg);
}

.obveznice {
    color: #4ca3dd;
}

.obveznice::after {
    top: 50%;
    left: 2px;
    transform: translateY(100%) rotate(79deg);
}

.novcani {
    color: #e96e47;
}

.novcani::after {
    top: 50%;
    right: -3px;
    transform: translateY(-228%) rotate(138deg);
}

.ostala {
    color: #f3b547;
}

.ostala::after {
    top: 50%;
    left: 15px;
    transform: translateY(-235%) rotate(166deg);
}

/* footer */
.site-footer {
    background: linear-gradient(181.42deg, #0465B2 51.62%, #4E91E4 102.2%);
    padding: 60px 8%;
    text-align: center;
    color: #fff;
}

.site-footer .footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.site-footer p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}


@media (max-width: 768px) {
    section {
        padding: 40px 5%;
    }

    .section-grid .row,
    .section-grid .row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .col img,
    .col video {
        width: 100%;
        height: auto;
    }

    .col.video {
        grid-column: 1 / 2;
    }

    .text p,
    .side-left-text p {
        font-size: 14px;
        line-height: 22px;
    }

    .section-side {
        flex-direction: column;
        gap: 80px;
        padding-bottom: 70px;
    }

    .side-right {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .side-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .side-left img,
    .side-right img {
        max-height: 250px;
    }

    .mobile-divider {
        display: block;
        height: 1px;
        background-color: blue;
        margin: 20px 20px;
    }

    /* INFOGRAFIKA  */
    .mirovinski-infografika {
        width: 280px;
        height: 280px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .krug-centar {
        width: 150px;
        height: 150px;
        font-size: 13px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .krug {
        width: 160px;
        height: 160px;
    }

    .krug .krug-placeholder {
        width: 65%;
        height: 65%;
    }

    .dionice {
        top: -55px;
        left: -68px;
    }

    .obveznice {
        top: -55px;
        right: -68px;
    }

    .novcani {
        bottom: -55px;
        left: -68px;
    }

    .ostala {
        bottom: -55px;
        right: -68px;
    }

    .tekst-info {
        width: 100%;
        padding: 20px;
        font-size: 14px;
        position: absolute;
        border-radius: 16px;
        text-align: center;
        color: #000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }

    .tekst-info.circle-view {
        width: 100%;
        height: 100%;
        font-size: 10px;
        padding: 10px;
    }

    .tekst-info.circle-view h3 {
        font-size: 12px;
        margin: 6px 0 0
    }

    .tekst-info.circle-view p {
        font-size: 9px;
    }

    .krug::after {
        width: 35px;
        height: 35px;
    }

    .dionice::after {
        right: 3px;
        transform: translateY(120%) rotate(342deg);
    }

    .obveznice::after {
        left: -3px;
        transform: translateY(80%) rotate(79deg);
    }

    .novcani::after {
        right: -3px;
        transform: translateY(-214%) rotate(138deg);
    }

    .ostala::after {
        left: 3px;
        transform: translateY(-198%) rotate(166deg);
    }


    .site-footer {
        padding: 40px 5%;
    }

    .site-footer .footer-logo {
        width: 120px;
        margin-bottom: 15px;
    }

    .site-footer p {
        font-size: 14px;
    }
}

@media (max-width: 425px) {

    .mirovinski-infografika {
        width: 200px;
        height: 200px;
    }

    .krug-centar {
        width: 110px;
        height: 110px;
        font-size: 10px;
        line-height: 1.2;
        padding: 6px;
    }

    .krug {
        width: 125px;
        height: 125px;
    }

    .dionice {
        top: -42px;
        left: -61px;
    }

    .obveznice {
        top: -42px;
        right: -61px;
    }

    .novcani {
        bottom: -42px;
        left: -61px;
    }

    .ostala {
        bottom: -42px;
        right: -61px;
    }

    .krug::after {
        width: 30px;
        height: 30px;
    }

    .tekst-info {
        width: 230px;
        padding: 10px;
        font-size: 10px;
    }

    .tekst-info.circle-view {
        width: 100%;
        height: 100%;
        font-size: 9px;
        overflow: hidden;
    }

    .tekst-info.circle-view h3 {
        font-size: 10px;
        margin: 3px 0 0;
    }

    .tekst-info.circle-view p {
        font-size: 8px;
        line-height: 1.1;
        margin: 1px 0;
    }

    .site-footer {
        padding: 30px 5%;
    }

    .site-footer .footer-logo {
        width: 100px;
        margin-bottom: 10px;
    }

    .site-footer p {
        font-size: 12px;
        line-height: 1.4;
    }
}


@media (min-width: 769px) and (max-width: 1023px) {

    .col.image img,
    .col.video video {
        height: 300px;
        max-width: 100%;
        border-radius: 24px;
    }

    .col.video video {
        width: 100%;
        border: 2px solid red;
    }

    .text h3 {
        font-size: 22px;
    }

    .text p {
        font-size: 16px;
        line-height: 26px;
    }

    .text a {
        font-size: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1360px) {
    .section-grid .row,
    .section-grid .row.reverse {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .row.reverse .col.text {
        order: 2;
    }

    .row.reverse .col.image {
        order: 1;
    }

    .row.reverse .col.video {
        order: 3;
    }

    .col.video {
        grid-column: 1 / 3;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .section-side {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .side-top {
        width: 100%;
        max-width: 700px;
    }

    .side-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .mirovinski-infografika {
        transform: scale(0.8);
        transform-origin: center;
    }
}


@media (min-width: 1024px) {
    .mobile-divider {
        display: none;
    }

    .header-section {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 25px;
    }

    .header-logo {
        width: 150px;
        padding-bottom: 0;
    }
    
    .header-content {
        padding: 0;
    }

    .header-content h1 {
        font-size: 29px;
        padding-top: 10px;
    }

    .side-left-text h3,
    .text h3 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .side-left-text p,
    .text p {
        font-size: 22px;
    }

    .side-left-text a,
    .text a {
        font-size: 25px;
    }
}

@media (min-width: 1440px) {
    .header-content h1 {
        font-size: 50px;
        letter-spacing: 10px;
    }

    .header-content p {
        font-size: 18px;
        line-height: 28px;
        max-width: 650px;
        margin: 0;
    }

    .text h3 {
        font-size: 40px;
        font-weight: 700;
        line-height: 56px;
    }

    .text p {
        font-size: 18px;
        font-weight: 400;
    }

    .text a,
    .side-left-text a {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .side-left-text h3 {
        font-size: 40px;
        margin-bottom: 15px;
        font-weight: 700;
        letter-spacing: 5px;
    }

    .side-left-text p {
        font-size: 18px;
        line-height: 28px;
        font-weight: 400;
    }
}

@media (min-width: 1620px) {
    .header-content h2 {
        font-size: 40px;
    }

    .header-content h1 {
        font-size: 80px;
        letter-spacing: 10px;
    }

    .header-content p {
        font-size: 18px;
        line-height: 28px;
        max-width: 900px;
        margin: 0;
    }

    .text h3 {
        font-size: 40px;
        font-weight: 700;
        line-height: 56px;
    }

    .text p {
        font-size: 18px;
        font-weight: 400;
    }

    .text a,
    .side-left-text a {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .side-left-text h3 {
        font-size: 40px;
        margin-bottom: 15px;
        font-weight: 700;
        letter-spacing: 5px;
    }

    .side-left-text p {
        font-size: 18px;
        line-height: 28px;
        font-weight: 400;
    }
}
