@media (max-width: 1400px) {
    .profession-card{
        padding: 1.875rem 2.125rem;
    }
    .testimonials-img-wrapper{
        width: fit-content;
    }
}

@media (max-width: 1300px) {
    .teams .col-lg-4{
        width: 50%;
    }

}


@media (max-width: 1200px) {
   .expert-photo{
    width: 50px;
    height: 50px;
   }
   .hero-contact-box{
    height: 100% !important;
   }
   .service-detail-wrapper{
    height: 100%;
   }
   .faq .content{
    margin-bottom: 1.5rem;
}
    
}

@media (max-width: 991px) {
    .hero-title{
        max-width: fit-content;
    }
    .expert-photo{
    width: 70px;
    height: 70px;
   }
   
   .hero-contact-box{
height: 299px !important;
   }
   .profession .content h2{
    text-align: center;
   }
   .service-detail{
        flex-direction: column;
    }
    .service-image-wrapper{
        width: fit-content;
    }
    .testimonials-slider{
        position: relative;
        inset: 0;
        margin-top: 1.5rem;
    }
    .splide__slide{
        width: fit-content !important;
    }
    .testimonials-img-wrapper{
        height: 467px
    }
    .testimonials{
        padding-bottom: 0;
    }
    .our-values{
        overflow: visible;
    }
    .teams .col-lg-4{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .why-us-card{
        height: 400px !important;
    }
    .wrapper{
        display: none;
    }
    .hero-upper{
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .services,.faq,.profession,.our-values{
        padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-top: 2rem;
    padding-bottom: 2rem;
    }
    .service-detail{
        margin-bottom: 0 !important;
    }
    .sections{
        margin-bottom: 2rem;
    }
    .footer-brand{
        margin-bottom: 0 !important;
    }
     .form-row{
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .service-image-wrapper{
            height: 350px !important;
    }
    
}
@media (max-width: 576px) {
   
    .footer-bottom .d-flex{
        padding: 0 1rem;
    }
    .footer-main{
        padding: 2rem 0;
    }
    .subpage-hero {
        margin-top: 2rem;
    }
}

@media (max-width: 533px) {
    .hero-title h1{
        font-size: 2.5rem;
    }
    .content h2{
        font-size: 2rem;
    }
    .join-us-card h3{
        font-size: 2rem;
    }
}

@media (max-width: 470px) {
    .social-links a{
       margin-right: 1.5rem;
    }
    .top-nav-link{
        margin-right: 1.5rem;
    }
}

@media (max-width: 429px) {
    .hero-title h1{
        font-size: 2rem;
    }
    .experts-bubble{
        padding: 1rem 1rem;
    }
    .expert-photo{
        width: 60px;
        height: 60px;
    }
}