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

/* XXL devices (min-width: 1400px) */
@media (min-width: 1400px) {
  /* Add styles for very large screens here */
}

/* Extra large devices (max-width: 1399px) */
@media (max-width: 1399px) {
  .post-type-archive-doctors .hero-right-image img {
    width: 60vw;
    margin-left: 0;
}
.post-type-archive-doctors .hero-section {
    height: 550px;
}
}

/* Large devices (max-width: 1280px) */
@media (max-width: 1280px) {
  .header-container,
  .nav-wrapper {
    padding-inline: 20px;
    margin: 0;
  }
  .info-title {
    font-size: 16px;
  }
  .info-icon {
    width: 35px;
  }
  .hero-left .cta-btn{
    width: 250px;
    font-size: 16px;
  }
  .cta-btn {
    width: 170px;
    font-size: 14px;
  }
  .logo img {
    width: 200px;
  }
  .menu {
    gap: 9px;
  }
  .social-icons .fa-brands {
    font-size: 16px;
  }
  .hero-section {
    height: auto;
  }
  .home .hero-right-image::after{
      display:none;
  }
  .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;
  }
  .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;
  }
  .services-section .container {
    padding-inline: 25px;
    margin: 0;
  }
  .insurance-card {
    margin-inline: 25px;
    margin-top: -170px;
  }
  .teams-track {
    padding-inline: 25px;
  }
  .map-wrapper {
    width: 60%;
    height: 697px;
  }
  .contact-card {
    width: 65%;
  }
  .footer-container{
      gap:100px
  }
}

@media (max-width: 1240px) {
.team-section-grid .team-card{
    width:265px;
}
.single-doctors .teams-slider-wrapper {
    margin: 70px auto;
    flex-wrap: wrap;
}
}
/* Medium devices (max-width: 1124px) */
@media (max-width: 1124px) {
        .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;
    line-height: 40px;
  }
  .footer-container{
    gap:40px;
    justify-content: space-between;
  }
  .footer-container .links-grid{
      gap:20px;
  }
}

/* Medium devices (max-width: 1080px) */
@media (max-width: 1080px) {
  .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;
    font-size: 12px;
  }
  .appointment-testimonial-section {
    margin-top: -150px;
  }
  .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;
  }
}

/* Large devices (max-width: 1024px) */
@media (max-width: 1024px) {
    .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;
  }
  .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;
  }

  /* Center image alone */
  .item-center {
    grid-column: 1 / -1;
    height: 260px;
  }
  .hero-form h2{
      text-align:left;
  }
  .insurance-content-section{
      height:450px;
  }
  .stat-counter, .suffix {
    font-size: 40px;
  }
  .stat-label {
    font-size: 18px;
  }
}

/* Medium devices (max-width: 991px) */
@media (max-width: 991px) {
    .hero-section {
    height: 600px;
  }
  .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: 5px;
  }
  .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: 22%;
    transform: translateY(0);
    gap: 20px;
    visibility: visible;
    z-index:99;
  }

  .menu li.active a {
    background-color: var(--secondary-color);
    display: block;
    color: #fff;
    padding: 20px;
  }
  .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-wrapper .slider-btn.next {
    right: 45%;
    top: -16%;
  }
  .teams-slider-wrapper .slider-btn.prev {
    right: 52%;
    top: -16%;
  }
  .appointment-section {
    background-position: 100% 50%;
  }
  .appointment-image {
    display: none;
  }
  .appointment-form-wrapper {
    max-width: 100%;
  }
  
  .services-section .slider-btn.prev{
      left: 40%;
  }
  .services-section .slider-btn.next{
      left: 55%;
  }
  .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%;
}
}

/* Small devices (max-width: 767px) */
@media (max-width: 767px) {
    
    .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: 550px;
    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-bottom: 50px;
  }
  .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%;
  }
  .insurance-content-section{
      height:500px;
  }
  .checkbox .wpcf7-list-item-label {
    margin-left: 5px;
    line-height: 20px;
}
.team-section-grid .team-card {
        width: 250px;
    }
    
    .right-side-content {
  padding:40px 0 0;
}
    .quote-strip__wrap::after {
        top: 150px;
    }
}

/* Extra small devices (max-width: 575px) */
@media (max-width: 575px) {

.footer-container .links-grid{
      display: flex;
    flex-direction: column;
    gap:0;
  }
    .small-title{
        text-align:left;
        display: block;
    }
    .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;
    line-height: 40px;
    text-align:left;
  }
  .section-subtitle, .insurance-header p{
     text-align:left;
  }
  .insurance-card {
    margin-top: -100px;
  }
  .insurance-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-section {
    padding-top: 550px;
  }
  .teams-slider-wrapper {
    margin-top: -100px;
  }
  .teams-slider-wrapper .slider-btn.prev {
    right: 52%;
    top: -16%;
  }
  .insurance-content-section{
      height:45%;
      padding: 100px 20px 100px;
  }
  .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;
  }
  .team-card{
      height:440px !important;
  }
 .post-type-archive-doctors .quote-strip {
        padding: 100px 0;
    }
    
    .location-info{
        margin-bottom:20px;
    }
}

@media (max-width: 767px) { 

    @supports (-webkit-overflow-scrolling: touch) { 
        input[type="date"]:before {
            color: #000;
            content: attr(placeholder);
            display: block;
            width:100%;
        }
    }
}

