@media (max-width: 850px) and (min-width: 576px){
    .banner-section .banner-content{
        padding: 64px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 404px;
    }
    .banner-section h1{ 
        font-size: 48px;
        line-height: 56px; 
    }
    .banner-section p{ 
        font-weight: 400; 
        font-size: 18px;
        line-height: 26px; 
        max-width:90%; 
    }
    .banner-section .mySwiper::part(pagination){
        text-align: center;
        bottom: 68px; 
        left: 0; 
    }


    .key-points-section{
        padding: 64px 0;
    }
    .section__header .section__header-title{ 
        font-weight: 600;
        font-size: 36px;
        line-height: 44px;
    }
    .custom-play-button{ 
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        Width: 64px;
        Height: 64px;
        line-height: 54px; 
        font-size: 26px; 
    }
    .custom-play-button p{
        text-align: center;
        font-size: 16px;
        padding-top: 12px;
        font-weight: 600;
        line-height: 24px;
        width: 102px;
        position: absolute;
        left: -19px;
        display: flex;
        color: #fff;
    }

    .service-card .image-card{
        padding-left: 55px;
        padding-right: 55px;
    }
    .image-card img{
        height: 260px;
    }
    .banner-section img{ 
        margin-bottom: 128px;
    }

    .hero-version4 .hero4-homeloan-wrap{
        padding-bottom: 56px;
    }
    .hero-version4 .swiper-prev,
    .hero-version4 .swiper-next{
        top:53% !important; 
    }
    .page-banner .image-card img {
        height: 247px;
    }
    .sort-section p{
        font-size: 16px !important;
        font-weight: 500;
        line-height: 24px;
    }
    .sort-area{
        margin-bottom: 24px;
    }
    .service-card .description{
        display: -webkit-box;
        -webkit-line-clamp: 2;   /* limit to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav_pagination{
        margin-top: 24px;
    }

    .section{
        padding: 48px 0;
    }
     .hero-version4 .swiper-prev, .hero-version4 .swiper-next{
        display: none;
    }

    .swiper-prev, .swiper-next{
         display: none;
    }
      
    .product-container{
        flex-direction: column;
    }
    .thumbnails{
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    .thumbnail{
        width: 50px;
        height: 50px;
    }
    .products-details-card h3{
        padding-bottom: 16px;
    }
    .shop-buttons{
        flex-direction: column;
        gap: 20px;
        margin-bottom: 32px;
    }
    .online-shop-btn{
        margin-top: 0;
    } 
    .service-card .description { 

        display: -webkit-box;
        -webkit-line-clamp: 2;   /* limit to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}


@media (max-width: 575.98px){
    .banner-section .banner-content{
        padding: 72px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 428px;
    }
    .banner-section h1{ 
        font-size: 36px;
        line-height: 44px; 
        font-weight: 600;
        max-width: 320px;
    }
    .banner-section p{ 
        font-weight: 400; 
        font-size: 16px;
        line-height: 24px; 
        max-width:100%; 
        margin-bottom: 32px;
    }
    .banner-section .mySwiper::part(pagination){
        text-align: center;
        bottom: 36px; 
        left: 0;  
    }

    .key-points-section{
        padding: 48px 0;
    }
    .our-legacy-img img{ 
        height: 300px; 
    }
    .custom-play-button{ 
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        Width: 64px;
        Height: 64px;
        line-height: 54px; 
        font-size: 25px; 
    }
    .custom-play-button p{
        text-align: center;
        font-size: 26px;
        padding-top: 12px;
        font-weight: 600;
        line-height: 24px;
        width: 102px;
        position: absolute;
        left: -19px;
        display: flex;
        color: #fff;
    }

    .service-card .image-card{
        padding-left: 30px;
        padding-right: 30px;
    }
    .banner-section img{
        margin-bottom: 72px;
    }
    .hero-version4 .hero4-homeloan-wrap{
        padding-bottom: 48px;
        padding-top: 48px;
    }
    .hero-version4 .swiper-prev, .hero-version4 .swiper-next{
        display: none;
    }
    .hero-version4 .swiper-next{
        right: 0px !important;
    }
    .hero-version4 .swiper-prev{
        left: 0px !important;
    }
    .product-collection-title{
        margin-bottom: 24px;
    }
    .sort-area {
        margin-bottom: 32px;
    }
    .thumbnail{
        width: 50px;
        height: 50px;
    }
    .products-details-card{
        padding-top: 24px;
        border-top: 1px solid #C7C7C7;
        margin-top: 24px;
    }
    .p-details-header{
        padding: 82px 0px 12px;
        margin-bottom: 12px;
    }
    .products-details-card .best-seller p{
        margin-bottom: 18px;   
    }
    .products-details-card h4{
        font-size: 16px;
        line-height: 24px;
    }
    .feature-list li{
        padding-bottom: 16px;
    }
    .products-details-card .feature-list{
        margin-bottom: 16px;
    }
    .online-shop-btn{
        margin-top: 0px;
    }
    .shop-buttons{
        flex-direction: column;
        margin-bottom: 48px;
    }
    .accordion{
        gap: 16px;
    }
    .detail-page .section__header{
        margin-bottom: 32px !important;
    }
    .service-card h3{
        line-height: 24px;
    }
    .service-card .description { 

        display: -webkit-box;
        -webkit-line-clamp: 2;   /* limit to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .service-card .price{
        line-height: 26px;
        font-size: 18px !important;
    }
    
    
}

 