@media (max-width: 1920px) {
  .container {
    max-width: 1240px;
    /* max-width: 80%; */
    /* padding-left: 48px; */
  }
}
/* Tablet Sizes */
@media only screen and (min-width: 768px) and (max-width: 1280px) {
  /* Styles for tablets */
  .hero_section {
    height: auto;
  }
  #three_img .col-lg-3 h4 {
    margin: 40px 0;
  }
  #restoration img,
  #innovation img,
  #choose img {
    padding: 40px 0;
  }
  div#navbarSupportedContent {
    text-align: center;
  }
}

@media only screen and (min-width: 810px) and (max-width: 1080px) {
  /* Styles for tablets */
  .home_img_box {
    margin: 40px 0;
  }
  div#navbarSupportedContent {
    text-align: center;
  }
}

@media only screen and (min-width: 1080px) and (max-width: 1920px) {
  /* Styles for tablets in landscape orientation */
  .hero_section h1 {
    font-size: 2.5rem;
  }
  div#about_section h3 {
    font-size: 2rem;
  }
  div#navbarSupportedContent {
    text-align: center;
  }
}

/* Mobile Sizes */
@media only screen and (min-width: 360px) and (max-width: 896px) {
  /* Styles for mobile devices */
  .hero_section h1 {
    font-size: 1.6rem;
  }
  .hero_section {
    height: auto;
    padding: 10vh 0;
  }
  .home_img_box {
    margin: 40px 0;
  }
  .page_intro_text h1 {
    font-size: 3.4rem;
  }
  #about_content P,
  .group_para {
    font-size: 18px;
    margin-bottom: 20px;
  }
  #about_content h4,
  .group_heading,
  .faq_heading {
    font-size: 25px;
  }
  .Testimonials {
    font-size: 2rem;
  }
  div#navbarSupportedContent {
    text-align: center;
  }
}

@media only screen and (min-width: 375px) and (max-width: 667px) {
  /* Styles for mobile devices */
  div#about_section h2 {
    font-size: 3rem;
  }
  div#about_section h4 {
    font-size: 1.5rem;
  }
  div#about_section h3 {
    font-size: 2rem;
  }
  div#about_section p {
    font-size: 18px;
  }
  #restoration h3,
  #innovation h3,
  #choose h3 {
    font-size: 30px;
  }
  #restoration p,
  #innovation p,
  #choose p {
    font-size: 18px;
  }
  #restoration img,
  #innovation img,
  #choose img {
    padding: 20px 0;
  }
  .vertical_img,
  .horizontal_img1,
  .horizontal_img2 {
    height: auto;
  }
  .horizontal_img1 {
    margin-top: 20px;
  }
  .services-info-inner img {
    width: 190px;
  }
  div#navbarSupportedContent {
    height: 50vh;
    text-align: center;
  }
  div#about_content .col-lg-7 {
    padding: 0 20px;
  }
}
h4.home_three_head {
  margin-top: -10px !important;
}

@media (max-width: 992px) {
  .card_1 {
    height: auto;
  }
  #new_head_pro {
    margin: 30px 0 !important;
  }
  .footer_hide_1 {
    display: none;
  }
  div#navbarSupportedContent {
    background: linear-gradient(
      to top right,
      #8ecdc8 0%,
      #8ecdc8 40%,
      #68b2e3 100%
    );
    height: auto;
    justify-content: center;
    border-radius: 12px;
    padding: 19px;
    text-align: center !important;
  }
  .login_btn {
    display: inline-block;
    color: white;
    /* padding: 15px; */
  }
  a.nav-link {
    color: white;
  }
}
@media (max-width: 767px) {
  .home_three_head {
    margin-top: -10px !important;
  }
  #three_img {
    padding: 15% 0;
  }
  #three_img img {
    width: 70%;
  }
  #contactForm textarea,
  label,
  input,
  select {
    padding: 5px;
    height: 45px;
    margin: 10px 0;
    font-size: 19px;
  }
  .mainButton {
    margin-top: 75px;
  }
  .subButtonLink {
    padding: 8px 10px;
    margin: 5px 0;
  }
  .subTabDiv h3 {
    margin-top: 20px;
  }
  #gingivaOptions {
    margin-top: 20px;
  }
  div#Texture img {
    width: 60%;
  }
  div#Texture .col-md-4,
  div#Texture .col-md-8 {
    text-align: center;
    margin: 25px 0;
  }
  .subButton {
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
  }
  #BespokeSmilesSubAccord {
    width: 100%;
    height: revert-layer;
  }
  #natural h3,
  #functional h3,
  #youthful h3,
  #detailedFunctional h3,
  #detailedYouthful h3,
  #enhanced h3,
  #oval h3 {
    margin-bottom: 40px;
    margin-top: -10px;
  }
  .galleyTab {
    padding: 8px 16px;
  }

  .gallery img {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 575px) {
  .message.success {
    margin-top: 0px;
  }
  .form-container .product_button {
    font-size: 38px;
    line-height: 17px;
    margin-top: 12px;
  }
  .homeFormP {
    margin-top: -20px !important;
  }
  .container_footer {
    text-align: center;
  }
  .hue-img .smallhue-img img {
    width: 155px;
  }
  #page_intro {
    height: auto;
  }
  #progress-bar-container li .step-inner {
    font-size: 14px;
    top: 44px;
  }
  div#Texture img {
    width: 90%;
  }
  .smile-img-link img {
    width: 150px;
  }
  .smile-img-link a {
    font-size: 18px;
  }
  #BespokeSmilesSubAccord {
    height: revert-layer;
    margin-top: -40px;
  }
  #StudyModels {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
  }
  div#StudyModels p {
    width: 100%;
  }
  div#PatientPhotos {
    margin: 0px 0;
  }
  div#smileGuide .col-md-4,
  div#smileGuide .col-md-8 {
    margin: 10px 0;
  }
  div#smileGuide .col-md-4 {
    text-align: center;
  }
  div#smileGuide img {
    width: 50%;
    margin: 20px 0;
  }
}
@media (max-width: 420px) {
  .mainButtonLink {
    font-size: 15px;
    padding: 5px 10px;
  }
  div#PatientPhotos {
    margin: 40px 0;
  }
  .patientP {
    margin-top: 20px;
  }
  .simleoption a {
    font-size: 18px;
  }
  .hue-img .smallhue-img img {
    width: 145px;
  }
}
@media (max-width: 360px) {
  .despoke-div {
    justify-content: center;
  }
  .hue-img .smallhue-img img {
    width: 110px;
  }
  .hue-img .smallhue-img span {
    padding: 6px;
  }
  .hueGallery img {
    height: 100px;
  }
  .hueGallery span {
    bottom: 0;
    font-size: 11px;
  }
  div#navbarSupportedContent {
    height: 50vh;
    text-align: center;
  }
  .hero_section h1 {
    font-size: 30px;
  }
  .hero_section {
    height: auto;
    padding: 10vh 0;
  }
  div#about_section h2 {
    font-size: 3rem;
  }
  div#about_section h4 {
    font-size: 1.5rem;
  }
  div#about_section h3 {
    font-size: 2rem;
  }
  div#about_section p {
    font-size: 18px;
  }
  #restoration h3,
  #innovation h3,
  #choose h3 {
    font-size: 30px;
  }
  #restoration p,
  #innovation p,
  #choose p {
    font-size: 18px;
  }
  #restoration img,
  #innovation img,
  #choose img {
    padding: 20px 0;
  }
  .vertical_img,
  .horizontal_img1,
  .horizontal_img2 {
    height: auto;
  }
  .horizontal_img1 {
    margin-top: 20px;
  }
  .services-info-inner img {
    width: 190px;
  }
  .page_intro_text h1 {
    font-size: 3.4rem;
  }
  #about_content P,
  .group_para {
    font-size: 18px;
    margin-bottom: 20px;
  }
  #about_content h4,
  .group_heading,
  .faq_heading {
    font-size: 25px;
  }
  .Testimonials {
    font-size: 2rem;
  }
  div#about_content .col-lg-7 {
    padding: 0 20px;
  }
}
