/*HEADER!!!!!!*/
html {
    scroll-behavior: smooth;
}

#top-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    /*padding: 0.5rem 1rem;*/
    font-size: 0.9rem;
    color: #333;
    flex-wrap: wrap;
    margin-left: 2%;
    margin-bottom: 2%;
}

.top-left span {
    margin-right: 1.5rem;
}

.top-left button {
    margin-right: 1.5rem;
    color: black;
    padding: 0.7em 1.7em;
    border-radius: 0.5em;
    background: #D73737;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    box-shadow: 6px 6px 12px #b9adad, -6px -6px 12px #ffffff;
}

.top-left button:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.top-right img {

    width: 25%;
}


#bottom-header {
    padding-top: 1.5vh;
    padding-bottom: 1.5vh;
    top: 0;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: stretch; /* 👈 Ensures both columns match height */
    justify-content: space-between;
    z-index: 999;
}

#bottom-header .col-xs-3 {
    display: flex;
    align-items: center; /* 👈 Vertically center content */
    justify-content: center;
}

#bottom-header .col-xs-9 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#bottom-header.shrink {
    padding-top: 0;
    padding-bottom: 0;
}

#bottom-header img {
    height: 10vh;
    /*margin-left: 13%;*/
    display: block;
    max-width: 100%;

}

#bottom-header.shrink img {
    height: 4.2vh;
}

#bottom-header.shrink .menu li a {
    font-size: 1.1rem;
}

.sticky-target.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/*MENU!!!!!*/


/* GENERAL STYLES */
a {
    color: #BA0707;
    text-decoration: none;

}

a:hover {
    color: #BA0707;
}

nav {
    display: block;

}

.menu {
    display: block;
    color: black;
    text-align: center;
    background-color: white;

}

.menu li {
    display: inline-block;
    position: relative;
    z-index: 100;
}

.menu li:first-child {
    margin-left: 0;
}

.menu li a {
    font-weight: 300;
    font-size: 1.5rem;
    padding: 2px 15px;
    display: block;
    color: black;
    transition: all 0.2s ease-in-out;
}

.menu li.active > a {
    border-bottom: 3px solid #BA0707;
    color: black;
}

.menu li a:hover,
.menu li:hover > a {
    color: #fff;
    background: #077aa2;
    margin-bottom: 1px;
    /*border-radius: 15%;*/

}

/* DESKTOP DROPDOWN */
.menu ul {
    visibility: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 170px;
    position: absolute;
    left: 0;
    background: #fff;
    z-index: 99;
    transform: translate(0, 20px);
    transition: all 0.2s ease-out;
}

.menu ul:after {
    bottom: 100%;
    left: 20%;
    /*border: solid transparent;*/
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    /*border: white solid 1px;*/
    /*border-color: black;*/
    /*border-bottom-color: #fff;*/
    /*border-width: 6px;*/
    /*margin-left: -6px;*/
}

.menu ul li {
    display: block;
    margin: 0;

}

.menu ul li a {
    font-size: 1.1rem;
    font-weight: normal;
    color: #0c0c0c;
    background: #c5c1c1;
    margin-bottom: 1px;
    padding: 10px 5px;
}

.menu ul li a:hover,
.menu ul li:hover > a {
    background: #077aa2;
    color: #fff;
    /*border-radius: 10%;*/
}

.menu li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
}

/* NESTED SUB-MENU */
.menu ul ul {
    left: 169px;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transform: translate(20px, 20px);
    transition: all 0.2s ease-out;
}

.menu ul ul:after {
    left: -6px;
    top: 10%;
    /*border: solid transparent;*/
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #fff;
    border-width: 6px;
    margin-top: -6px;
}

.menu li > ul ul:hover {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
}

/* MOBILE TOGGLE ICON */
.submenu-toggle {
    display: none;
    margin-left: 8px;
    font-weight: bold;
    color: #fff;
}

/* HOME LINK HIGHLIGHT */
/*a.homer {*/
/*    background: #9ca3da;*/
/*}*/

/* RESPONSIVE BUTTON */
.responsive-menu {
    display: none;
    width: 100%;
    padding: 20px 15px;
    background: #374147;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}


/*INDEX PAGE!!!!!!!!*/
#main {
    font-family: "Exo", sans-serif;
    font-weight: 300;
    font-style: normal;

}

#mainpic {
    display: flex;
    position: relative;
    margin-bottom: 5%;
    justify-content: space-around;

}

#mainpic img {
    width: 100%;
    height: auto;
}


/*FIRST PART!!!!!!!!!!!*/


#firstPart {
    margin-bottom: 5%;

}


#maintext {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 1rem;
    height: 100%;
}

#maintext h1 {
    font-family: "Libre Baskerville", serif;
    font-size: 2.6rem;
    text-align: center;
    background: linear-gradient(to right, #1d547a, #66b99f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 3%;
}

/*#maintext h1::after {*/
/*    content: "";*/
/*    width: 70px;*/
/*    height: 3px;*/
/*    background-color: #66b99f;*/
/*    display: block;*/
/*    margin: 10px auto 0;*/
/*    border-radius: 5px;*/

/*}*/

.ps {
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
    color: black;
    max-width: 90%;
    margin: 0 auto 1.5rem;
    padding: 1rem;

    border-left: 4px solid #66b99f;
    border-radius: 10px;
}

#maintext p {

    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInP 0.8s ease forwards;
    animation-delay: 0.4s;

}

@keyframes fadeInP {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlighted {
    position: relative;
    display: inline-block;

    /* Reset inherited gradient text styling */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #1d547a; /* or any solid color you want */
    z-index: 1;
}

/*.highlighted::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    left: 0;*/
/*    bottom: -5px;*/
/*    width: 100%;*/
/*    height: 1px;*/
/*    background-color: #66b99f;*/
/*    border-radius: 2px;*/
/*    z-index: -1;*/
/*}*/


/*SECOND PART!!!!!!!!!!!!*/

#naslov {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 2vw;
    font-family: "Libre Baskerville", serif;

}

/*SLIDER!!!!!!!*/

#swiper {
    /*min-height: 100vh;*/
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5%;
}

.slide-container {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0;
}

.slide-content {
    /*margin: 0 40px;*/
    overflow: hidden;
    border-radius: 25px;
    margin: 0 40px 3%;
    /*margin-bottom: 3%;*/
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 25px;
    background-color: white;
    border: #333333 solid 1px;

}

.image-content,
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 14px 10px 14px;
    /*padding: 10px 14px;*/
    text-align: center;
}

.image-content {
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 14px 10px 14px;
    text-align: center;
    height: 30vh;
}


.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 70%;
    width: 100%;
    background-color: #1d547a;
    border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: #1d547a;
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: #FFF;
}

.card-image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: #FFF;
    padding: 3px;
}

.card-image .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #66b99f;
}

.name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.description {
    font-size: 0.9rem;
    color: #707070;
    text-align: center;
}

.card-content .button {
    border: none;
    font-size: 16px;
    color: #FFF;
    padding: 8px 16px;
    background-color: #1d547a;
    border-radius: 6px;
    /*margin: 14px;*/
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    /*margin-bottom: 14px;*/
}

.card-content .button:hover {
    background: #66b99f;
}

.swiper-navBtn {
    color: #66b99f !important;
    transition: color 0.3s ease;
}

.swiper-navBtn:hover {
    color: #265DF2 !important;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 35px;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-pagination-bullet {
    background-color: #6E93f7;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #4070F4;
}

.swiper-slide {
    height: 100%;
}


/*THIRD PART!!!!!!!!!!!!!!!!!!*/


#about-director {
    background-color: #f5f5f5;
    padding: 80px 20px;
    animation: fadeInUp 1s ease-in-out;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.profile-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.profile-content {
    flex: 1;
}

.profile-content .title {
    font-size: 2rem;
    color: #1d547a;
    margin-bottom: 10px;
}

.profile-content .name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-content .position {
    font-size: 1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.profile-content .bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/*FOURTHPART!!!!!!!!!!!*/


#fourthPart {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 5%;
}


#fourthPart section {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#review {
    display: flex;
    justify-content: space-around;
    font-family: "Libre Baskerville", serif;
    font-size: 2rem;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
    padding: 1rem;
}


#review h4 {
    font-family: "Libre Baskerville", serif;
    font-size: 2.2rem;
    color: #1d547a;
    text-align: center;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

#review h4::after {
    content: "";
    width: 60%;
    height: 2px;
    background-color: #66b99f;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}


.wrapper .outer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper .card {
    height: 25vh;
    background: #fff;
    width: 45vw;
    display: flex;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    justify-content: space-between;
    border-radius: 100px 20px 20px 100px;
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation: animate 15s linear infinite;
    animation-delay: calc(3s * var(--delay));
}

.outer:hover .card {
    animation-play-state: paused;
}

.wrapper .card:last-child {
    animation-delay: calc(-3s * var(--delay));
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0.5);
    }
    5%, 20% {
        opacity: 0.4;
        transform: translateY(100%) scale(0.7);
    }
    25%, 40% {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0%) scale(1);
    }
    45%, 60% {
        opacity: 0.4;
        transform: translateY(-100%) scale(0.7);
    }
    65%, 100% {
        opacity: 0;
        transform: translateY(-100%) scale(0.5);
    }
}

.wrapper .card .content {
    display: flex;
    align-items: center;
}

.wrapper .card .img {
    height: 90px;
    width: 90px;
    position: absolute;
    left: -5px;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background: #1d547a;
}

.wrapper .card .img img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wrapper .card .details {
    margin-left: 70px;
    text-align: center;
}

.details span {
    font-weight: 600;
    font-size: 18px;
}

.stars {
    text-decoration: none;
    padding: 7px 18px;
    border-radius: 25px;
    color: #fff;
    background: #66b99f;
    transition: all 0.3s ease;
}


/*FIFTHPART!!!!!!!!!!!!!!!!!!!!!!!!!!*/


#fifthPart {
    margin-bottom: 10%;
}

#gmap_canvas img {
    max-width: none !important;
    background: none !important
}


.outerWrap {
    padding: 0 50px 70px;
    background-color: #66b99f2e;
}

.textcenter {
    text-align: center;
}

.section1 {
    text-align: center;
    display: table;
    width: 100%;
}

.section1 .shtext {
    font-family: "Libre Baskerville", serif;
    display: block;
    margin-top: 20px;
    margin-bottom: 3%;
    font-size: 1.8rem;
}

.section1 .seperator {
    border-bottom: 1px solid #a2a2a2;
    width: 35px;
    display: inline-block;
    margin: 20px;
}

/*.section1 h1 {*/
/*    font-size: 40px;*/
/*    color: #A44DD8;*/
/*    font-weight: normal;*/
/*}*/

.section2 {
    width: 1200px;
    margin: 25px auto;
}

.section2 .col2 {
    width: 48.71%;
}

.section2 .col2.first {
    float: left;

}

.section2 .col2.last {
    float: right;
}

.section2 .col2.column2 {
    padding: 0 30px;
}

.section2 span.collig {
    color: black;
    margin-right: 10px;
    display: inline-block;
}

.section2 .sec2addr {
    display: block;
    line-height: 26px;
}

.section2 .sec2addr p:first-child {
    margin-bottom: 10px;
}


.section2 .sec2contactform input[type="text"],
.section2 .sec2contactform input[type="email"],
.section2 .sec2contactform textarea {
    padding: 18px;
    border: 0;
    background: #66b99f1f;
    margin: 7px 0;
}

.section2 .sec2contactform textarea {
    width: 100%;
    display: block;
    color: #666;
    resize: none;
}

.section2 .sec2contactform input[type="submit"] {
    padding: 15px 40px;
    color: #fff;
    border: 0;
    background: #1d547a;
    font-size: 16px;
    text-transform: uppercase;
    margin: 7px 0;
    cursor: pointer;
}

/* @media querries */

@media only screen and (max-width: 1266px) {
    .section2 {
        width: 100%;
    }
}

@media only screen and (max-width: 960px) {
    .container {
        padding: 0 30px 70px;
    }

    .section2 .col2 {
        width: 100%;
        display: block;
    }

    .section2 .col2.first {
        margin-bottom: 10px;
    }

    .section2 .col2.column2 {
        padding: 0;
    }

    body .sec2map {
        height: 250px !important;
    }
}

@media only screen and (max-width: 768px) {
    .section2 .sec2addr {
        font-size: 14px;
    }

    .section2 .sec2contactform h3 {
        font-size: 16px;
    }

    .section2 .sec2contactform input[type="text"], .section2 .sec2contactform input[type="email"], .section2 .sec2contactform textarea {
        padding: 10px;
        margin: 3px 0;
    }

    .section2 .sec2contactform input[type="submit"] {
        padding: 10px 30px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 420px) {
    .section1 h1 {
        font-size: 28px;
    }
}


/*FOOTER!!!!!!!!!!!!!!!!!!!!!!!*/


#footer {
    background-color: #153d58;
    color: #ffffff;
    padding: 40px 20px 20px;
    font-family: "Open Sans", sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 90%;
    margin: 0 auto;
}

.footer-container div {
    flex: 1 1 200px;
}

#footer h3, #footer h4 {
    font-family: "Libre Baskerville", serif;
    color: #66b99f;
    margin-bottom: 15px;
}

#footer ul {
    list-style: none;
    padding: 0;
}

#footer ul li {
    margin-bottom: 10px;
}

#footer ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer ul li a:hover {
    color: #66b99f;
}

.footer-contact {
    line-height: 1.7;
}

.footer-links {
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #66b99f44;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #cfd8dc;
}

.social-icons a {
    color: #ffffff;
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    transform: translateY(0);
}

.social-icons a:hover {
    color: #ff0000; /* Example: red for YouTube */
    transform: translateY(-5px) scale(1.2);
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.footer-hours .top-left {

    /*margin-right: 1.5rem;*/
    color: black;
    padding: 0.7em 1.7em;
    border-radius: 0.5em;
    background: #D73737;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    /*box-shadow: 6px 6px 12px #b9adad, -6px -6px 12px #ffffff;*/
}

.footer-hours .top-left:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}


/*SCROLL TO TOP!!!!!!!!!!*/


#scrollToTop {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 999;
    background-color: #66b99f;
    color: white;
    border: none;
    padding: 12px 12px;
    border-radius: 20%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#scrollToTop:hover {
    background-color: #1d547a;
}


/*OTHER PAGES!!!!!!!!!!!!!!!!*/


/*USLUGE!!!!!!!!!*/

.headline {
    text-align: left;
    font-size: 1.8rem;
    font-family: "Libre Baskerville", serif;
}


hr {
    width: 30%;
    border: #1d547a 1px solid;
    margin: 20px 0;
}


.texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 1rem;
    height: 100%;
}

.texts .ps {
    font-family: "Open Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    color: black;
    max-width: 90%;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    border-left: 4px solid #66b99f;
    border-radius: 10px;
}

.ps span {
    font-size: 1.7rem;
    font-weight: bold;
}

.insert {
    float: right;
    margin: 0 0 1em 1em;
    width: 20vw;
    height: auto;
    border: black solid 1px;
}

#extra {
    display: flex;
    margin-bottom: 10%;
    flex-direction: row;
}

#extra .top-left {
    margin-right: 1.5rem;
    color: black;
    padding: 0.7em 1.7em;
    border-radius: 0.5em;
    background: #D73737;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    box-shadow: 6px 6px 12px #b9adad, -6px -6px 12px #ffffff;
}

#extra .top-left:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

#extra p {
    font-size: 1.3rem;
}

#extra a {
    color: #66b99f;
    text-decoration: underline;
}

#extra a:hover {
    color: #1d547a;
}

.alergo{
    margin-left: -15%;
}

.alergo1{
    margin-left: -27%;
}


/*BLOG!!!!!!!!!!!!!!!!*/

.layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 1rem;
}

.sidebar {
    flex: 0 0 220px;
    height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.sticky-nav {
    margin-top: 35%;
    list-style: none;
    padding: 1rem;
    /*margin: 0;*/
    background: #f4f4f4;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sticky-nav li {
    margin-bottom: 1em;
}


.sticky-nav a {
    text-decoration: none;
    color: #1d547a;
    font-weight: bold;
    transition: color 0.3s;
}


.sticky-nav a:hover,
.sticky-nav a.active {
    color: #66b99f;


}


.main-content {
    flex: 1;
}

.ps span {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

/*#slika {*/
/*    float: right;*/
/*    margin: 1rem;*/
/*    width: 25vw;*/
/*    height: auto;*/
/*    border: 1px solid #ccc;*/
/*}*/

@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        order: -1;
        margin-bottom: 1rem;
    }

    .insert {
        width: 100%;
        float: none;
        margin: 1rem 0;
    }
}


/*MEDIA ROOM!!!!!!!!!!!!!!!!!!!!!!*/
.media {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    font-family: "Open Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    color: black;
    max-width: 90%;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    border-left: 4px solid #66b99f;
    border-radius: 10px;
    flex-wrap: wrap;
    background: #fdfdfd;
    box-shadow: -6px -6px 14px rgba(255, 255, 255, .7),
    -6px -6px 10px rgba(255, 255, 255, .5),
    6px 6px 8px rgba(255, 255, 255, .075),
    6px 6px 10px rgba(0, 0, 0, .15);

    /*background: #1D547A;*/
    /*background: linear-gradient(90deg, rgba(29, 84, 122, 1) 0%, rgba(102, 185, 159, 0.84) 100%);*/
}

.media .text-block {
    flex: 1 1 60%;
}

.media .video-container {
    flex: 1 1 35%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    min-width: 300px;
}

.media .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.media iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.media .video-container {
    position: relative;
    padding-bottom: 20%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 1rem 0;
    border: 1px solid #1D547A;
}

.media .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media span {
    font-size: 1.7rem;
    font-weight: bold;
}


/*PULSATING!!!!!!!!!!!*/

.pulsating {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(215, 55, 55, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(215, 55, 55, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(215, 55, 55, 0);
    }
}

@media (max-width: 600px) {
    .pulsating {
        animation: pulse 2s infinite;
        transform: scale(1); /* softer on small screens */
    }
}


/*KLINIKA!!!!!!!!!!!!!!!!!!!!!!!!!!*/

#aboutFirst {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 10%;

}

#aboutFirst img {
    width: 35vw;
}

#aboutFirst h1 {
    font-family: "Charm", cursive;
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    color: #66b99f;
}

.about {
    font-size: 2.5rem;
    color: #1D547A;
}


.gradient-text-underline {
    position: relative;
    display: inline-block;
    font-weight: 700;
    background: linear-gradient(to right, #1d547a, #66b99f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    padding-bottom: 6px;
}

.gradient-text-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(270deg, #1d547a, #66b99f, #1d547a);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    border-radius: 2px;
}

@keyframes gradientMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}




#aboutSecond {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    padding: 1rem 1rem 2rem 1rem;
    border-radius: 1.2rem;
    background: white;
    box-shadow: 0.3rem 0.3rem 0.5rem rgba(195, 193, 198, 0.9), -0.2rem -0.2rem 0.4rem #fff;
    margin-bottom: 5%;
}


#aboutSecond p {
    width: 35vw;
    font-size: 1.5rem;
    text-indent: 2em;
    text-align: left;
    color: #1D547A;
}

#aboutSecond img {
    width: 15vw;
}





/*MISION,VISION!!!!!!!!!!!!!!*/


#misVis .insert {
    float: left;
    width: 8vw;
    height: auto;
    border: none;
}

#misVis span{
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    color: #1D547A;
}



/*USLUGE!!!!!!!!!!!!!!!!!!!!!*/

/*#services{*/
/*    margin-bottom: 5%;*/
/*}*/



/*.row.justify-content-center > .col-md-3 {*/
/*    flex: 0 0 auto;*/
/*}*/


/*.serve{*/
/*    height: 60vh;*/
/*    margin: 5%;*/
/*    text-align: center;*/
/*    border: 1px solid black;*/
/*    font-size: 1rem;*/
/*    background: linear-gradient(to right, #1d547a42, #66b99f5c);*/
/*    !*background-color: #66b99f54;*!*/
/*}*/

/*.serve .button {*/
/*    border: none;*/
/*    font-size: 16px;*/
/*    color: #FFF;*/
/*    padding: 8px 16px;*/
/*    background-color: #1d547a;*/
/*    border-radius: 6px;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*    margin-top:auto;*/

/*}*/


.serve {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70vh;
    padding: 1rem;
    margin: 5%;
    text-align: center;
    border: 1px solid black;
    font-size: 1rem;
    background: linear-gradient(to right, #1d547a42, #66b99f5c);
}

.serve h2 {
    min-height: 3.5rem; /* adjust based on your tallest heading */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.serve img {
    height: 50%;
    object-fit: cover;
    margin: 0 auto;
}

.serve p {
    flex-grow: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.serve .button {
    border: none;
    font-size: 16px;
    color: #FFF;
    padding: 8px 16px;
    background-color: #1d547a;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top:auto;
}

.serve .button:hover {
    background: #66b99f;
}

.blogs img{
    height: 50%;
}

.blogs .serve{

    height: 60vh;
}