/* 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) {
  .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;
  }
  .higlighted-service-section .card-text p {
    font-size: 13px;
  }
  /* .smile-solutions-header.is-sticky.is-sticky-full .smile-solutions-nav {
    top: 55px !important;
  } */
  .smile-solutions-header .header-top {
    padding: 10px 0;
    position: relative;
  }

  #smile-solutions-header .smile-solutions-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);
  }

  .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: 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;
  }
  .why-us-wrapper {
    position: unset !important;
    max-width: 100%;
  }
  .main-nav.sticky {
    top: 159px;
  }
  #site-header {
    position: sticky;
    top: 0;
    z-index: 999;
  }
  .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) {
  .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 {
    height: 300px;
    object-fit: cover;
  }
  .banner-title {
    color: #000;
  }
  .front__page_banner_custom .container {
    max-width: none;
    padding: 20px 0 0 0;
    width: 100%;
    background: #f6f1eb;
  }
  .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 {
    padding: 40px 20px 30px;
  }

  .footer-locations {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .footer-locations .location {
    max-width: 100%;
  }
  .footer-menu {
    text-align: left;
  }
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }

  .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: 146px;
  }
}

@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: 110px;
  }
}
@media (max-width: 399.98px) {
  #rebrandModal .brand-logo {
    width: 200px;
  }
}

@media (max-width: 359.98px) {
  #rebrandModal .brand-logo {
    width: 150px;
  }
}
