* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f7f7f7;
}

/* .navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007BFF;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.register-btn, .login-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.register-btn {
    background-color: #fff;
    color: #007BFF;
    border: 1px solid #007BFF;
}

.login-btn {
    background-color: #007BFF;
    color: white;
} */

.hero-section {
    display: flex;
    justify-content: center;
    background-color: #fff;
    position: relative;
    height: 92vh;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer_logo {
    display: inline-block;
    width: 168px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
}

.logo-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #362c80;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
}

.login_btn_color {
    background-color: #372974 !important;
}

.theme_color {
    color: #372974 !important;
}

a.header_active {
    color: #1f156a !important;
}

.text-line {
    display: block; /* Ensure each word is on a separate line */
}

.header-one .main-menu-wrapper .main-nav > li > a:hover {
    color: #372974 !important;
}

.header-one .main-menu-wrapper .main-nav > li.menu_active > a {
    color: #372974 !important;
}

.banner-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 85vh;
    z-index: revert-layer !important;
    background-image: url("/assets/img/images/slider/slider_bk.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin-top: 91px;
}

@media (max-width: 1400px) {
    .banner-section {
        background-size: auto !important;
        /* background-position: center top !important; */
    }
}
/* Medium Screens (Tablets) */
@media (max-width: 1024px) {
    .banner-section {
        background-size: cover !important;
        background-position: center top !important;
    }
}

/* Small Screens (Phones) */
@media (max-width: 767px) {
    .banner-section {
        background-position: center center !important;
    }
}

.faq-info .accordion-content p {
    font-size: 14px;
}

.faq-info .accordion-button {
    font-weight: 300 !important;
    color: black !important;
    font-size: 15px;
}

.faq-info .accordion-button:after {
    color: #372974 !important;
}

.faq-info .accordion-button:not(.collapsed)::after {
    background: #372974 !important;
}

.hero-content {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: start;
    padding-left: 111px;
    /*   position: fixed;
    top: 27vh;
    left: 7vw; 
    box-sizing: border-box;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 20px;
    overflow: hidden;
    width: auto;
    height: auto;
    background: none;
    opacity: 1;
    border: 0;
    margin: 0;
    padding: 0; */
}

.hero-content h1 {
    font-size: 2.5vw;
    line-height: 1.4;
    color: white;
}

.partners-section hr {
    border: 1px solid #ccc;
    width: 69%;
    margin: 20px auto;
    position: relative;
    top: 13px;
}

.highlight {
    color: #ffcf4ed6 !important;
}

.footer-address i {
    margin-right: 8px;
}

.blog.grid-blog {
    border-radius: 10px;
}
.blog-image {
    border-radius: 15px 15px 0 0;
}

.hero-content p {
    margin: 20px 0;
    font-size: 18px;
    color: white;
}

.cta-btn {
    padding: 13px 15px;
    background-color: #ffcf4ed6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.doctor-image {
    /*  position: absolute;
    right: 10%;
    bottom: 0%; */
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    width: initial;
    height: initial;
    background: none;
    opacity: 1;
    border: 0px;
    margin: 0px;
    padding: 0px;
    position: absolute;
    inset: 0;
    /* position: absolute; */
    /* right: 5%; */
    /* top: -7%; */
    left: 43%;
}

.expert-info {
    text-align: left;
}

.expert-profile:hover .expert-info {
    background: #372974 !important;
}

.doctor-image img {
    /*   max-width: 100%;
    border-radius: 10px;
    max-height: 550px !important; */
    position: absolute;
    inset: 0px;
    box-sizing: border-box;
    padding: 0px;
    border: none;
    margin: auto;
    display: block;
    width: 0px;
    height: 0px;
    min-width: 50%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: fill;
    top: 11%;
}

.navbar-brand img {
    max-height: 71px;
    max-width: 163px;
}

.accordion-item {
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    margin: 0 0 17px !important;
}

.accordion-collapse {
    width: 100%;
    box-sizing: border-box;
    transition: max-height 0.3s ease;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 25px;
    border: 1px solid black;
    border-radius: 50%;
    font-size: 16px;
}

.doctor-card {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 170px;
    width: max-content;
    top: 200px;
    right: 10%;
    gap: 10px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.banner-img2 {
    position: absolute;
    top: 16%;
    right: 5%;
    animation: mover 3s infinite alternate;
}

.doctor-card p {
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 10px;
}

.book-now {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.small-doc-img {
    width: 81%;
    border-radius: 50%;
    object-fit: cover;
}

.checkup-badge {
    position: absolute;
    align-items: center;
    color: white;
    top: 300px;
    right: 31%;
    -webkit-animation: float 2s ease-in-out infinite;
    animation: float 2s ease-in-out infinite;
}

.checkup-badge img {
    width: 75%;
    max-height: 190px;
}

.checkmark {
    background-color: #007bff;
    color: white;
    border-radius: 20%;
    padding: 4px;
    margin-right: 8px;
    font-size: 16px;
    height: 20px;
    width: 30px;
}

.checkup-text {
    color: #333;
}

.meet-doctors {
    background-color: white;
    position: absolute;
    right: 30px;
    bottom: 10px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: fit-content;
}

.meet-doctors h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.doctors-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctors-list img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 5px;
    object-fit: cover;
}

.banner-img3 {
    position: absolute;
    top: 57%;
    left: 68%;
}

.banner-img3 img {
    width: 92%;
    border-radius: 50%;
    object-fit: cover;
    animation: mover 1s infinite alternate;
}

.more-doctors {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.partners-section {
    text-align: center;
    background-color: white;
    margin-top: 60px !important;
    padding: 0 0 !important;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.partners-logos img {
    width: 150px;
    height: 78px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    object-fit: inherit;
}

.partners-logos img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.why-different-section {
    padding-bottom: 50px;
    padding-top: 15px;
    text-align: center;
    background-color: white;
}

.why-different-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.why-different-section .highlight {
    color: #007bff;
}

.why-different-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* padding: 20px; */
    width: 250px;
    text-align: center;
    height: 220px !important;
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    height: 112px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
}

.impressions-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.dental_banner {
    /* display: flex; */
    /* justify-content: center; */
    /* gap: 120px; */
    padding: 15px;
    text-align: center;
    background-image: url(/assets/img/images/banner/bk_pattern.png) !important;
    background-size: cover;
    background-position: center;
    background-color: #eaeaf2 !important;
    background-repeat: no-repeat;
}

.images-container {
    display: flex;
    gap: 6px;
}

.images-container img {
    width: 300px;
    height: 426px;
    border-radius: 0px 0px 0px 50px;
    object-fit: fill;
}

.images-container .image2 {
    border-radius: 50px 0px 0px 0px;
}

@media (max-width: 768px) {
    .image2 {
        display: none;
    }
}

.content-container {
    text-align: left;
    width: 40%;
    padding-top: 5%;
}

.content-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}

.content-container p {
    font-size: 16px;
    color: #666;
    /*     margin-bottom: 30px; */
    line-height: 1.4;
}

.features-container {
    display: flex;
    gap: 7px;
}

.feature-box {
    background-color: white;
    padding: 10px 0px;
    border-left: 4px solid #e7b400;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: left;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 40px;
    width: 144px;
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides overflow if the text is too long */
    text-overflow: ellipsis; /* Adds ellipsis for truncated text */
}

.feature-box p {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    padding-left: 5px;
}

.feature-box:hover {
    background-color: #4e60ff;
    color: white;
    border-color: #4e60ff;
}

.dental-treatments-section {
    text-align: center;
    padding: 50px 200px;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.dental-treatments-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.highlight {
    color: #4e60ff;
    font-weight: bold;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.treatment-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 99%;
    display: flex;
    height: 40vh;
}

.treatment-card img {
    width: 100% !important;
    height: 250px;
    object-fit: cover;
}
.treatment-card .why_portugal_left_image {
    width: 90%;
    flex: 1;
}

.why_portugal_bottom_content {
    flex: 1;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    text-align: left;
}

.card-content h3 {
    font-size: 21px;
    margin-bottom: 10px;
    text-align: left;
    align-self: flex-start;
}

.card-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.learn-more-btn {
    padding: 10px 20px;
    background-color: #f6f7f9;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.learn-more-btn:hover {
    background-color: #362c80;
    color: white;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.prev-btn,
.next-btn {
    background-color: #333;
    color: white;
    font-size: 20px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-prev-btn,
.testimonial-next-btn {
    background-color: #333;
    color: white;
    font-size: 20px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why_portugal-prev-btn,
.why_portugal-next-btn {
    background-color: #333;
    color: white;
    font-size: 20px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.align {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.experts-section {
    text-align: center;
    padding: 50px;
    background-color: #fff;
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.experts-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.experts-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.experts-container {
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-owl-carousel .owl-stage {
    display: flex !important;
}

.testimonial-owl-carousel .owl-item {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding-right: 0; /* No padding between items */
    margin-right: 5px; /* Add small gap if needed */
}

.expert-img img {
    width: 94% !important;
    height: 344px !important;
    object-fit: fill;
}

.expert-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 260px;
    text-align: center;
    padding-bottom: 10px;
}

.expert-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-info {
    padding: 5px;
}

.card-info h2 {
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    padding-left: 16px;
    padding-top: 13px;
}

.card-info p {
    font-size: 16px;
    color: #666;
}

.view-all-btn {
    padding: 10px 30px;
    background-color: #4e60ff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.stats-section {
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 43px;
    text-align: center;

    background-image: url("/assets/img/images/banner/bk_statistics_banner.png") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stat-item {
    color: white;
    padding-top: 2%;
}

.stat-item h2 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: bold;
    color: white;
}

.stat-item h2 span {
    font-size: 24px;
    position: relative;
    bottom: 21px;
}

.accordion-item.aos.aos-init.aos-animate {
    background: white;
}
.stat-item p {
    font-size: 18px;
}

.faq-section {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    background-color: #f3f3f3 !important;
    margin-top: 0px !important;
    padding-top: 36px !important;
    padding-bottom: 53px !important;
}

.doctor-image-container {
    flex: 2.1;
    display: flex;
    justify-content: center;
    padding-bottom: 5%;
}

.doctor-image-container img {
    width: 100%;
    height: 355px;
}

.faq-content {
    flex: 2;
    padding-left: 30px;
}

.faq-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-content .highlight {
    color: #4e60ff;
}

.faq-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question {
    font-size: 16px;
}

.faq-item span {
    font-size: 20px;
    margin-left: 50px;
    color: #4e60ff;
}

.blogs-section {
    text-align: center;
    padding: 50px;
    background-color: #f3f3f3 !important;
}

.blogs-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.highlight {
    color: #4e60ff;
    font-weight: bold;
}

.blogs-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    font-weight: 700;
}

.blogs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

    width: 80% !important;
    max-width: 1020px !important;
    margin: 0 auto;
}

.owl-item {
    /* margin-right: -50px !important; */
    padding: 0 !important;
    /* width: 350px !important; */
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: left;
    position: relative;
}

.blog-card img {
    width: 100%;
    object-fit: cover;
}

.date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #4e60ff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.blog-content {
    padding: 13px;
    text-align: left;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info span {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.blog-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-content p {
    font-size: 13px !important;
    margin-bottom: 20px;
}
.footer-link-style {
    display: flex;
    gap: 5px;
}
.footer-one {
    background: #f9fcff !important;
    border-top: 1px solid #ebe4e4;
}
.footer-link {
    font-size: 13px;
}

.footer-top {
    background: #f9fcff !important;
}

.copyright {
    background: #f9fcff !important;
}

.copyright-menu {
    padding-left: 12%;
}

.footer-one .footer-bottom .copyright .policy-menu li::after {
    color: transparent !important;
}

.footer-one .footer-bottom .copyright .policy-menu li a:hover {
    color: #372974 !important;
}

.social-icons {
    text-align: right;
    padding-right: 15%;
}

.policy-menu {
    text-align: center !important;
}

.read-more {
    text-decoration: none !important;
    color: #362c80 !important;
    font-weight: bold;
    font-size: 14px !important;
}

.read-more:hover {
    text-decoration: underline;
}

.offer-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    padding-top: 0px !important;
}

.offer-text {
    color: white;
    max-width: 60%;
    padding-left: 40px;
}

.copyright-text {
    padding-left: 12%;
}

.offer-text h2 {
    color: white;
    font-size: 39px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.faq-info .accordion-button:not(.collapsed)::after {
    color: #ffffff !important;
}

.appointment-btn {
    padding: 12px 24px;
    background-color: white;
    color: #362c80;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.appointment-btn:hover {
    background-color: #dfe3ff;
}

.offer-image {
    height: 100%;
}

.offer-image img {
    width: 400px;
    height: 100%;
    object-fit: cover;
}

.blue-section {
    width: 80%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;

    background-image: url("/assets/img/images/banner/bk_statistics_banner.png");
    background-size: cover;
    /* Ensures the image covers the entire section */
    background-position: center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents tiling */
}

.view-reasons-btn {
    position: relative;
    top: 17%;
    padding: 7px 45px;
    display: block;
    margin: auto !important;
    text-align: center;
    width: 11rem;
}

.footer {
    background-color: #f7f9fc;
    padding: 50px 0 0 0;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: center;
}

.footer-section {
    flex: 1;
    margin: 0 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    font-weight: 700;
}

.footer-section h3:after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #333;
    margin-top: 10px;
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    color: #1f2937 !important;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #1f2937;
}

.footer-section ul li a:hover {
    color: #362c80;
}

.subscribe-form {
    margin-top: 20px;
}

.subscribe-form input[type="email"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 180px;
}

.subscribe-form button {
    padding: 10px 15px;
    background-color: #4e60ff;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
}

.subscribe-form button:hover {
    background-color: #3b4dbb;
}

.blog {
    padding: 0px !important;
    border: none !important;
    border-bottom: 2px solid #f0f0f0 !important;
}

.card-body {
    padding: 1rem !important;
}

.about-author-img {
    height: 137px !important;
    width: 160px !important;
}

.author-details {
    margin: 0 0 0 190px !important;
}

.author-details h4 {
    font-size: 15px !important;
}

.blog-date {
    font-size: 16px !important;
}

.card.post-widget {
    background-color: #f2f3f3 !important;
}
.blog_categories_header {
    background-color: #f2f3f3 !important;
}

.blog_categories_header h4 {
    position: relative;
    right: 2%;
    color: #424851;
    font-size: 20px;
    font-weight: 700;
}

.category-widget {
    background-color: #1e73be !important;
    border-bottom: 1px solid #0f172a !important;
}

.feature_posts_widget {
    border-bottom: 1px solid transparent !important;
}

.advantage_pagination nav {
    position: relative;
    right: 12%;
}

.advantage_post_list_title {
    font-size: 24px;
    color: #000;
    font-weight: 700;
    margin-top: 5px;
}
.feature_posts_widget h4 {
    position: relative;
    right: 3%;
    font-size: 20px;
    font-weight: 700;
}

.most_viwed_widget {
    background-color: #435a6f !important;
    border-bottom: 1px solid #0f172a !important;
}

.block-posts-featured li a {
    color: white !important;
    font-size: 14px !important;
}
.most_viwed_widget li a {
    color: white !important;
    font-size: 14px !important;
}

.posts_most_viwed_widget {
    border-bottom: 1px solid transparent !important;
}

.posts_most_viwed_widget h4 {
    position: relative;
    right: 2%;
    font-size: 20px;
    font-weight: 700;
}

.posts_most_viwed_card {
    position: relative;
    bottom: 22px;
}

.blogs_return {
    position: relative;
    bottom: 21px;
    font-size: 18px;
    color: #372974 !important;
}

#treatment {
    scroll-margin-top: 120px !important;
    position: relative;
}
#why_portugal {
    scroll-margin-top: 100px;
}
#testemunhos {
    scroll-margin-top: 60px;
}
/* #faq{
    scroll-margin-top:150px !important;
} */

#turismo {
    scroll-margin-top: 80px;
}

.portugal_dental_detail {
    background: transparent !important;
}

.advantages_treatment_detail {
    background: transparent !important;
    width: 81%;
    position: relative;
    left: 7%;
}

.readcrumb_detail {
    background: #ebebf2 !important;
}
.faq-accordion {
    font-size: 26px;
    font-weight: 700;
    gap: 0 !important;
}
.about-content-details p {
    color: #272b33 !important;
}

.why_portugal_intro h6 {
    text-align: right !important;
    color: #522f8d !important;
}

.why_portugal_intro h2 {
    font-weight: 600 !important;
    font-size: 28px !important;
    text-align: right;
}

.advantage_treatment_detail p {
    margin-bottom: 8px !important;
}

.advantage_treatment_detail {
    margin-bottom: 0px !important;
    font-size: 15px;
}

.language_switcher {
    position: relative;
    right: 0px !important;
}

.why_portugal_dental_container {
    width: 80%;
    display: flex;
    gap: 32px;
}

.blogs-section-web {
    display: block;
}
.blogs-section-mobile {
    display: none;
}

.features-container a {
    flex: 1;
}

@media (prefers-color-scheme: dark) {
    .iti {
        --iti-border-color: #5b5b5b;
        --iti-dialcode-color: #999999;
        --iti-dropdown-bg: #0d1117;
        --iti-arrow-color: #aaaaaa;
        --iti-hover-color: #30363d;
        --iti-path-globe-1x: url("../img/flags/globe_light.webp");
        --iti-path-globe-2x: url("../img/flags/globe_light@2x.webp");
    }
}
#error-msg {
    color: red;
}

#valid-msg {
    color: #00c900;
}

input.error {
    border: 1px solid #ff7c7c;
}

.hide {
    display: none;
}

.country-area {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    margin-bottom: 20px;
}

.banner_text_mobile {
    display: none;
}
.banner_text_web {
    display: block;
}

.testemunhos_section_size {
    width: 80%;
}

.header.header-fixed {
    background: #f9fcff !important;
}

.advantage_detail_image img {
    width: 52%;
    height: 284px;
}

.advantage_list_image img {
    height: 263px;
    width: 48%;
}

.advantage_detail_content {
    position: relative;
    left: 8%;
}

.why_portugal_list_image img {
    width: 53%;
    height: 300px;
}

.why_portugal_detail_image img {
    width: 55%;
    height: 310px;
}

.why_portugal_image_detail img {
    width: 55%;
    height: 281px;
}
.why_portugal_image_list img {
    width: 41%;
    height: 283px;
}

.testimonial_image img {
    width: 31%;
    height: 321px;
}

@media (max-width: 1024px) and (min-height: 200px) and (max-height: 395px) {
    body.fr .checkup-badge {
        display: none;
    }

    .banner-img3 img {
        display: none;
    }
}

@media (max-width: 768px) {
    .feature-box {
        width: initial;
    }

    .social-icons {
        text-align: center;
        padding-right: 0%;
        padding-top: 2%;
    }
    .doctor-image {
        display: none !important;
    }

    .banner-img2 {
        top: 20% !important;
        right: -35% !important;
    }

    .banner-img3 {
        top: 66% !important;
        left: 23% !important;
        right: -20px;
    }

    .checkup-badge {
        top: 370px !important;
        right: -19% !important;
    }

    .checkup-badge img {
        width: 62%;
    }

    .small-doc-img {
        width: 70%;
    }

    .hero-content {
        padding-left: 4px !important;
        position: relative;
        bottom: 5%;
    }
    .hero-content h1 span {
        font-size: 22px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
    }
    .banner_text_mobile {
        display: block;
    }
    .banner_text_web {
        display: none;
    }

    .banner-img3 img {
        width: 100%;
    }

    .why_portugal_dental_container {
        flex-wrap: wrap;
    }

    /* .images-container {
    flex-direction: column;
    gap: 16px;
  }

  .images-container img {
    width: 100%;
    height: 355px;
  } */

    /* .features-container {
    flex-direction: column;
    gap: 16px;
  } */

    /* .why_portugal_dental_feature-box {
    flex: 1 1 100%;
  }

  .why_portugal_content{
    width: 100%;
  }

  .why_portugal_content h2{
   font-size: 25px;
  } */

    /*   .view-reasons-btn {
    top: 8%;
} */

    /* .content-container p {
    font-size: 15px;
}
.content-container {
    width: 100% !important;
} */

    .dental-treatments-section {
        padding: 48px 1px;
    }

    .dental-treatments-section h2 {
        font-size: 26px;
    }

    .dental-treatment-carousel-controls {
        padding-right: 5%;
    }

    .treatment-card .why_portugal_left_image {
        width: 430px;
    }
   
    .stats-section {
        gap: 20px;
        flex-direction: column;
    }

    .why-different-section h2 {
        font-size: 26px;
    }

    .why-different-section p {
        font-size: 15px;
    }

    .faq-image_section {
        flex-direction: column;
        position: relative;
        left: 22px;
    }

    .blogs-section h2 {
        font-size: 29px;
    }

    .blogs-section-web {
        display: none;
    }
    .blogs-section-mobile {
        display: block;
    }
    .blue-section {
        width: 95%;
    }

    .blue-section {
        flex-direction: column;
        align-items: center;
    }

    .offer-text {
        padding-top: 16px;
        max-width: 100%;
    }

    .offer-text h2 {
        font-size: 26px;
    }

    .offer-image {
        margin-top: 20px;
    }

    .offer-image img {
        width: 370px;
    }

    .footer-content {
        flex-direction: column;
    }

    .return_advantages {
        right: 0 !important;
    }
    .advantage_detail_content {
        left: 0%;
    }

    .advantage_list_image img {
        height: 171px;
        width: 80%;
    }

    .advantage_detail_image img {
        height: 171px;
        width: 80%;
    }

    .advantage_list_content {
        padding: 20px;
    }

    .why_portugal_detail_content {
        left: 0% !important;
    }

    .why_portugal_list_image img {
        width: 78%;
        height: 234px;
    }
    .why_portugal_detail_image img {
        width: 78%;
        height: 254px;
    }

    .why_portugal_image_detail img {
        width: 68%;
        height: 214px;
    }

    .why_portugal_image_list img {
        width: 78%;
        height: 225px;
    }

    .header_menu {
        background-color: #372974 !important;
    }

    .advantage_menu_web {
        display: none !important;
    }

    /* Show the mobile-specific block */
    .advantage_menu_mobile {
        display: block !important;
    }
    .header_nav_bar span {
        background-color: #372974 !important;
    }

    /* .why_portugal_dental_container {
    width: 95%;
}

.feature-box {
    width: 180px; 
} */
    .advantage_divider {
        position: relative;
        left: 5%;
    }

    .blog_list_img_box {
        height: 198px;
    }

    .about-author-img {
        height: 232px !important;
    }
    .blog_list_image {
        width: 44% !important;
        height: 100% !important;
        bottom: 2%;
    }
}

@media (max-width: 999px) {
    .blogs-container .owl-stage {
        display: flex;
        justify-content: center;
    }

    .blogs-container .owl-item {
        display: flex;
        justify-content: center;
    }

    .treatment-card.aos-init.aos-animate {
        width: 67% !important;
    }

    .expert-img img {
        height: 305px !important;
    }
}

@media (min-width: 500px) and (max-width: 768px) {
    .why_portugal_image_list img {
        width: 51%;
        height: 283px;
    }

    .why_portugal_image_detail img {
        width: 52%;
        height: 225px;
    }

    .why_portugal_detail_image img {
        width: 50%;
        height: 243px;
    }

    .why_portugal_list_image img {
        width: 47%;
        height: 268px;
    }
    .banner-img3 {
        position: absolute !important;
        top: 57% !important;
        left: 68% !important;
    }

    .banner-img3 img {
        width: 92% !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        animation: mover 1s infinite alternate !important;
    }

    .banner-img2 {
        position: absolute !important;
        top: 16% !important;
        right: -5% !important;
        animation: mover 3s infinite alternate !important;
    }

    .checkup-badge {
        position: absolute !important;
        align-items: center !important;
        color: white !important;
        top: 300px !important;
        right: 31% !important;
        -webkit-animation: float 2s ease-in-out infinite !important;
        animation: float 2s ease-in-out infinite !important;
    }

    .checkup-badge img {
        width: 75% !important;
        max-height: 190px !important;
    }
    .treatment-card.aos-init.aos-animate {
        width: 47% !important;
    }

    .dental-treatments-section h2 {
        font-size: 35px;
    }

    .advantage_detail_image img {
        height: 181px;
        width: 55%;
    }

    .advantage_list_image img {
        width: 53%;
        height: 217px;
    }

    .stats-section {
        flex-direction: row;
    }

    .content-container {
        width: 78% !important;
    }

    .images-container img {
        height: 303px;
    }
}

@media (max-width: 768px) and (min-height: 350px) and (max-height: 470px) {
    .checkup-badge {
        top: 221px !important;
    }
}

@media (max-width: 500px) {
    a.view-all-btn.login_btn_color.view-reasons-btn {
        width: 12rem !important;
    }
    .content-container p {
        font-size: 15px;
    }
    .content-container {
        width: 100% !important;
    }

    .images-container {
        flex-direction: column;
        gap: 16px;
    }

    .images-container img {
        width: 100%;
        height: 355px;
    }

    .features-container {
        flex-direction: column;
        gap: 16px;
    }

    .why_portugal_dental_feature-box {
        flex: 1 1 100%;
    }

    .why_portugal_content {
        width: 100%;
    }

    .why_portugal_content h2 {
        font-size: 25px;
    }

    .view-reasons-btn {
        top: 8%;
    }

    .why_portugal_dental_container {
        position: relative;
        left: 12px;
        width: 100% !important;
    }
}

/*   @media (max-width: 1399px) and (min-width:1201px) {
    .header_menu{
        position: relative;
        bottom: 61%;
        left: 17%;
    }
  
  }

  @media (max-width: 1200px) and (min-width:1056px) {
    .header_menu{
        position: relative;
        bottom: 56%;
        left: 19%;
    }
  
  }


  @media (max-width: 1056px) and (min-width: 992px) {
    .header_menu{
        position: relative;
        bottom: 50%;
        left: 16%;
    }
  
  } */
@media (max-width: 685px) {
    .features-container {
        flex-direction: column;
    }

    .treatment-card img {
        object-fit: fill !important;
    }
}

@media (max-width: 1400px) and (min-width: 992px) {
    .header_menu {
        position: relative;
    }

    @media (max-width: 1400.98px) and (min-width: 1200px) {
        body.en .header_menu,
        body.pr .header_menu {
            bottom: 53%;
            left: 14%;
        }

        body.fr .header_menu {
            bottom: 53%;
            left: 13%;
        }
    }

    @media (width: 1400px) {
        body.en .header_menu,
        body.pr .header_menu {
            bottom: 0%;
            left: 0%;
        }

        body.fr .header_menu {
            bottom: 0%;
            left: 0%;
        }
    }

    @media (max-width: 1146px) and (min-width: 955px) {
        body.pr .header_menu {
            bottom: 53% !important;
            left: 15% !important;
        }
    }

    @media (max-width: 1200px) and (min-width: 1056px) {
        body.en .header_menu,
        body.pr .header_menu {
            bottom: 56%;
            left: 19%;
        }
        body.fr .header_menu {
            bottom: 52%;
            left: 16%;
        }
    }

    /* @media (width: 1200px) {
        body.en .header_menu,
        body.pr .header_menu,
        body.fr .header_menu {
            bottom: 0;
            left: 0;
        }
    } */

    @media (max-width: 1056px) and (min-width: 992px) {
        .header_menu {
            bottom: 50%;
            left: 16%;
        }
    }
}

@media (max-width: 997px) and (min-width: 768px) {
    .footer-section {
        margin: 0 0px !important;
    }

    .cards-container.why_portugal-owl-carousel.owl-carousel.owl-drag .owl-item {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 942px) and (min-width: 768px) {
    .footer .footer-bottom .copyright .policy-menu {
        font-size: 11px !important;
    }
    .footer-one .footer-bottom .copyright .copyright-text p {
        font-size: 13px !important;
    }
}

@media (max-width: 1065px) {
    .header-one .main-menu-wrapper .main-nav > li {
        margin-right: 4px !important;
    }
}

@media (max-width: 991.98px) {
    a.view-all-btn.login_btn_color.view-reasons-btn {
        padding: 6px 45px;
        /* width: 10rem; */
    }
    .header-one .main-menu-wrapper .main-nav > li > a:hover {
        color: white !important;
    }

    .header-one .main-menu-wrapper .main-nav > li.menu_active > a {
        color: white !important;
    }

    .header_menu {
        background-color: #372974 !important;
    }
    .advantage_menu_web {
        display: none !important;
    }

    .advantage_menu_mobile {
        display: block !important;
    }

    .register-btn {
        display: block !important;
    }

    .login_btn_color:hover {
        background-color: inherit !important;
        color: inherit !important;
        cursor: default !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .hero-content {
        padding-left: 28px;
    }
}

/* banner images setting for medium devices */
@media (max-width: 1035px) and (min-width: 821px) {
    body:not(.fr) .banner-img2 {
        top: 0%;
        right: -10%;
    }

    body:not(.fr) .banner-img3 {
        left: 61%;
    }
}

@media (max-width: 820px) and (min-width: 768px) {
    body:not(.fr) .banner-img2 {
        top: 9% !important;
        right: -17% !important;
    }
}

/* For French only (screens between 1084px and 1231px) */
@media (max-width: 1231px) and (min-width: 1084px) {
    body.fr .banner-img2 {
        right: -8%;
    }
}

/* For French only (screens between 768px and 1083px) */
@media (max-width: 1084px) and (min-width: 768px) {
    body.fr .banner-img2 {
        top: 27%;
        right: -8%;
    }

    body.fr .checkup-badge {
        top: 57%;
    }
}

@media (max-width: 1024px) and (min-height: 200px) and (max-height: 510px) {
    body.fr .banner-img2 {
        top: -13%;
    }
}

@media (max-width: 1024px) and (min-height: 395px) and (max-height: 510px) {
    body.fr .checkup-badge {
        right: 22%;
    }

    body.fr .banner-img3 img {
        width: 71%;
    }
}

@media (max-width: 1024px) and (min-height: 510px) and (max-height: 628px) {
    .checkup-badge {
        right: 42%;
        top: 68%;
    }

    .banner-img3 {
        left: 47%;
    }
    .banner-img3 img {
        width: 75%;
    }

    body.fr .banner-img2 {
        right: 0%;
        top: 43%;
    }
}

@media (max-width: 1024px) and (min-height: 435px) and (max-height: 515px) {
    body.en .banner-img3 img,
    body.pr .banner-img3 img {
        width: 67%;
    }

    body.en .checkup-badge,
    body.pr .checkup-badge {
        top: 266px;
    }
}

@media (max-width: 1024px) and (min-height: 200px) and (max-height: 435px) {
    body.en .banner-img3 img,
    body.pr .banner-img3 img {
        width: 66%;
    }

    body.en .banner-img3,
    body.pr .banner-img3 {
        top: 54%;
        left: 68%;
    }

    body.en .checkup-badge,
    body.pr .checkup-badge {
        display: none;
    }
}

@media (max-width: 1154px) and (min-width: 769px) {
    /*  .doctor-image{
        display: none;
    } */
    .header_nav_bar span {
        background-color: #372974 !important;
    }
    .content-container {
        width: 74% !important;
    }

    .feature-box {
        padding: 10px 14px !important;
    }

    .why_portugal_dental_container {
        width: 68%;
        display: block;
    }
    .why_portugal_content {
        width: 100%;
    }
    a.view-all-btn.login_btn_color.view-reasons-btn {
        top: 28px;
        padding: 7px 45px;
        /* left: 18%; */
    }
    .expert-profile .expert-info {
        padding: 20px !important;
    }
    .expert-profile .expert-info h5 {
        font-size: 17px !important;
    }
    .owl-item {
        margin-right: 20px;
    }

    .blogs-container .owl-item .item {
        width: 258px !important;
    }

    .offer-text h2 {
        font-size: 30px;
    }
    .offer-text {
        padding-left: 10px;
    }

    .footer-address i {
        margin-right: 0px;
    }
    /* .copyright-menu {
        padding-left: 2%;
    } */
    .treatment-card .why_portugal_left_image {
        width: 414px;
    }
    .footer-content {
        width: 84% !important;
    }
    .feature-box {
        width: initial;
    }
}

@media (max-width: 854px) and (min-width: 769px) {
    .footer-content {
        width: 93% !important;
    }
}

@media (max-width: 1450px) {
    /* body.fr .doctor-image{
        display: none;
    } */

    @media (max-width: 1400px) {
        body.fr .copyright-menu {
            padding-left: 0%;
        }
    }
}

@media (max-width: 1360px) and (min-height: 917px) {
    .content-container {
        padding-top: 0%;
    }
}

@media (max-width: 1237px) and (min-height: 917px) {
    .view-reasons-btn {
        top: 8%;
    }
}

@media (max-width: 1136px) {
    .expert-profile .expert-info {
        padding: 20px !important;
    }
    .expert-profile .expert-info h5 {
        font-size: 17px !important;
    }
}
@media (max-width: 1183px) and (min-height: 917px) {
    .view-reasons-btn {
        top: 4%;
    }

    .why_portugal_dental_container {
        width: 82%;
    }
}

@media (max-width: 1378px) and (min-height: 504px) {
    .content-container h2 {
        font-size: 26px;
    }
}

@media (max-width: 1256px) and (min-height: 504px) {
    .content-container h2 {
        font-size: 26px;
    }

    .view-reasons-btn {
        top: 8%;
    }
}

@media (max-width: 1286px) {
    .blogs-container .owl-item .item {
        width: 300px !important;
    }
}

@media (max-width: 1155px), (max-width: 1000px) {
    .blogs-container .owl-item .item {
        width: 260px !important;
    }
}

@media (max-width: 1200px), (max-width: 1069px) {
    .offer-text h2 {
        font-size: 33px;
    }
}

@media (max-width: 1200px), (max-width: 1069px) {
    .copyright-menu {
        padding-left: 2%;
    }
}

@media (max-width: 1096px), (max-width: 1070px) {
    .feature-box p {
        font-size: 11px;
    }
}
@media (max-width: 1233px) {
    .content-container {
        padding-top: 1% !important;
    }
    .why_portugal_dental_container {
        width: 85%;
    }
    .content-container {
        width: 45%;
    }

    .treatment-card.aos-init.aos-animate {
        display: flex;
        flex-direction: column;
        width: 87%;
    }

    .treatment-card img {
        height: 215px;
        object-fit: cover;
    }

    .why_portugal_bottom_content {
        height: 201px;
    }
    .treatment-card .why_portugal_left_image {
        width: 100%;
    }
    .treatment-card {
        height: 67vh;
    }
}

/* For screens between 1232px and 1055px */
@media (max-width: 1290px) and (min-width: 1096px) {
    .expert-img img {
        height: 285px !important;
    }
}

/* Additional media query if needed for screens between 1000px and 1054px */
@media (max-width: 1095px) and (min-width: 999px) {
    .expert-img img {
        height: 227px !important;
    }
}

@media (max-width: 769px) {
    .doctor-image {
        display: none;
    }
    .register-btn {
        display: none !important;
    }
    .cards-container.why_portugal-owl-carousel.owl-carousel.owl-drag .owl-item {
        display: flex;
        justify-content: center;
    }
    .learn-more-btn {
        position: relative;
        bottom: 13px;
    }
    .footer-section.services {
        margin-top: 26px !important;
    }

    .footer-section.contact {
        margin-top: 26px !important;
    }
}

@media (max-width: 360px) {
    .small-doc-img {
        width: 72%;
    }

    .banner-img2 {
        top: 25% !important;
        right: -35% !important;
    }
}

@media (max-width: 1225px) and (min-width: 1199px) {
    .header-one .main-menu-wrapper .main-nav > li {
        margin-right: 16px !important;
    }
}

/* .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #e9ecef;
    font-size: 14px;
    color: #666;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links li a {
    text-decoration: none;
    color: #666;
}

.footer-links li a:hover {
    color: #4E60FF;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a img {
    width: 25px;
    height: 25px;
} */

/* 
@media (min-width: 1200px) {
    .hero-content {
        left: 7%;
        top: 28%;
    }
}


@media (max-width: 1199px) and (min-width: 768px) {
    .hero-content {
        left: 5%;
        top: 25%;
        padding-left: 50px;
    }
}

@media (max-width: 767px) {
    .hero-content {
        left: 2%;
        top: 15%;
        max-width: 90%;
        padding-left: 20px;
    }
} */
