/* 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 {
    font-size: 1.1rem;
  }

  p {
    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 {
    font-size: 1rem;
  }

  p {
    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 {
    font-size: 0.95rem;
  }

  p {
    font-size: 0.85rem;
  }

  li {
    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;
  }
  .logo img{
    margin:1rem;
  }
  .btn{
    min-width: 195px;
  }
  .patient-form-text p{
    text-align: center !important;
  }
}

/* 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 */

@media (max-width: 1199.98px) {
  .navbar-nav>.menu-item>a {
    padding: 20px 14px;
  }

  .front__page_banner_custom {
    min-height: 440px;
  }

  .consultation-image {
    width: 160px;
    height: 160px;
    left: -40px;
    margin: 0 auto 15px auto;
  }
}

@media (max-width: 991.98px) {
  .mkc-header {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .location-selector {
    display: block !important;
  }

  #mkc-header .mkc-header-top {
    position: relative;
    justify-content: space-between !important;
  }

  .menu-items {
    margin: inherit !important;
    background: #fff !important;
  }

  .banner-overlay-content .banner-subtitle {
    display: none;
  }

  .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);
  }

  /* .section6 a {
    float: none !important;
  }

  .section4 .cta-btn,
  .section6 .cta-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #544e4c;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s;
    width: 200px;
  } */

  .circle-button {
    width: 25px;
    height: 25px;
  }

  .circle-button .arrow-icon {
    width: 15px;
    height: 15px;
  }

  .blog-wrapper .card-title {
    font-size: 22px;
  }

  .blog-wrapper .card-text {
    font-size: 15px;
    line-height: 20px;
  }

  /* .banner-title {
    font-size: 30px;
    line-height: 40px;
  } */

  .banner-subtitle {
    font-size: 18px;
  }

  .location-selector .btn {
    margin-right: 60px;
    margin-bottom: 0;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: 0;
  }

  .navbar-toggler {
    /* position: absolute;
    right: 0; */
    /* top: 50%;
    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;
  }

  /* slider */
  .consultation-wrapper {
    display: block;
  }

  .consultation-container {
    padding: 30px;
    width: 100%;
  }

  .consultation-image {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
  }

  .consultation-content {
    padding: 0;
  }

  .consultation-arrow {
    display: none;
  }

  .consultation-label h2,
  .consultation-label h3 {
    margin-bottom: 15px;
    text-align: center;
  }

  .consultation-label h3 br,
  .consultation-label h2 br {
    display: none;
  }

  .owl-item:not(.active) .consultation-image {
    margin-left: 0;
  }

  .owl-carousel .owl-dots {
    margin-top: 8px;
    text-align: center;
  }

  .owl-carousel button.owl-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    margin-right: 5px;
  }

  .owl-carousel button.owl-dot.active {
    background: #f0f0f0;
  }

  .consultation-wrapper:before {
    content: none;
  }
}

@media (max-width: 767.98px) {

  /* .banner-title {
    font-size: 24px;
    line-height: 34px;
  } */

  .carousel-text h1 {
    font-size: 2rem;
  }

  .services__page_banner_custom .container,
  .front__page_banner_custom .container {
    padding: 0 20px;
  }

  .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 {
    padding: 40px 20px 30px;
  }

  .footer-locations {
    flex-direction: column;
    gap: 30px;
  }

  .footer-locations .location {
    max-width: 100%;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }

  .hour-row .day {
    min-width: 70px;
  }

  .answers-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: column;
  }

  .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;
  }

  .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;
  }

  .dentist-card img {
    border-radius: 30px 30px 0 0;
  }

  .right-icon {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .logo img {
    width: 80%;
  }

  .feature-text p {
    font-size: 16px;
    font-weight: 400;
  }

  .feature-text {
    padding: 0 0px 0 10px;
  }

  .benefits-section {
    padding: 30px 20px;
  }

  .faq-question {
    text-align: left;
    font-size: 20px;
  }

  .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;
  }
}

@media (max-width: 991px) {
    .footer-columns {
        flex-direction: column !important;
        gap: 24px;
        align-items: center;
    }

    .footer-columns .timings,
    .footer-columns .footer-description,
    .footer-columns .footer-address {
        width: 100%;
        text-align: center !important;
    }

    .footer-divider {
        width: 60%;
        height: 1px !important;
        align-self: center;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .footer-columns {
        gap: 16px;
    }

    .footer-columns .timings,
    .footer-columns .footer-description,
    .footer-columns .footer-address {
        width: 100%;
        text-align: center !important;
    }

    .footer-content h4 {
        font-size: 1rem;
        text-align: center;
    }

    .footer-divider {
        width: 40%;
    }

    .timing-row {
        justify-content: center;
    }
    .footer-address p{
    text-align: center;
  }
}
@media (max-width: 525px) {
  .about-description{
    min-height: 0px !important;
  }
    .navbar-nav>.menu-item>a {
        padding: 10px 14px;
    }
    
.hs .carecontent{
    text-align: center;
}

.intro-section {
    margin-top: 0rem !important;
}
.doctor-border {
    border-radius: 20px 20px;
    text-align: center;
}
.easy-financing-section {
    padding-top: 4rem !important;
    padding-bottom: 1rem !important;
}
.easy-financing-section {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
}
.about-right p {
    text-align: center;
}
.about-section {
    padding-bottom: 0px !important;
}
.bordered-wrapper {
    padding: 0px !important; 
    margin-top: 0px !important;
}

.service-card__desc{
    text-align: center;
}
.service-card{
    padding: 0rem 1rem !important;
}
.h1{
    font-size: 1.75rem;
}
.banner-title{
    padding: 0px !important;
}
.about-left {
  text-align: center;
}
.services-description{
  text-align: center;
}
.patient-form-text{
  margin-top: 30px;
}
.content-section {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}
}



/* =========================
   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: #285E97;
  }
  .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;
    }
    .footer .logo img{
      width: 65% !important;
    }
    .help-list{
          text-align: left;
    margin-left: 50px;
    }

    
}

/* Responsive */
@media (max-width: 991px) {
  .banner-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .banner-title {
    font-size: 26px;
  }

  .banner-subtitle {
    font-size: 14px;
  }
}
