/* Font Faces */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/SourceSansPro-Regular.woff") format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/SourceSansPro-It.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-It.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/SourceSansPro-ExtraLight.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-ExtraLight.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/SourceSansPro-ExtraLightIt.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-ExtraLightIt.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/SourceSansPro-Light.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-Light.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/SourceSansPro-LightIt.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-LightIt.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/SourceSansPro-Semibold.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-Semibold.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/SourceSansPro-SemiboldIt.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-SemiboldIt.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/SourceSansPro-Bold.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/SourceSansPro-BoldIt.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-BoldIt.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/SourceSansPro-Black.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-Black.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/SourceSansPro-BlackIt.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/12183/SourceSansPro-BlackIt.woff') format('woff');
}


/* General Styles */
/* *{
    outline: 1px solid red;
    } */
body {
    font-family: 'Source Sans Pro', sans-serif;
}
html{
    height: 100%;
  margin: 0;
}

.section_title_sub{
    color: #4d4d4d  ;
    font-weight: 700;
    font-size: 25px;
}

/* Header Wrapper Styles */
.header_wrapper {
    background-color: #f0f8ff;
    width: 100%;
    top: 0;
    padding-top: 50px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures full viewport height */
  }
section {
    padding: 60px 0;
    overflow: hidden;
    scroll-margin-top: 70px;
    overflow: clip;
  }
  
.dropdown-item.active, .dropdown-item:active{
    background-color: rgba(247, 246, 245, 0.884);
    color: #ffc900 ;
}
.navbar {
    margin: 0 2%;
    position: fixed;
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    width: 96%;
    max-height: 115px;
    font-size: 18px;
}
.navbar :hover{
    color:#ffc900;
}

.navbar a.active {
    color: #ffc900 !important;
    font-weight: 600;
}

.navbar-nav .nav-item {
    margin-right: 50px; 
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hide dropdown by default */
.dropdown-menu {
    display: none;
}

.navbar .dropdown-menu .dropdown-item{
    border-bottom: 1px solid #dee2e6; 
    padding: 10px;
    font-size: 19px;
    font-weight: 600;
}

.navbar-nav .nav-item:last-child {
    border-bottom: none; /* Remove border from the last item */
}

/* Optional: Add some padding for list items */
.navbar-nav .nav-link {
    padding: 10px 15px; /* Adjust as necessary */
}

.navbar .dropdown-menu li:first-child .dropdown-item {
    padding-top: 0; /* Targets the first <li> and its child <a> */
}

.navbar-logo {
    height: 130px; /* Adjust this value to fit your desired logo height */
    width: auto;  /* This will maintain the aspect ratio of the image */
    max-width: 130px; /* Optional: set a maximum width if needed */
}

.navbar-nav .nav-link.active{
    color: #ffc900 ;
    /* background-color: rgba(247, 246, 245, 0.884); */
}

.offcanvas {
    width: 70% !important; /* Adjust width to cover half the screen */
}

.offcanvas-backdrop {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}
.btn-appointment {
    padding: 15px 30px; /* Adjust padding for the button */
    background-color: #ffc900; /* Customize background color */
    color: white; /* Customize text color */
    border: none; /* Remove border */
    border-radius: 20px; /* Ensure it has rounded corners */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    margin-left: auto;
    margin-right: 100px;
    font-size: 20px;
    font-weight: 600;
}

.btn-appointment:hover {
    background-color: #eebb03; /* Change background color on hover */
    color: white;
}
.nav-link {
    display: flex; /* Use flexbox for the link */
    justify-content: space-between; /* Space between text and icon */
    align-items: center; /* Align items vertically center */
    padding-right: 10px; /* Optional: adjust the padding to reduce space */
}

.arrowRight_appoitmentBTN{
    margin-left: 10px;
}

.expand-icon {
    margin-left: 10px; 
    transition: transform 0.2s; /* Animation duration */
}

.collapse.show + .expand-icon {
    transform: rotate(45deg); /* Rotate the icon when expanded */
}


#treatmentCollapse .list-unstyled {
    padding-left: 0; /* Reset default padding for the ul */
    border-bottom: 1px solid #dee2e6; 
}

#treatmentCollapse .dropdown-item {
    padding: 10px 15px; /* Add padding to each dropdown item */
    margin-left: 10px;
    border-bottom: 1px solid #dee2e6; 
}

.treatment-p-wording{
    font-weight: 700;
}
.treatment-p-span{
    font-size: 25px;
}
.treatment-item:hover, .treatment-item:active {
    border-top-right-radius: 10px; /* Keep rounded corners on hover */
    border-bottom-left-radius: 60px;
    background-color: #ffc900;
    color: #fff;
}
@media (hover: hover) and (pointer: fine) {
    .treatment-item:hover::before,
    .treatment-item:hover::after {
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
}

.offcanvas-body .navbar-nav .nav-item{
    border-bottom: 1px solid #d1d2d381; 
}

.bookBtn_mobile{
    background-color: #ffc900;
    color: white;
}

#partnershipCollapse .list-unstyled {
    padding-left: 0; /* Reset default padding for the ul */
    border-bottom: 1px solid #dee2e6; 
}

#partnershipCollapse .dropdown-item {
    padding: 10px 15px; /* Add padding to each dropdown item */
    margin-left: 10px;
    border-bottom: 1px solid #dee2e6; 
}

.hero-section {
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aboutus-section{
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e5f7ff; /* Light background color */
}
/* .hero-section h1 {
    font-size: 3rem;
} */

/* landingpage css */
/* Landing Page Section Styles */
.landing-page-section {
    background-color: #f0f8ff;
    padding: 60px 20px;
    position: relative; 
}

.landing-content {
    position: relative; 
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0; 
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    z-index: 10;
}

/* Landing Heading Styles */
.landing-heading {
    font-size: 110px;
    color: #4d4d4d;
    font-weight: 700;
    position: relative; 
    display: inline-block; 
    margin-top: 180px;
    line-height: 0.95 !important;
    z-index: 10;
}

.landing-subheading {
    font-size: 24px;
    color: #4a4a4a;
    margin-bottom: 20px; 
    padding-top: 10px;
    line-height:0.95 !important;
    z-index: 10;
}
.smile-logo {
    width: 150px;
    height: 150px; 
    position: absolute;
    top: 85px;
    right: -10px;
}

.image-container {
    position: absolute;
    right: -304px;
    z-index: 1 !important;
    transform: translate(-55%, 5%);
    mask-image: linear-gradient(to top, #ffffff00 5%, #fffffff5 50%); 
}
.location_content_section .landing-subheading{
    padding-top: 30px;
}

@media(min-width:1500px){
    .image-container {
        right: -207px;
    }
}

.accordion_faq_use{
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Ensure vertical stacking of elements */
    align-items: center; /* Center items horizontally */
}
.right-image {
    width: 480px;
    max-width: 100%;
}
.contact-info {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start;
    margin-top: 140px;
    width: 107%;
    gap: 20px;
    flex-wrap: wrap; 
}
.header-gradient {
    position: absolute;
    top: 60px;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100%;
    /* background: linear-gradient(180deg, rgba(243, 255, 255, 0) 0%, rgba(243, 255, 255, 0.5) 50%, rgba(243, 255, 255, 0.85) 80%, rgba(243, 255, 255, 0.95) 90%, rgba(243, 255, 255, 1) 95%, rgba(243, 255, 255, 1) 100%); */
    z-index: 8;
}


@media (max-width: 768px) {
    .landing-heading {
        font-size: 60px;
        margin-top: 140px;
    }

    .smile-logo {
        width: 150px;
        height: 150px;
        top: 40px;
        right: -40px;
    }
    .hero-title{
            font-size: 3.5rem !important;
            padding: 10px;
            line-height: 1.1 !important;
    }


    .image-container {
        position: absolute;
        right: 0;
        z-index: 1 !important;
        transform: translate(-0%, -2%);
    }

    .header-gradient {
       
    }
}

@media (max-width: 480px) {
    .contact-info{
        margin-top: -20px !important;
    }
    .navbar-nav .nav-item {
        margin-right: 0px; 
    }
    .navbar-nav .nav-link.active{
        background-color: rgba(247, 246, 245, 0.884);
    }
    .aboutus-section{
        height: 600px;
    }
    .aboutus-section .hero-title{
        line-height: 0.98 !important;
        font-size: 46px !important;
    }
    .aboutus-section .hero-subtitle{
        margin-top: 137px;
    }
}
@media (min-width:321px) and (max-width: 400px) {
    .aboutus-section .hero-title{
        font-size: 40px !important;
    }
}
@media (min-width:280px) and (max-width: 320px) {
    .aboutus-section .hero-title{
        font-size: 34px !important;
    }
}

.aboutus-section .hero-title{
    font-size: 80px;
}

/* Contact Info Section */


/* Individual Info Item */
.info-item {
    display: flex;
    align-items: center;
    width: 100%;
    flex: 1 1 30%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10 ;
}

.special_iconCSS{
    font-size: 95px;
    padding-right: 80px;
    color:#ff9157;
    margin-top: 5px;
}
.special_iconCSS2{
    font-size: 95px;
    padding-right: 80px;
    color: #6f6f6f;
    margin-bottom: 20px;
}

.info-item img{
    width: 50px;
    /* height: 50px; */
    margin-left:-23px;
    margin-right: 20px;
    margin-top: 7px;
}

.info-item i {
    width: 90px; 
    height: 90px; 
    margin-right: 20px; 
}

/* Info Text */
.info-text {
    padding-left: 40px;
    font-size: 16px;
    color: #4d4d4d; 
    z-index: 10;
}

.info-text strong {
    font-size: 24px; 
    line-height: 0.95;
}

.another_span_info_text{
    font-size: 20px;
    font-weight: 500;
    color: #4d4d4d;
}

.info-subtext {
    position: relative;
    font-size: 17px; 
    color: #6c6c6c;
    z-index: 10;
}

/* Divider Between Items */
.info-divider {
    height: 165px; 
    width: 2px;
    background-color: #858585; 
    margin: 0 10px; 
    z-index: 10;
}



.h1_title_we{
    color: #ffc900;
    font-weight: 600;
    font-size: 60px;
}

.p_we_style{
    font-size: 20px;
}

@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .contact-info{
        gap: 10px;
        width: 100%;
    }
    .info-item {
        width: 90%;
        margin-bottom: 0px;
        margin-right: -1px;
    }

    .info-item i {
        width: 40px !important;
        height: 40px !important;
        margin-right: 15px; 
        
    }

    .info-item img{
        width: 70px !important;
        /* height: 70px !important;  */
        margin-left: 0px;
    }

    .info-text {
        font-size: 20px; 
        padding-left: 0px;
    }

    .info-text strong {
        font-size: 22px;
    }
    
    .another_span_info_text{
        font-size: 18px;
    }

    .info-subtext {
        font-size: 16px;
    }
    .special_iconCSS{
        margin-bottom: 60px !important;
        font-size: 70px !important;
    }
    .special_iconCSS2{
        margin-bottom: 60px !important;
        font-size: 70px !important;
    }
}

/* Responsive styling for screens smaller than 768px */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-divider {
        height: 2px;
        width: 100%;
        background-color: #858585;
        margin: 0 0px;
        z-index: 10;
        margin-bottom: 10px;
    }

    .divider-1{
        margin-top: -10px;
    }

    .info-item {
        width: 100%; 
        margin-bottom: 10px;
    }

    .info-item i {
        width: 50px; 
        height: 50px;
        margin-right: 15px;
    }

    .info-item img{
        width: 90px; 
        /* height: 90px; */
        margin-right: 1px;
        margin-left: 0px;
    }

    .info-text {
        font-size: 25px;
    }

    .info-text strong {
        font-size: 27px; 
    }
    
    .another_span_info_text{
        font-size: 20px;
    }

    .info-subtext {
        font-size: 18px;
    }

    .image-container {
        text-align: center;
        margin-top: 20px; 
        position: relative; 
        z-index: 0; 
    }
    .h1_title_we{
        font-size: 40px;
    }
    
}

/* Very small screens (below 480px) */
@media (max-width: 480px) {
    .info-divider {
        width: 88%;
        margin-left: 10px;
        height: 1px;
    }
    .p_we_style{
        font-size: 18px;
    }
    .image-container {
        left:18px;
    }
}


/* end landingpage css */

/* Card Styles */
.card {
    border: none; /* Remove default border */
    border-radius: 10px; /* Increase border-radius for smoother corners */
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add smooth transition */
    background-color: #fff; /* Light background color */
}

.card_container{
    max-width: 400px;
    margin: 0;
    max-height: 300px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    background-color: #e1e1e1; 
}
.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 122px;
    text-align: center;
    padding-top: 10px; /* Adjust as needed */
}
/* Card title styling */
.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #4d4d4d  ; /* Navy blue for titles */
    margin: 0 auto;
    align-self: flex-start; 
    padding-top: 12px;
    width: 100%; 
    text-align: center;
}

/* Card text styling */
.card-text {
    font-size: 16px;
    color: #4a4a4a; /* Darker gray for text */

}

/* Image inside card */
.card-img-top {
    width: auto;
    margin-right: 10px; /* Space between images */
    height: 58px;   
}
.visa_img_top{
    width: auto;
    margin-right: 10px; /* Space between images */
    height: 30px;
}
.card-full-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px; /* or whatever fits your design */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-full-image .card-body {
    height: 100%;
    width: 100%;
    padding: 0; /* remove inner padding */
}



/* Responsive design for cards */
@media (max-width: 768px) {
    .card-img-top {
        height: 40px; /* Reduce image height on smaller screens */
    }
    .visa_img_top{
        height: 30px;
    }
    .card-title {
        font-size: 18px;
        padding-top: 0;
    }

    .card-text {
        font-size: 14px;
    }
    .card_container{
        padding-bottom: 20px;
    }
    .card-body{
        padding-top:30px;
    }

}

@media (max-width:480px){
   
    .card-body{
        padding-top:1px;
    }
      .card-title {
        padding-top: 0;
    }

}
.video-wrapper {
    position: relative;
    margin-top: 80px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.event-slide-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: eventScroll 55s linear infinite;
}


.event_slide {
    flex: 0 0 auto;
}

.event_img {
    height: 330px;
    width: auto;
    object-fit: contain;
    border-radius: 15px;
    display: block;
}

@keyframes eventScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {

    .event_img {
        height: 220px;
        width: auto;
        object-fit: contain;
    }

    .event-slide-track {
        gap: 12px;
        animation: eventScroll 35s linear infinite; 
    }
}

@media (max-width: 480px) {

    .event_img {
        height: 180px;
    }

    .event-slide-track {
        gap: 10px;
        animation: eventScroll 40s linear infinite;
    }
}

.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: auto;
}

.slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    width: 250px;
}
.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure images fit without distortion */
    border-radius: 15px;
    overflow: hidden; 
}

.our_panel-section{
    background-color: #f0f8ff;
    padding:0;
    padding-bottom: 55px;
}

.join_community-section{
    background-color: #f0f8ff;
    height: 920px;
}

.post_slide {
    height: 550px; /* Adjust height for the image */
    margin: auto;
    /* overflow: hidden; */
    position: relative;
    width: 100%;
}

.post_slide .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: calc(350px * 14);
    gap: 15px;
}

.post_slide .post_slide {
    height: 450px; /* Same height as the post_slide container */
    width: 400px; /* Adjust width for images */
    display: flex;
    justify-content: center;
    align-items: center;
}
.button-container {
    text-align: center; /* Centers the button horizontally */
    margin-top: 20px; /* Adds space above the button */
}

.insta-button {
    display: inline-block;
    background-color: #ffc900; /* Blue color */
    color: white;
    font-size: 20px;
    padding: 30px 30px;
    border-radius: 50px; /* Rounded corners */
    text-decoration: none;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
    margin-bottom: 50px;
}

.insta-button:hover {
    background-color: #d7aa07; /* Darker blue on hover */
}

.insta-button::after {
    content: '→'; /* Adds arrow after the text */
    padding-left: 5px;
}
/* Ensure all images are responsive and maintain the same size */
.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure images fit without distortion */
}
.post_slide:active .slide-track {
    animation-play-state: paused; 
}

@keyframes scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-20%); 
    }
}

/* Smaller screens - adjust logo size and spacing */
@media (max-width: 768px) {
    .logo-items i {
        font-size: 6vw; /* Increase size for smaller screens */
        margin: 0 10px; /* Reduce margin between logos */
    }
    .post_slide .slide-track {
    gap: 5px;
}
}


/* end slideshow section for brand */
.number {
    font-weight: bold;
    margin-right: 10px; /* Adjust spacing between number and image */
    color: #ffc900;
    font-size: 30px;
    padding-right: 20px;

}

/* Change the color of the number on item hover */
.treatment-item:hover .number {
    color: #fff; /* Change to your desired hover color when the item is hovered */
    font-size: 30px;
}

.item-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.item_container_div{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}

.treatment_h1_title{
    color: #ffc900;
    font-weight: 700;
    font-size: 63px;
    padding-bottom: 60px;
}

.treatment-item {
    width: 100%;
    cursor: pointer;
    position: relative;
    padding: 40px;
    background: white;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out; /* Safari compatibility */
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box; /* Ensure padding and border don't exceed width */
    margin-bottom: 2px; /* Space between items */
}
/* After and Before Pseudo-elements for border animation */
.treatment-item::after,
.treatment-item::before {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    border: 0px solid #fff;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out; /* Safari compatibility */
    border-radius: 10px; /* Added rounded corners for border */
}

/* Top-left corner border */
.treatment-item::after {
    top: -1px;
    left: -1px;
    
}

/* Bottom-right corner border */
.treatment-item::before {
    bottom: -1px;
    right: -1px;

}

/* Hover effect for background and border animation */
.treatment-item:hover {
    border-top-right-radius: 10px; /* Keep rounded corners on hover */
    border-bottom-left-radius:60px;
    border-top-left-radius: 10px; /* Keep rounded corners on hover */
    border-bottom-right-radius:60px;
    background-color: #ffc900;
    color: #fff;
    
}

/* Expand borders on hover */
.treatment-item:hover::before,
.treatment-item:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 10px; /* Keep the border rounded when expanded */
}


.treatment-item img {
    width: 100px; /* Adjust the size as needed */
    height: 100px;
    margin-right: 30px; /* Space between image and text */
}

.treatment-item p {
    font-size: 41px;
    text-align: left; /* Align text to the left */
    color: #4d4d4d  ; /* Set text color to black */
    flex: 1; /* Allow the text to grow and fill available space */
    font-weight: 700;
    margin-top: 12px;
}

.treatment-item i {
    
    font-size: 58px;
    flex: 1; /* Allow the text to grow and fill available space */
}

.icon {
    opacity: 0; /* Initially hidden */
    transform: translateX(30px); /* Start slightly to the right */
    -webkit-transform: translateX(30px); /* Safari compatibility */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Increase transition duration */
    -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
    margin-left: 10px; /* Space between text and icon */
}

/* Show icon on hover */
.treatment-item:hover .icon {
    border-radius: 50%;
    opacity: 1; /* Show icon on hover */
    transform: translateX(0); /* Move to original position */
    -webkit-transform: translateX(0);
}

.separator {
    border-bottom: 2px solid #ffc900; /* Add a bottom border for separation */
    width: 100%;
}

@media (max-width: 768px) {
    .treatment-item {
        width: 100%; /* Full width for mobile screens */
        padding: 20px; /* Adjust padding for smaller screens */
    }

    .treatment-item img {
        width: 80px; /* Smaller images on mobile */
        height: 80px;
    }

    .treatment-item p {
        font-size: 28px; /* Smaller text size on mobile */
    }

    .treatment-item i {
        font-size: 40px; /* Adjust icon size */
    }

    .number {
        font-size: 20px; /* Adjust number size */
    }
    .section_title_sub{
        font-size: 20px;
    }
    .treatment_h1_title{
        font-size: 40px;
        padding-bottom: 40px;
    }
    .treatment-item:hover {
        border-bottom-left-radius:25px;
        border-bottom-right-radius:25px;
        
    }
    .separator {
        border-bottom: 1px solid #ffc900; /* Add a bottom border for separation */
    }
}

@media (max-width:480px){
    .item_container_div{
        padding-inline: 25px !important;
    }
    .treatment-item:hover .number {
        font-size: 18px;
        margin-left: 5px;
    
    }
    .treatment-item:hover .icon{
        margin-right: 8px;
    }
    .treatment-item:hover {
        border-bottom-left-radius:25px;
        border-bottom-right-radius:25px;
        
    }
    .copyright_footer_msg{
        font-size: 13px;
    }
}



.hero-section {
    background-color: #e5f7ff; /* Light background color */

}

.hero-content {
    max-width: 800px; /* Set a maximum width */
    margin: 0 auto; /* Center the content */
}

.hero-title {
    font-size: 6rem;
    font-weight: 700; /* Make the font bold */
    color: #4d4d4d ; /* Dark color for text */
    margin: 0; /* Remove default margin */

    line-height: 0.95;
}

.hero-subtitle {
    color: #4d4d4d  ;
    font-weight: 700;
    font-size: 25px;
    margin-top: 20px; /* Space between title and subtitle */
}

.services-section .service-box {
    padding: 20px;
    border: 1px solid #ddd;
    text-align: center;
    margin-bottom: 20px;
}

.section_why_choose_us {
    background-color: #f8f9fa; /* Light background for the section */
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-top: 10px;
    border-radius: 10px;
}

.section_why_choose_us .feature-image {
    width: 100px; /* Ensure the image has a visible size */
    height: auto;
    display: block;
    margin-top: 20px;
    /* margin: 0 auto;     Center the image */
}
.section_why_choose_us .feature-number {
    font-size: 25px;
    font-weight: bold;
    margin-top: 15px;
    padding-bottom: 15px;
    position: relative;
    letter-spacing: -2px; /* Adjust this value to reduce spacing between spans */
}

.section_why_choose_us .feature-title {
    font-size: 41px;
    font-weight: 600;
    margin-top: -15px;
    color: #ffc900;
    word-spacing: 30px;
    
}

.why_us_sectionTitle{
    color: #ffca0a;
    font-weight: 600;
    font-size:45px;
    padding: 50px 0;
}

.section_why_choose_us .container{
    max-width: 1820px;
}

@media (max-width:480px){
    .thebox_whyus{
        padding-left: 15px !important;
    }
    .why_us_sectionTitle{
        font-size:40px !important;
        padding-bottom: 0px !important;
    }
    .section_why_choose_us .feature-image {

        margin-top: 40px;
    }
    .section_why_choose_us .feature-number{
        font-size: 18px;
    }
    .section_why_choose_us .feature-title{
        font-size: 25px;
    }
    .section_why_choose_us .feature-description{
        font-size: 16px !important;
    }
    .hero-subtitle {
        font-size: 18px;
    }
}


.thebox_whyus{
    padding-left: 50px;
}

.why_us_border{
    border-right: 1px solid #ccc
}


.feature-number.waviy span {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    animation: waviy 4s infinite;
    animation-delay: calc(.8s * var(--i));
    color: inherit; /* To inherit the text color */
}

@keyframes waviy {
    0%, 40%, 100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-20px);
    }
}


.section_why_choose_us .feature-description {
    font-size: 20px;
    margin-top: 10px;
    color: #000000;
    line-height: 1.5;
    font-weight: 500;
}

.slideshow-container {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
  }
  
  .slide img {
    width: 500px; /* Adjust the width as needed */
    height: 300px; /* Adjust the height as needed */
    margin: 10px;
  }
  
  .text {
    text-align: center;
    margin-top: 20px;
  }
  
  .text h3 {
    font-size: 24px;
  }
  
  .text p {
    font-size: 18px;
  }

  .footer {
    background-color: #f8f9fa;
    padding: 15px 0;
  }

  .footer-link{
    color: black;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
  }
  
  /* .footer-logo {
    width: 250px; 
  } */
  
  .footer-location-link, .footer-contact {
    font-size: 20px;
    color: #4a4a4a;
    text-decoration: none;
    margin-left: 50px;
  }

.footer-social-link{
    font-size: 28px;
    color: #4a4a4a;
    text-decoration: none;
}

.footer-social-link i{
    border-radius: 50%;
    border: 1px solid #4a4a4a;
    padding: 10px;
    height: 50px;
    width: 50px;

}

  
  .footer-location-link:hover, .footer-social-link:hover {
    color: #0056b3; /* Hover color */
  }
  
/*   
  .footer-contact + .footer-contact {
    margin-left: 10px;
  } */

  /* .right-footer-section{
    padding-left: 400px;
} */
@media (max-width:480px){
    .footer-link{
        font-size: 18px;
        margin-left: 15px;
      }
    .social_icon_footer{
        margin-left:-2px;
        padding-bottom: 24px;
    }
    .copyright_footer_msg p{
        margin-left:10px;
    }
  .footer-logo {
    width: 150px; 
    margin-right: 0;
    padding-left: 0 !important;
  }
  .footer-location-link, .footer-contact {
    font-size: 18px;
    margin-left: 20px;
  }
  .footer-social-link{
    margin-left:13px;

  }
  .card-location {
    height: 535px !important
}

.card-location-image {
    height: 250px !important;

}
.card {
    max-width: 295px;
    max-height: 150px;
    margin: 0 auto;
}
.waze-icon {
    bottom: 15px;
    right: 22px;
    width: 50px !important; /* Size of the Waze icon */
    height: 50px !important; 
}

.waze-icon i {
    color: white;
    font-size: 25px !important;
}
.card-location-content h3 {
    font-size: 25px !important;
}

.card-location-content p {
    font-size: 16px !important;
}

.h1_title_we {
 margin-top: -15px;
}

.location_mainsection{
    height: 400px !important;
}

}
@media(max-width: 768px){
    .footer-location-link, .footer-contact {

        margin-left: -4px;
      }
}

.location_show_cardSection{
    padding: 0;
}

.location_content_section{  
    padding: 0 !important;
    margin: 100px auto; /* Center the content */
}

.location_mainsection{
    background-color: #f0f8ff;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 50px; */
}

@media screen and (min-width: 1735px) {
    .card_location_section .container{
        max-width: 1800px !important;
    }
    .whatsapp-float {
        width: 90px !important;
        height: 90px !important;
    }
    .insta-float {
         width: 90px !important;
        height: 90px !important;
    }
    .card-location-content h3 {
        font-size: 45px !important;

    }
    
    .card-location-content p {
        font-size: 19px !important;
    }
    .item_container_div {
        max-width: 1800px !important;
    }
    .landing-content{
        max-width: 1700px;
    }
}


.card-location {
    width: 100%; /* Allow it to be responsive within col-lg-4 */
    max-width: 555px;
    /* min-width: 439.987px; */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
    /* max-height: 600px; */
}

.card-location:hover {
    transform: translateY(-5px);
}

.card-location-image {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust based on desired height */
    overflow: hidden;
}

.card-location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.waze-icon {
    position: absolute;
    bottom: 15px;
    right: 22px;
    width: 75px; /* Size of the Waze icon */
    height: 75px;
    background-color: #299dcb; /* Waze icon background color */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 8px;
    transition: transform 0.3s;
}

.waze-icon i {
    color: white;
    font-size: 38px;
}

.waze-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.waze-icon:hover {
    transform: scale(1.1);
}

.card-location-content {
    padding: 20px;
    background-color: #fff;
}

.card-location-content h3 {
    font-size: 35px;
    color: #4d4d4d ; /* Adjust color to match design */
    margin: 0;
    font-weight: 700;
    padding: 20px;
}

.card-location-content p {
    font-size: 18px;
    color: #6c6c6c;
    margin-top: -18px;
    padding: 20px;
}

.find_us-card {
    position: relative;
    width: 90%;
    max-width: 1700px;
    margin: 50px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    background: url('../image/promote_img3.webp') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 30px;

}

.find_us-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.197); /* Semi-transparent black */
    z-index: 0; /* Place the overlay behind the content */
}

.card-content {
    max-width: 49.5%;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 10px;
    position: relative; /* For stacking with SVG */
    z-index: 1; /* Bring content on top of SVG */
    color: #4d4d4d  ;
}

.card-content h2 {
    font-size: 50px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    color: #ffc900;
    font-weight: 600;
}


/* Paragraph Styling */
.card-content p {
    font-size: 18px;
    margin: 15px 0;
    color: #555;
    font-weight: 500;
}

/* Button Styling */
.explore-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffc900;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
    transition: background-color 0.3s;
    padding: 20px;
    font-weight: 600;
}

.explore-btn:hover {
    background-color: #eebb03;
}

.insta-float {
    position: fixed;
    bottom: calc(2.34vw + 100px); /* move higher (no overlap) */
    right: 1.61vw;               /* perfectly aligned with WhatsApp */
    width: 70px;                 /* good proportion */
    height: 70px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    overflow: hidden;
    z-index: 500;
}

.insta-float img {
    width: 110%;     /* balanced inside the circle */
    height: auto;
    margin-top:6px;
    margin-left:4.5px;
    object-fit: contain;
}

.floating-btn {
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* When scrolling */
.floating-btn.scrolling {
    opacity: 0.1; /* adjust: 0.2 (more transparent) → 0.6 (less) */
}

.whatsapp-float {
    position: fixed;
    bottom: 2.34vw;
    right: 1.61vw;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    overflow: hidden; /* Ensures any overflow is cut off */
    z-index: 500;
}

.whatsapp-float img {
    width: 100%; /* Ensures the image fills the circle */
    height: 150%;
    object-fit: cover; /* Ensures it covers the circle without distortion */
}

.whatsapp-float i {
    font-size: 32px;
    color: #25D366;
}
/* SVG Path Styling */
.animated-line {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
    overflow: visible;
    stroke-dasharray: 0; /* To prevent rendering issues initially */
}

.owl-carousel .item img {
    width: 100%; 
    height: auto; 
    border-radius: 15px; 
    object-fit: cover; 
}

.owl-carousel .item {
    width: 100%; 
    height: 700px; /* Adjust based on your design */
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Styling the images */
.owl-carousel .item img {
    max-width: 100%;
    max-height: 70%; /* Adjust based on your design */
    object-fit: contain;
}

/* Styling the caption */
.owl-carousel .item .caption {
    font-size: 40px; /* Caption font size */
    font-weight: 700; /* Slightly bold */
    color: #4a4a4a; /* Text color */
    text-align: center; /* Center align the text */
    margin-top: 10px; /* Space between image and caption */
}
.owl-theme .owl-nav span{
    font-size: 40px;
}
.owl-theme .owl-nav button {
    font-size: 24px; /* Increase button text/icon size */
    padding: 10px 20px; /* Add more padding to make the button bigger */
    width: 50px; /* Set a custom width */
    height: 50px; /* Set a custom height */
    border-radius: 50%; /* Make the button circular (optional) */
    color: #ffc900 !important; /* Custom text/icon color */
    border: none; /* Remove border */
    transition: all 0.5s ease-in-out; /* Smooth transition for hover effects */
}

.owl-carousel .owl-nav i{
    font-size: 60px;
}

.owl-carousel .owl-nav button.owl-prev {
    margin-right: 30px !important; 
}
.owl-carousel .owl-dots{
    margin-top: 20px !important;
}
/* .owl-carousel .owl-nav button.owl-next {
    margin-right: -30px; 
} */

/* Optional: Add hover effect */
.owl-theme .owl-nav button:hover {
    background-color: transparent !important;
    color: #e0b109 !important; /* Change text/icon color on hover */
}

.payment_h1_title{
    color: #ffc900;
    font-weight: 600;
    font-size: 50px;
    padding-bottom: 40px;
}
.mobile_treatment_card_section{
    display: none;
}
.denture-page-section {
    background-color: #f0f8ff; /* Light blue background */
    padding: 60px 20px; /* Top/bottom padding, left/right padding */
    position: relative; /* Make this section relative */
    height: 800px;
}

.denture-content {
    position: relative; /* Make the content relative for absolute positioning */
    max-width: 1250px; /* Set a max-width */
    margin: 0 auto; /* Center the content */
    padding: 0; /* No side padding */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align items to the left */
    z-index: 10;
}

/* Landing Heading Styles */
.denture-heading {
    font-size: 100px;
    color: #4d4d4d  ; /* Navy blue */
    font-weight: 700;
    position: relative; /* Set position to relative to allow absolute positioning of the image */
    display: inline-block; /* Make the h1 an inline-block to contain the image properly */
    line-height: 0.95 !important;
    z-index: 10;
}
.triple-wording-heading{
    font-size: 85px;
    color: #4d4d4d  ; /* Navy blue */
    font-weight: 700;
    position: relative; /* Set position to relative to allow absolute positioning of the image */
    display: inline-block; /* Make the h1 an inline-block to contain the image properly */
    line-height: 0.95 !important;
    z-index: 10;
}
.denture-subheading {
    font-size: 24px;
    color: #4a4a4a;
    margin-bottom: 20px; 
    padding-top: 10px;
    z-index: 10;
}
.CrownNbridge_sub_text{
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 20px; 
    padding-top: 10px;
    z-index: 10;
}
.denture_image-container {
    position: absolute;
    right: 0;
    z-index: 1 !important;
    background-color: #ffc900;
    border-radius: 20px;
    padding: 1rem;
    margin-top: 150px;
    transform: rotate(5.5deg);
    width: fit-content;
    max-width: 400px;
}
.denture_image-container_teethwhiting{
    position: absolute;
    right: 0;
    z-index: 1 !important;
    background-color: #ffc900;
    border-radius: 20px;
    padding: 1rem;
    margin-top: 150px;
    transform: rotate(5.5deg);
    width: fit-content;
    max-width: 360px;
}
.denture_image-container_teethwhiting .denture-right-image{
    margin-left: 14px;
}
.denture_image-container_braces{
    position: absolute;
    right: 0;
    z-index: 1 !important;
    background-color: #ffc900;
    border-radius: 20px;
    padding: 1rem;
    margin-top: 150px;
    transform: rotate(5.5deg);
    width: fit-content;
    max-width: 360px;
}
.denture_image-container_crown{
    position: absolute;
    right: 0;
    z-index: 1 !important;
    background-color: #ffc900;
    border-radius: 20px;
    padding: 1rem;
    margin-top: 150px;
    transform: rotate(5.5deg);
    width: fit-content;
    max-width: 400px;
}

.denture_image-container_scaling_polishing{
    position: absolute;
    right: 0;
    z-index: 1 !important;
    background-color: #ffc900;
    border-radius: 20px;
    padding: 1rem;
    margin-top: 150px;
    transform: rotate(5.5deg);
    width: fit-content;
    max-width: 400px;
}
.denture_image-container-dental_implant{
    position: absolute;
    right: 0;
    z-index: 1 !important;
    background-color: #ffc900;
    border-radius: 20px;
    padding: 1rem;
    margin-top: 150px;
    transform: rotate(5.5deg);
    width: fit-content;
    max-width: 350px;
}

.denture-right-image {
    width: 400px; /* Set desired width for the image */
    max-width: 100%;
    border-radius: 10px;
    display: block;
}

.denture-right-image_dental_implant{
    width: 400px; /* Set desired width for the image */
    max-width: 100%;
    border-radius: 10px;
    display: block;
}
/* Image label styling */
.image-label {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4d4d4d;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
}

.breadcrumb_denture{
    font-size: 20px;
    color: #4d4d4d  ;
    margin-top: 180px;
    z-index: 10;
}

.denture-page-middle_words h1{
    color: #ffc900;
    font-weight: 600;
    font-size: 60px;
    padding-bottom: 40px;
}

.whitening-page-middle_words h1{
    color: #ffc900;
    font-weight: 600;
    font-size: 55px;
    padding-bottom: 40px;
}

.denture-page-middle_words p{
    color: #4a4a4a;
    font-size: 20px;
    text-align: center;
}
/* .underline-animation {
    display: inline-block;
    position: relative;
}

.underline-animation::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 100%;
    height: 2px;
    background: black;
    transform: scaleX(0);
    transform-origin: left;
    animation: underline 3s forwards infinite; 
} */

.faq_title_head{
    color: #ffc900;
    font-weight: 600;
    font-size: 50px;
    padding-bottom: 30px;
}

:root {
    --cards: 3; /* Updated to reflect the number of cards */
    --cardHeight: 80vh;
    --cardTopPadding: 1.5em;
    --cardMargin: 4vw;
}

#denture-cards {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--cards), var(--cardHeight));
    gap: var(--cardMargin);
    padding-bottom: calc(var(--cards) * var(--cardTopPadding));
    margin-bottom: var(--cardMargin);
}

.denture-card-scroll {
    /* position: sticky;
    top: 150px;  */
    padding-top: calc(var(--index) * var(--cardTopPadding));
}

.denture-card1 {
    --index: 1;
}

.denture-card2 {
    --index: 2;
}

.denture-card3 {
    --index: 3;
}

.denture-card-body {
    box-sizing: border-box;
    padding: 30px;
    border-radius: 50px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
    height: var(--cardHeight);
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: center; /* Center align vertically */
    transition: all 0.5s;
}

.midsize-denture-card-body{
    box-sizing: border-box;
    padding: 30px;
    border-radius: 50px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
    height: var(--cardHeight);
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: center; /* Center align vertically */
    transition: all 0.5s;
}

.smaller-denture-card-body{
    box-sizing: border-box;
    padding: 30px;
    border-radius: 50px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
    height: var(--cardHeight);
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: center; /* Center align vertically */
    transition: all 0.5s;
}
.text-content {
    margin-right: 20px; /* Add space between text and image */
}

.image-content {
    flex-shrink: 0; /* Prevent the image from shrinking */
}

.image-content img {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.denture-card1 .denture-card-body {
    background-color: #dbe0e5;
}
.denture-card2 .denture-card-body {
    background-color: #dbe0e5;
}
.denture-card3 .denture-card-body {
    background-color: #dbe0e5;
}


.denture-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Makes space between text and image */
}

.denture-text-section {    
   padding-left: 50px;
   color: #4d4d4d ;
}

.denture-image-section {
    width: 40%; /* Adjust as needed for layout balance */
    display: flex;
    justify-content: flex-end; /* Aligns the image to the right side */
}

.denture-image-section img {
    width: 100%; /* Image fills its container */
    max-width: 500px; 
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px;
}
.denture-large-text{
    padding-bottom: 80px;
}

.denture-small-text{
    margin-top: 250px;
    font-size: 18px;
}
.denture-small-text2{
    margin-top: 50px;
}
.denture-number{
    color: #ffc900;
    font-size: 25px;
}

.accordion {
    border: none;
    width: 100%;
  }
  
  .denture_faq_card {
    border-bottom: 1px solid #ddd;
  }
  
  .accordion-button {
    display: flex;
    font-weight: bold;
    font-size: 35px;
    color: #4d4d4d ;
    /* background-color: #f8f9fa; */
    /* padding: 50px; */
    padding-top:40px;
    padding-bottom: 40px;
    border: none;
    width: 100%;
  }
  
  .accordion-button:focus {
    box-shadow: none;
  }

  .accordion-button.collapsed {
    /* background-color: #f8f9fa; */
  }
  .accordion-button::after {
    content: none;
  }

  .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: black;
}
  .denture_faq_card_body {
    padding: 30px;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
  }
  
.accordion-item{
    border: none;
    border-bottom: 1px solid black;
}


  /* Style for the toggle icon */
.toggle-icon-circle {
    background-color: #ffc900; /* Circle background color */
    color: #ffffff; /* Icon color */
    border-radius: 50%; /* Make it circular */
    width: 54px;
    height:54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin-left: auto; /* Push to the right */
  }
  .accordion-button[aria-expanded="true"] .toggle-icon-circle {
    content: "-"; /* Change to "-" */
    transform: rotate(0deg); /* Reset rotation */
  }
  .accordion-button.collapsed .toggle-icon-circle {
    content: "+"; /* Change to "+" */
  }
.faq_number{
    font-size: 20px;
    padding-right: 10px;
    color: #ffc900;
}
.dentureCollapse_text{
    font-size: 19px;
    color:#4d4d4d ;
}

.dentureCollapse_ul{
    font-size: 19px;
    color: #4a4a4a;
}

/* Card styling */
.appointment-card {
    background-color: #f0f8ff;
    border-radius: 20px;
    padding: 48px;
    width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

/* Icon styling */
.appointment-icon {
    background-color: #ffc900;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30px;
}

/* Text styling */
.invite-text {
    color: #ffc900;
    font-weight: bold;
    font-size: 20px;
    margin: 20px 0 10px;
}

.appointment-title-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between title and button */
    justify-content: center;
    
}
.appointment-title-container a{
    text-decoration: none;
}
.appointment-title {
    font-size: 28px;
    color: #4d4d4d ;
    font-weight: bold;
    margin: 0;
}

/* Button styling beside title */
.appointment-button {
    background-color: #ffc900;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.appointment-button a {
    text-decoration: none;
    color: white;
}
/* Subtext styling */
.appointment-subtext {
    font-size: 21px;
    color: #4a4a4a;
    margin: 5px 0 20px;
}

.special_time_icon_css{
    margin-bottom: 58px;
}

.special_calender_icon_css{
    margin-bottom: 34px;
}

.special_call_icon_css{
    margin-bottom: 36px;
}

.footer_container{
    max-width: 1816px;
}
@media (min-width: 1500px) and (max-width: 2560px) {
    /* Styles for screens between 576px and 1024px */
    .footer_container{
        max-width: 1870px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .denture-card-content {
        flex-direction: column; /* Stack vertically on smaller screens */
        align-items: flex-start; /* Align items to the start */
    }

    .denture-image-section {
        margin-top: 10px; /* Space between text and image when stacked */
    }
    .denture-card-scroll {
        top: 120px; 
    }
    
}

/* Add media query for responsiveness on mobile devices */
@media (max-width: 768px) {
    #denture-cards {
        grid-template-columns: 1fr; /* Stacking cards in a single column on mobile */
    }
}


@keyframes underline {
    to {
        transform: scaleX(1); /* Scale to full width */
    }
}

@media (max-width: 1222px){
    .footer_container{
        max-width: 1460px;
    }
    .denture_image-container{
        left: 0;
        margin-top: 450px;
    }
    .denture_image-container_teethwhiting{
        left: 0;
        margin-top: 450px;
    }
    .denture_image-container_braces{
        left: 0;
        margin-top: 450px;
    }
    .denture_image-container_crown{
        left: 0;
        margin-top: 450px;
        max-width: 380px;
    }
    .denture_image-container_scaling_polishing{
        left: 0;
        margin-top: 450px;
    }
    .denture_image-container-dental_implant{
        left: 0;
        margin-top: 450px;
    }
    .denture-page-section{
        height: 1100px;
    }
    .btn-appointment{
        margin-right: 0;
    }
    .denture-large-text{
        padding-bottom: 10px;
        font-size: 25px;
    }
    .denture-small-text{
        margin-top: 10px;
    }
    .denture-image-section {
        width: 35%;
        margin-left: 40px;
}
    
    .dentureCollapse_ul{
        font-size: 20px;
    }
    .accordion-button{
        font-size: 25px;
    }
    .toggle-icon-circle{
        width: 46px;
        height:44px;
        min-width: 46px;
        min-height: 40px;
    }

    .faq_title_head{
        font-size: 45px;
    }
}

@media (max-width:768px){
    .faq_title_head{
        font-size: 45px;
    }
    .denture-heading {
        font-size: 65px;
    }
    .triple-wording-heading{
        font-size: 65px;
    }
    .denture-subheading {
        font-size: 22px;
    }
    .CrownNbridge_sub_text{
        font-size: 17px;
    }
    .navbar-brand{
        margin-bottom: -40px;
    }
    .denture-large-text{
        padding-bottom: 10px;
    }
    .denture-small-text{
        margin-top: 10px;
    }
    .denture-small-text2{
        margin-top: 5px;
    }
    .denture-image-section {
        width: 65%;
        margin-left: 40px;
}
    .denture_image-container-dental_implant{
        left: 0;
        margin-top: 500px;
    }
    .toggle-icon-circle{
        width: 46px;
        height:44px;
        min-width: 46px;
        min-height: 40px;
    }
}
@media(max-width:380px){
    .card {
        margin-left: 3px !important;
    }
    .payment_h1_title {
        font-size: 21px !important;
    }
    .card-content {
        max-width: 100%;
    }
}
@media (min-width: 381px) and (max-width: 412px){

    .card {
        width: 300px;
        height: 180px;
        margin-left: 33px;
    }
    .owl-carousel .item img {
        max-width: 400px !important;
    }
    .denture_image-container_crown{
        margin-top: 480px !important;
        height: 322px;
    }
    .denture_image-container-dental_implant{
        margin-top: 520px !important;
        height: 302px;
    }
    .denture_image-container_scaling_polishing{
        margin-top: 380px !important;
        max-width: 360px !important;
    }
    .denture-right-image{
        height: 300px;
        width: 300px;
    }
    .denture-right-image_dental_implant{
        height: 280px;
        width: 280px;
    }
    .toggle-icon-circle{
        width: 46px;
        height:44px;
        min-width: 46px;
        min-height: 40px;
    }
    .card {
        margin-left: 21px !important;
    }
    .our_panel-section {
        padding-top: 5px;
    }
}

@media (max-width:480px){
    .navbar-brand {
        margin-bottom: -70px;
        height: 180px;
    }
    .faq_title_head{
        font-size: 40px;
    }
    .denture-large-text{
        padding-bottom: 0;
    }
    .denture-small-text{
        margin-top: 0px;
    }
    .denture-small-text2{
        margin-top: 10px;
        font-size: 14px;
    }
    .denture-page-section {
        height: 900px;
    }
    .denture_image-container{
        margin-top: 400px;
        left: 5px;
    }
    .denture_image-container_teethwhiting{
        left: 12px;
        margin-top: 450px;
    }
    .denture_image-container_teethwhiting .denture-right-image{
        margin-left: 14px;
    }
    .denture_image-container_braces{
        left: 12px;
        margin-top: 415px;
    }
    .denture_image-container_braces .denture-right-image{
        margin-left: 1px;
    }
    .denture_image-container_crown{
        left: 0;
        margin-top: 430px;
    }
    .denture_image-container-dental_implant{
        left: 0;
        margin-top: 470px;
    }
    .denture_image-container_scaling_polishing{
        margin-top: 480px !important;
        max-width: 340px !important;
    }
    .denture-heading {
        font-size: 55px;
    }
    .triple-wording-heading{
        font-size: 52px;
    }
    .denture-subheading {
        font-size: 20px;
    }
    .CrownNbridge_sub_text{
        font-size: 16px;
    }
    .breadcrumb_denture{
        margin-top: 150px;
        font-size: 18px;
    }
    .denture-image-section {
            width: 85%;
            margin-left: 40px;
    }
    .dentureCollapse_text{
        font-size: 15px;
    }
    
    .dentureCollapse_ul{
        font-size: 15px;
    }
    .accordion-button{
        font-size: 19px;
        width: 85%;
  
    }
    .accordion{
        width: 85%;
    }
    .toggle-icon-circle{
        display: none;
        width: 46px;
        height:44px;
        min-width: 46px;
        min-height: 40px;
    }
    .faq_number{
        padding-right: 25px;
    }
    .appointment-card {
        padding: 48px;
        width: 360px;
    }
    .appointment-title {
        font-size: 20px;
    }
    
    /* Button styling beside title */
    .appointment-button {
        width: 40px;
        height: 40px;
    }
    
    /* Subtext styling */
    .appointment-subtext {
        font-size: 15px;
    }
    .appointment-content{
        width: 300px;
    }
    .invite-text{
        font-size: 18px;
    }
    .right-image {
        width: 330px;
    }
    .owl-carousel .item .caption {
        font-size: 16px;
        font-weight: 600; 
        color: #4a4a4a;
        text-align: center;
        margin-top: 10px;
    }

}

@media (max-width:768px){
    .payment_h1_title{
        font-size: 40px;
        padding-bottom: 10px;
    }
    
}

.new_mobile_treatment_card_section{
    display: none;
}
@media (max-width:480px){
    .new_mobile_treatment_card_section{
        display: block;
    }
    .payment_h1_title{
        font-size: 25px;
        padding-bottom: 0px;
    }
    .navbar-toggler {
        width: 40px;            
        height: 40px;            
        border-radius: 50%;         
        padding: 5px;          
        border: none;            
        background-color: #ffc900; 
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        color: white !important;
        width: 20px;           
        height: 20px;          
        margin: auto;          
        display: block;        
    }
    .landing-page-section{
        height: 1380px;
    }
    
    .header_wrapper {
    padding-top: 10px;
}
    .whatsapp-float{
        width: 65px;
        height: 65px;
        bottom: 5vw;
        right: 5vw;
    }
    .insta-float{
        width: 65px;
        height: 65px;
        right: 5vw;
    }
    /* .owl-carousel{
        height: 500px !important;
    } */
     
    .owl-carousel .owl-nav i{
        font-size: 40px;
    }
    .owl-carousel .owl-nav button.owl-prev {
        margin-right: 15px !important; 
    }

    .treatment-item{
        padding: 3px;
    }
    .treatment-item p {
        font-size: 23px !important;
        font-weight: 700;
        line-height: 1.1;
        margin-top: 15px;
    }
    .treatment-p-span{
        font-size: 15px;
    }
    .treatment-item img {
        width: 55px;
        height: 55px;
    }

    .insta-button{
        padding: 15px 15px;
    }
    .landing-heading {
        font-size: 50px;
        margin-top: 105px;
    }
    .landing-subheading {
        font-size: 18px;
        color: #4a4a4a;
    }
    .location_content_section .landing-subheading{
        padding-top: 0px;
    }
    .info-item{
        padding: 0;
        padding-left: 20px;
        max-width: 330px;
    }
    .info-item:first-of-type {
        padding-top: 20px;
    }
    .info-item-second {
        margin-top: -15px;
    }
    
    .info-item:last-of-type {
        margin-top: -15px;
    }
    .smile-logo {
        width: 100px; 
        height: 100px;
        top: 23px;
        right: -20px;
    }
    .info-item img {
        width: 45px;
        /* height: 45px; */
        margin-left: 2px;
        margin-bottom: 65px;
    }
    .special_time_icon_css{
        margin-bottom: 90px !important;
    }
    .special_calender_icon_css{
        margin-bottom: 45px !important;
    }
    .info-item i {
        width: 55px;
        height: 55px;
        margin-left: 0;
        margin-right: 0;
    }
    .info_img_phone_css{
        margin-left: 20px;
    }

    .info-text {
        font-size: 12px;
        padding-left: 0px;
    }

    .info-text strong {
        font-size: 20px;
    }
    .another_span_info_text {
        color: inherit; /* Keeps the color consistent */
        -webkit-user-select: none; /* Prevents auto-linking in Safari */
    }
    .another_span_info_text{
        font-size: 19px;    
        
    }
    .info-subtext {
        font-size: 18px;
        margin-bottom: -15px;
    }
    .main_sub_info_text{
        line-height: 0.9;
        max-height: 50px;
    }
    .post_slide {
        margin-right: 15px;
        margin-left: 15px;
        /* margin:15px; */
    }
    .post_slide .post_slide{
        height: 300px;
        width: 250px;
    }
    .post_slide .slide-track{
        animation: scroll 80s linear infinite;
    }
    .join_community-section{
        height: 690px;
    }
    .special_iconCSS{
        font-size: 45px;
        padding-right: 80px;
        margin-bottom: 5px;
    }
    .special_iconCSS2{
        font-size: 45px;
        padding-right: 80px;
       
    }

    .owl-carousel .item{
        height: 340px !important;
    }
    .owl-carousel .item img {
        max-height: 100% !important;;
        margin: 0 auto; /* Centers the image */
        min-height: 400px;
        max-width: 420px;
    }
    .owl-theme .owl-nav{
        margin-top: 0;
    }
    .owl-carousel .item .caption {
        font-size: 14px !important;
    }
    .owl-theme .owl-nav{
        margin-top:0 !important;
    }
    .card-content{
        max-width: 100%;
    }

    .denture-page-middle_words h1{
        font-size: 40px;
    }
    
    .whitening-page-middle_words h1{
        font-size: 35px;
    }
    @keyframes scroll {
        0% { 
            transform: translateX(0); 
        }
        100% { 
            transform: translateX(calc(-650px * 7)); 
        }
    }
    .why_us_border{
        border-right: none;
    }

    .navbar{
        margin: 0 2.5%;
        width: 95%;
        max-height: 155px;
    }

    .navbar-logo {
        height: 165px;
        max-width: 165px;
        margin-top: -35px;
        margin-left: -24px;
    }
    .navbar-collapse{
        text-align: center;
    }
    /* .location_navBTN{
        margin-right: 50px;
    } */
    .card_container{
        padding-inline: 30px;
    }
    .visa_img_top{
        height: 20px;
    }
    .card-img-top {
        height: 40px !important; /* Reduce image height on smaller screens */
    }
    .denture-right-image_dental_implant{
        width: 350px; /* Set desired width for the image */
    }


    .treatment_card_section{
        display: none;
    }
    :root {
        --new-cardHeight: 87vh;
        --new-cardTopPadding: 1.5em;
        --new-cardMargin: 4vw;
    }
    
    #new_denture-cards {
        list-style: none;
        padding-left: 0;
        padding-bottom: var(--new-cardTopPadding);
    }
    
    .new_denture-card {
        margin-bottom: var(--new-cardMargin);
        padding-top: var(--new-cardTopPadding);
    }
    
    .new_denture-card-body {
        box-sizing: border-box;
        padding: 30px;
        border-radius: 50px;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
        height: 800px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: all 0.5s;
        max-width: 390px;
        margin: 0 auto ;
    }
    .smaller-denture-card-body{
        box-sizing: border-box;
        padding: 30px;
        border-radius: 50px;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
        height: 700px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: all 0.5s;
        max-width: 390px;
        margin: 0 auto;
    }
    .midsize-denture-card-body
    {
        box-sizing: border-box;
        padding: 30px;
        border-radius: 50px;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
        height: 750px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: all 0.5s;
        max-width: 390px;
        margin: 0 auto;
    }
    .new_denture-card1 .new_denture-card-body,
    .new_denture-card2 .new_denture-card-body,
    .new_denture-card3 .new_denture-card-body,
    .smaller-denture-card-body,
    .midsize-denture-card-body {
        background-color: #dbe0e5;
    }
    
    .new_denture-card-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Aligns content to the left */
    }
    
    .new_denture-text-section {
        padding-bottom: 20px;
        color: #4d4d4d;
        text-align: left; /* Aligns all text in this section to the left */
        width: 100%;
    }
    
    .new_denture-image-section {
        width: 100%; /* Ensure the image section takes full width */
        display: flex;
        justify-content: flex-start; /* Aligns image to the left */
        padding-top: 10px;
    }
    
    .new_denture-image-section img {
        width: 100%;
        max-width: 300px; /* Limit image size */
        max-height: 300px;
        height: auto;
        border-radius: 10px;
        margin-left: 15px;
    }
    
    .new_denture-large-text {
        padding-bottom: 20px;
    }
    
    .new_denture-small-text {
        font-size: 18px;
    }
    
    .new_denture-number {
        color: #ffc900;
        font-size: 25px;
    }
    .new_denture_title_section{
        color:#ffc900;
        margin-left:20px;
        font-size:35px;
        font-weight: 600;
    }
}
/* From Uiverse.io by SouravBandyopadhyay */ 
.hourglassBackground {
    position: relative;
    background-color: rgb(71, 60, 60);
    height: 130px;
    width: 130px;
    border-radius: 50%;
    margin: 30px auto;
  }
  
  .hourglassContainer {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 50px;
    height: 70px;
    -webkit-animation: hourglassRotate 2s ease-in 0s infinite;
    animation: hourglassRotate 2s ease-in 0s infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  
  .hourglassContainer div,
  .hourglassContainer div:before,
  .hourglassContainer div:after {
    transform-style: preserve-3d;
  }
  
  @-webkit-keyframes hourglassRotate {
    0% {
      transform: rotateX(0deg);
    }
  
    50% {
      transform: rotateX(180deg);
    }
  
    100% {
      transform: rotateX(180deg);
    }
  }
  
  @keyframes hourglassRotate {
    0% {
      transform: rotateX(0deg);
    }
  
    50% {
      transform: rotateX(180deg);
    }
  
    100% {
      transform: rotateX(180deg);
    }
  }
  
  .hourglassCapTop {
    top: 0;
  }
  
  .hourglassCapTop:before {
    top: -25px;
  }
  
  .hourglassCapTop:after {
    top: -20px;
  }
  
  .hourglassCapBottom {
    bottom: 0;
  }
  
  .hourglassCapBottom:before {
    bottom: -25px;
  }
  
  .hourglassCapBottom:after {
    bottom: -20px;
  }
  
  .hourglassGlassTop {
    transform: rotateX(90deg);
    position: absolute;
    top: -16px;
    left: 3px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    background-color: #999999;
  }
  
  .hourglassGlass {
    perspective: 100px;
    position: absolute;
    top: 32px;
    left: 20px;
    width: 10px;
    height: 6px;
    background-color: #999999;
    opacity: 0.5;
  }
  
  .hourglassGlass:before,
  .hourglassGlass:after {
    content: '';
    display: block;
    position: absolute;
    background-color: #999999;
    left: -17px;
    width: 44px;
    height: 28px;
  }
  
  .hourglassGlass:before {
    top: -27px;
    border-radius: 0 0 25px 25px;
  }
  
  .hourglassGlass:after {
    bottom: -27px;
    border-radius: 25px 25px 0 0;
  }
  
  .hourglassCurves:before,
  .hourglassCurves:after {
    content: '';
    display: block;
    position: absolute;
    top: 32px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #333;
    animation: hideCurves 2s ease-in 0s infinite;
  }
  
  .hourglassCurves:before {
    left: 15px;
  }
  
  .hourglassCurves:after {
    left: 29px;
  }
  
  @-webkit-keyframes hideCurves {
    0% {
      opacity: 1;
    }
  
    25% {
      opacity: 0;
    }
  
    30% {
      opacity: 0;
    }
  
    40% {
      opacity: 1;
    }
  
    100% {
      opacity: 1;
    }
  }
  
  @keyframes hideCurves {
    0% {
      opacity: 1;
    }
  
    25% {
      opacity: 0;
    }
  
    30% {
      opacity: 0;
    }
  
    40% {
      opacity: 1;
    }
  
    100% {
      opacity: 1;
    }
  }
  
  .hourglassSandStream:before {
    content: '';
    display: block;
    position: absolute;
    left: 24px;
    width: 3px;
    background-color: white;
    -webkit-animation: sandStream1 2s ease-in 0s infinite;
    animation: sandStream1 2s ease-in 0s infinite;
  }
  
  .hourglassSandStream:after {
    content: '';
    display: block;
    position: absolute;
    top: 36px;
    left: 19px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    animation: sandStream2 2s ease-in 0s infinite;
  }
  
  @-webkit-keyframes sandStream1 {
    0% {
      height: 0;
      top: 35px;
    }
  
    50% {
      height: 0;
      top: 45px;
    }
  
    60% {
      height: 35px;
      top: 8px;
    }
  
    85% {
      height: 35px;
      top: 8px;
    }
  
    100% {
      height: 0;
      top: 8px;
    }
  }
  
  @keyframes sandStream1 {
    0% {
      height: 0;
      top: 35px;
    }
  
    50% {
      height: 0;
      top: 45px;
    }
  
    60% {
      height: 35px;
      top: 8px;
    }
  
    85% {
      height: 35px;
      top: 8px;
    }
  
    100% {
      height: 0;
      top: 8px;
    }
  }
  
  @-webkit-keyframes sandStream2 {
    0% {
      opacity: 0;
    }
  
    50% {
      opacity: 0;
    }
  
    51% {
      opacity: 1;
    }
  
    90% {
      opacity: 1;
    }
  
    91% {
      opacity: 0;
    }
  
    100% {
      opacity: 0;
    }
  }
  
  @keyframes sandStream2 {
    0% {
      opacity: 0;
    }
  
    50% {
      opacity: 0;
    }
  
    51% {
      opacity: 1;
    }
  
    90% {
      opacity: 1;
    }
  
    91% {
      opacity: 0;
    }
  
    100% {
      opacity: 0;
    }
  }
  
  .hourglassSand:before,
  .hourglassSand:after {
    content: '';
    display: block;
    position: absolute;
    left: 6px;
    background-color: white;
    perspective: 500px;
  }
  
  .hourglassSand:before {
    top: 8px;
    width: 39px;
    border-radius: 3px 3px 30px 30px;
    animation: sandFillup 2s ease-in 0s infinite;
  }
  
  .hourglassSand:after {
    border-radius: 30px 30px 3px 3px;
    animation: sandDeplete 2s ease-in 0s infinite;
  }
  
  @-webkit-keyframes sandFillup {
    0% {
      opacity: 0;
      height: 0;
    }
  
    60% {
      opacity: 1;
      height: 0;
    }
  
    100% {
      opacity: 1;
      height: 17px;
    }
  }
  
  @keyframes sandFillup {
    0% {
      opacity: 0;
      height: 0;
    }
  
    60% {
      opacity: 1;
      height: 0;
    }
  
    100% {
      opacity: 1;
      height: 17px;
    }
  }
  
  @-webkit-keyframes sandDeplete {
    0% {
      opacity: 0;
      top: 45px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    1% {
      opacity: 1;
      top: 45px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    24% {
      opacity: 1;
      top: 45px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    25% {
      opacity: 1;
      top: 41px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    50% {
      opacity: 1;
      top: 41px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    90% {
      opacity: 1;
      top: 41px;
      height: 0;
      width: 10px;
      left: 20px;
    }
  }
  
  @keyframes sandDeplete {
    0% {
      opacity: 0;
      top: 45px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    1% {
      opacity: 1;
      top: 45px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    24% {
      opacity: 1;
      top: 45px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    25% {
      opacity: 1;
      top: 41px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    50% {
      opacity: 1;
      top: 41px;
      height: 17px;
      width: 38px;
      left: 6px;
    }
  
    90% {
      opacity: 1;
      top: 41px;
      height: 0;
      width: 10px;
      left: 20px;
    }
  }

  .hourglassBackground {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  
  .right-image {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
  }
  
  .right-image.loaded {
    opacity: 1;
  }  
  @media only screen and (max-width: 480px) {
    .closed-info {
      display: block;
      padding-top: 1px;
    }
  }
  .click_location_css{
    color: #ffc900;
    text-decoration: none;
  }

.doctor-card-box {
    background-color: #ffc900; /* light yellow, similar to example */
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.doctor-card-box img {
    width: 100%;
    height: 350px; /* adjust to show half body */
    object-fit: cover;
    object-position: top;
    border-radius: 8px 8px 0 0;
}

.doctor-info-box h5 {
    padding-top: 10px;
    margin-bottom: 5px;
    font-size: 25px;
    font-weight: 700;
    color: #333;
    font-weight: bold;
}

.doctor-info-box p {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.hero-title_ourdoctor {
    font-size: 6rem;
    font-weight: 700; /* Make the font bold */
    color: #4d4d4d ; /* Dark color for text */
    margin: 0; /* Remove default margin */
    margin-top: 80px;
    line-height: 0.95;
}
.doctor-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #ffc900; /* yellow background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #ffc900; /* white ring like your screenshot */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.doctor-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     object-position: 50% 20%;
}

  .popup-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    /* Popup container */
    .popup {
       display: none;
      flex-direction: row;
      background: #fff;
      border-radius: 20px;
      max-width: 800px;
      width: 90%;
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      animation: fadeIn 0.4s ease;
      height: 520px;
      max-height: 700px;
    }

    /* Left image */
    .popup-image {
      flex: 1;
      /* background: url('../image/popup_ads_insta.webp') no-repeat center/cover; */
      /* min-height: 400px;
      max-width: 330px; */
      border-radius: 20px;
      background-clip: border-box;
      overflow: hidden;
    }

    /* Right content */
    .popup-content {
      flex: 1;
      padding: 40px 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left;
    }

    .popup-content h2 {
      font-size: 50px;
      font-weight: 700;
      margin-bottom: 15px;
      color: #ffc900;
    }

    .popup-content p {
      font-size: 25px;
      margin-bottom: 20px;
      color: #444;
    }

    .popup-content a {
      color: #ffc900;
      text-decoration: underline;
      font-weight: 500;
    }

    .popup-content button {
      background: #ffc900;
      border: none;
      padding: 12px 58px;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      align-self: flex-start;
      transition: 0.3s;
    }

    .popup-content button:hover {
      background: #e6b800;
    }

@media(max-width: 768px) {
  .popup {
    flex-direction: column;
    max-width: 95%;
    width: 95%;
    height: auto;
    max-height: 90vh;
    border-radius: 15px;
        /* 👇 new part */
    background-size: contain;   /* fit full image */
    background-repeat: no-repeat;
    background-position: center;
  }

  .popup-image {
    width: 100%;
    max-width: none;
    border-radius: 15px 15px 0 0;
        
  }

  .popup-content {
    padding: 20px 15px;
    text-align: center;
    align-items: center;
  }

  .popup-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .popup-content p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .popup-content a {
    font-size: 16px;
  }

  .popup-content button {
    align-self: center;
    font-size: 16px;
    padding: 10px 30px;
    margin-top: 10px;
  }
}

/* Extra small devices (phones under 480px) */
@media(max-width: 480px) {
  .popup {
    width: 95%;
    border-radius: 10px;
  }

  .popup-content {
    padding: 15px 12px;
    justify-content: none;
  }

  .popup-content h2 {
    font-size: 30px;
  }

  .popup-content p {
    font-size: 18px;
  }

  .popup-content button {
    font-size: 16px;
    padding: 8px 25px;
  }
  .popup-image {
    min-height: 430px;
    /* background-size: contain; */
    border-radius: 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Active class (slide in) */
.popup.active {
  right: 0;
}

.partnership-section {
  max-width: 1500px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  color: #333;
}

/* Banner as background */
.banner-image {
  background-image: url("../image/partnership/joydental_eventpartnership_coverimage.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-image-benefitPage{
  background-image: url("../image/partnership/care-background-canal-beauty-caries.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Scoped title style (no conflict with other pages) */
.partnership-section .section-title {
  padding-top: 20px;
  padding-bottom: 25px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #ffc900;                  /* white looks better over image */
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); /* readable over photo */
}

/* Responsive tweak */
@media (max-width: 768px) {
  .banner-image {
    height: 250px;
  }
}
.event-item {
  display: flex;
  align-items: stretch; /* make both sides equal height */
  margin-bottom: 30px;
}

.event-item img {
  width: 40%;
  object-fit: cover;
  border-radius: 5px;
  height: 100%;

}
.event-item.reverse {
  flex-direction: row-reverse;
}
.event-text {
  width: 60%;
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center text */
}
.event-text h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 3.5px;
  line-height: 35px;
  padding-bottom: 15px;
}

.event-text p {
  font-size: 1rem;
  color: #555;
  line-height: 35px;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .event-item, .event-item.reverse {
    flex-direction: column;
  }

  .event-item img, .event-text {
    width: 100%;
  }
  .event-text h3 {
    letter-spacing: 1.5px;
  }
  .event-text p {
    line-height: 30px;
  }
}

.content-wrapper2{
     display: flex;
    flex-direction: column;
    min-height: 13vh; /* Ensures full viewport height */
}
/* --- Custom Slideshow Additions --- */
.custom-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-slider .slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.custom-slider .slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.custom-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

/* Subtle Next/Prev Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25); /* Very transparent so it's not obvious */
    color: rgba(0, 0, 0, 0.6);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 2;
    font-size: 14px;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* Slightly Obvious Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #6c6c6c;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: #299dcb; /* Matches your Waze icon color */
    border-color: #fff;
}

/* Force Waze Icon to stay on top of the slideshow */
.card-location-image .waze-icon {
    z-index: 3;
}