@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Poppins:wght@400;500;600;700&display=swap');

* {

    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

:root {

    --primary-font: "Montserrat", sans-serif;
    --secondary-font: "DM Sans", sans-serif;
    --tertiary-font: "Bebas Neue", sans-serif;
    --body-font: "Poppins", sans-serif;
    --primary-color: #0085d1;
    --secondary-color: #1a3d7e;
    --white: #ffffff;
    --text-light: #f8f9fa;
}

body {
    font-family: var(--body-font);
}

a {
    text-decoration: none;
    color: inherit;
}

.header-top {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    z-index: 1000;
}

.header-top a {
    color: var(--white);
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.header-top a:hover {
    opacity: 0.8;
    color: var(--white);
}

.header-top .top-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top .top-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

/* Follow Dropdown Override */
.follow-dropdown {
    padding: 10px 0;
    margin: -10px 0 0 0;
    display: inline-block;
}

.follow-dropdown>a {
    margin-left: 0 !important;
}

.follow-dropdown:hover .follow-menu {
    display: block !important;
    margin-top: 0;
    animation: dropdownFade 0.2s ease forwards;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.follow-menu {
    min-width: 160px;
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 0;
    right: 0 !important;
    left: auto !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.follow-menu .dropdown-item {
    font-family: var(--secondary-font);
    font-size: 15px;
    padding: 6px 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-left: 0 !important;
    color: var(--secondary-color) !important;
}

.follow-menu .dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
}

.follow-menu .social-text {
    font-weight: 500;
}

.social-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px 8px 0 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 12px;
    color: #ffffff;
}

.fb-box {
    background-color: #3b5998;
}

.tw-box {
    background-color: #1da1f2;
}

.yt-box {
    background-color: #ff0000;
}

.follow-menu .dropdown-item:hover .social-icon-box {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.follow-menu .dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Media Dropdown */
.custom-media-dropdown:hover .media-menu {
    display: block !important;
    margin-top: 0;
    animation: dropdownFade 0.2s ease forwards;
}

.media-menu {
    font-family: var(--secondary-font);
    font-size: 15px;
    min-width: 160px;
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 0;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.media-menu .dropdown-item {
    padding: 8px 20px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.media-menu .dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color);
    padding-left: 25px;
    /* Slight indent on hover */
}

.header-main {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: auto;
    width: 150px;
}

.mobile-logo {
    max-width: 120px;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 700;
    font-family: var(--primary-font);
    padding: 0.5rem 0 !important;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-item {
    margin-right: 30px;
}

.header-main .dropdown.me-4 {
    margin-right: 30px !important;
}

/* Specialties & Services Hover Dropdown */
.specialties-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.custom-dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    min-width: 250px;
}

@media (max-width: 991px) {
    .custom-dropdown-menu {
        min-width: 200px;
    }
}

.custom-dropdown-menu .dropdown-item {
    font-family: var(--secondary-font);
    font-size: 14px;
    color: var(--secondary-color);
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.custom-dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.header-right-btns {
    display: flex;
    align-items: center;
    gap: 30px;
}

.timetable-btn {
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
}

.timetable-btn i {
    font-size: 22px;
    margin-bottom: 3px;
    color: var(--primary-color);
}

.btn-appointment {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 133, 209, 0.2);
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-appointment:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 133, 209, 0.3);
}

.btn-appointment i {
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px;
    border-radius: 4px;
}

.divider {
    height: 40px;
    width: 1px;
    background-color: #e0e0e0;
    margin: 0 25px;
}

@media (max-width: 991px) {
    .introduction-card {
        padding: 30px;
    }

    .introduction-card h2 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .introduction-card {
        padding: 20px;
    }

    .introduction-card h2 {
        font-size: 22px;
    }

    .introduction-card h4 {
        font-size: 18px;
    }
}

/*-----------introduction------------------*/

.introductionbg {

    margin: 0px;
    padding: 60px 0px;
    background-image: url(../img/pattern.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.introduction-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #ebebeb;
}

.introduction-card h2 {
    color: var(--secondary-color);
    font-weight: 800;
    font-family: var(--tertiary-font);
    font-size: 32px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.introduction-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 20px;

}


.introduction-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: var(--secondary-font);
}

/*-----------best dentist section------------*/

.best-dentist-section {
    padding: 60px 0;
    text-align: center;
}

.best-dentist-title {
    font-family: var(--tertiary-font);
    color: var(--secondary-color);
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.best-dentist-text {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto 20px;
    font-weight: 400;
    font-family: var(--secondary-font);
}

/*-----------affordable-section------------*/

.affordable-section {
    padding: 80px 0 0;
    background-image: url(../img/pattern.png);
    background-size: initial;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    /* Ensures it sits over the why-choose-header */
}

.affordable-top {
    margin-bottom: 60px;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 64px;
    line-height: 1.2;
    font-family: var(--tertiary-font);
    letter-spacing: 4px;
}

.section-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.affordable-main {
    margin-top: -160px;
}

.affordable-card {
    background: var(--white);
    padding: 40px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    margin-top: 180px;

}

.affordable-card h5 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.affordable-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: var(--secondary-font);
}

.affordable-btns {
    display: flex;
    gap: 15px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-outline-dark {
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-color);
}

/* .affordable-img-wrapper {
    position: relative;
    z-index: 1;
} */

.affordable-img-wrapper img {
    width: 100%;
    object-fit: cover;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.play-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.why-choose-header {
    background-color: var(--secondary-color);
    position: relative;
    z-index: 1;
    /* Changed from -1 to enable pointer events */
    top: -200px;
    padding-top: 300px;
    padding-bottom: 100px;
}

.why-choose-header h2 {
    font-family: var(--tertiary-font);
    font-weight: 800;
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.why-choose-header p {

    margin-top: 60px !important;
}

.why-choose-header p a {
    color: white;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: var(--secondary-font);
    text-decoration: underline;

}

.why-choose-card {
    background: transparent;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    background-color: #3b5998;
    border-color: #3b5998;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 50%;
    /* Position relative to the icon area */
    left: 50%;
    transform: translate(-50%, -50%);
    /* Adjust based on icon size/position */
    width: 30px;
    height: 30px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    margin-top: -30px;
    /* offset to align with icon top */
}

.why-choose-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #d4af37;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    margin-top: -30px;
}

.why-choose-card:hover::before,
.why-choose-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a2a4b;
    border-radius: 50%;
    padding: 15px;
    transition: all 0.3s ease;
}

.why-choose-card:hover .card-icon {
    background-color: transparent;
    padding: 0;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.why-choose-card h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    font-family: var(--primary-font);
    line-height: 1.3;
}

.why-choose-card p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-family: var(--secondary-font);
    display: none;
}

.why-choose-card:hover p {
    display: block;
}

.card-caret {
    color: var(--white);
    font-size: 14px;
    margin-top: auto;
    transition: color 0.3s ease;
}

.why-choose-card:hover .card-caret {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .affordable-card {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .affordable-main {
        padding-bottom: 40px;
    }
}

/*-----------comfortable-section------------*/

.comfortable-section {
    padding: 100px 0;
    background-image: url(../img/comfortablebg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
    margin-top: -200px;
}

.comfortable-heading {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 36px;
    font-family: var(--primary-font);
    line-height: 1.4;
}

.comfortable-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}





.comfortable-card .card-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8f9fa;
    /* Light grey background for icon container */
}

.comfortable-card .card-img img {
    max-width: 60%;
    height: auto;
}

.comfortable-card h3 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--primary-font);
}

.comfortable-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-family: var(--secondary-font);
}

.comfortable-card .btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: transparent;
}

.comfortable-card:hover .btn-read-more {
    background-color: var(--secondary-color);
    /* Primary color on hover */
    color: var(--white);
    border-color: var(--secondary-color);
}

.comfortable-card:hover .btn-read-more i.fa-minus::before {
    content: "\f061";
    /* Changes the minus line to a right arrow */
}

/*-----------quality-section------------*/

.quality-section {
    padding: 100px 0;
    background-color: #f4f6f9;
    /* Light grey background */
}

.quality-heading {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 36px;
    font-family: var(--primary-font);
    line-height: 1.4;
    margin-bottom: 50px;
}

.quality-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: transform 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    /* Hover effect depth */
}

.quality-icon {
    width: 60px;
}

.quality-content h4 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--primary-font);
}

.quality-content p {
    color: #666;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 0;
    font-family: var(--secondary-font);
}

/*-----------experience-section------------*/

.experience-section {
    padding: 100px 0;
    background-image: url(../img/pattern.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.experience-content h2 {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 32px;
    font-family: var(--primary-font);
    line-height: 1.4;
    margin-bottom: 25px;
}

.experience-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
    font-family: var(--secondary-font);
}

/*-----------testimonial-section------------*/
.testimonial-section {
    padding: 80px 0;
    overflow: hidden;
    background-color: var(--white);
}

.testimonial-heading {
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: 800;
    font-family: var(--primary-font);
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}



.testimonial-images {
    position: relative;
    height: 450px;
    width: 100%;
}

.testimonial-images img {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.img-main {
    width: 250px;
    height: 300px;
    top: 20px;
    right: 20px;
    border-radius: 30px;
    border-top-left-radius: 4px;
    z-index: 2;
}

.shape-grey {
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: #e6e8f4;
    top: 0;
    right: 230px;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    z-index: 1;
}

.img-small-1 {
    width: 200px;
    height: 200px;
    top: 100px;
    left: 0;
    border-radius: 20px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 10px;
    z-index: 3;
}

.img-small-2 {
    width: 120px;
    height: 120px;
    bottom: 0px;
    right: 120px;
    border-radius: 20px;
    border-bottom-left-radius: 40px;
    z-index: 4;
}

.shape-light-blue {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #c0f4f7;
    bottom: 60px;
    left: 40px;
    border-radius: 40px;
    border-bottom-right-radius: 0;
    z-index: 1;
}

.testimonial-content-wrapper {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 30px;
}

.testimonial-content-wrapper::after {
    content: '\201C';
    font-family: inherit;
    position: absolute;
    top: -50px;
    right: 0px;
    font-size: 180px;
    color: #f0f2f5;
    z-index: -1;
    line-height: 1;
    font-weight: bold;
}

.testimonial-text {
    font-family: var(--secondary-font);
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
}

.testimonial-author {
    margin-top: 30px;
}

.author-img-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    background-color: #ffe8dd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.author-img-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffe8dd;
    border-radius: 30px 40px 30px 20px;
    z-index: -1;
    transform: scale(1.1);
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-badge {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 10px;
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -30px !important;
    position: relative;
    z-index: 5;
    padding-right: 20px;
}

.testimonial-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aab8c2;
    margin: 0 6px;
    transition: all 0.3s ease;
    display: block;
}

.testimonial-carousel .owl-dots .owl-dot.active span {
    background: transparent;
    position: relative;
    border: 1px solid #00bcd4;
    width: 12px;
    height: 12px;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 991px) {
    .testimonial-images {
        height: 380px;
        margin-bottom: 20px;
    }

    .img-main {
        width: 200px;
        height: 200px;
        right: 10%;
    }

    .shape-grey {
        right: calc(10% + 180px);
    }

    .img-small-1 {
        width: 120px;
        height: 120px;
        top: 100px;
        left: 5%;
    }

    .img-small-2 {
        width: 100px;
        height: 100px;
        bottom: 40px;
        right: 20%;
    }

    .shape-light-blue {
        bottom: 30px;
        left: 15%;
    }

    .testimonial-carousel .owl-dots {
        justify-content: center;
        margin-top: 20px !important;
        padding-right: 0;
    }

    .testimonial-content-wrapper::after {
        display: none;
    }
}

/*-----------book-appointment-section------------*/
.book-appointment-section {
    position: relative;
    padding: 80px 0;
    margin-top: 50px;
    background-image: url('../img/treatment.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.book-appointment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 61, 126, 0.85);
    z-index: -1;
}

.appointment-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.appointment-left {
    position: relative;
    background-image: url('../img/testimonial-1.jpg');
    background-size: cover;
    background-position: top center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    min-height: 420px;
}

.appointment-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 133, 209, 0.95) 0%, rgba(0, 133, 209, 0.3) 60%, rgba(0, 133, 209, 0) 100%);
}

.appointment-left .left-content {
    position: relative;
    z-index: 2;
}

.appointment-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: var(--primary-font);
    line-height: 1.3;
}

.appointment-left p {
    font-size: 14px;
    font-family: var(--secondary-font);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

.custom-input {
    background-color: #ebfcfd;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 12px 15px;
    color: #444;
    font-family: var(--secondary-font);
    font-size: 13px;
    height: 48px;
}

.custom-input::placeholder {
    color: #444;
}

.custom-input:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 133, 209, 0.25);
}

.form-select.custom-input {
    color: #444;
    font-size: 13px;
}

.captcha-box {
    background-color: #ebfcfd;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 6px 10px;
    height: 48px;
}

.captcha-code {
    background-color: #1a5682 !important;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}

.custom-btn-submit {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-btn-submit:hover {
    background-color: #1a5682;
    color: var(--white);
}

@media (max-width: 991px) {
    .appointment-right {
        padding: 30px !important;
    }
}

@media (max-width: 767px) {
    .appointment-left {
        min-height: 300px;

        padding: 0px 20px;
        padding-bottom: 30px;
        padding-top: 30px !important;
    }
}

/*-----------faq-section------------*/
.faq-section {
    padding: 80px 0;
}

.faq-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--primary-font);
}

.faq-accordion {
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-icon {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.faq-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-family: var(--primary-font);
    font-size: 16px;
}

.faq-answer {
    padding: 0 0 20px 35px;
    color: #666;
    font-size: 14.5px;
    line-height: 1.7;
    font-family: var(--secondary-font);
}

.faq-question.active .faq-icon i::before {
    content: "\f068";
    /* minus icon */
}

.see-all-faq {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--primary-font);
    transition: color 0.3s;
}

.see-all-faq:hover {
    color: var(--secondary-color);
}

.see-all-faq i {
    font-size: 12px;
    margin-left: 5px;
}

.faq-banner-card {
    border: 1px solid #e0e0e0;
}

.faq-banner-img {
    height: 300px;
    object-fit: cover;
}

.faq-banner-badge {
    width: 70px;
    height: 70px;
    left: 50%;
    transform: translateX(-50%);
    top: 275px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 2px solid var(--secondary-color);
}

@media (max-width: 991px) {
    .faq-banner-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/*-----------footer-section------------*/
.footer-section {
    background-color: var(--secondary-color);
}

.footer-heading {
    font-size: 16px;
    font-family: var(--primary-font);
}

.footer-text {
    color: #b0c4de;
    font-family: var(--secondary-font);
}

.footer-phone {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-phone:hover span {
    color: var(--primary-color) !important;
}

.footer-directions {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-directions:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0c4de;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--secondary-font);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-banner {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Hamburger Menu */
.custom-toggler {
    border: none;
    background: transparent;
    padding: 4px;
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.custom-toggler:focus {
    box-shadow: none;
    outline: none;
}

.custom-toggler .toggler-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Optional animation when menu is open */
.custom-toggler[aria-expanded="true"] .top-bar {
    transform: translateY(6px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .middle-bar {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .bottom-bar {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile responsive menu overrides */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        margin-top: 15px;
    }

    .navbar-nav .nav-item {
        margin-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 15px 0 !important;
        font-size: 16px;
    }

    /* Force flex layout only on mobile for dropdown links */
    .nav-link.has-mobile-dropdown {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-dropdown-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #e6ffff;
        /* Very light cyan/blue matching screenshot */
        color: var(--secondary-color);
        border-radius: 4px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .dropdown-menu {
        border: none;
        background-color: #f8f9fa;
        padding-left: 15px;
        margin-top: 0;
    }

    .quality-heading {

        font-size: 24px;
        margin-bottom: 0;
    }

    .experience-content h2 {

        font-size: 24px;
    }

    .testimonial-heading {

        font-size: 24px;
    }

    .appointment-left h2 {

        font-size: 24px;
    }

    .faq-heading {

        font-size: 24px;
    }

    .comfortable-heading {

        font-size: 24px;
    }

    .why-choose-header h2 {

        font-size: 24px;
    }

    .best-dentist-title {

        font-size: 24px;
    }

    .introduction-card h2 {

        font-size: 24px;
    }

    .best-dentist-section {

        padding-bottom: 20px;
    }
}

/* ========================================================================= */
/* Internal Banner Styles */
/* ========================================================================= */
.internal-page-banner {
    background-color: var(--secondary-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.internal-page-banner .banner-title {
    color: var(--white);
    font-family: var(--primary-font);
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 5px;
}

.internal-page-banner .breadcrumb {
    background: transparent;
    padding: 0;
}

.internal-page-banner .breadcrumb-item {
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 500;
}

.internal-page-banner .breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.internal-page-banner .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.internal-page-banner .breadcrumb-item.active {
    color: var(--white);
}

.internal-page-banner .breadcrumb-item+.breadcrumb-item::before {
    color: var(--white);
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .internal-page-banner .banner-title {
        font-size: 28px;
    }

    .internal-page-banner {
        padding: 40px 0;
    }
}

/* ========================================================================= */
/* Internal Page Content & Sidebar Form Styles */
/* ========================================================================= */
.content-intro-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #444;
}

.content-subheading {
    color: var(--secondary-color);
    font-weight: 700;
    font-family: var(--primary-font);
    font-size: 22px;
}

/* Sidebar Form */
.sticky-sidebar-form {
    position: sticky;
    top: 100px;
}

.sidebar-form-card {
    background-color: var(--white);
    border: 1px solid var(--secondary-color);
    overflow: hidden;
}

.sidebar-input {
    background-color: #f0fbff;
    /* Very light blue matching screenshot */
    border: 1px solid var(--primary-color);
    /* Theme blue border */
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
}

.sidebar-input:focus {
    background-color: #e6f7ff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 61, 126, 0.25);
}

.sidebar-input::placeholder {
    color: #6c757d;
    font-size: 13px;
}

/* Custom Accordion for Content Pages */
.custom-content-accordion .accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.custom-content-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.custom-content-accordion .accordion-button {
    background-color: #fff;
    color: #333;
    padding: 15px 20px;
    font-size: 15px;
    box-shadow: none;
}

.custom-content-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    /* Red text when active */
    background-color: #f8fbff;
    /* Light blue bg */
    border-bottom: 1px solid #cce0f5;
}

.custom-content-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border: 1px solid #aecdf2;
    /* Blue border for active item */
}

.custom-content-accordion .accordion-body {
    padding: 20px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
}

/* Custom bullet list */
.custom-bullets li {
    position: relative;
    margin-bottom: 10px;
    list-style: none;
    color: #555;
}

/* =========================================
   Doctor Profile About Us Page Styles
   ========================================= */

.doctor-profile-hero {
    position: relative;
    overflow: hidden;
}

.doctor-profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(237, 50, 55, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.doctor-profile-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
    border-radius: 50%;
    pointer-events: none;
}

.doctor-img-wrapper {
    position: relative;
    transform: translateY(20px);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.doctor-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.doctor-img-wrapper img {
    position: relative;
    z-index: 2;
    mask-image: linear-gradient(to top, transparent 2%, black 15%);
    -webkit-mask-image: linear-gradient(to top, transparent 2%, black 15%);
}

.doctor-details-content p {
    text-align: justify;
}

/* Core Values Icons */
.icon-box img {
    transition: transform 0.3s ease;
}

.icon-box:hover img {
    transform: scale(1.1) rotate(5deg);
}

.z-index-1 {
    z-index: 1;
}

/* =========================================
   Photo Gallery & Custom Lightbox Styles
   ========================================= */

/* Gallery Item Styling */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background-color: #000;
}

.gallery-item img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 133, 209, 0.7);
    /* Primary color with opacity */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Custom Lightbox Modal */
.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-height: 85vh;
    max-width: 90vw;
    object-fit: contain;
    animation: zoomIn 0.3s;
    border: 3px solid #fff;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.8);
}

/* =========================================
   Video Gallery Styles
   ========================================= */

.videogallerybox {

    margin: 0px;
    padding: 0px;
    width: 100%;
    margin-top: 40px;
    display: block;
    margin-bottom: 40px;
}

.videogallerybox1{

    margin: 0px;
    padding: 0px;
    width: 100%;
    display: block;
}
 
 
/*------------------------------blog-----------------------------*/
.blog-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}




.blog-section .container {
    position: relative;
    z-index: 1;
}

.blog-section-title {
    font-family: var(--primary-font);
    color: #333;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 10px;
}

.blog-section-subtitle {
    font-family: var(--secondary-font);
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}

.blog-card {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.blog-thumbnail {
    height: 220px;
    background-color: #fcfcfc;
    position: relative;
    padding: 15px;
    overflow: hidden;
}

.thumb-shape-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--primary-color);
    opacity: 0.7;
    border-bottom-left-radius: 100%;
    z-index: 1;
}

.thumb-shape-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 170px;
    background-color: rgba(255, 255, 255, 0.4);
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 30%;
    z-index: 2;
}

.thumb-shape-3 {
    position: absolute;
    bottom: -20px;
    right: 50px;
    width: 150px;
    height: 150px;
    background-color: rgba(0, 133, 209, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.thumb-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    width: 80px;
}

.thumb-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.thumb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 3;
    padding-top: 25px;
}

.thumb-text {
    width: 60%;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    position: relative;
    z-index: 5;
}

.t-line-1 {
    font-family: var(--secondary-font);
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.t-line-2 {
    font-family: var(--secondary-font);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 5px;
}

.t-line-3 {
    font-family: var(--primary-font);
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary-color);
    padding: 3px 6px;
    display: inline-block;
    align-self: flex-start;
    text-transform: uppercase;
}

.thumb-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 4;
}

.thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-family: var(--primary-font);
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-bottom: 5px;
}

.author-info {
    font-size: 13px;
}

.author-name {
    color: var(--primary-color);
    font-weight: 600;
}

.read-more {
    font-family: var(--secondary-font);
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-color);
}

/*------------------------------blog details-----------------------------*/
.blog-details-thumbnail {
    height: 400px;
    background-color: #fcfcfc;
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    border-radius: 4px;
}

.blog-details-thumbnail .thumb-shape-1 {
    width: 250px;
    height: 250px;
}

.blog-details-thumbnail .thumb-shape-2 {
    width: 220px;
    height: 270px;
}

.blog-details-thumbnail .thumb-shape-3 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 150px;
}

.blog-details-thumbnail .thumb-logo {
    width: 120px;
    top: 30px;
    left: 30px;
}

.blog-details-thumbnail .thumb-content {
    padding-top: 60px;
}

.blog-details-thumbnail .thumb-text {
    width: 55%;
}

.blog-details-thumbnail .t-line-1 {
    font-size: 18px;
    margin-bottom: 5px;
}

.blog-details-thumbnail .t-line-2 {
    line-height: 1.1;
    margin-bottom: 12px;
}

.enquiry-widget input:focus, 
.enquiry-widget textarea:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: #fff !important;
}


/*------------------------before&aftergallery--------------------*/

.before-after-gallery {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.ba-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.ba-slider-container {
    position: relative;
    width: 100%;
    /* Keep aspect ratio based on images, or set a fixed height */
    height: 350px; 
    overflow: hidden;
    cursor: ew-resize; /* Indicate horizontal resizing */
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Let events pass to container */
}

/* The 'after' image sits behind by default.
   The 'before' image is on top and gets clipped. */
.ba-img-before {
    z-index: 2;
}

.ba-img-after {
    z-index: 1;
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Initial position */
    width: 2px; /* Line width */
    background-color: transparent; /* Invisible line, only handle visible */
    z-index: 3;
    pointer-events: none; /* Let parent handle events */
}

.ba-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center on the line */
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
}

/* Add small arrows inside buttons if not using icons */
.ba-slider-button::before,
.ba-slider-button::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
}

.ba-slider-button::before {
    border-width: 5px 6px 5px 0;
    border-color: transparent #333 transparent transparent;
    margin-right: 4px;
}

.ba-slider-button::after {
    border-width: 5px 0 5px 6px;
    border-color: transparent transparent transparent #333;
    margin-left: 4px;
}


.ba-card-title {
    background-color: #2F3E66; /* Specific dark blue from image */
    color: var(--white);
    text-align: center;
    padding: 15px 20px;
    font-family: var(--primary-font);
    font-weight: 800;
    font-size: 18px;
    margin: 0;
}

/*------------------------terms and conditions--------------------*/

.terms-section {
    padding: 60px 0;
    font-family: var(--secondary-font);
    background-color: var(--white);
}

.terms-section h2 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 25px;
    font-family: var(--primary-font);
}

.terms-section h3 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 20px;
    margin-top: 35px;
    margin-bottom: 20px;
    font-family: var(--primary-font);
}

.terms-section p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/*------------------------appointment form--------------------*/

.appointment-wrapper {
    background-image: url('../img/pattern.png');
    background-size: cover;
    background-color: #f4fcff;
    padding: 80px 0;
}
.appointment-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
.appointment-card h2 {
    color: var(--secondary-color);
    font-family: var(--primary-font);
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 20px;
}
.appointment-card p {
    color: #555;
    font-family: var(--secondary-font);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.appointment-input {
    background-color: #ebf5fa !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    width: 100%;
    font-family: var(--secondary-font);
}
.appointment-input:focus {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 133, 209, 0.25);
    outline: none;
}
.appointment-select {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20d%3D%22M2%204l4%204%204-4%22%20fill%3D%22none%22%20stroke%3D%22%23333%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 12px 12px;
    appearance: none;
    -webkit-appearance: none;
}
.btn-make-appointment {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--primary-font);
    font-size: 16px;
    transition: all 0.3s ease;
}
.btn-make-appointment:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
@media (max-width: 768px) {
    .appointment-card {
        padding: 30px 20px;
    }
}

/*------------------------Floating Contact Buttons--------------------*/

.floating-contact-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1050;
}

.floating-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white) !important;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-5px);
    color: var(--white) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background-color: #25D366; /* Official WhatsApp green */
}
.whatsapp-btn:hover {
    background-color: #20BA56;
}

.phone-btn {
    background-color: var(--primary-color);
}
.phone-btn:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .floating-contact-container {
        bottom: 20px;
        left: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    }


/*------------------------Scroll to Top Button--------------------*/

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
