/* Glocal CSS ends here */

/* Extra large devices (≥1200px)
   No override needed here since base styles are already set for desktop
*/

/* Large devices (≥992px and <1200px) */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  h3 {
    font-size: 1.9rem;
  }

  h4 {
    font-size: 1.6rem;
  }

  h5 {
    font-size: 1.35rem;
  }

  h6,
  .footer h6 {
    font-size: 1.1rem;
  }

  .fs-6,
  #mainServiceTabs .nav-link {
    font-size: 0.95rem !important;
  }

  p,
  span {
    font-size: 0.95rem;
  }

  .btn,
  form input[type="submit"] {
    font-size: 0.95rem;
    padding: 10px 32px;
  }

  form option {
    font-size: 0.95rem;
  }

  h3.special-fonts {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .navbar-nav li:hover > .sub-menu {
    display: block;
  }
}

/* Medium devices (≥768px and <992px) */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  h4 {
    font-size: 1.4rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  h6,
  .footer h6 {
    font-size: 1rem;
  }

  .fs-6,
  #mainServiceTabs .nav-link {
    font-size: 0.875rem !important;
  }

  p,
  span {
    font-size: 0.875rem;
  }

  .btn,
  form input[type="submit"] {
    font-size: 0.875rem;
    padding: 9px 28px;
    margin-bottom: 20px;
  }

  form option {
    font-size: 0.875rem;
  }

  h3.special-fonts {
    font-size: 2.7rem;
  }
}

/* Small devices (≥576px and <768px) */
@media (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  h6,
  .footer h6 {
    font-size: 0.95rem;
  }

  .fs-6,
  #mainServiceTabs .nav-link {
    font-size: 0.85rem !important;
  }

  p,
  span,
  li {
    font-size: 0.85rem;
  }

  .footer li a {
    font-size: 0.85rem;
  }

  .btn,
  form input[type="submit"] {
    font-size: 0.85rem;
    padding: 8px 24px;
    margin-bottom: 20px;
  }

  form option {
    font-size: 0.85rem;
  }

  h3.special-fonts {
    font-size: 2.4rem;
  }
}

/* Extra small devices (<576px) */
@media (max-width: 575.98px) {
  /* h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.875rem; }
  p  { font-size: 0.875rem; }
  .btn,
  form input[type="submit"] {
    font-size: 0.8125rem;
    padding: 8px 20px;
    margin-bottom: 20px;
  }
  .btn.btn--icon > i {
    margin-left: 10px;
  }
  form input,
  form select,
  form textarea {
    font-size: 0.8125rem;
    padding: 8px 10px;
  }
  form input::placeholder,
  form textarea::placeholder {
    font-size: 0.8125rem;
  }
  form p.lable {
    font-size: 0.8125rem;
  }
  form option {
    font-size: 0.8125rem;
  }
  h3.special-fonts {
    font-size: 2.1rem;
  } */
}

/* Glocal CSS ends here */
/* Big Screen devices */
@media (min-width: 1800px) {
  .testimonial-section .container-fluid {
    max-width: 1320px;
  }
}

@media (max-width: 1199.98px) {
  .navbar-nav > .menu-item > a {
    padding: 10px 14px;
  }

  .front__page_banner_custom {
    min-height: 440px;
  }
}

@media (max-width: 991.98px) {
  .comfortsmiles-header .header-top .logo img {
    /* height: 150px; */
    margin: 10px 0 20px;
  }

  .navbar-toggler {
    right: 5%;
  }

  .comfortsmiles-header
    .d-flex.flex-column.flex-lg-row.justify-content-between {
    flex-direction: row !important;
  }

  .mobile-contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3eee8;
    padding: 12px 15px;
    width: 100%;
  }

  .mobile-contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-contact-bar i {
    color: #d27546;
    font-size: 22px;
  }

  .mobile-contact-bar a,
  .mobile-contact-bar span {
    font-size: 20px;
    color: #000;
    text-decoration: none;
    font-weight: 400;
  }

  .comfortsmiles-header .d-flex.align-items-center.mb-sm-1.mb-md-2.mb-lg-0 {
    display: none !important;
  }

  .comfortsmiles-nav,
  .navbar-nav .sub-menu {
    /* background: rgba(245, 245, 245, 0.7); */
  }

  .navbar-nav .sub-menu li:hover > a,
  .navbar-nav .sub-menu li a {
    padding: 6px 20px;
  }

  .footer-nav {
    justify-content: center;
  }

  .why-us-wrapper a {
    padding: 0;
    display: block;
  }

  .higlighted-service-section .card-text p {
    font-size: 13px;
  }

  /* .comfortsmiles-header.is-sticky.is-sticky-full .comfortsmiles-nav {
    top: 55px !important;
  } */
  .comfortsmiles-header .header-top {
    padding: 10px 0 0;
    position: relative;
  }

  #comfortsmiles-header .comfortsmiles-header-top {
    position: relative;
    justify-content: space-between !important;
  }

  .menu-items {
    margin: inherit !important;
    background: #fff !important;
  }

  .banner-overlay-content .banner-subtitle {
    /* display: none; */
    text-align: center;
  }

  /* .banner-overlay-content {
    left: 50%;
    top: auto;
    bottom: 0;
    text-align: center;
    padding: 0;
    transform: translate(-50%, 0%);
    width: 80%;
  } */

  .banner-overlay {
    background: none;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .circle-button {
    width: 25px;
    height: 25px;
  }

  .circle-button .arrow-icon {
    width: 20px;
    height: 20px;
  }

  .blog-wrapper .card-title {
    font-size: 22px;
  }

  .blog-wrapper .card-text {
    font-size: 15px;
    line-height: 20px;
  }

  .banner-subtitle {
    font-size: 18px;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: 0;
  }

  .navbar-toggler {
    position: absolute;
    right: 0;
    top: 30%;
    transform: translateY(-50%);
  }

  .feature-text p {
    font-size: 20px;
  }

  .feature-text {
    padding: 0 0px 0 20px;
  }

  /* .section2 .care-image:nth-child(even) {
    order: 1;
  } */
  .hs .row:nth-of-type(even) {
    flex-direction: column-reverse;
  }

  .services-section {
    margin-bottom: 30px;
  }

  .navbar-nav .menu-item-has-children.submenu-open > a::after {
    transform: rotate(-180deg);
  }

  .sub-menu {
    display: none;
    transition: all 0.3s ease-in-out;
  }

  .submenu-open .sub-menu {
    display: block;
  }

  .navbar-nav .sub-menu {
    position: unset;
  }

  ul.sub-menu .menu-item a {
    border-bottom: none;
  }

  .faq-section {
    padding: 15px;
  }

  .navbar-nav {
    padding-top: 10px;
  }

  .front__page_banner_custom {
    min-height: 340px;
    margin-top: 5rem;
  }

  .why-us-wrapper {
    position: unset !important;
    max-width: 100%;
    color: #000;
    background-color: #f5f5f5;
  }

  .main-nav.sticky {
    top: 165px;
  }

  #site-header {
    position: sticky;
    top: 0;
    z-index: 999999;
  }

  .main-nav.sticky {
    position: sticky;
  }
}

@media (min-width: 767.98px) and (max-width: 991.98px) {
  .higlighted-service-section h5 {
    width: 100% !important;
  }
}

@media (min-width: 767.98px) {
  .services-tabs .nav-pills .nav-link .post-title {
    min-height: 45px;
  }
}

@media (max-width: 767.98px) {
  .social-media-section {
    padding: 10px !important;
  }

  .answers-buttons a {
    width: 100%;
  }

  .front__page_banner_custom .banner-overlay-content {
    text-align: center;
  }

  .service-menu-carousel:not(:has(.owl-nav.disabled)) .owl-stage-outer {
    padding: 0;
    text-align: center;
  }

  #rebrandModal .modal-dialog {
    max-width: 550px;
  }

  .service-menu-carousel .owl-item a::after {
    content: "";
  }

  #mainServiceTabsContent .nav.nav-pills {
    justify-content: center;
  }

  .front__page_banner_custom img {
    object-fit: contain;
  }

  .banner-title {
    color: #000;
  }

  .front__page_banner_custom .container {
    max-width: none;
    padding: 0 0 0 0;
    width: 100%;
  }

  .front__page_banner_custom .btn.btn-primary {
    color: #3c8c80;
    border: 1px solid #3c8c80;
    background: #fff !important;
  }

  .banner-overlay-content {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
  }

  .banner-overlay {
    background: none;
  }

  .dentist-divider {
    margin: 15px 0;
  }

  .carousel-text h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .footer {
    text-align: center;
  }
  .footer-locations {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .footer .logo {
    display: flex;
    justify-content: center;
  }

  .footer .logo img {
    width: auto !important;
  }

  .footer-locations .location {
    max-width: 100%;
  }

  .footer-menu,
  .service-footer-menu {
    display: flex;
    justify-content: center;
  }

  .footer-nav,
  .service-nav {
    padding-left: 0;
    list-style: none;
  }

  .footer .social-icons,
  .footer a {
    justify-content: center;
  }
  .footer iframe {
    margin: 0 auto;
    display: block;
  }
  .hour-row .day {
    min-width: 70px;
  }

  .answers-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .carousel-text h1 {
    font-size: 2rem;
  }

  .dentist-info {
    padding: 20px !important;
    text-align: center;
  }

  .dentist-img {
    max-width: 100%;
    height: auto;
  }

  .feature-text p {
    font-size: 18px;
  }

  .feature-text {
    padding: 0 0px 0 20px;
  }

  .consultation-wrapper {
    display: block;
  }

  .consultation-container {
    padding: 30px;
    width: 100%;
  }

  .consultation-image {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    margin: 0 auto;
  }

  .consultation-content {
    padding: 0;
  }

  .ssj iframe,
  .contact-section iframe {
    min-height: 450px !important;
  }

  .front__page_banner_custom {
    min-height: 250px;
  }

  .image-wrapper img {
    height: auto;
  }

  .icon-box img {
    width: 80px;
    height: 80px;
  }

  .hs-img {
    min-height: 100%;
    height: 650px;
  }

  .main-nav.sticky {
    top: 160px;
  }
}

@media (max-width: 575.98px) {
  #rebrandModal .badge {
    font-size: 12px;
    line-height: 14px;
    width: 100px;
  }

  #rebrandModal .brand-logo {
    max-height: auto;
    width: 250px;
  }

  #rebrandModal .max-w-5 {
    width: 100%;
  }

  #servicesDropdown {
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }

  /* .logo img {
    width: 260px;
  } */
  .feature-text p {
    font-size: 16px;
    font-weight: 400;
  }

  .feature-text {
    padding: 0 0px 0 10px;
  }

  .owl-item:not(.active) .consultation-image {
    margin-left: 0 !important;
  }

  .consultation-section {
    padding: 6px 0;
  }

  .consultation-arrow {
    display: none;
  }

  .benefits-section {
    padding: 30px 20px;
  }

  .faq-question {
    text-align: left;
    font-size: 18px;
  }

  .consultation-label h2,
  .consultation-label h3 {
    margin-bottom: 15px;
    text-align: center;
  }

  .consultation-label h3 br,
  .consultation-label h2 br {
    display: none;
  }

  .consultation-container {
    margin: 0 auto;
  }

  .candidate-section p {
    margin-left: 0px;
  }

  .candidate-section {
    margin-top: 0px;
    margin-bottom: 30px;
  }

  .banner-overlay-wrapper {
    justify-content: center;
    padding: 20px;
    text-align: center;
  }

  .banner-title {
    /* font-size: 28px;
    line-height: 38px; */
    padding: 10px;
  }

  .banner-subtitle {
    font-size: 16px;
  }

  .stats-container {
    padding: 1.5rem;
    margin: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .footer {
    padding: 30px 15px 20px;
  }

  .footer-locations .location-inner {
    gap: 10px;
  }

  .footer-locations .location-inner h3 {
    font-size: 18px;
  }

  .footer-locations .location-inner .phone,
  .footer-locations .location-inner .address p,
  .hour-row {
    font-size: 14px;
  }

  .bordered-wrapper,
  .payment-option-wrapper {
    border: none;
    border-radius: 0;
  }

  .stats-grid {
    margin: 0 0 30px 0;
  }

  .consultation-content .number {
    font-size: 55px;
  }

  .front__page_banner_custom {
    min-height: 420px;
  }

  /* .front__page_banner_custom img {
    height: 420px;
    object-fit: cover;
  } */
  .main-nav.sticky {
    top: 156px;
  }
}

@media (max-width: 399.98px) {
  .comfortsmiles-header .header-top .logo img {
    width: 275px;
  }

  #rebrandModal .brand-logo {
    width: 200px;
  }
}

@media (max-width: 359.98px) {
  #rebrandModal .brand-logo {
    width: 150px;
  }

  .mobile-contact-bar i {
    font-size: 18px;
  }

  .mobile-contact-bar a,
  .mobile-contact-bar span {
    font-size: 16px;
  }
}

@media (max-width: 732px) {
  /* Center all banner text */
  .front__page_banner_custom {
    margin-top: 5rem !important;
  }
  .front__page_banner_custom .banner-overlay-content {
    text-align: center;
  }

  /* Move buttons below text and center them */
  .front__page_banner_custom .banner-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* CTA buttons styling */
  .front__page_banner_custom .banner-overlay-content a.btn,
  .front__page_banner_custom .banner-overlay-content .cta-button {
    margin-top: 14px;
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 260px;
  }
  .front__page_banner_custom .banner-overlay-content {
    align-items: center; /* ensures true centering */
  }

  .front__page_banner_custom .banner-overlay-content a.btn,
  .front__page_banner_custom .banner-overlay-content .cta-button {
    margin-left: auto;
    margin-right: auto;
  }
  .front__page_banner_custom .banner-overlay-content a.btn,
  .front__page_banner_custom .banner-overlay-content .cta-button {
    margin-top: 4px; /* reduced from larger spacing */
  }

  /* Optional: remove extra gap on first button */
  .front__page_banner_custom .banner-overlay-content a.btn:first-of-type,
  .front__page_banner_custom .banner-overlay-content .cta-button:first-of-type {
    margin-top: 0;
  }
}

@media (max-width: 991px) {
  .meet-ourdentist .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .meet-ourdentist .row > .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .doctor-card {
    width: 100%;
    height: 480px;
  }
}

@media (max-width: 767px) {
  .meet-ourdentist .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .meet-ourdentist .row {
    row-gap: 20px;
  }

  .meet-ourdentist .row > .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .doctor-card {
    width: 100%;
    height: 420px;
  }
}

@media (max-width: 991px) {
  .services-scroll-wrapper {
    padding-bottom: 12px;
  }

  .services-scroll {
    gap: 16px;
  }

  .service-card {
    width: 260px;
    height: 330px;
  }

  .service-title {
    font-size: 15px;
    padding: 6px 10px;
  }

  .service-card:hover .service-title {
    font-size: 18px;
  }

  .scroll-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 767px) {
  .services-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .services-scroll {
    gap: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .service-card {
    width: 85%;
    max-width: 300px;
    height: 320px;
  }

  .service-title {
    font-size: 14px;
    padding: 5px 8px;
  }

  .service-card:hover .service-title {
    font-size: 17px;
  }

  .scroll-btn {
    display: none;
  }

  .services-controls {
    margin-top: 10px;
  }

  .services-progress {
    height: 5px;
  }
}
@media (max-width: 767px) {
  .seo-card__cta {
    margin: 0 auto;
  }
}
@media (max-width: 991px) {
  .higlighted-service-wrap {
    flex-direction: column;
  }

  .higlighted-service-wrap > [class*="col-"] {
    width: 100%;
    background: #fffdfa;
  }

  .higlighted-service-wrap .col-md-8 {
    padding: 20px 20px 0;
  }

  .higlighted-service-wrap .col-md-4 {
    padding: 20px;
  }

  .higlighted-service-section .service-card-text {
    width: 100%;
    margin-top: 0;
  }

  .higlighted-service-section .service-box {
    flex-direction: column;
    padding: 20px;
    text-align: left;
  }

  .higlighted-service-section .service-img-small {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
  }

  /* ===== Highlighted Banner Section ===== */
  .highlighted-banner-section,
  .highlighted-banner-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .highlighted-banner-card {
    height: 300px;
    margin-bottom: 24px;
  }

  .banner-overlay {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .banner-content {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .banner-content h3 {
    font-size: 20px;
  }

  .banner-text {
    font-size: 13px;
  }
}
@media (max-width: 767px) {
  .highlighted-banner-card {
    height: 260px;
    margin-bottom: 20px;
  }

  .banner-overlay {
    padding: 15px;
  }

  .banner-content h3 {
    font-size: 18px;
  }

  .banner-text {
    font-size: 12.5px;
  }

  .banner-link,
  .banner-link-a {
    font-size: 13px;
  }

  .higlighted-service-section .service-img-small {
    height: 300px;
  }
}
/* ================= MOBILE ================= */
@media (max-width: 991px) {
  .comfortsmile-header-inner {
    height: 90px;
    justify-content: center !important;
  }
  .financing-logos{
    justify-content: center !important;
  }
}

@media (max-width: 1199px) {
  .comfortsmile-nav .navbar-nav > li > a {
    font-size: 15px;
    padding: 0 8px !important;
  }

  .comfortsmile-logo img {
    max-width: 140px;
  }
}
@media (min-width: 992px) {
  .header-top {
    flex-wrap: nowrap;
  }

  .comfortsmile-logo {
    flex: 0 0 auto;
  }

  .comfortsmile-nav {
    flex: 1;
  }
}
/* Fix header overflow below 1400px */
@media (max-width: 1400px) {
  .comfortsmile-nav .navbar-nav > li > a {
    font-size: 15px;
    padding: 0 10px !important;
  }

  .comfortsmile-logo img {
    max-width: 150px;
  }
}
@media (max-width: 1200px) {
  .comfortsmile-nav .navbar-nav > li > a {
    padding: 0 12px;
    font-size: 16px;
  }
}

/* Between 992px and 1200px — fix overflow + reduce gap */
@media (min-width: 992px) and (max-width: 1200px) {
  .comfortsmile-nav .navbar-nav {
    display: flex;
    gap: 15px;
  }

  .comfortsmile-nav .navbar-nav > li > a {
    padding: 0; /* gap will control spacing */
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .header-top {
    flex-wrap: nowrap;
  }

  .nav-left a,
  .nav-right a {
    font-size: 14px;
    padding: 0 8px;
  }

  .comfortsmile-logo img {
    max-width: 130px;
  }
}

/* Force desktop menu horizontal */
@media (min-width: 992px) {
  .comfortsmile-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .comfortsmile-nav .navbar-nav > li {
    display: inline-flex;
    align-items: center;
  }

  .comfortsmile-nav .navbar-nav > li > a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }
}
@media (max-width: 991px) {
  .feature-card__img img {
    max-height: 320px;
  }
}
@media (max-width: 991px) {
  .seo-card__right img {
    height: 320px;
  }
}
@media (max-width: 768px) {
  .service-card {
    width: 100%;
    height: 260px;
  }
}
@media (max-width: 991px) {
  .feature-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 16px;
  }
}
@media (max-width: 991px) {
  .feature-card__img img {
    max-height: 320px;
  }
}
@media (max-width: 991.98px) {
  .higlighted-service-wrap {
    flex-direction: column;
  }
}
@media (max-width: 991px) {
  .feature-card__content {
    padding: 8px 6px 0;
  }
}

@media (max-width: 991px) {
  .seo-card__left,
  .seo-card__right {
    height: auto;
  }
}
@media (max-width: 991px) {
  .seo-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .banner-left {
    width: 100%;
  }

  .popup-inner {
    padding: 25px;
  }

  .banner-countdown span {
    font-size: 32px;
  }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .banner-content {
    flex-direction: column;
  }
  .banner-left,
  .banner-right {
    width: 100%;
    max-width: 100%;
  }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .main-heading {
    font-size: 28px;
  }
  .sub-heading {
    font-size: 22px;
  }
  .section-title {
    font-size: 26px;
  }
  .about-content h2 {
    font-size: 26px;
  }
  .bottom-cta h2 {
    font-size: 24px;
  }
  .top-content {
    flex-direction: column;
    gap: 20px;
  }
  .about-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .implant-row,
  .implant-row.reverse,
  .implant-bottom {
    flex-direction: column;
    gap: 25px;
  }
  .cta-btn {
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .main-heading {
    font-size: 24px;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .smile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .compare-wrapper {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .smile-section {
    padding: 40px 15px;
  }

  .smile-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .smile-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .compare-card {
    padding: 12px;
  }

  .compare-wrapper {
    height: 240px;
  }

  .labels {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .compare-wrapper {
    height: 200px;
  }

  .slider::after {
    font-size: 10px;
    padding: 5px;
  }
}
@media (max-width: 480px) {
  .banner-content {
    gap: 50px;
    padding: 60px 0px 20px 0px;
  }
  .banner-countdown {
    justify-content: center;
    margin-bottom: 20px;
  }
  .banner-countdown span {
    font-size: 36px;
  }
  .front-banner-section {
    background: #04574b;
  }
  .banner-left {
    padding: 0px;
  }
  .text-left h4 {
    line-height: 10px;
  }
  .implant-bottom {
    margin-top: 0px;
  }
  .implant-bottom h3 {
    font-size: 2rem;
    padding: 20px;
    margin-top: 0px;
  }
  .implant-row {
    padding: 20px;
  }
  p {
    font-size: 1rem;
  }
  .bottom-text h4 {
    font-size: 1.5rem;
  }
  .custom-testimonial-section {
    margin-bottom: 2rem;
  }
  .pa {
    padding-top: 1rem !important;
  }
  .banner-link-a {
    margin-top: 0px;
  }
  .text-box.glass-box {
    text-align: center;
  }

  .text-box.glass-box ul {
    display: inline-block;
    text-align: left;
    padding-left: 18px;
    margin: 0 auto;
    list-style-position: outside;
    font-size: 15px;
  }

  .text-box.glass-box ul li {
    text-align: left;
    margin-bottom: 6px;
    margin-left: 50px;
  }
 
  .help-list {
    text-align: left;
    margin-left: 50px;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .banner-title {
    font-size: 32px;
    text-align: center;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .banner-title {
    font-size: 26px;
  }

  .banner-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 450px) {
  .btn--icon {
    min-width: 315px;
  }
  .banner-title {
    text-align: center;
  }
  .banner-overlay-content {
    padding: 0px;
  }
  .btn {
    margin-bottom: 0px !important;
  }
  .front__page_banner_custom .container {
    margin-top: 0px !important;
    margin-bottom: 20px !important;
  }
  .seo-card__left {
    text-align: center;
  }
  .pc {
    padding: 40px 20px !important;
  }

  .footer-nav {
    text-align: center;
  }
  .about-section .container {
    padding: 40px 20px !important;
  }
  .service-card {
    width: 100%;
    max-width: none !important;
  }
  .social-media-section {
    padding: 40px 20px !important;
  }
}
@media (max-width: 576px) {
  .custom-list li {
    flex-direction: column;
  }

  .custom-list img {
    margin-bottom: 10px;
  }
}

@media (max-width: 767.98px) {
  .photo-gallery-carousel .photo-gallery-item img {
    height: 220px;
  }
  .photo-gallery-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 991px) {
  .sub-menu {
    display: none;
    padding-left: 15px;
  }
}
/* new styles */
@media (max-width: 767px) {
  .service-image img {
    height: 350px;
  }

  .service-content-box {
    position: relative;
    left: unset;
    bottom: unset;
    transform: unset;

    margin: -60px auto 0;

    width: calc(100% - 30px);
    padding: 25px;
  }

  .service-content-box h3 {
    font-size: 30px;
  }

  .service-content-box p {
    font-size: 16px;
  }

  .service-card-wrapper {
    padding-bottom: 0;
  }
}
@media (max-width: 767px) {
  .banner-overlay-content {
    padding: 40px 24px;
    text-align: center;
  }

  .banner-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
  }

  .banner-subtitle {
    font-size: 18px;
    line-height: 1.7;
  }

  .banner-image img {
    width: 100%;
    display: block;
    /* margin-top: 2rem; */
  }
  .banner-image {
    border-radius: 0 !important;
  }
}

@media (max-width: 767px) {
  .serving-location-section {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .serving-location-title h2 {
    font-size: 38px;
  }

  .serving-location-name {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .thoughtfully-title {
    font-size: 36px;
    margin-bottom: 24px;
  }
  .thoughtfully-description {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .thoughtfully-title {
    line-height: 1.3;
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .services-slider-wrapper {
    padding: 20px 0 80px;
  }

  .services-slider {
    gap: 24px;
    padding-left: 8%;
  }

  .service-slide {
    min-width: 75%;
  }

  .service-image img {
    height: 320px;
  }

  .service-content-box {
    width: 70%;
    padding: 18px;
    bottom: -55px;
  }

  .service-content-box h3 {
    font-size: 20px;
  }

  .prev-btn {
    left: 30px;
  }

  .next-btn {
    right: 30px;
  }
}

@media (max-width: 767px) {
  .services-section-title h2 {
    font-size: 24px;
  }

  .services-slider-wrapper {
    padding: 10px 15px 70px;
    overflow: hidden;
  }

  .services-slider {
    gap: 16px;
    padding-left: 0;
  }

  .service-slide {
    min-width: 100%;
  }

  .service-image img {
    height: 250px;
    border-top-left-radius: 40px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  .service-content-box {
    width: 88%;
    padding: 16px;
    bottom: -45px;
    border-radius: 16px;
  }

  .service-content-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .service-content-box p {
    font-size: 12px;
    line-height: 1.5;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
    top: 38%;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .service-image img {
    height: 220px;
  }

  .service-content-box {
    width: 92%;
    padding: 14px;
  }

  .service-content-box h3 {
    font-size: 16px;
  }

  .service-content-box p {
    font-size: 11px;
  }
}
@media (max-width: 991px) {
  .service-image img {
    height: 320px;
  }

  .service-content-box {
    width: 78%;
    min-height: auto;
    padding: 18px;
    bottom: -50px;
  }

  .service-content-box h3 {
    font-size: 18px;
  }

  .service-content-box p {
    font-size: 12px;
  }

  .prev-btn {
    left: 20px;
  }

  .next-btn {
    right: 20px;
  }
}

@media (max-width: 991px) {
  .service-image img {
    height: 320px;
  }

  .service-content-box {
    width: 80%;
    padding: 18px;
    bottom: -45px;
  }

  .service-content-box h3 {
    font-size: 20px;
  }

  .service-content-box p {
    font-size: 13px;
  }

  .prev-btn {
    left: 20px;
  }

  .next-btn {
    right: 20px;
  }
}
@media (max-width: 991px) {
  .doctor-card {
    max-width: 340px;
  }

  .doctor-overlay-img {
    height: 380px;
  }
}

@media (max-width: 991px) {
  .doctor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .doctor-card {
    width: 100%;
  }

  .doctor-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 16px 12px;
    background: rgba(101, 101, 101, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    z-index: 5;
  }

  .doctor-overlay-img {
    display: block;
    width: 100%;
    height: auto;
  }
  .doctor-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 320px;
  }
}
@media (max-width: 767px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .doctor-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .doctor-name {
    font-size: 18px;
  }

  .doctor-designation {
    font-size: 13px;
  }
  .doctor-overlay-img {
    height: auto;
  }
}
@media (max-width: 991.98px) {
  .about-service__media img {
    height: 320px;
    border-radius: 0 60px 20px 20px;
  }

  .about-service__benefits {
    padding-top: 0;
  }
}
@media (max-width: 1200px) {
  .front__page_banner_custom {
    height: 600px;
    display: flex;
    align-items: center;
    background: #f4faff;
  }
}

@media (min-width: 768px) and (max-width: 1400px) {
  .front__page_banner_custom {
    height: 700px;
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .front__page_banner_custom {
    height: auto !important;
    min-height: unset !important;
  }
}
/* our service */
@media (max-width: 767px) {
  .our-services-section {
    overflow: hidden;
    padding: 20px 0;
  }

  .services-section-title h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .services-slider-wrapper {
    padding: 10px 0 30px;
  }

  /* IMAGE */
  .service-image img {
    height: 300px;
    border-top-left-radius: 40px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
  }

  /* CENTER IMAGE */
  .services-slider .owl-item.center .service-image img {
    height: 300px;
  }

  /* SIDE IMAGES */
  .services-slider .owl-item:not(.center) .service-image img {
    height: 240px;
    opacity: 0.7;
  }

  .service-content-box {
    width: 82%;
    padding: 18px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 0;
  }

  .services-slider .owl-item.center .service-content-box {
    width: 86%;
    padding: 18px 16px;
    bottom: 0;
  }

  .services-slider .owl-item:not(.center) .service-content-box {
    width: 82%;
    padding: 14px 14px;
    bottom: 8px;
  }

  .service-content-box h3 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .service-content-box p {
    font-size: 13px;
    line-height: 1.5;
  }

  .slider-arrow {
    width: 42px;
    height: 42px;
    top: 58%;
    background: #fff;
    border: 1px solid #000;
  }

  .slider-arrow i {
    font-size: 14px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  /* VIEW ALL */
  .services-view-all {
    margin-top: 10px;
  }

  .view-link-a {
    font-size: 15px;
  }
}
@media (max-width: 991px) {
  .banner-overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .front__page_banner_custom {
    height: 900px;
  }
}