@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    text-transform: capitalize;
}


:root {

    --primary: #000000;
    --secondary: #CC9955;
    --light: #EEF9FF;
    --button: #F57E57;
    --activebtn: #fff;
    --buttonnav: #CC9955;
    --main-fontFamily: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    --second-fontFamily: "Prata", Sans-serif;
    font-size: 16px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 700;
}

h2 {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem !important;
    }

    .display-2 {
        font-size: 2rem !important;
    }

    .display-3 {
        font-size: 1.5rem !important;
    }
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;

}


h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;

}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;

}

.btn {
    font-family: var(--main-fontFamily);
    font-weight: 600;
    transition: .5s;
}

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

.btn-primary {
    background: #06A3DA;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #0588B8;
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(80, 135, 212, 0.4);

}

.btn-secondary {
    background: #F57E57;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(245, 126, 87, 0.3);
}

.btn-secondary:hover {
    background: #E06A45;
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(245, 126, 87, 0.4);
}

.btn-light {
    color: #000000;
    background-color: #FFF8F0;
    border: 2px solid #FFF8F0;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-light:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.btn-dark {
    color: #FFFFFF;
    /* White text */
    background-color: #000000;
    /* Pure black */
    border: 2px solid #000000;
    /* Match background (no border jump on hover) */
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-dark:hover {
    background-color: #20314b;
    color: #ffffff;
    border-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-brown {
    background-color: var(--secondary);
    color: #fff;
    border: 2px solid #000;
    padding: 10px 22px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-brown:hover {
    background-color: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 10px 22px;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(245, 163, 87, 0.36);

}

.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;
}

.bg-dark {
    background-color: var(--primary) !important;
}

.bg-brown {
    background-color: var(--secondary);
}

.text-brown {
    color: var(--secondary);
}

.text-white {
    color: #fff;
}

.text-secondary {
    color: #E06A45;
}


#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: 10px;
    bottom: 15px;
    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: var(--main-fontFamily);
    padding: 35px 15px;
    font-size: 18px;
    color: var(--buttonnav);
    outline: none;
    transition: .5s;
}

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

.navbar-light .navbar-nav .show>.nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--activebtn) !important;
}

@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 65%);
    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(rgb(9 10 11 / 85%), rgb(15 17 20 / 85%)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.hero-headergall {
    background: linear-gradient(rgb(9 10 11 / 85%), rgb(15 17 20 / 85%)), url(../img/gallery.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgb(245 126 87);
}

.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/carousel-1.jpg) 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: linear-gradient(rgba(0, 0, 0, 0.9), rgba(16, 13, 13, 0.9)) 0% 0% / cover, url(img/carousel-1.jpg) center center no-repeat;
    visibility: visible;
    animation-delay: 0.1s;
    animation-name: fadeInUp;
}

.testimonial-carousel {
    background: #136d00;
}

.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;
}

.msg_box {
    /* margin-right: 20px; */
    position: fixed;
    right: 0px;
    z-index: 10;
    top: 82%;
    padding: 8px;
    grid-area: 1 / 1 / 2 / 2;
    pointer-events: auto;
    border: 2px solid #00d757;
    background-color: #00d757;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 70px;
    overflow: hidden;
    /* margin: auto; */
}

.msg_box a {
    align-items: center;
    display: flex;
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
}

.msg_box a i {
    transition: font-size 0.3s ease;
}

.msg_box:hover {
    width: 160px;
}

.msg_box:hover a::after {
    content: "Chat with us";
    margin-left: 10px;
    white-space: nowrap;
    font-size: 16px;
}

/* img.position-absolute.w-100.h-100.twentytwenty-after {
    padding-left: 171px;
} */

.navbar-light .navbar-toggler
 {
    color: rgba(0, 0, 0, 0.55);
    border-color: rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* Force all service items to equal height */
.service-item {
    display: flex;
    flex-direction: column;

}

/* Make image containers flexible */
.rounded-top {
    flex: 1;
   max-height: 250px;
}


/* Parent container for price items */
.price-carousel .price-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensures all items stretch to same height */
}

/* Image section - fixed height */
.price-item .position-relative {
    height: 300px;
    /* Adjust as needed */

}

/* Force images to fill container */
.price-item .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Prevents distortion */
}

/* Content section - flexible but consistent */
.price-item .bg-secondary {
    flex: 1;
    /* Expands to fill remaining space */
    min-height: 250px;
    /* Minimum height for content */
    display: flex;
    flex-direction: column;
}

/* Button alignment */
.price-item .btn {
    white-space: nowrap;
    /* Prevents button text wrapping */
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus .nav-link.active {
    color: #fff !important;
}

.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: #fff;
}

.custom-img-height {
    height: 500px;
    object-fit: cover;
    width: 100%;
    border: 5px solid #534431;
}
.logo{
    width: 75%;
}
@media (max-width: 768px) {
    .custom-img-height {
        height: 180px;
    }
    .logo{
    width: 100%;
}
}

@media (max-width: 576px) {
    .custom-img-height {
        height: 150px;
    }
}



/* General Responsive Adjustments */
@media (max-width: 1199.98px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {

    /* Carousel adjustments */
    .carousel-caption {
        bottom: 20%;
    }

    /* Banner adjustments */
    .banner .col-lg-4 {
        margin-bottom: 15px;
    }

    /* About section */
    .about-section img {
        margin-top: 30px;
    }

    /* Appointment form */
    .appointment-form {
        padding: 30px !important;
    }
}

@media (max-width: 767.98px) {

    /* Carousel adjustments */
    .carousel-caption {
        bottom: 10%;
        height: 30vh;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption h5 {
        font-size: 1rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px !important;
        height: 30px !important;
    }

    /* Banner adjustments */
    .banner .col-lg-4 {
        margin-bottom: 15px;
    }

    /* Service items */
    .service-item {
        margin-bottom: 20px;
    }

    /* Testimonial section */
    .testimonial-carousel {
        padding: 20px !important;
    }

    /* Hide one of the images on small screens */
    .testimonial-section img {
        display: none;
    }
}

@media (max-width: 575.98px) {

    /* Carousel adjustments */
    .carousel-caption {
        bottom: 5%;
        height: 30vh;
    }
        .carousel-item img {
        height: 30vh !important;
    }

    .carousel-caption h1 {
        font-size: 1rem;
    }

    /* Button adjustments */
    .btn {
        padding: 0.5rem 1rem;
    }

    /* Appointment form */
    .appointment-form {
        padding: 15px !important;
    }

    /* Treatment costs carousel */
    .price-carousel .price-item {
        width: 100%;
    }

    /* General spacing adjustments */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Font size adjustments */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p,
    li {
        font-size: 0.9rem;
    }
}

/* Specific component adjustments */
/* Carousel height on mobile */
@media (max-width: 767px) {
    .container-fluid.p-0 {
        max-height: 60vh;
    }

    .carousel-item img {
        height: 30vh;
    }
}

/* Banner boxes height adjustment */
@media (max-width: 991px) {

    .banner .bg-primary,
    .banner .bg-dark,
    .banner .bg-secondary {
        height: auto !important;
        padding: 20px !important;
        margin-top: 15px;
    }
}

/* Service items stacking */
@media (max-width: 767px) {
    .service-item {
        margin-bottom: 20px;
    }
}

/* Testimonial section stacking */
@media (max-width: 991px) {
    .testimonial-section .col-lg-5 {
        display: none;
    }

    .testimonial-section .col-lg-7 {
        width: 100%;
    }
}

/* Price carousel adjustments */
@media (max-width: 767px) {
    .price-carousel .price-item {
        margin: 0 auto;
        max-width: 300px;
    }
}

/* Form inputs adjustment */
@media (max-width: 575px) {

    .appointment-form input,
    .appointment-form select,
    .appointment-form .datetimepicker-input {
        height: 45px !important;
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: .125rem;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>.dropdown-toggle:after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    float: right;
    margin-top: 7px;
}

.bg-CC9955 {
    background-color: #CC9955;
}

.text-CC9955 {
    color: #CC9955;
}

.btn-outline-CC9955 {
    color: #CC9955;
    border-color: #CC9955;
}

.btn-outline-CC9955:hover {
    background-color: #CC9955;
    color: #000;
}

.before-after-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.before-after-container img {
    display: block;
    width: 100%;
    height: auto;
}

.after-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.before-after-label {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}

.before-after-label .before {
    margin-left: 10%;
}

.before-after-label .after {
    margin-right: 10%;
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

button.btn.btn-outline-CC9955.text-warninig.active

 {
    background-color: #cc9955;
    color: #fff;
}


        .counter-card {
            background-color: #000000;
            border-radius: 15px;
            padding: 40px 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border: none;
        }
        
        .stat-item {
            padding: 20px 10px;
            transition: all 0.3s ease;
        }
        
        .stat-item:hover {
            transform: translateY(-5px);
        }
        
        .counter-icon {
            font-size: 3.5rem;
            margin-bottom: 15px;
            color: #2a9d8f;
        }
        
        .counter {
            color: #ffffff;
            font-size: 2.8rem;
            font-weight: 700;
            margin: 10px 0;
            font-family: 'Arial', sans-serif;
        }
        
        .counter-label {
            color: #ffffff;
            font-size: 1.1rem;
            text-transform: capitalize;
            letter-spacing: 1px;
            margin-top: 5px;
            font-weight: 500;
        }
        
        /* Individual icon colors */
        .fa-heartbeat { color: #e74c3c; }
        .fa-procedures { color: #44db34; }
        .fa-smile { color: #f39c12; }
        .fa-globe { color: #00a8ff; }
        
        @media (max-width: 768px) {
            .counter-icon {
                font-size: 2.8rem;
            }
            .counter {
                font-size: 2.2rem;
            }
        }