/* ==============================
   RESPONSIVE MEDIA QUERIES
================================ */

@media (min-width: 1480px) {
}

@media (max-width: 1399px) {
  .post-type-archive-doctors .hero-right-image img {
    width: 70vw;
    margin-left: 0;
    margin-right: 50px;
  }
  .post-type-archive-doctors .hero-section {
    height: 550px;
  }
  .single-doctors .hero-container {
    gap: 0px;
    width: 100%;
  }
  .post-type-archive-clinic .hero-right-image img {
    width: 940px;
    margin-right: 0;
  }
}

@media (max-width: 1280px) {
  .before-after-gallery-section {
    margin-top: -140px;
  }
  .gallery-item img {
    height: 200px;
  }
  .appointment-section {
    background-position: 23%;
  }
  .post-type-archive-clinic .hero-right-image img {
    width: 780px;
  }
  .header-container,
  .nav-wrapper {
    padding-inline: 20px;
    margin: 0;
    max-width: 1280px;
  }
  .info-title {
    font-size: 16px;
  }
  .info-icon {
    width: 35px;
  }
  .post-type-archive-doctors .hero-left .cta-btn {
    width: max-content;
  }
  .hero-left .cta-btn {
    width: fit-content;
    font-size: 16px;
  }
  .single-doctors .hero-right-image img {
    margin-bottom: 0;
  }
  .header-container .cta-btn {
    font-size: 14px;
    padding: 15px 11px;
  }
  .logo img {
    width: 200px;
  }
  .menu {
    gap: 9px;
  }
  .social-icons .fa-brands {
    font-size: 16px;
  }
  .home .hero-right-image::after {
    bottom: 27%;
    right: calc(50% - 210px + 20px);
  }
  .hero-container .hero-left {
    margin-top: 0px;
  }
  .post-type-archive-doctors .hero-container .hero-left {
    margin-top: 0px;
    flex: 1;
  }
  .hero-right-image img {
    width: 438px;
    margin-left: 0px;
  }
  .single-service .hero-right-image img {
    width: 700px;
  }
  .hero-right-image::after {
    right: calc(50% - 100px + 20px);
  }
  .hero-container {
    padding-inline: 25px;
    margin: 0;
  }
  .hero-left h1 {
    font-size: 45px;
  }
  .hero-left h3 {
    font-size: 30px;
  }
  .hero-bottom-box {
    padding-inline: 25px;
  }
  .hero-testimonial {
    width: 520px;
  }
  .form-image img {
    width: 200px;
    height: 230px;
    margin-right: 10px;
  }
  .services-section {
    overflow: hidden;
    padding: 40px 0px 100px;
  }
  .services-section .slider-btn {
    bottom: -50px;
  }
  .services-section .container {
    padding-inline: 25px;
    margin: 0;
    width: 100%;
  }
  .insurance-card {
    margin-inline: 25px;
    margin-top: -170px;
  }
  .map-wrapper {
    width: 60%;
    height: 697px;
  }
  .contact-card {
    width: 65%;
    z-index: 99;
  }
  .footer-container {
    gap: 100px;
  }
  .team-section-grid {
    padding: 50px 20px;
  }
  .stat-card p {
    font-size: 16px;
  }
  .feature-section {
    padding-bottom: 80px;
  }
  .page-template-patient-resources .feature-section {
    padding-bottom: 30px;
  }
  .stat-card img {
    width: 50px;
    height: 50px;
  }
  .contact-card ul li:first-child img.contact-icon {
    margin-top: -20px;
  }
  .insurance-content-section {
    height: 100%;
  }
  .form-field input[type="date"]:valid,
  .form-field select:valid {
    width: 100%;
    width: -webkit-fill-available;
    width: fill-available;
  }
  .page-id-922 .hero-right-image img {
    width: 670px;
    margin-left: 20%;
  }
}

@media (max-width: 1240px) {
  .team-section-grid .team-card {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3/4;
  }
  .single-doctors .teams-slider-wrapper {
    margin: 70px auto;
    flex-wrap: wrap;
  }
  .clinic-listing .container {
    width: 100%;
  }
  .doctors-by-specialization .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    width: 100%;
    height: auto !important;
    aspect-ratio: 3/4;
  }
    
  .doctors-by-specialization .team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
   }
  .post-type-archive-service .hero-right-image img {
    margin-right: 150px;
  }
  .faq-section .faq-question {
    text-align: left;
  }
  .team-card{
      width:100%;
      height:100% !important;
      aspect-ratio: 3/4;
  }
}

@media (max-width: 1200px) {
  .page-template-about-us .feature-section {
    padding-top: 70px;
    padding-bottom: 50px;
  }
  .team-section-grid .team-grid {
    margin-bottom: 30px;
  }
  .doctor-gallery-section {
    padding-bottom: 40px;
    padding-top: 0;
    background-image: none !important;
  }
  .feature-section--single .feature-button-group {
    display: flex;
    flex-direction: column;
    width: fit-content;
  }
  .team-section-grid .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-items: center;
  }
  .doctor-gallery-wrap {
    grid-template-columns: 100%;
  }
  .gallery-left {
    display: none;
  }
  .services-header-section .section-title {
    width: 100%;
    text-align: left;
  }
  .services-header-section .services-description {
    width: 100%;
    text-align: left;
  }
  .services-header-section {
    padding-top: 50px;
  }
  .testimonial-left .hero-testimonial {
    height: auto;
  }
  .gallery-item img {
    height: 200px;
  }
  .gallery-item img {
    height: 400px;
  }
}

@media (max-width: 1180px) {
  .menu {
    gap: 10px;
  }
  .menu a {
    font-size: 15px;
  }

  .menu-item-has-children > a::before{
    top: 5px;
    width: 5px;
    height: 5px;
  }
}

@media (max-width: 1124px) {
  .header-info {
    gap: 25px;
  }
  .post-type-archive-doctors .hero-section {
    height: 500px;
  }
  .hero-testimonial,
  .hero-form {
    width: 50%;
  }
  .stats-bottom-row {
    gap: 0;
  }
  .testimonial-left {
    flex: 1.4;
  }
  .testimonial-left .hero-testimonial {
    width: 100%;
  }
  .form-image {
    display: none;
  }
  .section-title {
    font-size: 34px;
  }
  .footer-container {
    gap: 40px;
    justify-content: space-evenly;
  }
  .footer-container .links-grid {
    gap: 20px;
  }
  .feature-wrap {
    gap: 35px;
  }
}

@media (max-width: 1100px) {
  .hero-left p {
    width: 460px;
  }
  .menu-item-has-children::after {
    width: 6px;
    height: 6px;
  }
  .menu-item-has-children .sub-menu li a {
    font-size: 14px;
  }
}

@media (max-width: 1080px) {
  .comparison-content p {
    font-size: 18px;
  }
  .comparison-content h2 {
    font-size: 32px;
  }
  #about-us-section\ section-1 img {
    width: 480px;
  }
  #about-us-section\ section-2 img {
    width: 480px;
  }
  #about-us-section\ section-2 {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .contact-card ul li:first-child img.contact-icon {
    margin-top: -45px;
  }
  .page-template-patient-resources
    .feature-section.feature-section--flipped
    .feature-wrap {
    margin: 40px 0;
  }
  .page-template-patient-resources .feature-images .image-single img {
    height: 350px;
  }
  .feature-content p {
    margin-bottom: 20px;
  }
  .button-group-wrapper {
    gap: 35px;
  }
  .page-id-922 .testimonials-section {
    margin-top: 80px;
  }
  .nav-wrapper .menu {
    gap: 4px;
  }
  .menu li a {
    font-size: 14px;
  }
  .header-container .info-title {
    font-size: 13px;
  }
  .search-input {
    height: 43px;
    width: 150px;
  }
  .header-container .cta-btn {
    width: 170px;
  }
  .appointment-testimonial-section {
    margin-top: -50px;
  }
  .image-large img {
    width: 300px;
  }
  .stats-wrap {
    gap: 20px;
  }
  .stat-card {
    padding: 20px;
    height: 100px;
  }
  .stat-card img {
    width: 50px;
    height: 50px;
  }
  .quote-strip__wrap::before {
    left: 10px;
    top: -50px;
    width: 40px;
  }
  .quote-strip__wrap::after {
    right: 50px;
    top: 70px;
    width: 40px;
  }
  .feature-images .image-single img {
    width: 450px;
    height: 480px;
  }
  .single-clinic .services-section .section-title {
    width: 100%;
  }
  .quote-strip {
    margin-top: 50px;
  }
  .services-section .slider-btn.prev {
    left: 44%;
  }
  .cta-title {
    font-size: 24px;
  }
  .cta-widget {
    height: 550px;
  }
}

@media (max-width: 1024px) {
  .page-template-reviews .hero-section {
    height: 600px !important;
  }
  .page-template-reviews .hero-left .cta-btn {
    width: 350px;
  }
  .single-service .feature-content {
    max-width: 480px;
  }
  .hero-cta-buttons {
    flex-direction: column;
    gap: 0;
  }
  .sidebar-widget .cta-content {
    flex-direction: column;
    gap: 0;
  }
  .single-service .feature-checklist li {
    font-size: 15px;
  }
  .image-with-badge .badge-image {
    display: none;
  }
  .services-header-section .section-tag {
    text-align: left;
    display: block;
    margin-bottom: 15px;
  }
  .faq-sidebar-buttons {
    width: 100%;
  }
  .faq-sidebar-content,
  .section-content {
    width: 100%;
  }
  .single-clinic .hero-section {
    height: 700px;
  }
  .single-service .hero-right-image img {
    max-width: 700px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-type-archive-doctors .hero-right-image {
    display: none;
  }
  .header-info {
    gap: 20px;
  }
  .hero-bottom-box {
    flex-direction: column;
  }

  /*.hero-right-image img {*/
  /*  max-width: 100%;*/
  /*  margin-left: 0px;*/
  /*}*/
  .page-template-contact-us .hero-right-image img {
    max-width: 740px;
  }
  .hero-container .hero-left {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-form {
    max-width: 767px;
  }
  .hero-bottom-box {
    flex-direction: column;
    align-items: center;
  }
  .hero-testimonial,
  .hero-form {
    width: 100%;
    margin-right: 0;
  }
  .hero-bottom-box .hero-testimonial,
  .hero-bottom-box .hero-form {
    width: 100%;
    max-width: 100%;
  }
  .social-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .social-gallery .item {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }
  .item-center {
    grid-column: 1 / -1;
    height: 260px;
  }
  .hero-form h2 {
    text-align: left;
  }

  .stat-counter,
  .suffix {
    font-size: 40px;
  }
  .stat-label {
    font-size: 18px;
  }
  .doctors-by-specialization .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .office-form-wrapper {
    grid-template-columns: 1fr;
  }
  .office-form-image {
    height: 500px;
  }
  .office-form-content {
    padding: 50px 40px;
  }
  .form-title {
    font-size: 36px;
  }
  .office-form-image img {
    object-position: top;
  }
  .contact-dentalcure .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .contact-title {
    font-size: 36px;
  }
  .single-clinic .team-card {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .single-service .feature-content {
    max-width: 100%;
  }
  #about-us-section\ section-2 {
    padding-bottom: 40px;
  }
  #about-us-section\ section-2 img,
  #about-us-section\ section-1 img,
  #about-us-section\ section-3 img,
  #about-us-section .feature-images {
    width: 100%;
  }
  .page-template-patient-resources
    .feature-section.feature-section--flipped
    .feature-wrap {
    display: flex;
    flex-direction: column-reverse;
    margin: 40px 0;
  }
  .category-list a {
    font-size: 17px;
    padding: 20px 25px;
  }
  .widget-title {
    font-size: 24px;
  }
  .cta-widget {
    height: 520px;
  }
  .cta-title {
    font-size: 24px;
  }
  .clinic-card__left img {
    height: 350px;
  }
  .image-with-badge .badge-image {
    display: none;
  }
  .single-clinic .hero-section {
    height: 700px !important;
  }
  .hero-section {
    height: 500px !important;
  }
  .hero-left p {
    width: 100%;
  }
  .location-info + .cta-btn {
    margin-top: 40px;
  }
  .comparison-card.slick-slide {
    flex-direction: column;
  }
  .comparison-content p {
    max-width: 100%;
  }
  .stats-bottom-row {
    flex-direction: column;
  }
  .feature-wrap {
    flex-direction: column;
  }
  .feature-content {
    max-width: 100%;
  }
  .testimonial-card {
    flex: 0 0 50%;
  }
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
  .footer-container.links-grid {
    gap: 100px;
  }
  .header-container .info-item {
    gap: 20px;
  }
  .header-container .logo img {
    width: 150px;
  }
  .search-box {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-wrapper .menu {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition:
      max-height 0.5s ease,
      opacity 0.5s ease,
      transform 0.5s ease;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
  }
  .nav-wrapper .menu.show {
    max-height: 1000px;
    opacity: 1;
    top: 100%;
    transform: translateY(0);
    gap: 10px;
    visibility: visible;
    z-index: 99;
  }

  .menu li.active > a {
    background-color: transparent;
    display: block;
    color: var(--secondary-color);
  }
  .menu li.active a::after {
    display: none;
  }
  .hero-container {
    flex-direction: column;
  }
  .hero-right-image {
    display: none;
  }
  .insurance-card {
    display: flex;
    flex-direction: column;
  }
  .team-section {
    padding-top: 350px;
    padding-bottom: 150px;
  }
  .teams-slider-buttons {
    top: -70px;
    left: 0;
    right: 0;
    justify-content: center;
  }
  .single-doctors .teams-slider-buttons {
    justify-content: flex-end;
  }
  .header-content {
    padding: 0 20px;
  }
  .single-doctors .teams-slider-buttons {
    top: 0;
    padding: 0 80px;
  }
  .appointment-section {
    background-position: 100% 50%;
  }
  .appointment-image {
    display: none;
  }
  .appointment-form-wrapper {
    max-width: 100%;
  }
  .services-section .slider-btn.prev {
    left: 45%;
  }
  .services-section .slider-btn.next {
    left: 51%;
  }
  .testimonials-section .section-subtitle {
    font-size: 14px;
  }
  .hero-bottom-box .hero-form {
    padding: 30px;
    margin-top: 20px;
  }
  .services-section .section-subtitle {
    font-size: 18px;
  }
  .footer-container .links-grid {
    gap: 100px;
  }
  .hero-left h3 {
    font-size: 24px;
  }
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }
  .img-after img,
  .img-before img {
    width: 100%;
  }
  .clinic-card__row {
    flex-direction: column;
  }
  .clinic-card__left,
  .clinic-card__right {
    max-width: 100%;
    flex: 0 0 auto;
  }
  .clinic-card__left {
    min-height: 240px;
  }
  .clinic-card__middle {
    padding: 22px;
  }
  .clinic-card__right {
    padding: 12px 22px 22px;
  }
  .quote-strip__wrap {
    padding: 0 110px 0 90px;
  }
  .quote-strip__wrap::before,
  .quote-strip__wrap::after {
    width: 46px;
    height: 46px;
    top: 4px;
  }
  .doctor-intro__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .doctor-intro__content {
    max-width: 100%;
  }
  .team-section-grid .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-items: center;
  }
  .info-content h3 {
    font-size: 22px;
  }
  .info-content p {
    font-size: 16px;
  }
  .providers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .contact-section .container {
    flex-direction: column;
    gap: 30px;
  }
  .map-wrapper,
  .contact-card {
    width: 100%;
    margin-left: 0;
  }
  .cta-section {
    text-align: center;
  }
  .cta-section .cta-text p {
    font-size: 30px;
  }
  .cta-content {
    flex-direction: column;
    gap: 20px;
  }
  .footer-column ul.social-list {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .footer-column .social-list li a {
    gap: 0;
  }
  .faq-section .faq-question {
    text-align: left;
  }
  .contact-card ul li:first-child img.contact-icon {
    margin-top: -15px;
  }
}

@media (max-width: 987px) {
  .page-id-922 #about-us-section\ section-3 .feature-images img {
    height: 100%;
  }
  .before-after-gallery-section {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
    .page-template-before-after .before-after-gallery-section {
    margin-top: 0px;
  }
  .before-after-gallery-section {
    margin-top: -150px;
  }
  .button-group-section {
    padding: 60px 20px 20px;
  }
  .page-template-patient-resources
    .feature-section.feature-section--flipped
    .feature-wrap {
    margin: 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-icon img {
    width: 35px;
    height: 35px;
  }
  .service-content {
    padding: 50px 25px 25px;
  }
  .team-cnt {
    gap: 20px;
  }
  .comparison-content h2,
  .insurance-header h2,
  .section-title {
    font-size: 28px;
  }
  .hero-form h2 {
    font-size: 25px;
  }
  .hero-form .wpcf7-list-item {
    margin-block: 15px;
  }
  .team-section {
    padding-top: 470px;
    padding-bottom: 150px;
  }
  .testimonial-card {
    flex: 0 0 50%;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
  .form-inner {
    flex-direction: column;
  }
  .form-image,
  .form-fields {
    width: 100%;
    min-width: 100%;
  }
  .header-info {
    display: none;
  }
  .stats-wrap {
    flex-direction: column;
  }
  .stat-card {
    width: 100%;
  }
  .feature-section {
    padding: 50px 0;
  }
  .blog-cards,
  .comparison-card {
    flex-direction: column;
  }
  .blog-card {
    max-width: 100%;
  }
  .contact-section .container {
    flex-direction: column;
    gap: 30px;
  }
  .map-wrapper,
  .contact-card {
    width: 100%;
    margin-left: 0;
  }
  .teams-slider-wrapper {
    margin-top: -150px;
  }
  .team-image {
    display: none;
  }
  .teams-slider-wrapper .slider-btn.prev {
    right: 52%;
    top: -16%;
  }
  .teams-slider-wrapper .slider-btn.next {
    right: 40%;
    top: -16%;
  }

  .checkbox .wpcf7-list-item-label {
    margin-left: 5px;
    line-height: 20px;
  }
  .team-section-grid .team-card {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3/4;
  }
  .right-side-content {
    padding: 40px 0 0;
  }
  .quote-strip__wrap::after {
    top: 150px;
  }
  .feature-content .item-list {
    gap: 24px;
    margin: 32px 0 0;
  }
  .feature-content .item-item {
    gap: 16px;
  }
  .feature-content .item-item:not(:last-child)::after {
    left: 34px;
    top: 70px;
    bottom: -26px;
  }
  .feature-content .item-item h4 {
    font-size: 20px;
  }
  .feature-content .item-item p {
    font-size: 15px;
  }
  .why-choose-container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .stats-bottom-row {
    flex-direction: column;
    gap: 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stats-testimonial {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .appointment-section {
    padding: 60px 20px;
  }
  .appointment-section .booking-form {
    padding: 34px 18px 0;
  }
  .appointment-section .booking-grid {
    grid-template-columns: 1fr;
  }
  .appointment-section .booking-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .appointment-section .booking-head,
  .appointment-section .booking-grid {
    padding: 46px 0 0;
  }
  .appointment-section .booking-actions {
    padding: 20px 0 0;
  }
  .booking-footer {
    padding: 40px 0;
  }
  .appointment-section .field-full {
    padding: 0;
  }
  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  @supports (-webkit-overflow-scrolling: touch) {
    input[type="date"]:before {
      color: #000;
      content: attr(placeholder);
      display: block;
      width: 100%;
    }
  }
  .button-group-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-section {
    padding: 60px 0;
  }
  .faq-section .faq-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  .faq-section .faq-question {
    padding: 20px;
    font-size: 18px;
  }
  .faq-section .faq-answer-content {
    padding: 0 20px 20px;
    font-size: 15px;
  }
  .before-after-gallery-section .gallery-item {
    padding: 32px 24px;
  }
  .before-after-gallery-section .gallery-title {
    font-size: 26px;
  }
  .before-after-gallery-section .slick-slide {
    padding: 0 8px;
  }
  .insurance-info-section .info-cards-grid {
    grid-template-columns: 1fr;
  }
  .insurance-info-section .info-card {
    padding: 32px 24px;
  }
  .insurance-info-section .card-content {
    flex-direction: column;
  }
  .insurance-info-section .card-icon-box {
    align-self: flex-start;
  }
  .insurance-info-section .card-icon {
    width: 60px;
    height: 60px;
  }
  .insurance-info-section .card-title {
    font-size: 20px;
  }
  .insurance-info-section .card-description {
    font-size: 15px;
  }
  .dental-office-form {
    padding: 60px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .office-form-content {
    padding: 40px 30px;
  }
  .form-title {
    font-size: 32px;
  }
  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-submit {
    width: 100%;
  }
  .form-submit input[type="submit"],
  .form-submit button {
    width: 100%;
  }
  .contact-dentalcure {
    padding: 60px 0;
  }
  .contact-header {
    margin-bottom: 40px;
  }
  .contact-title {
    font-size: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-item {
    padding: 30px 20px;
  }
  .booking-info {
    flex-direction: column;
    gap: 30px;
  }
  .info-item {
    justify-content: center;
    text-align: center;
  }
  .appointment-simple-form {
    gap: 10px;
  }
  .appointment-simple-field {
    padding: 14px 18px 14px 50px;
    font-size: 15px;
  }
  .appointment-simple-icon {
    left: 16px;
    width: 22px;
    height: 22px;
  }
  .appointment-simple-input-wrap .appointment-simple-date,
  .appointment-simple-input-wrap input[type="text"].appointment-simple-date {
    background-size: 22px auto !important;
    padding-left: 50px !important;
    background-position: left 16px center !important;
  }
  .appointment-simple-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .appointment-simple-footer .cta-btn {
    width: 100%;
  }
  .appointment-simple-privacy {
    font-size: 11px;
  }
  .appointment-simple-checkbox span {
    font-size: 11px;
  }
  .cta-section {
    padding: 40px 20px;
  }
  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .cta-text h2 {
    font-size: 28px;
  }
  .cta-text p {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .service-icon {
    width: 80px;
    height: 80px;
    bottom: -35px;
  }

  .quote-strip__wrap::after {
    top: 90px;
  }
}

@media (max-width: 695px) {
  .services-section .slider-btn.prev {
    left: 45%;
  }
  .services-section .slider-btn.next {
    left: 51%;
  }

  .doctor-intro__card {
    padding: 20px;
  }
  .single-clinic .team-card {
    height: 550px !important;
  }
}

@media (max-width: 630px) {
  .single-clinic .team-card {
    height: 450px !important;
  }
}

@media (max-width: 620px) {
  .services-section .slider-btn.prev {
    left: 41%;
  }
  .services-section .slider-btn.next {
    left: 51%;
  }

  .doctors-by-specialization .team-card {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3/4;
  }
    
  .doctors-by-specialization .team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
   }
  .stats-counter-section .section-subtitle {
    width: 100%;
  }
  .why-choose-item {
    padding: 20px 20px;
    text-align: center;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: none;
    border-radius: 30px;
  }
  .why-choose-grid {
    margin-top: 30px;
  }
  .why-choose-container {
    padding: 40px 20px;
  }
  .page-template-about-us .team-section-grid .team-grid {
    margin-bottom: 20px;
  }
  .team-section-grid .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-post-featured img {
    height: 350px;
  }
}

@media (max-width: 600px) {
    .team-section-grid .team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .faq-section .faq-answer-content {
    padding: 20px 20px;
    font-size: 15px;
  }
  .comparison-content h2,
  .insurance-header h2,
  .section-title {
    font-size: 26px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .quote-strip {
    padding: 50px 0;
  }
  .quote-strip__wrap {
    padding: 0 62px;
  }
  .quote-strip__wrap::before,
  .quote-strip__wrap::after {
    width: 34px;
    height: 34px;
    top: 2px;
  }
  .quote-strip__text {
    font-size: 14px;
  }
  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .team-section-grid .team-card {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3/4;
  }
  .header-content {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
  }
  .single-doctors .teams-slider-buttons {
    top: 50px;
    padding: 0 80px;
    justify-content: center;
  }
  .clinic-title {
    font-size: 20px;
  }
  .clinic-brand {
    font-size: 28px;
  }
  .quote-strip__wrap::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .doctor-intro {
    padding-block: 40px;
  }
  .stats-counter-section {
    padding-block: 40px;
  }
  .intro-social__icons a i {
    font-size: 16px;
  }
  .intro-social__icons a {
    width: 35px;
    height: 35px;
  }
  .team-section-grid .team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .contact-dentalcure .contact-grid {
    grid-template-columns: repeat(1, 1fr);
    gap:50px;
  }
  .contact-dentalcure .contact-description {
    text-align: left;
  }
  /*.doctors-by-specialization .team-card {*/
  /*  width: 375px;*/
  /*  height: 520px !important;*/
  /*  perspective: 1000px;*/
  /*  flex-shrink: 0;*/
  /*}*/
  .doctors-by-specialization .team-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .footer-container .links-grid {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: flex-start;
  }
  .page-template-faq-page .text-center-box .section-title,
  .faq-sidebar-content,
  .section-content,
  .faq-section .faq-question {
    text-align: left;
  }
  .page-template-faq-page .testimonials-section {
    margin-top: 0;
  }
  /*.faq-section {*/
  /*  padding-top: 0;*/
  /*}*/
  .small-title {
    text-align: left;
    display: block;
  }
  .section-tag {
    text-align: left;
    display: block;
  }
  .packages-section .section-subtitle {
    width: 100%;
  }
  .package-slide {
    padding: 0;
  }
  .image-single img {
    width: 300px;
  }
  .hero-left h1 {
    font-size: 30px;
  }
  .hero-testimonial {
    height: 450px;
  }
  .feature-images {
    flex-direction: column;
  }
  .image-stack {
    flex-direction: row;
  }
  .image-large img {
    width: 100%;
  }
  .team-grid {
    display: flex;
  }
  .team-quote {
    width: 100%;
  }
  .testimonial-card {
    flex: 0 0 100%;
    padding: 0 12px;
  }
  .testimonial-tabs {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
  .section-title,
  .insurance-header h2 {
    font-size: 25px;
    text-align: left;
  }
  .section-subtitle,
  .insurance-header p {
    text-align: left;
    width: 100%;
  }
  .insurance-card {
    margin-top: -100px;
  }
  .insurance-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-section {
    padding-top: 470px;
  }
  .teams-slider-wrapper {
    margin-top: -100px;
  }
  .teams-slider-wrapper .slider-btn.prev {
    right: 52%;
    top: -16%;
  }
  /*.insurance-content-section {*/
  /*  height: 100%;*/
  /*  padding: 50px 20px 80px;*/
  /*}*/
  .form-button {
    flex-direction: column;
    align-items: flex-start;
  }
  .appointment-section .wpcf7-form-control {
    padding-left: 0;
  }
  .wpcf7-list-item {
    margin-left: 0 !important;
    margin-bottom: 10px;
  }
  .social-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .insurance-left,
  .insurance-right {
    padding: 20px;
  }
  .team-cnt {
    flex-direction: column;
  }
  .team-quote {
    display: flex;
    align-items: flex-start;
  }
  .teams-slider{
      height:550px;
  }
  .team-card {
    height: 550px !important;
  }
  .post-type-archive-doctors .quote-strip {
    padding: 20px 0 60px;
  }
  .location-info {
    margin-bottom: 20px;
  }
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .before-after-gallery-section {
    margin-top: -110px;
    position: relative;
  }
  .before-after-gallery-section .container {
    padding: 0;
  }
  .cta-btn {
    font-size: 13px !important;
  }
}

@media (max-width: 500px) {
  .single-doctors .cta-btn-section {
    margin-top: 50px;
  }
  .social-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px !important;
  }
  .feature-images .image-single img {
    width: 100%;
  }
  .before-after-gallery-section .slick-slide img {
    height: 220px;
  }
  .services-section .slider-btn.next {
    left: 54%;
  }
  .services-section .slider-btn.prev {
    left: 39%;
  }
  .appointment-section .booking-title {
    font-size: 30px;
  }
  .appointment-section .booking-brand {
    font-size: 18px;
  }

  .appointment-section {
    padding-inline: 20px !important;
    border-radius: 0;
  }
  .appointment-section .booking-form {
    border-radius: 0;
  }
  .packages-slider .package-slide {
    margin: 0 13px;
  }
  .cta-section .cta-text p {
    font-size: 22px;
  }
  .search-field {
    font-size: 16px;
  }
  .blog-archive-section {
    padding-top: 40px;
  }
  .blog-section-header {
    margin-bottom: 30px;
  }
  .contact-dentalcure .contact-item {
    padding-block: 20px;
  }
  .contact-dentalcure .contact-icon {
    margin-bottom: 30px;
  }
  .contact-dentalcure .contact-icon img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .doctor-intro__card {
    padding: 20px;
  }
  .intro-text,
  a.intro-link {
    font-size: 18px;
  }
  .intro-row {
    padding: 10px 0;
  }
  .office-form-image {
    height: 250px;
  }
  .office-form-content {
    padding: 30px 20px;
  }
  .form-title {
    font-size: 28px;
  }
  .form-field input[type="text"],
  .form-field input[type="email"],
  .form-field input[type="tel"],
  .form-field input[type="date"],
  .form-field select {
    padding: 10px 12px;
  }
  .contact-title {
    font-size: 28px;
  }
  .contact-description {
    font-size: 14px;
  }
  .contact-item-title {
    font-size: 18px;
  }
  .appointment-simple-form {
    gap: 8px;
  }
  .appointment-simple-field {
    padding: 12px 16px 12px 45px;
    font-size: 14px;
  }
  .appointment-simple-icon {
    left: 14px;
    width: 20px;
    height: 20px;
  }
  .appointment-simple-input-wrap .appointment-simple-date,
  .appointment-simple-input-wrap input[type="text"].appointment-simple-date {
    background-size: 20px auto !important;
    padding-left: 45px !important;
    background-position: left 14px center !important;
  }
  .appointment-simple-privacy {
    font-size: 10px;
  }
  .appointment-simple-checkbox span {
    font-size: 10px;
  }
  .appointment-simple-footer .cta-btn {
    font-size: 13px;
    padding: 15px 20px;
  }
  .cta-text h2 {
    font-size: 24px;
  }
  .cta-text p {
    font-size: 18px;
  }

  .home .feature-content p:first-of-type {
    margin-bottom: 10px;
  }
  .home .services-section .section-subtitle {
    margin-bottom: 30px;
  }
  .home .services-section {
    padding: 40px 0px 70px;
  }
  .home .services-section .slider-btn {
    bottom: -30px;
  }
  .home .team-section {
    padding-top: 450px;
    padding-bottom: 90px;
  }
  .home .quote {
    margin-bottom: 0;
    width: 40px;
  }
  .home .doctor-sign {
    margin-right: auto;
    width: 60px;
    height: 60px;
  }
  .home .hero-bottom-box .hero-testimonial {
    height: 100%;
  }
  .home .signature img {
    margin-top: 0;
    max-width: 110px;
  }
  .home .blog-section {
    margin-top: -270px;
  }
  .blog-cards .slick-slide {
    margin: 0 !important;
  }
  .home .blog-section .slick-dotted.slick-slider {
    margin-bottom: 0;
  }
  .home .blog-dots {
    top: 0px;
    position: relative;
  }
  .home .blog-section {
    padding-bottom: 40px;
  }
  .map-wrapper {
    height: 350px;
  }
  .contact-card ul li:first-child img.contact-icon {
    margin-top: -48px;
  }
  .teams-slider{
      padding-inline:0;
  }
  
  .founder-section .team-card {
        width: 100%;
        height: 100% !important;
        aspect-ratio: 3 / 4;
    }
    
    .founder-card .flip-front h3 {
    font-size: 22px;
    font-weight: 700;
}

.doctors-by-specialization .team-card {
        width: 100%;
        height: auto !important;
        aspect-ratio: 3/4;
    }
    
    .doctors-by-specialization .team-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
  
}

@media (max-width: 360px) {
    .header-container .logo img {
        width: 90%;
    }
    .top-bar{
        justify-content: center;
    }
   .top-bar .cta-btn{
       display:none;
   }
}
