@media (max-width: 1600px) {
    .fixed {
        right: 70px;
    }
    }
    
    @media (max-width: 1400px) {
        .next-five-posts-container .all-post-title p {
        font-size: 14px;
        line-height: 20px;
    }
        
    .fixed {
        right: 20px;
        left: auto;
    }
    }
    
    /* 1250px */
    @media (max-width: 1250px) {
        
    .all-post-item a img {
        height: 50%;
        width: 50%;
    }
    
    .next-five-posts-container .all-post-title p {
        font-size: 13px;
        line-height: 19px;
        margin: 5px;
    }
        
    .fixed {
        right: 20px;
    }
        
    .history-card-content:before {
        top: 280px;
    }
    }
    
    
    /* 1024px */
    @media (max-width: 1024px) {
    
    .news-feeds {
        flex-direction: column;
    }
    
    .social-links-inner a {
        align-items: center;
        justify-content: center;
        text-align: center;
        display: flex;
    }
    
    .social-stars {
        align-items: center;
        justify-content: center;
        text-align: center;
        display: flex;
    }
        
    .next-five-posts-container .all-post-title p {
        font-size: 16px;
        line-height: 22px;
    }
        
        .service-fold2-wrapper {
        flex-direction: column;
    }
    
    .service-fold2-img img {
        width: 50%;
        border-radius: 10px;
    }
    
    .service-fold2-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-fold2-wrapper {
        padding: 50px 0px;
    }
    
    .service-fold2-text {
        align-items: center;
        text-align: center;
    }
    
    .service-fold3-wrapper.service-fold2-wrapper {
        flex-direction: column;
        padding: 50px 0px 0px;
    }
    
    .service-fold3-right {
        margin-top: 50px;
    }
        
        .blog-post-main-img img {
        width: 60%;
        height: 50%;
    }
        
        .blog-post-content-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .blog-post-content-header::after {
        bottom: 0;
    }
        
        .all-posts-wrapper {
        flex-direction: column;
    }
    
    .next-five-posts-container {
        border: unset;
        align-items: center;
        display: flex;
        margin-top: 75px;
        position: relative !important;
        flex: 0 0 auto;
        width: 100% !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
    }
    
    .next-five-posts-cards {
        flex-wrap: wrap;
        align-items: center;
    }
    
    .next-five-posts-cards .all-post-item {
        flex: 0 0 45%;
    }
        
    .ba-top-left-text {
        text-align: center;
    }
        
    .contact-form-wrapper ~ p:nth-of-type(0n+1) {
        justify-content: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        
    form.wpcf7-form.init h2 {
        text-align: center;
    }
    
    form.wpcf7-form.init > p:last-of-type {
        text-align: center;
    }
        
        .ba-fold3-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    
    .ba-fold3-img img {
        width: 50%;
    }
    
    .ba-fold3-img {
        display: flex;
        justify-content: center;
        position: relative;
    }
        
    .ba-top-right-img img {
        width: 50%;
    }
    
    .ba-top-right-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .ba-fold3-container {
        margin-top: 50px;
    }
        
        .book-appointment-wrapper {
        flex-direction: column-reverse;
        max-height: unset;
        margin-top: 50px;
    }
    
    .ba-top-left-img {
        position: absolute;
    }
    
    .ba-top-left-text {
        position: relative;
        padding: 50px 80px;
    }
    
    .history-card-wrapper {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
        display: flex;
    }
        
    .history-card-img {
        width: 50%;
        align-items: center;
        justify-content: center;
    }
        
    .history-card-wbackground:before {
        width: 150%;
        left: -100px;
    }
        
        .history-card {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .history-card-date {
        border: none;
        display: none;
    }
    
    .history-card-date:before {
        display: none;
    }
    
    .history-card-content {
        flex-direction: column !important;
        padding: 50px;
        align-items: center;
        justify-content: center;
    }
    
    .history-card-text {
        width: 100%;
        text-align: center;
    }
        
        .team-card-wrapper {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
    }
    
    .team-card-img img {
        max-height: unset;
        min-height: unset;
        min-width: unset;
        aspect-ratio: 8/8;
    }
    
    .team-card-img {
        height: 100%;
        width: 100%;
        max-width: 500px;
        margin: 0px auto;
    }
    
    .team-card-text {
        text-align: center;
    }
        
        
    .product-fold2-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .product-fold2-wrapper {}
    
    .product-left-img {
        height: 50%;
        width: 20%;
    }
    
    .product-right-content {
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .product-widgets {
        width: 50%;
        flex-direction: column;
    }
    
    .left-product-widget {
        align-items: center;
        width: 100%;
        padding: 20px;
    }
    
    .right-product-widget {
        width: 100%;
        padding: 20px;
        align-items: center;
    }
    
    .product-right-top-text {
        text-align: center;
    }
    
    .product-labels {
        align-items: center;
        justify-content: center;
    }
        
    .add-to-cart {
        width: 100%;
    }
    
    .left-product-widget .readmore {
        width: 100%;
    }
    
    .right-product-widget .readmore {
        width: 100%;
    }
        
    .product-info-wrapper {
        flex-direction: column;
    }
    }
    
    
    
    
    
    
    
    
    
    
    
    /* 980px */
    @media (max-width: 980px) {
        
    .fold1a-content {
        padding: 60px 0px 40px;
    }
        
    .meet-the-team-wrapper {
        margin: 0px 50px;
    }
        
    .team-card-wrapper {
        gap: 30px;
    }
    }
    
    
    
    
    
    
    
    /* 767px */
    @media (max-width: 767px) {
        
        .service-fold2-text {
        width: 100%;
    }
    
    .history-card-content {
        padding: 50px 0px;
    }
        
    .product-widgets {
        width: 90%;
    }
    
    .history-card-img {
        width: 100%;
    }
    }
    
    
    
    
    
    
    
    
    
    
    
    
    /* 640px */
    @media (max-width: 640px) {
    .meet-the-team-wrapper {
        margin: 0px 20px;
    }
    }
    
    
    
    
    
    
    
    
    /* 540px */
    @media (max-width: 540px) {

        .values-wrapper .values-item {
    flex: 0 0 calc(100% - 0px);
}
        
        .team-card-img {
        height: 60%;
        width: 100%;
    }
        
        .service-fold2-img img {
        width: 80%;
    }
    
    .service-fold2-text {
        padding: 30px 20px;
    }
        
        .social-stars {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    
    .social-stars img {
        margin: 0;
    }
    
    .social-links-inner a {
        flex-direction: column;
        gap: 5px;
    }
    
    .social-links-inner i {
        margin: 0;
    }
    
    .social-links-inner p {
        margin: 0;
        line-height: 30px;
        font-size: 24px;
    }
    
    .social-stars p {
        font-size: 28px;
        line-height: 34px;
    }
        
    form.wpcf7-form.init h2 {
        margin-bottom: 0px;
    }
        
    .ba-top-left-text {
        padding: 50px 0px;
    }
        
    form.wpcf7-form.init {
        padding: 50px 20px;
        box-sizing: border-box;
    }
    
    .form-field.half {
            flex: 1 0 100%;
        }
        
        
    p {
        font-size: 15px;
        line-height: 21px;
    }
    
    h2 {
        font-size: 30px !important;
        line-height: 41px;
    }
    
    h1 {
        font-size: 55px !important;
        line-height: 61px !important;
    }
        
        
        
        
    .history-card-content {
        gap: 20px;
    }
        
    .services-title {
        font-size: 35px;
        line-height: 41px;
    }
        
    .services-title span {
        display: block;
    }
    
    .fold1a-content {
        padding: 40px 0px 20px;
    }
    }
    
    
    
    
    
    
    
    
    
    
    /* 480px */
    @media (max-width: 480px) {
        
    .blog-post-main-img img {
        width: 80%;
    }
        
    .next-five-posts-cards .all-post-item a {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .next-five-posts-cards .all-post-item a .all-post-title p {
        text-align: center;
    }
    }
    
    
    
    
    
    
    /* 400px */
    @media (max-width: 400px) {
    .product-widgets {
        width: 100%;
    }
    
    .save-info-text {
        text-align: center;
    }
    }