﻿body {
    font-family: 'Roboto', sans-serif;
}

html {
    font-size: 14px;
    height: 100%;
}

p {
    font-size: 14px;
}

button, a {
    font-weight: 500;
}

@media (min-width: 769px) {
    .call-us {
        display: none;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .navbar-expand-sm .navbar-toggler {
        display: none !important;
    }
}

.h1, h1 {
    font-size: 25px;
    margin: 0 0 0 5px;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    color: #373F50;
    margin-bottom: 60px;
    /*  font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;*/

}


a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: white;
}

.contact-wrapper .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}


nav {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.card {
    padding: 15px;
    border: none;
}


.card p {
    color: #000;
    font-size: 15px;
    text-align: center;
}

.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;
}

.page.aparitii-in-presa {
    padding-block: 50px;
}


header {
    position: relative;
    z-index: 1000;
}

.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;
}

@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 #ddd;
    border-bottom: 1px solid #ddd;
    padding-block: 20px;

}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.logo-header-wrapper .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-subheader-details {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    outline: 2px solid #ed7d1a;
    border-radius: 30px;
    font-weight: bold;
}

.right-column .logo-subheader-details {
    outline-color: #fff;
    background-color: #fff;
    outline-offset: 2px;
    margin-bottom: 30px;
}

.right-column .google-maps {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: bold;
    background-color: #e6c494;
    outline: 2px solid #e6c494;
    outline-offset: 2px;
    font-size: 14px;
}

.logo-subheader-details p {
    color: #ed7d1a;
    font-size: 14px;
}

.logo-subheader-details svg {
    width: 20px;
    height: auto;
}

.logo-subheader-details p {
    margin-bottom: 0;
}

.location-text, .email-text {
    display: inline !important;
    margin-bottom: 0;
    font-size: 12px;
}

.contact-wrapper .container div {
    padding-block: 5px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.email, .location {
    width: 20px;
    height: auto;
    display: inline-block;

}

.active-link {
    color: #ed7d1a !important;
    border-top: 1px solid #ed7d1a;
}

.contact-wrapper {
    background-color: white;
}

.logo-header-wrapper {
    background-color: white;
}

.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.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 ( max-width: 575px) {
    .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: white;
}

.book-now {
    background-color: white;
    border: none;
    color: #ed7d1a;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    display: inline-block;
}

.learn-more {
    background-color: transparent;
    margin-left: 10px;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    outline: 1px solid white;
}

.background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div h2 {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 45px;
    background-color: rgba(255, 255, 255, 0.4);
}

.book-now:hover {
    color: #ed7d1a;
}

.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;
}

#owl-carousel3 > div.owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#owl-carousel3 > div.owl-dots > button > span {
    outline: 2px solid white;
    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: 13px;
    }

    .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: 300px !important;
    }

    #owl-carousel3 > div.owl-stage-outer > div > div:nth-child(6) > div > img {
        height: 300px !important;
        align-self: end;
    }

    .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: 13px;
    }

    .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) {

    .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 div h2 {
        font-size: 20px;
        padding: 5px;
    }

    .background-image #owl-carousel3 .owl-stage-outer .owl-stage .owl-item div p {
        font-size: 13px;
        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;
}

@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;
    padding-inline: 15px;
}

.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: white;
    font-size: 13px;
    margin-bottom: 40px;
}

.clinic-details > div {
    padding: 30px;

}

.left-column {
    background-color: #e6c494;
}

.middle-column {
    background-color: #e49c44;
}

.right-column {
    background-color: #ec7c1b;
}

.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 #DDD;
    border-bottom: 1px solid #DDD;
}

.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) {

    .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: white;
}

.right-column > .right-column-grid > input, .right-column > .right-column-grid > select {
    background-color: transparent;
    color: white;
    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: black;
}

.send-message {
    background-color: #e49c44;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    border: 1px solid #fff5;
    transition: color, border, background-color 0.3s;
    padding: 10px 20px;
    width: 250px;
}

.send-message:hover {
    background-color: transparent !important;
    color: #ed7d1a;
    border: none;
    outline: 2px solid #ed7d1a !important;
}

.right-column > .right-column-grid > button:hover {
    background-color: transparent !important;
    color: white !important;
    outline: 3px solid white !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: auto;
    padding: 60px 40px
}

.our-services .container .header-text {
    margin-bottom: 60px;
}

.our-services .container div h6 {
    color: #ed7d1a;
    margin: 0;
    text-align: center;
}

.container h3 {
    text-align: center;
}

.our-services .container .owl-carousel .item {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.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: white;
    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.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px;
    color: white;
}

.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: #ed7d1a;
}

.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: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;

}


.meet-our-doctors > .container > div {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    padding: 2rem;
}

.meet-our-doctors > .container > div > img {
    width: 200px;
    border-bottom: 1px solid #ddd;
    object-fit: cover;
}

.meet-our-doctors > .container > div > p {
    margin-bottom: 0;
    font-size: 13px;
    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;
}

/*.testimonials #owl-carousel2 .item {
    width: 100%;
}*/

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.news-grid img {
    width: 100%;
    height: auto;
}

.news-grid > div {
    display: grid;
    grid-template-rows: 1fr 1fr;

}

.news-grid div div {
    background-color: white;
    padding: 2rem 2rem 0 2rem;
    overflow-y: auto;
    color: black;
    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;
}

.doctor-footer-details {
    padding-block: 3rem;
    color: #959595;
}

.doctor-footer-details h3 {
    color: #ed7d1a;
}

.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;
    padding: 1.5rem;
    position: relative;
    z-index: 1000;
}

main:has(.popup-image.active) ~ footer {
    z-index: 1;
}

.footer-details-wrapper {

    color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.footer-details-wrapper div h4 {

    display: inline-block;
    font-size: 18px;
    color: #e49c44;
}

.footer-details-wrapper div p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);

    padding-block: 10px;
    margin-bottom: 0;
}

.footer-details-wrapper div p :hover {
    color: white;
    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: 10px;
    }
}

@media (max-width: 576px) {
    .titlu-media {
        margin-block: 60px !important;
    }

    .image-gallery-container .box .column img {
        border: 1px solid #ddd;
    }
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    z-index: 10000;
    font-size: 0px;
    background-color: #ed7d1a;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: center; /* Poziționează săgeata la stânga */
    background-size: 30px 30px; /* Dimensiunea SVG-ului */
    padding: 20px 20px; /* Spațiere pentru textul butonului */
    border: 1px solid white;
}


@media ( max-width: 630px) {
    .footer-details-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media ( max-width: 411px) {
    .footer-details-wrapper {
        grid-template-columns: 1fr;

    }
}

.contact-header {
    background: linear-gradient(to right, #ec841d, #d4bc74);
}

.contact-header .container {
    color: white;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding-block: 20px;
    padding-left: 20px;
}

.contact-grid .container form div input {
    width: 100%
}

.contact-grid .container form div input, textarea {
    border-radius: 30px;
    border: 1px solid #ddd;
    overflow: hidden;
    padding: 15px 20px;
    font-size: 13px;
}

.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);
}

.contact-header {
    position: relative;
    z-index: 1000;
}

.contact-header .container p, h2 {
    margin-bottom: 0;

}

.contact-grid {
    margin-block: 50px;
}

.contact-grid .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    gap: 30px;
}


.contact-grid .container div {
    align-self: normal;
}

.contact-grid .container div iframe {
    margin-bottom: 3rem;
}


.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) {
    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;
    margin-block: 30px;
}

@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: 14px;
    color: rgba(0, 0, 0, 0.5);
    text-align: justify;
}

.our-advantages-wrapper {
    background: url('/images/homepage/bg-1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 40px;
}

.our-advantages-wrapper > .container > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@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;
    padding-block: 40px;
}

.our-advantages-wrapper > .container > div > div > a {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 13px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    transition: background-color 0.3s ease;
    height: 100%;
    backdrop-filter: blur(13px);
}

.our-advantages-wrapper .container div div a:hover {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}


@media (max-width: 1050px) {
    .our-advantages-wrapper .container div img {
        width: 150px !important;
    }
}

.our-advantages-wrapper .container div img {
    width: 300px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
    align-self: center;
}

.feedback-wrapper {
    overflow: hidden
}

.feedback-wrapper .container h3 {
    margin-block: 50px;
}

.feedback-wrapper .container p {
    font-size: 13px;
}

#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 #ddd;
    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: white;
    outline: 1px solid #ddd;
    transition: outline 0.3s ease;
}

#owl-carousel4 > div.owl-nav > button:hover {
    outline: 1px solid #07A7E3;
    color: black;
}

@media (max-width: 768px) {

    .navbar-toggler:not(.collapsed) ~ .call-us {
        transform: none;
        top: 10px;
    }

    .logo-header-wrapper .container a:last-child {
        display: none;
    }

    .logo-subheader-details svg {
        width: 15px;
    }

    .logo-header-wrapper .container {
        justify-content: center;

    }

    .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 .collapse:not(.show) {
        display: none !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;
}

.image-gallery-container .box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media (min-width: 576px) {
    .contact-wrapper .container a {
        display: none;
    }
}

@media (max-width: 576px ) {

    .image-gallery-container .box .column {
        width: 100% !important;
    }

    .image-gallery-container .box {
        flex-wrap: wrap;
    }

    .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: 10px 15px;
    }
}

.titlu-media {
    margin-block: 120px;
}

.image-gallery-container .box .column {
    display: flex;
    flex-direction: column;
    width: 32.5%;
}

.image-gallery-container .box .column img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
    transition: filter 0.3s ease;
}

.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; /* Ascunde popup-ul implicit */
    opacity: 0; /* Opacitatea inițială */
    transition: opacity 0.5s ease; /* Tranziție pentru opacitate */
}

.popup-image.active {
    display: block; /* Afișează popup-ul */
    opacity: 1; /* Opacitate completă */
}

.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; /* Opacitatea inițială a imaginii */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Tranziții pentru opacitate și transformare */
}

.popup-image.active img {
    opacity: 1; /* Opacitatea completă a imaginii */
    transform: translate(-50%, -50%) scale(1); /* Asigură că imaginea este la dimensiunea sa normală */
}

.popup-image img.hidden {
    opacity: 0; /* Opacitatea 0 când imaginea nu este activă */
    transform: translate(-50%, -50%) scale(0.9); /* Micșorează imaginea pentru efect de ieșire */
}


.popup-image span {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    font-weight: bolder;
    color: white;
    cursor: pointer;
}

@media ( max-width: 1000px) {
    .popup-image img {
        width: 80%;
        height: auto;
    }

}

@media ( max-width: 540px) {
    .popup-image img {
        width: 95%;
        height: auto;
    }
}

.span-expert {
    color: #ed7e17;
}

.service {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    align-items: center;
    justify-content: center;
    padding-block: 5rem;
    border-bottom: 1px solid #ed7d1a;
}

@media (max-width: 1400px) {
    .service {
        grid-template-columns: 1fr !important;
    }

    .service img {
        order: 1;
    }

    .service div {
        order: 2;
    }

    .service img {
        width: 100% !important;
    }

    .service div h3 {
        margin-top: 80px;
    }

    .service img {
        width: 80% !important;
    }
}

@media (max-width: 767px) {
    .service div h3 {
        margin-block: 30px !important;
    }

    .service img {
        width: 100% !important;
    }

    .service {
        padding-block: 30px !important;
    }


}

.service div p {
    margin-bottom: 0;
}

.service div h3 {
    margin-bottom: 80px;
    color: #ed7d1a !important;
}

.service:last-child {
    border-bottom: none;
}

.service div p {
    text-align: justify;
}

.service img {
    width: 500px;
    height: auto;
    margin: auto;
    border-radius: 10px;
}

.results-box .column img {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 40px;
}

.results-box {
    flex-wrap: wrap;
    flex-direction: column !important;
    align-items: center;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

.results-box .column {
    width: 60% !important;
}

.individual-background-wrapper h1 {
    color: #ed7d1a;
    font-weight: 400;
    margin-bottom: 15px;
    margin-left: 0;
}

.individual-background-wrapper {
    background-color: #e7e7e7;
    height: 800px;
    padding-top: 100px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3rem;
    overflow: hidden;
    font-weight: 300;
}

.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 h1 {
        font-size: 27px !important;
    }

    .individual-background-wrapper {
        gap: 0 !important;
    }

    .individual-detaiils {
        margin-block: 20px !important;
    }

}

.individual-background-wrapper > div > div > div > p {
    display: inline-block;
}

.individual-background-wrapper h1 {
    font-size: 40px;
}

.individual-detaiils {
    margin-block: 50px;

}

.individual-detaiils p {
    text-align: justify;
}


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;
    }
}

