/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}
html
{
    overflow-x: hidden;
}
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}


/* Default (Desktop) */
.logo-img {
    height: 100px;
    width: 120px;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
    .logo-img {
        height: 80px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .logo-img {
        height: 70px;
    }
}
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: rgba(9, 30, 62, 0.4);   /* Very soft overlay (best for images) */
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/dental/caro3.png) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/dental/feed.png) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}




.banner .col-lg-4 > div {
    border-radius: 12px;
    transition: 0.3s;
}

.banner .col-lg-4 > div:hover {
    transform: translateY(-10px);
}


.quote-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.quote-mark {
    font-size: 80px;
    color: rgba(255,255,255,0.2);
    margin: 0;
    line-height: 1;
}

.quote-mark.end {
    position: absolute;
    right: 20px;
    bottom: 10px;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 28px;
}

.quote-sub {
    font-style: italic;
    opacity: 0.9;
}

.topbar-marquee {
    width: 100%;
    background: #f8f9fa;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    position: relative;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 18s linear infinite;
    font-size: 14px;
    color: #EEF9FF;
}

.marquee-content span {
    margin-right: 40px;
}

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.cta-box {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.cta-box:hover {
    transform: translateY(-10px);
}

.service-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box ul {
    padding-left: 18px;
    margin: 0;
}

.service-box ul li {
    margin-bottom: 6px;
    font-size: 14px;
}



 .testimonial .pic {
            width: 22%;
            padding: 20px 0;
            margin: 0 6% 0 2%;
            float: left;
            position: relative;
            z-index: 1;
        }

        .testimonial .pic:before,
        .testimonial .pic:after {
            content: "";
            width: 130px;
            height: 150px;
            background: #e1c37d;
            position: absolute;
            z-index: -1;
        }

        .testimonial .pic:before {
            top: 0;
            right: -20px;
        }

        .testimonial .pic:after {
            bottom: 0;
            left: -20px;
        }

        .testimonial .pic img {
            width: 100%;
            height: auto;
            border: 3px solid #e1c37d;
        }

        .testimonial .testimonial-content {
            width: 70%;
            float: right;
        }

        .testimonial .title {
            display: block;
            font-size: 25px;
            font-weight: 600;
            color: black;
            margin: 0;
            text-transform: uppercase;
            padding-top: 65px;
            padding-left: 15px;
        }

        .testimonial .post {
            display: block;
            font-size: 18px;
            font-weight: 400;
            line-height: 27px;
            color: black;
            text-transform: capitalize;
            margin-bottom: 25px;
            padding-left: 15px;
        }

        .testimonial .description {
            font-size: 20px;
            color: black;
            padding: 0 15px;
            margin: 0;
            position: relative;
        }

        .testimonial .description:before,
        .testimonial .description:after {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 17px;
            color: #e1c37d;
            position: relative;
        }

        .testimonial .description:before {
            content: "\f10d";
            margin-right: 5px;
            top: 0;
            left: 0;
        }

        .testimonial .description:after {
            content: "\f10e";
            margin-left: 5px;
            position: relative;
            bottom: 0;
            right: 0;
        }

        /* For tablets (max-width: 768px) */
        @media (max-width: 768px) {
            .testimonial .pic {
                width: 40%;
                /* Make the picture section larger for better visibility */
                margin: 0 auto;
                /* Center the picture */
                float: none;
                /* Disable floating for stacking */
            }

            .testimonial .testimonial-content {
                width: 100%;
                /* Expand the content to full width */
                float: none;
                /* Disable floating for stacking */
                text-align: center;
                /* Center-align the text */
            }

            .testimonial .title,
            .testimonial .post,
            .testimonial .description {
                padding-left: 0;
                /* Remove extra left padding */
            }
        }

        /* For smartphones (max-width: 480px) */
        @media (max-width: 480px) {
            .testimonial .pic {
                width: 50%;
                /* Adjust the size for smaller screens */
            }

            .testimonial .title {
                font-size: 16px;
                /* Reduce font size */
                padding-top: 20px;
                /* Adjust spacing */
            }

            .testimonial .post {
                font-size: 12px;
                /* Reduce font size */
                line-height: 20px;
                /* Adjust line height */
            }

            .testimonial .description {
                font-size: 14px;
                /* Adjust font size */
            }
        }



        /* Common Style */
.call-btn,
.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: blink 1.5s infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Call Button (LEFT) */
.call-btn {
    left: 20px;
    background: #007bff;
}

/* WhatsApp Button (RIGHT) */
.whatsapp-btn {
    right: 20px;
    background: #25d366;
}

/* Blink Animation */
@keyframes blink {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Hover */
.call-btn:hover,
.whatsapp-btn:hover {
    animation: none;
    transform: scale(1.1);
}