@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
body.hidden {
    overflow: hidden;
}
.fl-page {
    overflow: hidden;
}
h1, h2 {
    font-size: 46px;
    font-weight: 600;
    margin: 0;
    color: #2D2C2C;
}
h3 {
    font-size: 24px;
    color: #02062D;
}
p {
    font-size: 16px;
    line-height: 1.85;
    color: #9B9B9B;
    margin: 0 0 20px;
}
a {
    text-decoration: none;
}
ul {
    padding-left: 0;
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}
.btn {
    padding: 14px 63px;
    border-radius: 100vw;
    border: 1px solid #0088FF;
    color: #9B9B9B;
    transition: all 0.3s ease;
    font-weight: 500;
}
.blue-btn {
    background-color: #0088FF;
    color: #fff;
}
.blue-btn:hover {
    background-color: #fff;
    color: #0088FF;
}
.white-btn:hover {
    color: #fff;
    background-color: #0088FF;
}
header.sticky {
    position: sticky;
    top: 0;
    z-index: 99999;
}
header.sticky .nav {
    transform: translateY(-20px);
}
header,
section {
    padding: 20px;
}
.container {
    max-width: 1150px;
    margin: auto;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: #0088FF;
    z-index: 999999;
    pointer-events: none;
}
.preloader__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}
.preloader__container__logo {
    margin-bottom: 20px;
    min-width: 300px;
}
.preloader__container__logo img {
    min-width: 300px;
    width: 100%;
}
.preloader__container__percent {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Poppins';
    font-weight: 500;
}
.preloader__container__preload {
    display: flex;
}
.preloader__container__preload__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 10px;
}

.header-logo {
    position: relative;
    z-index: 99;
}
.nav {
    background-color: #0088FF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 65px;
    border-radius: 100vw;
    margin: 20px;
    gap: 70px;
    transition: all 0.3s ease;
}
.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}
.nav-list li a {
    color: #fff;
    position: relative;
}
.nav-list li a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: -5px;
    background-color: #fff;
    width: 100%;
    height: 2px;
    border-radius: 100vw;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}
.nav-list li a:hover::before {
    transform: scaleX(1);
}
#hamburger {
    opacity: 1;
    cursor: pointer;
    transition: opacity 0.25s linear;
    width: 40px;
    height: 30px;
    display: flex !important;
    align-items: center;
    position: relative;
    z-index: 999;
}
.hamburger-btn.open {
    position: fixed !important;
    right: 40px;
}
#hamburger {
    display: none !important;
}
#hamburger:hover {
    opacity: 1;
}

#hamburger div,
#hamburger div:after,
#hamburger div:before {
    background-color: #fff;
    border-radius: 10px;
    width: 30px;
    height: 4px;
    transition: all 0.15s linear;
}

#hamburger div:before,
#hamburger div:after {
    content: "";
    position: absolute;
}

#hamburger div:before {
    transform: translateY(-10px);
}

#hamburger div:after {
    transform: translateY(10px);
}

#hamburger.open div {
    background: transparent;
}

#hamburger.open div:before {
    transform: rotate(45deg);
}

#hamburger.open div:after {
    transform: rotate(-45deg);
}
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background-color: #0088FF;
    height: 100vh;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-items: center;
    transform: scale(0.4);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-menu.open {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    box-shadow: 0 0 0 500px #0088FF;
}
.nav-list-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: auto;
}
.nav-list-mobile li a {
    color: #fff;
    font-size: 18px;
}

/* Hero Section */

#hero .row {
    display: flex;
    margin: 33px 20px 20px;
    justify-content: space-between;
    align-items: center;
}
#hero .left-col {
    flex-basis: 52%;
    max-width: 52%;
}
#hero .right-col {
    flex-basis: 48%;
    max-width: 48%;
    position: relative;;
}
#hero .owl-carousel {
    max-width: 545px;
    margin-left: auto;
    position: relative;
}
#hero .owl-stage-outer {
    overflow: hidden;
    max-width: 545px;
}
#hero .owl-carousel img {
    max-width: 545px;
    width: 100%;
}
#hero .owl-carousel::before {
    position: absolute;
    content: "";
    background-image: url(../images/20-years.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 138px;
    height: 138px;
    left: -68px;
    top: 83px;
    z-index: 1;
} 
 #hero .owl-carousel .owl-stage {
    display: flex;
}
.primary-heading {
    margin-bottom: 60px;
    max-width: 474px;
}
.dual-buttons {
    margin-top: 80px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.hero-text {
    max-width: 456px;
}
#hero .owl-dots {
    position: absolute;
    bottom: 110px;
    right: 35px;
}
#hero .owl-dot {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    border: 0;
    margin-left: 5px;
    padding: 0;
    background-color: #D9D9D9;
    opacity: 0.3;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
#hero .owl-dot.active {
    opacity: 1;
}
#hero .owl-nav {
    display: none;
}
.image-text {
    background-color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    border-top-left-radius: 33px;
    z-index: 3;
}
.image-text::before {
    position: absolute;
    content: "";
    right: 0;
    top: -40px;
    background-image: radial-gradient(circle at 100% 100%, transparent 39px, #fff calc(40px + 1px));
    width: 40px;
    height: 40px;
    transform: rotate(180deg);
}
.image-text::after {
    position: absolute;
    content: "";
    left: -40px;
    bottom: 0;
    background-image: radial-gradient(circle at 100% 100%, transparent 39px, #fff calc(40px + 1px));
    width: 40px;
    height: 40px;
    transform: rotate(180deg);
}
.num-text {
    font-size: 26px;
    font-weight: 600;
    max-width: 300px;
    padding: 10px 30px 0;
    margin-bottom: 0;
    color: #2D2C2C;
    position: relative;
}
.arrow-down {
    position: absolute;
    left: -30px;
    bottom: 0;
    animation: scrollDown 1s linear infinite alternate;
}
@keyframes scrollDown {
    0% {
        transform: translateY(0);
    } 
    100% {
        transform: translateY(10px);
    }
}
/* Hero Section End */

/* O Nama Section */
#o_nama .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 60px 20px 20px;
}
#o_nama .left-col {
    flex-basis: 47%;
    max-width: 47%;
    position: relative;
}
#o_nama .left-col::before {
    position: absolute;
    content: "";
    left: -300px;
    bottom: -100px;
    background-image: url(../images/circle-1.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 250px;
    aspect-ratio: 1;
}
#o_nama .right-col {
    flex-basis: 53%;
    max-width: 440px;
    margin-left: auto;
    position: relative;
}
#o_nama .right-col::before {
    position: absolute;
    content: "";
    right: -300px;
    top: -150px;
    background-image: url(../images/circle-2.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 250px;
    aspect-ratio: 1;
}
.about-images-top {
    display: flex;
    align-items: end;
    gap: 30px;
    padding: 0 0 15px;
}
.about-images-top img {
    object-fit: contain;
}
.about-images-top img:first-child {
    flex-basis: 40%;
    max-width: 40%;
}
.about-images-top img:last-child {
    flex-basis: 60%;
    max-width: 60%;
}
.about-images-bottom {
    display: flex;
    align-items: start;
    gap: 30px;
    padding: 15px 0 0;
}
.about-images-bottom img {
    object-fit: contain;
}
.about-images-bottom img:first-child {
    flex-basis: 60%;
    max-width: 60%;
}
.about-images-bottom img:last-child {
    flex-basis: 40%;
    max-width: 40%;
}
.about-text {
    max-width: 423px;
}
#o_nama .dual-buttons {
    margin-top: 60px;
}
.secondary-heading {
    margin-bottom: 20px;
}
.about-images-top img,
.about-images-bottom img {
    border-radius: 30px;
}
/* O Nama Section End */


/* Nase Usluge Section */
#usluge .container {
    max-width: 1310px;
}
#usluge .secondary-heading {
    text-align: center;
}
.services-wrapper {
    background-color: #F7F7F7;
    border-radius: 60px;
    padding: 70px 105px 40px;
    position: relative;
    margin: 80px 20px 20px;
}
.services-wrapper::before {
    position: absolute;
    content: "";
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 30px solid #fff;
}
.services-text {
    max-width: 952px;
    margin: auto;
    text-align: center;
    margin-bottom: 20px;
}
.cards-wrapper {
    display: flex;
    margin-top: 75px;
}
.service-card {
    flex: 1;
    flex-basis: 33%;
    border-radius: 25px;
    background-color: #fff;
    padding: 17px;
    margin: 12.5px;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    column-gap: 20px;
    transition: .5s margin , .1s min-height 0.2s, .1s overflow .4s, .7s flex .05s;
    justify-content: space-between;
}
.service-image {
    max-width: 294px;
}
.service-image img {
    border-radius: 15px;
}
#usluge .accent-heading {
    max-width: 195px;
    margin-bottom: 0;
}
.service-content {
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
    max-height: 0;
    padding: 0;
    flex-basis: 64%;
    margin-right: auto;
    transition: .1s visibility, opacity 0.3s, 0.5s height;
}
.service-card.active .service-content {
    visibility: visible;
    opacity: 1;
    max-height: 800px;
    transition: 0.5s 0.5s;
    padding: 0 20px 20px 0;
}
.service-card.active {
    transition: 0.5s;
}
.service-card.active .service-btn::before {
    transform: translateY(-50%) rotate(180deg);
}
.service-card.hidden {
    flex: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    min-height: unset;
    overflow: hidden;
    transition: .5s margin , .5s padding , .1s min-height 1s, .1s overflow 1s, .5s flex;
  }
  .service-btn-wrapper {
    margin-top: 20px;
    flex-basis: 100%;
  }
.service-btn {
    color: #0088FF;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    max-width: max-content;
}
.service-btn::before {
    position: absolute;
    content: "";
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../images/btn-arrow.svg);
    background-size: contain;
    width: 41px;
    height: 14px;
    transition: all 0.3s ease;
}
.service-btn:hover::before {
    transform: translateY(-50%);
}
.see-more {
    font-size: 24px;
    color: #02062D;
    text-align: center;
    font-weight: 600;
    display: flex;
    justify-content: center;
    max-width: 296px;
    margin: 40px auto 0;
    transition: all 0.3s ease;
}
.see-more:hover {
    color: #0088FF;
}
#usluge .services-row .cards-wrapper {
    margin-top: 20px;
}
.services-inner-wrapper {
    transition: all 0.8s ease;
}
/* .services-inner-wrapper .services-row {
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s ease;
    margin: 0 !important;
}
.services-inner-wrapper.active .services-row{
    max-height: 2000px !important;
} */
.hidden-card {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
/* Nase Usluge Section End */


/* Klijenti Section */
#klijenti .row {
    display: flex;
    align-items: stretch;
    gap: 25px;
    margin-top: 110px;
}
#klijenti .container {
    max-width: 1270px;
}
.clients-reviews-wrapper {
    background-color: #F7F7F7;
    border-radius: 70px;
    padding: 60px 110px 70px;
    position: relative;
}
.clients-reviews-wrapper::before {
    position: absolute;
    content: "";
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #fff;
}
#klijenti .secondary-heading {
    text-align: center;
}
.our-clients-text {
    max-width: 899px;
    text-align: center;
    margin: auto;
}
.clients-box {
    background-color: #fff;
    border-radius: 25px;
    padding: 15px 20px;
    max-width: 33.33%;
    flex-basis: 33.33%;
}
.clients-details {
    display: flex;
    align-items: top;
    gap: 12px;
    margin-bottom: 15px;
}
.client-name {
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
    color: #000;;
}
.client-position {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.1;
    color: #000;
}
.client-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}
.reviews-row {
    margin-top: 25px !important;
}
/* Klijenti Section End */

/* Galerija Section Start */
#galerija {
    padding-top: 80px;
    padding-bottom: 60px;
}
.gallery-wrapper {
    margin: 0 20px;
}
.gallery-row:first-of-type .gallery-img-left {
    position: relative;
}
.gallery-row-1:first-of-type .gallery-img-left::before {
    position: absolute;
    content: "";
    left: -50px;
    top: -50px;
    background-image: url(../images/izbor-broj-1.svg);
    width: 140px;
    height: 141px;
    animation: rotateAnim 10s linear infinite;
}
@keyframes rotateAnim {
    from {
        transform: rotate(360deg);
    } to {
        transform: rotate(0deg);
    }
}
.gallery-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}
.gallery-row img {
    border-radius: 30px;
}
.gallery-row:nth-of-type(:even) {
    flex-direction: row-reverse;
}
.gallery-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    gap: 50px;
}
.gallery-hidden {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
}
.gallery-wrapper.active .gallery-hidden {
    max-height: 3500px;
    transition: all 0.5s;
}
.gallery-button-wrapper a {
    padding: 14px 46px;
    max-width: 282px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Galerija Section End */


/* Nas Tim Section */
#nas_tim {
    position: relative;
    padding-bottom: 60px;
    padding-top: 60px;
}
#nas_tim::before {
    position: absolute;
    content: "";
    right: -5%;
    top: -50px;
    background-image: url(../images/circle-2.svg);
    width: 250px;
    height: 250px;
}
#nas_tim .secondary-heading {
    text-align: center;
}
.our-team-text {
    max-width: 620px;
    text-align: center;
    margin: auto;
}
#nas_tim .owl-carousel {
    margin-top: 110px;
    position: relative;
}
#nas_tim .owl-carousel::before {
    position: absolute;
    content: "";
    left: -20px;
    top: 0;
    background-image: linear-gradient(to right, white, transparent);
    width: 250px;
    height: 100%;
    z-index: 1;
    display: block;
    pointer-events: none;
}
#nas_tim .owl-carousel::after {
    position: absolute;
    content: "";
    right: -20px;
    top: 0;
    background-image: linear-gradient(to left, white, transparent);
    width: 250px;
    height: 100%;
    z-index: 1;
    display: block;
    pointer-events: none;
}
#nas_tim .owl-carousel .owl-stage {
    display: flex;
    justify-content: center;
}
.team-box {
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
}
.team-name {
    font-size: 16px;
    color: #000;
    margin-bottom: 0;
}
.team-position {
    font-size: 14px;
    color: #000;
    margin-bottom: 15px;
}
.team-desc-text {
    font-size: 14px;
}
.team-image img {
    width: 100%;
    border-radius: 20px;
}
.our-team-box {
    background-color: #F7F7F7;
    padding: 25px;
    border-radius: 30px;
}
#nas_tim .owl-nav {
    text-align: center;
    position: relative;
}
#nas_tim .owl-prev {
    position: absolute;
    left: calc(50% - 100px);
    transform: translate(-50%, 35px);
    background-image: url(../images/arrow-left.svg);
    background-color: transparent;
    background-size: 100%;
    border: 0;
    width: 50px;
    height: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: right;
}
#nas_tim .owl-next {
    position: absolute;
    right: calc(50% - 150px);
    transform: translate(-50%, 35px);
    background-image: url(../images/arrow-right.svg);
    background-color: transparent;
    background-size: 100%;
    border: 0;
    width: 50px;
    height: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: left;
}
#nas_tim .owl-prev span,
#nas_tim .owl-next span {
    display: none;
}
#nas_tim .owl-prev:hover {
    transform: translate(-50%, 35px) scaleX(1.2);
}
#nas_tim .owl-next:hover {
    transform: translate(-50%, 35px) scaleX(1.2);
}
#nas_tim .owl-dots {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    
}
#nas_tim .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background-color: #D9D9D9;
    cursor: pointer;
}
#nas_tim .owl-dot.active {
    background-color: #6C6C6C;
}
#nas_tim .owl-item {
    transition: transform 0.4s;
}
#nas_tim .owl-item.big {
    transform: scale(1);
}
#nas_tim .owl-item.medium {
    transform: scale(0.85);
}
#nas_tim .owl-item.small {
    transform: scale(0.8);
}

/* Nas Tim Section End */

/* Ambulanta Sekcija Start */
#ambulanta {
    padding-top: 50px;
    padding-bottom: 100px;
}
#ambulanta .gallery-row-1:first-of-type .gallery-img-left::before {
    display: none;
}
/* Ambulanta Sekcija End */

/* Kontakt Section */
#kontakt {
    position: relative;
    overflow: hidden;
}
#kontakt::before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    background-color: #0088FF;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    transform: translate(-50%, 50%);
    pointer-events: none;
}
#kontakt .contact-wrapper {
    display: flex;
    gap: 20px;
    margin: 0 20px;
    padding-top: 200px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}
.contact-wrapper .left-col,
.contact-wrapper .right-col {
    flex-basis: 50%;
    max-width: 50%;
}
.contact-wrapper .left-col {
    max-width: 540px;
}
#kontakt .secondary-heading {
    color: #fff;
    line-height: 1.1;
}
#kontakt .secondary-heading span {
    font-weight: 400;
}
#kontakt p {
    color: #fff;
    margin-bottom: 16px;
    line-height: 1;
}
.contact-wrapper-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.contact-wrapper-top h4,
.contact-wrapper-bottom h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}
.contact-address h4 {
    margin-bottom: 5px;
}
.contact-address a {
    color: #fff;
    line-height: 0.8;
}
.work-time h4 {
    margin-bottom: 25px;
}
.contact-address,
.work-time,
.contact-telephone,
.contact-email {
    max-width: 50%;
    flex-basis: 50%;
}
.work-time,
.contact-email {
    max-width: 200px;
    margin-left: auto;
}
.contact-wrapper-bottom {
    display: flex;
}
.contact-telephone a,
.contact-email a {
    color: #fff;
    display: block;
    transition: all 0.3s ease;
}
.location-map {
    max-width: 430px;
    margin-left: auto;
}
.location-map iframe {
    border-radius: 30px;
    max-width: 430px;
    width: 100%;
}
/* Kontakt Section End */

/* Footer */
#footer {
    background-color: #0088FF;
}
.footer-wrapper {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-logo {
    max-width: 30%;
    flex-basis: 30%;
}
.footer-menu {
    max-width: 70%;
    flex-basis: 70%;
}
.footer-nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-nav-list li a {
    color: #fff;
    position: relative;
}
.footer-nav-list li a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: -5px;
    background-color: #fff;
    width: 100%;
    height: 2px;
    border-radius: 100vw;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}
.footer-nav-list li a:hover::before {
    transform: scaleX(1);
}
.footer-copyright {
    background-color: #006FD0;
}
.copyright-text {
    margin-bottom: 0;
    text-align: center;
    color: #fff;
    padding: 20px;
}
/* Footer End */

@media (max-width: 1300px) {
    .services-wrapper {
        padding: 70px 50px 40px;
    }
    .clients-reviews-wrapper {
        padding: 60px 50px 50px;
    }
    #kontakt .contact-wrapper {
        padding-top: 120px;
    }
    .gallery-row:first-of-type .gallery-img-left::before {
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: center;
    }
}
@media (max-width: 1200px) {
    .footer-wrapper {
        padding: 15px 20px;
    }
}
@media (max-width: 1150px) {
    .primary-heading {
        font-size: 40px;
        margin-bottom: 40px;
    }
    /* .hero-image {
        margin-left: 30px;
    } */
    .hero-text {
        max-width: 410px;
    }
    #hero .left-col {
        max-width: 52%;
        flex-basis: 52%;
    }
    #hero .right-col {
        max-width: 48%;
        flex-basis: 48%;
    }
    .services-wrapper {
        padding: 50px 20px 40px;
    }
    #usluge .accent-heading {
        font-size: 22px;
        max-width: 170px;
    }
    .service-content {
        flex-basis: 61%;
    }
    .clients-reviews-wrapper {
        padding: 50px 20px 50px;
    }
}
@media (max-width: 1024px) {
    .nav,
    .row {
        margin: 20px 0 0 !important;
    }
    .nav {
        padding: 13px 35px;
    }
    .primary-heading,
    .secondary-heading {
        font-size: 32px;
    }
    .hero-text {
        max-width: 400px;
    }
    .dual-buttons {
        gap: 15px;
        margin-top: 40px;
    }
    #hero .row {
        align-items: center;
    }
    #hero .left-col {
        max-width: 47%;
        flex-basis: 47%;
    }
    #hero .owl-dots {
        bottom: 95px;
    }
    .image-text::before {
        width: 30px;
        height: 30px;
        top: -30px;
        background-image: radial-gradient(circle at 100% 100%, transparent 29px, #fff calc(30px + 1px));
    }
    .image-text::after {
        width: 30px;
        height: 30px;
        left: -30px;
        background-image: radial-gradient(circle at 100% 100%, transparent 29px, #fff calc(30px + 1px));
    }
    #hero .owl-carousel::before {
        background-size: 70%;
        background-position: top center;
        top: 40px;
    }
    .btn {
        padding: 12px 50px;
    }
    .num-text {
        font-size: 20px;
        font-weight: 600;
        max-width: 220px;
        padding: 10px 15px 0;
        margin-bottom: 0;
        color: #2D2C2C;
        position: relative;
    }
    .about-images-top {
        padding: 0 0 10px;
        gap: 20px;
    }
    .about-images-bottom {
        padding: 10px 0 0;
        gap: 20px;
    }
    #o_nama .right-col {
        flex-basis: 47%;
    }
    #o_nama .dual-buttons {
        margin-top: 30px;
    }
    .services-wrapper {
        margin: 0;
    }
    #usluge .accent-heading {
        font-size: 20px;
        max-width: 130px;
    }
    .service-btn {
        font-size: 16px;
    }
    .cards-wrapper {
        margin-top: 40px;
    }
    .services-wrapper {
        border-radius: 40px;
    }
    .service-content {
        flex-basis: 46%;
    }
    .see-more {
        font-size: 22px;
        margin-top: 20px;
    }
    #galerija {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .gallery-wrapper {
        margin: 0;
    }
    .gallery-row img {
        border-radius: 20px;
    }
    .gallery-button-wrapper {
        margin-top: 40px;
    }
    .gallery-row:first-of-type .gallery-img-left::before {
        background-size: 55%;
    }
    #klijenti .row {
        margin-top: 70px !important;
    }
    #klijenti .reviews-row {
        margin-top: 25px !important;
    }
    .clients-reviews-wrapper {
        border-radius: 40px;
    }
    .clients-details {
        gap: 10px;
    }
    .clients-box {
        padding: 15px;
    }
    .client-img {
        flex-basis: 25%;
        max-width: 25%;
    }
    .client-info {
        flex-basis: 75%;
        max-width: 75%;
    }
    #ambulanta {
        padding-top: 30px;
        padding-bottom: 60px;
    }
    #kontakt .contact-wrapper {
        padding-top: 80px;
        margin: 0;
    }
    .contact-wrapper-top,
    .contact-wrapper-bottom {
        gap: 20px;
    }
    .contact-wrapper-top h4,
    .contact-wrapper-bottom h4 {
        font-size: 20px;
    }
    #footer .row {
        margin-top: 0 !important;
    }
}
@media (max-width: 767px) {
    #hamburger {
        display: flex !important;
    }
    header.sticky .nav {
        transform: translateY(0);
    }
    .nav-list {
        display: none;
    }
    .nav {
        padding: 13px 20px;
        height: 56px;;
    }
    .arrow-down {
        display: none;
    }
    .btn {
        padding: 10px 45px;
    }
    .nav {
        margin: 0 !important;
    }
    #hero .row {
        margin: 0 !important;
        flex-direction: column;
        gap: 60px;
    }
    #hero .left-col,
    #hero .right-col {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
    #hero .owl-dots {
        bottom: 85px;
    }
    .primary-heading {
        margin-bottom: 20px;
        font-size: 30px;
    }
    .primary-heading,
    .hero-text {
        max-width: 100%;
    }
    .dual-buttons {
        margin-top: 20px;
    }
    #hero .owl-carousel::before {
        top: -48px;
        left: 50%;
        transform: translateX(-50%);
    }
    p {
        font-size: 14px;
    }
    .num-text {
        font-size: 16px;
        max-width: 200px;
        padding: 10px 25px 0;
    }
    .secondary-heading {
        font-size: 30px;
    }
    #o_nama .row {
        flex-direction: column-reverse;
        gap: 30px;
    }
    #o_nama .left-col,
    #o_nama .right-col {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
    #o_nama .right-col {
        margin-left: 0;
    }
    #o_nama .about-images-top,
    #o_nama .about-images-bottom {
        gap: 0;
    }
    #o_nama .about-images-top img:first-child {
        padding-right: 10px;
    }
    #o_nama .about-images-top img:last-child {
        padding-left: 10px;
    }
    #o_nama .about-images-bottom img:first-child {
        padding-right: 10px;
    }
    #o_nama .about-images-bottom img:last-child {
        padding-left: 10px;
    }
    .about-text {
        max-width: 100%;
    }
    .about-images-top img, .about-images-bottom img {
        border-radius: 15px;
    }
    .services-wrapper {
        border-radius: 20px;
    }
    .service-btn-wrapper {
        margin-top: 0;
    }
    .service-content {
        padding: 20px 0 0 !important;
        flex-basis: 100%;
        transition: all 0.3s ease;
    }
    .service-image {
        flex-basis: 100%;
        max-width: 100%;
    }
    .service-image img {
        width: 100%;
    }
    .cards-wrapper {
        flex-direction: column;
    }
    .service-card.hidden {
        max-height: 100%;
        transition: .5s margin , .5s padding , .1s max-height 1s, .1s min-height 1s, .1s overflow 1s, .5s flex;
    }
    .service-card.hidden {
        flex: 1;
        opacity: 1;
        padding: 17px;
        margin: 12.5px;
        overflow: hidden;
    }
    .service-card.hidden-card {
        display: none;
    }
    .see-more {
        font-size: 20px;
    }
    #usluge .services-row .cards-wrapper {
        margin-top: 0;
    }
    .gallery-row {
        gap: 10px;
        margin-bottom: 10px;
    }
    .gallery-row img {
        border-radius: 10px;
    }
    #galerija {
        padding-top: 30px;
        padding-bottom: 30px;
    }
   .gallery-button-wrapper {
        margin-top: 30px;
        flex-direction: column-reverse;
        gap: 20px;
   }
    .gallery-row:first-of-type .gallery-img-left::before {
        background-size: 45%;
        top: -60px;
        left: -55px;
    }
    #klijenti .row {
        flex-direction: column;
        margin-top: 40px !important;
        gap: 20px;
    }
    #klijenti .reviews-row {
        margin-top: 20px !important;
    }
    .clients-reviews-wrapper {
        border-radius: 20px;
    }
    .clients-box {
        padding: 15px 20px;
        flex-basis: 100%;
        max-width: 100%;
    }
    .clients-details {
        align-items: center;
    }
    .client-img {
        flex-basis: 20%;
        max-width: 20%;
    }
    .client-info {
        flex-basis: 80%;
        max-width: 80%;
    }
    #nas_tim::before {
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: bottom right;
        top: 20px;
        right: -10%;
    }
    #nas_tim .owl-carousel::before,
    #nas_tim .owl-carousel::after {
        display: none;
    }
    #ambulanta {
        padding-top: 20px;
        padding-bottom: 50px;
    }
    .contact-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .contact-wrapper .left-col,
    .contact-wrapper .right-col {
        flex-basis: 100%;
        max-width: 100%;
    }
    #kontakt::before {
        width: 450%;
    }
    #kontakt .contact-wrapper {
        padding-top: 40px;
        padding-bottom: 20px;
        gap: 30px;
    }
    #kontakt p {
        font-size: 14px;
    }
    #kontakt a {
        font-size: 14px;
    }
    .contact-wrapper-top h4,
    .contact-wrapper-bottom h4 {
        font-size: 18px;
    }
    .location-map {
        margin: auto;
    }
    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 25px 20px;
    }
    .footer-logo,
    .footer-menu {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
    }
    .footer-logo img {
        margin: auto;
    }
    .footer-nav-list {
        flex-direction: column;
        gap: 15px;
    }
}