* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1, nav, button {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}
p{
    line-height: 1.6;
}
body {
    line-height: 1.6;
    color: #333;
    font-family: "Mulish", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: white;
}

header {
    background-color: #EFF2F8;
    padding: 13px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
    background-color: #EFF2F8;
    width: 100%; /* Dodaj ovo da nav zauzima celu širinu */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    margin-right: 4%;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
}

nav ul li a:hover {
    transition: color 0.3s ease;
    color: #a4c639;
}

.content-frame {
    width: 100%;
    height: calc(100vh);
    border: none;
}

.logo {
    height: 34px;
    width: auto;
    margin-right: 10px;
    padding-left: 40px;
    display: block;
}

.logo:hover {
    cursor: pointer;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center; /* Menja razmak između teksta i slike */
    padding: 30px;
    background-color: white;
    gap: 20px; /* Dodaj razmak između sadržaja i slike */
}
/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Početna pozicija malo ispod */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Vraća se na originalnu poziciju */
    }
}

/* Inicijalno sakrivena sekcija */
.section1 {
    opacity: 0;
    transform: translateY(20px); /* Lagano pomerena nadole */
    transition: opacity 1s ease, transform 1s ease; /* Tranzicija za glatki prelaz */
}

/* Kada dodamo klasu fade-in */
.section1.fade-in {
    opacity: 1;
    transform: translateY(0); /* Postaje vidljiva sa fade-in efektom */
}
iframe {
    margin: 0;
    padding: 0;
    display: block; /* Uklanja eventualne linije ili praznine oko iframe-a */
}
.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 80%; /* Podesi širinu slike */
    height: auto;
    border-radius: 10px;
}
.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #a4c639;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 20px; /* Dodaje zaobljenje */
    display: inline-block; /* Obezbeđuje da dugme ima pravilnu veličinu */
    transition: background-color 0.3s ease, color 0.3s ease; /* Dodaje tranziciju za fade in efekat */
}

.cta-button:hover {
    background-color: #ffffff;
    color: #a4c639;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.section-services  {
    opacity: 0;
    transform: translateY(20px); /* Lagano pomerena nadole */
    transition: opacity 1s ease, transform 1s ease; /* Tranzicija za glatki prelaz */
}

/* Kada dodamo klasu fade-in */
.section-services.fade-in {
    opacity: 1;
    transform: translateY(0); /* Postaje vidljiva sa fade-in efektom */
}
.section-services {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 50px;
    background-color: #f4f7f9;
    gap: 20px;
}

.services-content {
    flex: 1;
    max-width: 50%;
}

.services-content h2 {
    font-size: 50px;
    margin-bottom: 20px; /* Smanjen font naslova */
    font-weight: 700;
    color: #333;
}

.services-content h3 {
    font-size: 24px; /* Smanjen font podnaslova */
    font-weight: 700;
    margin-bottom: 20px;
}

.services-content p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.services-content ul {
    list-style: none;
    padding-left: 0;
}

.services-content ul li {
    font-size: 16px; /* Smanjen font za listu */
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 20px;
    font-weight: 700;
}

.services-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #a0bc4f;
}

.services-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.services-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

.active-link {
    border: 2px solid black;
    padding: 5px;
    border-radius: 15px;
    background-color: black;
    color: white;
    transition: all 0.3s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.active-link {
    animation: fadeIn 0.3s ease-in-out;
}


/* Footer Top Section */
.footer-top {
    background-color: #f4f7f9;
    padding: 30px 50px;
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 120px;
}

.footer-top p {
    font-size: 18px;
    color: #333;
}

.footer-contact-btn {
    background-color: #a0bc4f;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
}

.footer-contact-btn:hover {
    background-color: #8ca33c;
}

/* Footer Middle Section */
.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 40px 50px;
    background-color: white;
    gap: 30px;
}

.footer-left {
    max-width: 40%;
}

.footer-logo {
    width: 220px;
    margin-bottom: 20px;
}

.footer-left p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons a {
    margin-right: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

/* Footer Links Section */
.footer-links h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #555;
    font-size: 16px;
}

.footer-links ul li a:hover {
    color: #a0bc4f;
}

/* Footer Bottom Section */
.footer-bottom {
    background-color: #eff2f8;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #8a8a8a;
    font-size: 14px;
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-bottom-links li a {
    text-decoration: none;
    color: #8a8a8a;
    font-size: 14px;
}

.footer-bottom-links li a:hover {
    color: #333;
}

.footer-language {
    display: flex;
    align-items: center;
}

.footer-language img {
    width: 16px;
    margin-right: 8px;
}

.footer-language a {
    text-decoration: none;
    color: #8a8a8a;
    font-size: 14px;
}

.footer-language a:hover {
    color: #333;
}



.language-selector {
    text-decoration: none;
    color: #8a8a8a;
    font-size: 14px;
    transition: color 0.3s ease;
}

.language-selector:hover {
    color: #333;
}
/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Section 2 styling */
/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Početna pozicija malo ispod */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Vraća se na originalnu poziciju */
    }
}

.section2 {
    opacity: 0; /* Skrivena na početku */
    transform: translateY(20px); /* Lagano pomerena nadole */
    transition: opacity 1s ease, transform 1s ease; /* Tranzicija za glatki prelaz */
}

.section2.fade-in {
    opacity: 1;
    transform: translateY(0); /* Vraća se u originalnu poziciju i postaje vidljiva */
}
.section2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 50px;
    background-color: #f4f7f9; /* Lagana pozadina */
    gap: 20px;

}

.section2-content {
    flex: 1;
    max-width: 50%;
}

.section2-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #333;
}

.section2-content p {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.section2-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.section2-image img {
    max-width: 80%;
    height: auto;
}
/* Section 3 styling */
.section3 {
    background-color: #a0bc4f; /* Svetlo zelena pozadina */
    padding: 80px 50px;
    text-align: center;
}

.section3 h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
}

.card img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.section3 {
    opacity: 0; /* Skrivena na početku */
    transform: translateY(20px); /* Lagano pomerena nadole */
    transition: opacity 1s ease, transform 1s ease; /* Tranzicija za glatki prelaz */
}

.section3.fade-in {
    opacity: 1;
    transform: translateY(0); /* Vraća se u originalnu poziciju i postaje vidljiva */
}
/* Section 4 styling */
.section4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 50px;
    background-color: #f4f7f9; /* Svetla pozadina */
    gap: 20px;
}

.section4-image {
    flex: 1;
}

.section4-image img {
    max-width: 100%;
    height: auto;
}

.section4-content {
    flex: 1;
    max-width: 50%;
}

.section4-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.section4-content p {
    font-size: 22px;
    line-height: 1.6;
    color: #555;
}
.section4 {
    opacity: 0; /* Skrivena na početku */
    transform: translateY(20px); /* Lagano pomerena nadole */
    transition: opacity 1s ease, transform 1s ease; /* Tranzicija za glatki prelaz */
}

.section4.fade-in {
    opacity: 1;
    transform: translateY(0); /* Vraća se u originalnu poziciju i postaje vidljiva */
}





.gallery-item {
    background-color: #ccc; /* Placeholder boja */
    width: 300px; /* Povećaj širinu slike */
    height: 200px; /* Povećaj visinu slike */
    border-radius: 10px;
}

.gallery-item-main {
    background-color: black; /* Glavna slika */
    width: 800px; /* Povećaj širinu glavne slike */
    height: 400px; /* Povećaj visinu glavne slike */
}

.gallery-item-prev, .gallery-item-next {
    background-color: grey; /* Manje slike */
}

/* Pagination stilovi */
.gallery-navigation {
    margin: 20px 0;
}

.dot {
    height: 15px;
    width: 15px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 8px;
}

.dot.active {
    background-color: #a0bc4f;
}

/* Dugme za prikaz još slika */
.gallery-button {
    display: inline-block;
    background-color: #a0bc4f;
    color: white;
    padding: 20px 40px; /* Povećaj veličinu dugmeta */
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    margin-top: 30px; /* Dodaj razmak između pagination i dugmeta */
}

.gallery-button:hover {
    background-color: #8ca33c;
}

.fade-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-image.active {
    opacity: 1;
}
.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 50px;
    background-color: #f4f7f9;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.contact-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-content {
    flex: 1;
}

.contact-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.contact-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.contact-info {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.contact-info li {
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.contact-map {
    flex: 1;
}

.contact-map img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

address {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}
.reception-section {
    opacity: 0; /* Skrivena na početku */
    transform: translateY(20px); /* Lagano pomerena nadole */
    transition: opacity 1s ease, transform 1s ease; /* Tranzicija za glatki prelaz */
}

.reception-section.fade-in {
    opacity: 1;
    transform: translateY(0); /* Vraća se u originalnu poziciju i postaje vidljiva */
}
.reception-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 50px;
    background-color: #f4f7f9;
    gap: 20px;
}

.reception-content {
    flex: 1;
    max-width: 50%;
}

.reception-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.reception-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #555;
    margin-bottom: 20px;
}

.reception-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.reception-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.reception-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}
.documentation-section {
    padding: 80px 50px;
    background-color: #a0bc4f;
    color: white;
    text-align: left; /* Dodajemo da tekst krene od leve ivice */
}

.documentation-content {
    max-width: 100%; /* Skidamo ograničenje širine */
}

.documentation-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
}

.documentation-list, .medical-documentation-list{
    font-size: 18px;
    line-height: 1.8;
    list-style: decimal inside;
    color: #fff;
}
.medical-documentation-list-section {
    margin-top: 30px;
    
}
.pricing-section {
    padding: 80px 50px;
    background-color: #f4f7f9;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
}

.pricing-section h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}

.pricing-category {
    margin-bottom: 20px;
}

.pricing-category h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.pricing-list {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    list-style: none;
}
/* Stilovi za galeriju */
.section5 {
    padding: 8px 50px;
    padding-top: 0;
    text-align: center;
    background-color: #f4f7f9;
}

.section5 h2 {
    font-size: 36px;
    color: #333;
    margin-top: 0;
    margin-bottom: 40px;
}

/* Stilovi za glavnu sliku u galeriji */
.main-gallery-item {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-gallery-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Stilovi za slike u galeriji */
.gallery-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-item {
    width: 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}


.pricing-list li {
    display: flex;
    justify-content: space-between;
}

.pricing-list li::after {
    flex-grow: 1;
    text-align: right;
    padding-left: 10px;
}



.pricing-image img {
    max-width: 10%;
    height: auto;
    border-radius: 10px;
}
.prices-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.prices-image img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
}
.bold-text{
    font-weight: 600;
}
/* Mobile phones (width up to 767px) */
@media (max-width: 767px) {
    /* Stilizovanje za logo */
    .logo {
        position: fixed;
        top: 10px;
        left: 15px;
        height: 40px;
        width: auto;
        z-index: 1000;
        padding-left: 0;
    }

    /* Hamburger meni */
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        position: fixed;
        top: 10px;
        right: 15px;
        z-index: 1000;
        cursor: pointer;
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
    }

    .hamburger-menu:hover {
        transform: scale(1.1);
    }

    /* Header styling */
    header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background-color: #EFF2F8;
        z-index: 999;
        height: 60px;
    }

    /* Dodaj padding na vrh sadržaja da se izbegne preklapanje */
    body {
        padding-top: 60px; /* Povećaj padding da se sadržaj ne preklapa sa zaglavljem */
    }

    /* Navigacija */
    nav ul {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #EFF2F8;
        padding: 20px;
        text-align: center;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    /* Margin top for all sections in mobile view */
    section {
        margin-top: 10px;
    }

    /* Specific margin for hero section */
    .hero.section1 {
        margin-top: 0px;
        padding-top: 0px;
    }

    /* Margin for reception section */
    .reception-section {
        margin-top: 0px;
        padding-top: 0px;
    }

    /* Margin for services section */
    .section-services {
        margin-top: 0px;
        padding-top: 0px;
    }

    /* Margin for contact section */
    .contact-section {
        margin-top: 0px;
        padding-top: 0px;
    }

    /* Additional margin for h2 headings in mobile */
    section h2 {
        margin-top: 0px;
    }

    /* Aktivna navigacija */
    nav ul.active {
        display: block;
        max-height: 500px;
        opacity: 1;
        padding: 20px;
    }

    /* Stilizovanje linkova u navigaciji */
    nav ul li a {
        display: block;
        padding: 10px 0;
        color: #333;
        text-decoration: none;
        font-size: 18px;
    }

    /* Hero sekcija */
    .hero {
        display: flex;
        flex-direction: column; /* Postavi kolone da bi slika bila ispod teksta na mobilnim uređajima */
        text-align: center; /* Centriraj tekst */
        padding: 20px; /* Smanji padding za mobilne uređaje */
        gap: 20px;
    }

    /* Stilizovanje hero sadržaja */
    .hero-content {
        max-width: 100%;
        padding: 0 10px; /* Dodaj malo prostora sa strane */
    }

    .hero-content h1 {
        font-size: 32px; /* Smanji veličinu naslova */
        line-height: 1.2; /* Poboljšaj razmak između redova */
        margin-bottom: 20px;
        padding-top: 15px; /* Dodaj padding prema topu */
    }

    .hero-content p {
        font-size: 18px; /* Prilagodi veličinu paragrafa */
        margin-bottom: 20px;
    }

    /* Dugme */
    .cta-button {
        background-color: #a4c639;
        color: white;
        padding: 15px 30px;
        font-size: 18px; /* Prilagodi veličinu fonta */
        width: 80%; /* Podesi širinu dugmeta */
        margin: 0 auto; /* Centriraj dugme */
        border-radius: 25px; /* Dodaj zaobljenje */
        text-align: center;
        display: inline-block;
    }

    /* Slika u hero sekciji */
    .hero-image img {
        max-width: 100%; /* Širina slike prilagođena uređaju */
        height: auto;
    }
    .section2 {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 20px; /* Manji padding za mobilne uređaje */
        gap: 20px; /* Razmak između slike i teksta */
        margin-top: 0px; /* Ukloni margin top prema prvoj sekciji */
    }

    .section2-content {
        max-width: 100%; /* Osiguraj da tekst zauzme 100% širine */
        padding: 0 10px; /* Dodaj malo prostora sa strane */
    }

    .section2-content h2 {
        font-size: 28px; /* Smanji veličinu naslova */
        line-height: 1.3; /* Bolji razmak između redova */
        margin-bottom: 15px;
    }

    .section2-content p {
        font-size: 16px; /* Prilagodi veličinu fonta za mobilne uređaje */
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .section2-image {
        max-width: 100%; /* Osiguraj da slika zauzme 100% širine ekrana */
        display: flex;
        justify-content: center;
    }

    .section2-image img {
        width: 80%; /* Smanji sliku na 80% širine */
        height: auto;
    }

    /* Generalni padding za sekcije */
    section {
        padding: 20px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left p {
        font-size: 14px;
    }

    .footer-links ul {
        padding: 0;
        text-align: center;
    }

    .social-icons img {
        width: 30px;
        height: 30px;
    }

    /* Gallery Section */
    .gallery-container {
        flex-direction: column;
    }

    .gallery-item-main {
        width: 100%;
        height: auto;
    }

    .gallery-item-prev, .gallery-item-next {
        display: none;
    }
    .section3 {
        background-color: #a4c639; /* Pozadina svetlo zelena */
        padding: 20px; /* Manji padding za mobilne uređaje */
        text-align: center;
    }

    .section3 h2 {
        font-size: 24px; /* Smanjena veličina naslova */
        color: white;
        margin-bottom: 20px;
    }

    .cards-container {
        display: flex;
        flex-direction: column; /* Prikaži kartice vertikalno */
        gap: 20px; /* Razmak između kartica */
    }
/* Stilovi za galeriju */
.section5 {
    padding: 8px 20px; /* Smanjen padding za mobilne uređaje */
    text-align: center;
    background-color: #f4f7f9;
}

.section5 h2 {
    font-size: 32px; /* Smanjen font za manje ekrane */
    color: #333;
    margin-bottom: 20px; /* Smanjena margina */
}

/* Stilovi za glavnu sliku u galeriji */
.main-gallery-item {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px; /* Smanjena margina za mobilne uređaje */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-gallery-img {
    width: 100%;
    max-height: 300px; /* Smanjena visina glavne slike za manje ekrane */
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Stilovi za slike u galeriji */
.gallery-container {
    flex-direction: row; /* Prikaz slika u nizu i na mobilnim uređajima */
    flex-wrap: nowrap; /* Sprečava prelamanje slika u novi red */
    overflow-x: auto; /* Omogućava horizontalno skrolovanje na manjim ekranima */
}

.gallery-item {
    width: 120px; /* Smanjena širina slika za mobilne uređaje */
    height: 80px;  /* Smanjena visina slika za mobilne uređaje */
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.main-gallery-item img{
    width: 100%;
    max-height: 200px;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
    .card {
        background-color: white;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        width: 100%; /* Kartice zauzimaju 100% širine */
        margin: 0 auto; /* Centriranje kartica */
    }

    .card img {
        width: 80%; /* Prilagodba veličine slike */
        height: auto;
        margin-bottom: 10px; /* Razmak između slike i naslova */
    }

    .card h3 {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin: 0;
    }
    .section4 {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .section4-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .section4-content h2 {
        font-size: 24px; /* Smanjena veličina naslova */
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .section4-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .section4-image {
        max-width: 100%; /* Osiguraj da slika zauzme 100% širine */
        display: flex;
        justify-content: center;
    }

    .section4-image img {
        width: 80%; /* Prilagodba veličine slike */
        height: auto;
    }
    


    

    .gallery-item-prev, .gallery-item-next {
        font-size: 30px;
        color: #777;
        cursor: pointer;
        user-select: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .gallery-item-prev {
        left: 10px;
    }

    .gallery-item-next {
        right: 10px;
    }

    .gallery-item-main {
        width: 80%;
        height: auto;
        border-radius: 10px;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .gallery-item-main.active {
        opacity: 1;
    }

    .cta-button {
        background-color: #a4c639;
        color: white;
        padding: 15px 30px;
        text-decoration: none;
        border-radius: 25px;
        font-size: 16px;
        margin-top: 20px;
        display: inline-block;
        width: 80%;
        text-align: center;
    }
    html, body {
        overflow-x: hidden; /* Sprečava horizontalno pomeranje */
    }
    .footer {
        display: block;
        padding: 20px;
        text-align: center;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .footer-left, .footer-right {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-right ul {
        display: inline-block;
        text-align: center;
    }
    .footer-bottom {
        display: block;
        text-align: center;
        padding: 20px;
    }

    .footer-bottom-left,
    .footer-bottom-links,
    .footer-language {
        margin-bottom: 10px;
    }

    .footer-bottom-links {
        display: inline-block;
        margin-bottom: 15px;
    }

    .footer-bottom-links a {
        display: inline-block;
        margin: 0 10px;
    }
    
    .footer-language {
        justify-content: center;
        margin-top: 15px;
    }
    .section-services {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .services-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .services-image {
        max-width: 100%;
        margin-top: 20px;
    }

    .services-image img {
        width: 80%; /* Adjust the width as needed */
        height: auto;
    }
    .reception-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .reception-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .reception-content h2 {
        font-size: 24px; /* Smanji veličinu naslova */
        margin-bottom: 15px; /* Razmak ispod naslova */
    }

    .reception-content h3 {
        font-size: 18px; /* Smanji veličinu podnaslova */
        margin-bottom: 10px; /* Manji razmak ispod podnaslova */
    }

    .reception-content p {
        font-size: 16px; /* Prilagodi veličinu teksta */
        line-height: 1.5; /* Poboljšaj čitljivost */
        margin-bottom: 20px;
    }

    .reception-image {
        max-width: 100%; /* Slika neka zauzme maksimalnu širinu */
        margin-top: 20px; /* Razmak između teksta i slike */
        display: flex;
        justify-content: center;
    }

    .reception-image img {
        width: 80%; /* Smanji veličinu slike */
        height: auto;
        border-radius: 10px;
    }
    .documentation-section {
        padding: 20px; /* Manji padding za mobilne uređaje */
        background-color: #a0bc4f; /* Boja pozadine */
        color: white;
        text-align: left; /* Poravnanje teksta */
        margin-top: 0px; /* Ukloni margin top prema prvoj sekciji */
    }

    .documentation-content {
        max-width: 100%; /* Podesi širinu na 100% */
        padding: 0 10px; /* Daj prostor sa strane */
    }

    .documentation-content h2 {
        font-size: 20px; /* Smanji veličinu naslova */
        margin-bottom: 15px; /* Manji razmak ispod naslova */
        font-weight: bold;
    }

    .documentation-list,
    .medical-documentation-list {
        font-size: 16px; /* Prilagodi veličinu fonta */
        line-height: 1.6; /* Poboljšaj čitljivost */
        padding-left: 20px; /* Udalji listu od ivice */
        list-style: decimal inside;
    }

    .medical-documentation-list-section {
        margin-top: 20px; /* Dodaj razmak iznad sekcije */
    }
    .section-services {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px; /* Smanjen padding za mobilne uređaje */
        background-color: #f4f7f9; /* Pozadina sekcije */
        gap: 20px; /* Razmak između sadržaja i slike */
    }

    .services-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .services-content h2 {
        font-size: 24px; /* Smanji veličinu naslova */
        margin-bottom: 20px;
        font-weight: 700;
        color: #333;
    }

    .services-content h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #555;
    }
    .first-dots::before {
        content: "...";
    }
    .second-dots::before {
        content: "......";
    }
    .third-dots::before {
        content: "........";
    }
    .services-content ol {
        list-style: decimal inside;
        padding-left: 0;
        font-size: 16px; /* Prilagodi veličinu teksta */
        color: #333;
    }

    .services-content ol li {
        margin-bottom: 10px;
        font-weight: 400;
    }

    .bold-text {
        font-weight: 700;
    }

    .prices-image {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .prices-image img {
        width: 4000px;
        height: auto;
    }
    /* Kontakt Sekcija */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f4f7f9;
    gap: 20px;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.contact-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-info li {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info img {
    width: 20px;
    height: 20px;
}

.cta-button {
    background-color: #a4c639;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #8ca33c;
}

.address-section {
    text-align: center;
    font-size: 16px;
}

.address-section address {
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-map img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

/* Footer */
.footer {
    padding: 20px;
    background-color: #eff2f8;
    text-align: center;
    font-size: 14px;
    color: #8a8a8a;
}
.contact-section {
    align-items: center;
    justify-content: center; /* Centriraj sadržaj horizontalno */
}
.contact-map iframe {
    max-width: 90%; /* Smanjena visina iframe-a za mobilne uređaje */
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-left: 20px;
}
}
@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }

    /* Prikaži regularnu navigaciju na većim ekranima */
    nav ul {
        display: flex; /* Navigacija će biti vidljiva uvek na većim uređajima */
        position: relative; /* Ukloni fiksni položaj menija */
        top: auto; /* Resetuj poziciju */
        justify-content: center; /* Centriraj navigacione linkove */
    }
    .first-dots::before {
        content: "..................................................................................................................";
    }
    .second-dots::before {
        content: ".....................................................................................................................";
    }
    .third-dots::before {
        content: "........................................................................................................................";
    }
}
