﻿@import "fonts.css";

html {
    font-size: 16px;
    height: 100%;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-block: 1.25rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

button, a {
    font-size: .9rem;
}


p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 1rem;
}

body {
    font-family: var(--font-avenir);
}

html {
    font-size: 16px;
    height: 100%;
}

main {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

main > .container {
    margin-block: 70px;
}

p {
    font-size: 16px;
    font-weight: normal;
}

button, a {
    font-weight: 500;
}

@media (min-width: 769px) {

    .nav-item.has-sublist .sublist {
        display: block !important;
    }

    .nav-item.has-sublist {
        margin-right: 10px;
    }

    .nav-item.has-sublist > a.nav-link {
        margin-right: 5px !important;
    }

    .nav-item.has-sublist img {
        margin: auto 0 !important;
    }

    .menu-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .logo-header-wrapper {
        border-top: none !important;
    }

    .navbar-collapse .logo {
        display: none;
    }

    #close-menu {
        display: none;
    }

    .call-us {
        display: none;
    }
}

@media (min-width: 769px) {
    html {
        font-size: 16px;
    }

    .navbar-expand-sm .navbar-toggler {
        display: none !important;
    }
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    color: #373F50;
    margin-bottom: 60px;
}


a {
    color: #c6167a;
    text-decoration: none;
}

a:hover {
    color: #c6167a;
}

.contact-wrapper .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 0;
}


nav {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid #eee;
}

.card {
    border: none;
}


.card h5 {
    color: #222;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.cards-wrapper .card img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 5px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.page.aparitii-in-presa {
    padding-block: 50px;
}

#close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
}

header {
    background-color: #fff;
    position: sticky;
    z-index: 99;
    top: 0;
    box-shadow: 1px 1px 9px #0001;
}

.nav-item.has-sublist {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item.has-sublist img {
    margin-left: 12px;
}

.nav-item.has-sublist > div {
    display: inline-block;
}

.nav-item.has-sublist .sublist {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 300px;
    box-shadow: 2px 9px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 10;
    list-style: none;
}

.nav-item.has-sublist .sublist li a {
    border-top: 0;
}

.nav-item.has-sublist .sublist li {
    transition: background-color 0.2s ease;
}

.nav-item.has-sublist .sublist li:hover {
    background-color: #fafafa;
}

.plus-button {
    width: 12px;
    height: auto;
    transition: transform 0.2s ease;
}

.plus-button.active {
    transform: rotate(180deg);
}

@keyframes slideUp {
    0% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
    }
}

.nav-item.has-sublist:hover .sublist {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    animation: slideUp 0.1s ease-in-out forwards;
}

.carousel-wrapper {
    z-index: -1;
}

.section__paragraph {
    transform: translateY(40px);
    opacity: 0;
    transition: 1.5s ease;
}

.section__paragraph--visible {
    transform: translateY(0);
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.7s ease-in forwards;
}

body > header > nav > div {
    gap: 1rem;
}

body:has(.popup-image.active) header,
body:has(.popup-image.active) .contact-wrapper {
    z-index: 1;
    position: static;
}

ul.arrow {
    list-style: none;
    padding-left: .5rem;
}

ul.arrow li {
    padding-left: 1.5rem;
    break-inside: avoid;
    margin-block: 20px;
    position: relative;
}

ul.arrow li::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 1.7rem;
    height: 1.7rem;
    background-image: url(../images/icons/right-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideInVertical {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.slide-in-vertical {
    animation: slideInVertical 0.7s ease-in-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.7s ease-in-out forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.slide-out {
    animation: slideOut 0.3s ease-in-out forwards;
}


.contact-wrapper > div > p {
    margin: 0;
    padding-block: 5px;
    font-size: 11px
}

.logo-header-wrapper {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-block: 12px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.logo-header-wrapper .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 0;
}

.logo-subheader-details {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    outline: 2px solid #c6167a;
    border-radius: 30px;
    font-weight: bold;
}

.right-column .logo-subheader-details {
    outline-color: #fff;
    background-color: #fff;
    outline-offset: 2px;
    margin-bottom: 30px;
}

.navbar-toggler-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.right-column .google-maps {
    display: inline-block;
    padding: 6px 12px 6px 8px;
    border-radius: 30px;
    font-weight: bold;
    background-color: #d71784;
    outline: 2px solid #fff;
    outline-offset: 2px;
    font-size: 14px;
    color: #fff;
}

.right-column .google-maps svg {
    height: 28px;
    width: auto;
}

.logo-subheader-details p {
    color: #c6167a;
    font-size: 14px;
}

.logo-subheader-details svg {
    width: 25px;
    height: auto;
}

.logo-subheader-details p {
    margin-bottom: 0;
}

.logo img {
    width: 220px;
    height: auto;
}

.location-text, .email-text {
    display: inline !important;
    margin-bottom: 0;
    font-size: 12px;
}

.contact-wrapper .container div {
    padding-block: 5px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

a.google-maps {

}

.email, .location {
    width: 20px;
    height: auto;
    display: inline-block;

}

.active-link {
    color: #c6167a !important;
}

.contact-wrapper {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.logo-header-wrapper {
    background-color: #fff;
}

.logo-header-wrapper .container img {
    width: 220px;
    height: auto;

}

.navbar-brand, .nav-link {
    font-size: 16px;
    padding-block: 15px;
}


.background-image {
    background: url('/images/homepage/bg-1-pink.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 700px;
}

.background-image #owl-carousel3 .owl-stage-outer {
    height: 700px;
}

.background-image #owl-carousel3 .item {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    align-items: center;
    height: 700px;
    padding-inline: 23rem;
}

.background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item img {
    height: 600px;
    width: auto;
    align-self: end;

}

#owl-carousel3 .item div {
    justify-self: self-start;
}

.background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item img {
    justify-self: self-end;
}


@media all and (max-width: 575px) {

    html .image-gallery-container .box .column {
        column-count: 1;
    }

    .page-header .container,
    .navbar .container,
    .about-us-wrapper .container,
    .menu-wrapper {
        padding-inline: 12px !important;
    }

    .contact-wrapper .container > div {
        display: none;

    }

    .contact-wrapper .container {
        justify-content: center;
    }

    .contact-wrapper .container a div {
        outline: none;
    }


    .h1, h1 {
        font-size: 20px;
    }

}

#owl-carousel3 > div.owl-stage-outer > div > div > div {
    color: #fff;
}

.book-now {
    background-color: #fff;
    border: none;
    color: #c6167a;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    display: inline-block;
}

.learn-more {
    background-color: transparent;
    margin-left: 10px;
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    outline: 1px solid #fff;
}

.background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div h2 {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    margin-block: 3px;
    font-size: 45px;
    background-color: rgba(255, 255, 255, 0.4);
}

.book-now:hover {
    color: #c6167a;
}

.services-grid > div > h5 ::before {
    position: fixed;
    display: inline-block;
    content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3Cpath d="M64 112c-8.8 0-16 7.2-16 16l0 22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1l0-22.1c0-8.8-7.2-16-16-16L64 112zM48 212.2L48 384c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-171.8L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z" /%3E%3C/svg%3E');
    display: inline-block;
    position: absolute;
    width: 15px;
    height: auto;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.services .service {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: background-color .3s ease;
}

.services .service h4 {
    color: #222;
}

.services .service:hover {
    background-color: #fafafa;
}

.services .service a {
    width: 100%;
    height: 100%;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.services .service p {
    line-height: 1.6;
}

.services .service img {
    width: 70px;
    height: auto;
}

#owl-carousel3 > div.owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#owl-carousel3 > div.owl-dots > button > span {
    outline: 2px solid #fff;
    width: 8px;
    height: 8px;
}


@media (max-width: 1874px) {
    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div h2 {
        font-size: 30px;
    }

    .background-image {
        height: 500px !important;
    }

    .background-image #owl-carousel3 .owl-stage-outer {
        height: 500px !important;
    }

    .background-image #owl-carousel3 .item {
        height: 500px !important;
    }

    .background-image #owl-carousel3 .item img {
        height: 450px !important;
    }
}


@media (max-width: 1572px) {
    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div h2 {
        font-size: 20px;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div p {
        font-size: 16px;
    }

    .background-image {
        height: 500px !important;
    }


    #owl-carousel3 > div.owl-stage-outer > div > div:nth-child(6) > div > img {
        height: 450px !important;
        align-self: end;
    }

    .background-image #owl-carousel3 .owl-stage-outer {
        height: 500px !important;
    }

    .background-image #owl-carousel3 .item {
        height: 500px !important;
        padding-inline: 0;
    }
}

@media (max-width: 1080px) {
    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div h2 {
        font-size: 15px;
        padding: 5px;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div p {
        font-size: 10px;
    }

    .background-image {
        height: 350px !important;
    }

    .background-image #owl-carousel3 .item img {
        height: 340px !important;
    }

    .background-image #owl-carousel3 .owl-stage-outer {
        height: 350px !important;
    }

    .background-image #owl-carousel3 .item {
        height: 350px !important;
        padding-inline: 0;
    }

    .book-now, .learn-more {
        font-size: 12px;

    }
}

@media (max-width: 630px) {

    #owl-carousel3 .owl-item .item div {
        justify-self: center;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item img {
        justify-self: center;
    }

    .background-image #owl-carousel3 .item {
        grid-template-columns: 1fr;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div {
        align-self: center;
        text-align: center;
        gap: 0;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div h2 {
        font-size: 20px;
        padding: 5px;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div p {
        font-size: 16px;
    }

    .background-image {
        height: 700px !important;
    }


    #owl-carousel3 > div.owl-stage-outer > div > div:nth-child(6) > div > img {
        height: 350px !important;

    }

    #owl-carousel3 .owl-item .item img {
        order: 2;
        align-self: end !important;
    }

    #owl-carousel3 .owl-item .item div {
        order: 1;
        align-self: end !important;
    }

    .background-image #owl-carousel3 .owl-stage-outer {
        height: 700px !important;
    }

    .background-image #owl-carousel3 .item {
        height: 700px !important;
        padding-inline: 0;
    }

    .book-now {

        margin-bottom: 5px;
        font-size: 12px;
    }

    .learn-more, .book-now {
        display: inline-block;
        margin-left: 0 !important;
    }

    .learn-more {
        margin-left: 12px !important;
    }
}

@media (max-width: 540px) {

    .logo-header-wrapper {
        padding-block: 10px;
    }

    .logo-header-wrapper .container img {
        width: 170px;
    }

    .background-image #owl-carousel3 .item {
        grid-template-columns: 1fr;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div {
        align-self: center;
        text-align: center;

    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item .item {
        padding-inline: 12px;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div h2 {
        font-size: 20px;
        padding: 5px;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div p {
        font-size: 16px;
        max-width: 100%;
        margin-inline: 30px;
    }

    .background-image {
        height: 600px !important;
    }


    #owl-carousel3 > div.owl-stage-outer > div > div:nth-child(6) > div > img {
        height: 220px !important;
    }

    #owl-carousel3 .owl-item .item img {
        order: 2;
        align-self: end !important;
        height: 220px !important;
    }

    #owl-carousel3 .owl-item .item div {
        order: 1;
        align-self: end !important;
    }

    .background-image #owl-carousel3 .owl-stage-outer {
        height: 600px !important;
    }

    .background-image #owl-carousel3 .item {
        height: 600px !important;
        padding-inline: 0;
    }

    .book-now {
        margin-bottom: 5px;
        font-size: 12px;
    }

    .learn-more, .book-now {
        display: inline-block;
        margin-left: 0 !important;
    }

    .learn-more {
        margin-left: 12px !important;
    }
}


.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-block: 80px;
    gap: 30px;
    text-align: center;
}

@media ( max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media ( max-width: 383px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.services-grid > div > svg {
    width: 60px;
    height: auto;
}

.services-grid > div > p {
    text-align: center;
    margin: 0;
}

.services-grid > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.clinic-details {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    color: #fff;
    font-size: 16px;
    margin-bottom: 40px;
    border-radius: 5px;
    overflow: hidden;
}

.clinic-details > div {
    padding: 30px;
    color: #fff;
}

.clinic-details > div a {
    color: #fff;
}

.left-column {
    background-color: #d71784;
}

.middle-column {
    background-color: #c6167a;
}

.right-column {
    background-color: #b71471;
}

.clinic-details div h5 {
    margin-bottom: 30px;
}

.middle-column > div > div > * {
    display: inline-block;
    margin-block: 15px;
}

.middle-column > div > div > span {
    float: right;
}

.middle-column > div > :nth-child(2n) {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.right-column .right-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 994px) {

    .clinic-details {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .right-column .right-column-grid {

        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .nav-item.has-sublist .sublist {
        display: none;
        position: static;
        box-shadow: none;
        margin-left: 20px;
        opacity: 1;
        visibility: visible;
        flex-grow: 1;
    }

    .sublist {
        display: none;
    }

    header {
        z-index: 10;
    }

    .navbar-expand-sm .navbar-nav .nav-link {
        padding-block: 0 !important;
        padding-left: 0 !important;
        margin-block: 6px;
        margin-left: 0 !important;
    }

    .doctor-footer-details {
        padding-bottom: 0 !important;
    }

    .active-link {
        border-top: none !important;
    }

    .navbar .container {
        padding-block: 10px;
    }

    .clinic-details {
        grid-template-columns: 1fr;
    }

    .navbar-expand-sm .navbar-toggler {
        display: flex !important;
    }
}


.right-column-grid > input::placeholder {
    color: #fff;
}

.right-column > .right-column-grid > input, .right-column > .right-column-grid > select {
    background-color: transparent;
    color: #fff;
    border-radius: 30px;
    padding: 7px 15px;
    border: 1px solid #fff5;
    background-color: #FFFFFF1A;
}

input:focus {
    border: none;
    outline: none;
}


.right-column-grid > select > option {
    color: #000;
}

.send-message {
    background-color: #c6167a;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid #c6167a;
    transition: color, border, background-color 0.3s;
    padding: 10px 20px;
    width: 250px;
}

.send-message:hover {
    background-color: transparent !important;
    color: #c6167a;
    border-color: #c6167a !important;
}

.right-column > .right-column-grid > button:hover {
    background-color: transparent !important;
    color: #fff !important;
    outline: 3px solid #fff !important;
}

.our-services, .meet-our-doctors, .latest-news {
    background-image: url('/images/homepage/texture.jpg');
    background-position: bottom left;
    background-repeat: repeat-x;
    background-attachment: scroll;
    background-size: contain;
    padding: 60px 40px
}

.our-services .container .header-text {
    margin-bottom: 60px;
}

.our-services .container div h6 {
    color: #c6167a;
    margin: 0;
    text-align: center;
}

.our-services .container .owl-carousel .item {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #eee;
}

.our-services .container .owl-carousel .item img {
    transition: filter 0.3s;
}

.our-services .container .owl-carousel .item:hover img {
    filter: blur(2px);
    filter: brightness(1.05);
    cursor: pointer;
}
.our-services .container .owl-carousel .item div {
    background-color: #fff;
    padding: 1rem;
}

@media (max-width: 599px) {
    .our-services .container .owl-carousel.owl-drag .owl-item {
        display: flex;
        justify-content: center;
        align-items: center
    }
}

.dental-clinic-numbers {
    background: url(/images/homepage/bg-1-pink.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px;
    color: #fff;
}

.dental-clinic-numbers {
    text-align: center;
}

.dental-clinic-numbers p, h5 {
    margin-bottom: 0;
}

.dental-clinic-numbers h5 {
    font-size: 30px;
    font-weight: 400;
}

.subheading {
    margin-bottom: 60px;
    color: #c6167a;
}

.dental-clinic-numbers > p {
    margin-bottom: 60px
}

.statistics-grid {
    display: grid;
    gap: 0.3rem;
    grid-template-columns: repeat(4, 1fr);
}

.statistics-grid div {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-block: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.statistics-grid div svg {
    width: 40px;
}


@media (max-width: 1338px) {
    .statistics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 735px) {
    .statistics-grid {
        grid-template-columns: 1fr;
    }
}

.meet-our-doctors .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}


.meet-our-doctors > .container > div {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fffb;
    border-radius: 5px;
    overflow: hidden;
    padding: 2rem;
    flex-basis: 330px;
}

.meet-our-doctors > .container > div > img {
    width: 200px;
    border-bottom: 1px solid #eee;
    object-fit: cover;
}

.meet-our-doctors > .container > div > p {
    margin-bottom: 0;
    font-size: 14px;
    text-align: center;
}


@media (max-width: 992px ) {
    .meet-our-doctors > .container {
        grid-template-columns:1fr;
    }
}

.testimonials-container {
    padding-block: 60px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.news-grid p {
    color: #c6167a;
}

.news-grid img {
    width: 100%;
    height: auto;
}

.news-grid > div {
    display: grid;
    grid-template-rows: 1fr 1fr;

}

.news-grid div div {
    background-color: #fff;
    padding: 2rem 2rem 0 2rem;
    overflow-y: auto;
    color: #000;
    height: 100%;
}

@media (max-width: 1235px ) {
    .news-grid div div {
        font-size: 11px;
    }
}

@media (max-width: 1025px ) {
    .news-grid {
        grid-template-columns: 1fr 1fr;

    }

    .news-grid div div {
        font-size: 16px;
    }
}

@media (max-width: 632px ) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-grid div div {
        align-self: center;
    }

    .cell1 {
        order: 1;
    }

    .cell2 {
        order: 2;
    }
}

.doctor-footer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    place-items: center;
    margin-bottom: 0 !important;
}

.doctor-footer-details {
    padding-block: 3rem;
    color: #959595;
}

.doctor-footer-details h3 {
    color: #c6167a;
}

.doctor-footer img {
    width: 400px;
    height: auto;
}

@media ( max-width: 359px) {

    .cell2 {
        font-size: 10px !important;
    }
}

@media ( max-width: 993px) {
    .doctor-footer {
        place-items: end;
    }
}

@media ( max-width: 768px) {
    .doctor-footer {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .doctor-footer-details p {
        text-align: justify;
    }
}

@media ( max-width: 438px) {
    .doctor-footer img {
        width: 250px;
    }
}

footer {
    background-color: #222;
    position: relative;
    z-index: 1;
}

.footer-details-wrapper {
    color: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    padding: 2.5rem 1.5rem;
}

.footer-details-wrapper div h4 {
    display: inline-block;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}

.footer-details-wrapper div p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    padding-block: 5px;
    margin-bottom: 0;
}

.footer-details-wrapper div p :hover {
    color: #fff;
    cursor: pointer;
}


.footer-details-wrapper > div > p:last-child {
    border-bottom: none;
}


@media ( max-width: 1047px) {
    .footer-details-wrapper {
        gap: 1rem;
    }

    .footer-details-wrapper div p {
        font-size: 14px;
    }
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
    border-radius: 100%;
    cursor: pointer;
    z-index: 10000;
    font-size: 0px;
    background-color: #c6167a;
    background-image: url("../images/icons/up-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    padding: 20px 20px;
    border: 1px solid #fff;
}


@media ( max-width: 630px) {
    .footer-details-wrapper {
        grid-template-columns: 1fr;
    }
}

.page-header {
    background: url(/images/homepage/bg-1-pink.jpg);
    background-size: cover;
}

.breadcrumb a {
    color: #fff;
}

.page-header .container {
    color: #fff;
    display: flex !important;
    flex-direction: column;
    gap: .5rem;
    justify-content: space-between;
    align-items: center;
    padding-block: 65px;
    max-width: 100%;
    backdrop-filter: blur(5px);
}

.page-header .container p {
    margin: 0;
}

.page-header .container h1 {
    padding: 0;
    margin: 0;
}

.contact-grid .container form div input {
    width: 100%
}

.contact-grid .container form div input, textarea {
    border-radius: 30px;
    border: 1px solid #eee;
    overflow: hidden;
    padding: 15px 20px;
    font-size: 16px;
}

.contact-grid .container form div input {
    transition: outline 0.3s ease;
}

.contact-grid .container form div input:focus {
    outline: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-grid .container form div textarea {
    transition: outline 0.3s ease;
}

.contact-grid .container form div textarea:active {
    outline: 1px solid rgba(0, 0, 0, 0.1);
}

.page-header {
    position: relative;
    z-index: 1000;
    margin: 0;
}

.text-section {
    margin-block: 50px;
}


.container .text-section:first-of-type {
    margin-top: 0;
}

.container .text-section:last-of-type {
    margin-bottom: 0;
}

.service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 7/3;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    margin-block: 50px;
    display: block;
}

.contact-grid {
    margin-block: 50px;
}

.contact-grid .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    gap: 30px;
    justify-items: end;
    padding: 0;
}


.contact-grid .container div {
    align-self: normal;
}

.contact-grid .container div iframe {
    margin-bottom: 3rem;
    border-radius: 5px;
}


.contact-grid div form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%
}

@media (max-width: 992px) {
    .contact-grid .container {
        grid-template-columns: 1fr;
    }


    .contact-grid .container div {
        width: 100%;
    }

    .contact-grid .container div iframe {
        width: 100%;
    }
}

.slide-in-vertical svg {
    margin-right: 15px;
}

.slide-in-vertical div p {
    font-size: 16px;
}

.contact-container .slide-in-vertical div p {
    color: #000;
    font-weight: normal;
    margin-bottom: 0;
}

.information {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

@media (max-width: 440px) {

    .footer-details-wrapper {
        gap: 40px;
    }

    .contact-grid .container form div input {
        width: 100%;
    }

    .nr-telefon {
        margin-top: 0 !important;
    }

    .send-message {
        width: 100%;
    }
}


@media (max-width: 575px) {

    .footer {
        padding-inline: 1rem;
    }

    .contact-grid .container {
        padding-inline: 1rem;
    }

    nav .container {
        padding-block: 1rem;
    }

    .logo-header-wrapper .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

}


@media (max-width: 338px) {

    .contact-wrapper {
        padding-block: 1rem;
    }

    .contact-wrapper .container {
        flex-direction: column;
        justify-content: space-between;
        gap: 0.5rem;
    }

}


.about-us-wrapper .container img {
    width: 100%;
    border-radius: 5px;
}

.about-us-wrapper .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 992px) {
    .about-us-wrapper .container {
        grid-template-columns: 1fr;
    }
}

.about-us-wrapper .container div svg {
    width: 15px;
    height: 15px;
}

.about-us-wrapper .container div * {
    display: inline-block;
}

.about-us-wrapper .container div p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
}

.our-advantages-wrapper {
    background: url('/images/homepage/bg-1-pink.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 40px;
}

.our-advantages-wrapper > .container > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.our-advantages-wrapper > .container > div h3,
.our-advantages-wrapper > .container > div p {
    color: #fff;
}

@media (max-width: 1400px) {
    .our-advantages-wrapper > .container > div {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 566px) {
    .our-advantages-wrapper > .container > div {
        grid-template-columns: repeat(1, 1fr);
    }
}

.our-advantages-wrapper > .container > h3 {
    text-align: center;
    margin-bottom: 40px;
}

.our-advantages-wrapper > .container > div > div > a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: space-between;
    font-size: 16px;
    text-align: center;
    padding: 1rem 1rem 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    height: 100%;
    backdrop-filter: blur(13px);
    background-color: #fff3;
}

.our-advantages-wrapper > .container > div > div > a:hover {
    background-color: #fff4;
}

.our-advantages-wrapper > .container > div > div > a p {
    margin: 0;
}

.our-advantages-wrapper .container div div a:hover img {
    cursor: pointer;
}


@media (max-width: 1050px) {
    .our-advantages-wrapper .container div img {
        width: 200px !important;
    }
}

.our-advantages-wrapper .container div img {
    width: 300px;
    object-fit: cover;
    align-self: center;
    padding: 0 20px;
}

.feedback-wrapper {
    overflow: hidden
}

.feedback-wrapper .container h3 {
    margin-block: 50px;
}

.feedback-wrapper .container p {
    font-size: 16px;
}

#owl-carousel4 {
    padding: 5rem;
    overflow: visible !important;
}

#owl-carousel4 .item {
    padding: 5rem 5rem 2rem 5rem;
    border-radius: 5px;
    position: relative;
}


#owl-carousel4 > div.owl-stage-outer > div > div.owl-item:not(.active) {
    opacity: 0;
}

#owl-carousel4 > div.owl-stage-outer > div > div.owl-item.active {
    border: 1px solid #eee;
    border-radius: 5px;
    opacity: 1;
}


#owl-carousel4 > div.owl-stage-outer > div > div.owl-item.active {
    color: rgba(0, 0, 0, 0.7);
}

#owl-carousel4 .owl-stage-outer {
    overflow: visible;
}

#owl-carousel4 .item img {
    width: 150px;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

#owl-carousel4 > div.owl-dots {
    display: none;
}

#owl-carousel4 > div.owl-nav {
    width: 100%;
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
}

#owl-carousel4 > div.owl-nav > button {
    margin-inline: 120px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #fff;
    outline: 1px solid #eee;
    transition: outline 0.3s ease;
}

#owl-carousel4 > div.owl-nav > button:hover {
    outline: 1px solid #07A7E3;
    color: #000;
}

.menu-wrapper {
    padding-inline: 0;
}

@media (max-width: 768px) {


    main > .container {
        margin-block: 30px;
    }

    .logo-header-wrapper {
        border-top: none;
        width: 100%;
    }

    .menu-wrapper {
        display: flex;
        width: 100%;
        gap: 10px;
    }

    .navbar-toggler:not(.collapsed) ~ .call-us {
        transform: none;
        top: 10px;
    }

    .logo-header-wrapper .container a:last-child {
        display: none;
    }

    .logo-subheader-details svg {
        width: 20px;
    }

    .logo-header-wrapper .container {
        justify-content: flex-start;

    }

    .navbar .container {
        position: relative;
    }

    .call-us {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-expand-sm .navbar-nav {
        flex-direction: column !important;
    }

    html .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 340px;
        height: 100%;
        background-color: #fff;
        box-shadow: 1px 1px 14px #0004;
        z-index: 1000;
        overflow-y: scroll;
        transition: all 0.3s ease;
        padding: 20px;
    }

    html .navbar-collapse .logo {
        margin-bottom: 20px;
        display: block;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    html .navbar-collapse:not(.show) {
        transform: translateX(-100%);
        display: block !important;
    }

    #owl-carousel4 > div.owl-nav {
        top: 35px;
    }


    .owl-prev {
        margin-left: 0 !important;
        margin-right: 90px !important;
    }

    .owl-next {
        margin-right: 0 !important;
        margin-left: 90px !important;
    }
}

@media (max-width: 568px) {

    #owl-carousel4 .item {
        padding: 5rem 1rem 1rem 1rem;
    }
}


.image-gallery-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 120px;
}


@media (min-width: 576px) {
    .contact-wrapper .container a {
        display: none;
    }

    .navbar-expand-sm .navbar-collapse {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px ) {

    .dental-clinic-numbers, .our-services, .meet-our-doctors, .latest-news {
        padding-inline: 20px;
    }
}

@media (min-width: 577px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding: 9px 0;
        margin-inline: 15px;
    }
}

.title {
    margin-bottom: 60px;
}

.image-gallery-container .box .column {
    column-count: 3;
    gap: 20px;
}

.image-gallery-container .box .column .result {
    break-inside: avoid;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.image-gallery-container .box .column img {
    width: 100%;
    margin-bottom: 0;
    transition: filter 0.3s ease;
}

.image-gallery-container .box .column > img {
    margin-bottom: 20px;
    border-radius: 5px;
}

.image-gallery-container .box .column p {
    text-align: center;
    margin: 0;
}

.image-gallery-container .box .column img:hover {
    cursor: pointer;
    filter: brightness(1.1);
}

.popup-image {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.popup-image.active {
    display: block;
    opacity: 1;
}

.popup-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    width: auto;
    height: 90%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.popup-image.active img {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-image img.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}


.popup-image span {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: block;
    text-align: center;
}

@media ( max-width: 1000px) {

    html .individual-background-wrapper {
        height: unset;
        padding-top: 30px;
    }

    .individual-background-wrapper > div {
        gap: 30px;

    }

    .service-image {
        aspect-ratio: unset;
    }

    html .individual-background-wrapper h1 {
        text-align: center;
    }

    .page-header .container {
        padding-block: 50px;
    }

    .image-gallery-container .box .column {
        column-count: 2;
    }

    h1 {
        font-size: 2.4rem;
        line-height: 1.15;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }

    h3 {
        font-size: 1.35rem;
        line-height: 1.35;
        margin-top: 0.85rem;
        margin-bottom: 0.45rem;
    }

    h4 {
        font-size: 1.15rem;
        line-height: 1.4;
        margin-top: 0.65rem;
        margin-bottom: 0.4rem;
    }

    h5 {
        font-size: 1.05rem;
        line-height: 1.45;
        margin-top: 0.45rem;
        margin-bottom: 0.35rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 0.85rem;
    }

    .popup-image img {
        width: 80%;
        height: auto;
    }

}


@media (min-width: 1001px) {
    .contact-wrapper {
        position: relative;
        z-index: 1001;
    }
}

@media ( max-width: 540px) {
    .popup-image img {
        width: 95%;
        height: auto;
    }
}

.span-expert {
    color: #c6167a;
}

.results-box .column img {
    margin-bottom: 40px;
}

.results-box {
    flex-wrap: wrap;
    flex-direction: column !important;
    align-items: center;
}

.navbar .container {
    padding-inline: 0 !important;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 400;
    letter-spacing: 0.3px;
}

.navbar-nav > li:first-child a {
    margin-left: 0 !important;
}

.individual-background-wrapper h1 {
    color: #fff;
    font-weight: 400;
    margin-bottom: 20px;
    margin-left: 0;
}

.individual-background-wrapper {
    height: 800px;
    border-bottom: 1px solid #eee;
    padding-top: 100px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3rem;
    overflow: hidden;
    font-weight: 300;
    background: url('/images/homepage/bg-1-pink.jpg');
    background-size: cover;
}

.individual-background-wrapper img {

    height: 700px;
    width: auto;
}

.individual-background-wrapper > div {
    display: grid;
    grid-template-columns:1fr 1fr;
    place-items: center;

}

@media (max-width: 800px) {
    .individual-background-wrapper > div {
        grid-template-columns: 1fr;
    }

    .individual-background-wrapper img {
        order: 2;
        align-self: end;
    }

    .individual-background-wrapper > div > div {
        order: 1;
        text-align: center;
        margin-inline: 50px;
    }
}

@media ( max-width: 472px) {
    .individual-background-wrapper img {
        height: 400px;
    }

    .individual-background-wrapper {
        gap: 0 !important;
    }

    .individual-details {
        margin-block: 20px !important;
    }

}

.individual-background-wrapper > div > div > div > p {
    display: inline-block;
    color: #fff;
    margin-bottom: 10px;
    line-height: normal;
}

.individual-background-wrapper h1 {
    text-align: left;
}

.individual-details {
    margin-block: 50px;

}

body > main > div.container.image-gallery-container > div.box.results-box.fade-in > div > p {
    margin-top: 100px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
}
body > main > div.container.image-gallery-container > div.box.results-box.fade-in > div > p:first-child {
    margin-top: auto;
}

@media (min-width: 992px) {
    body > main > div.container.image-gallery-container > div.box.results-box.fade-in > div > p {
        margin-top: 200px;
    }
}

/* ----- PRELOADER ------ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preloader-logo {
    max-width: 200px;
    height: auto;
    animation: logoScale 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes logoScale {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.copyright {
    text-align: center;
    background: #1d1d1d;
    color: #fff;
    padding: 20px;
    font-size: 14px;
}

