@media (max-width: 850px) and (min-width: 576px){
    .section1 {
        padding: 64px 0 0 0;
    }
    .about-us .row{
        gap:40px !important; 
    }
    .banner-section .banner-content{
        padding: 38px 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;
    }
    .about-right-side-content{
        margin-top: 40px;
        padding-left: 0;
    }
    .vision-item {
        margin-top: 40px;
    }
    .about-left-side-content h3 {
        font-size: 30px;
        line-height: 38px;
        font-weight: 600;
        margin-bottom: 16px;
    }
    .about-left-side-content p{
         font-size: 18px;
        line-height: 28px; 
        margin-bottom: 12px;
    }
    .about-right-side-content h4 {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    .about-right-side-content p{
         font-size: 18px;
        line-height: 28px; 
        margin-bottom: 12px;
    }
    .contact-left-side-content h3{
        margin-bottom: 8px;
    }
    .contact-left-side-content p{
        font-size: 18px !important;
        line-height: 28px;
        margin-bottom: 16px;
    }
    .contact-left-side-content span{
        font-size: 18px !important;
        line-height: 26px;
        margin-bottom: 16px;
    }
    .contact-left-side-content{
        margin-bottom: 40px;
    }
    .contact-right-side-content{
        padding-left: 0;
    }
    .contact-right-side-content h3{
        margin-bottom: 8px;
    }
    .contact-right-side-content p{
        font-size: 18px !important;
    }
    .contact-right-side-content .item{
        margin-bottom: 40px;
    }

    .contact .input-group{
        flex-direction: column;
        /*gap: 24px;*/
    }
    .input-group .input-single{
        width: 100%;

    }
    .banner-section{
        margin-top: 96px;
    }
    .our-legacy-img img{
        object-position: 0px;
    }
    .banner-section .border-line{
        margin-top:10px;
    }
    .ifrastructure-img img{
        width:100%;
        height:680px;
        object-fit:cover;
    }
    .contact-img img{
        width:100%;
        height:460px;
        object-fit:cover;
    }
    .about-us .fonts{
        margin-bottom:0px;
    }
}


@media (max-width: 575.98px){
    .top-page-header-list{
        padding: 38px 0px 32px !important;
    }
    .banner-section .border-line{
        margin-top:10px;
    }
    .banner-section .banner-content{
        padding: 60px 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 !important;
        line-height: 24px; 
        max-width:100%; 
        margin-bottom: 32px;
        min-height:80px;
    }
    .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: 0px;
        padding-right: 0;
    }
    .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: 30px 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;
    }
    
    .about-left-side-content h3 {
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;
        margin-bottom: 12px;
    }
    .about-left-side-content p{
         font-size: 16px !important;
        line-height: 24px; 
        margin-bottom: 12px;
    }
    .about-right-side-content h4 {
        font-size: 18px;
        line-height: 26px;
        font-weight: 600;
        margin-bottom: 6px;
    }
    .about-right-side-content p{
         font-size: 16px !important;
        line-height: 24px; 
        margin-bottom: 12px;
    }
     .about-right-side-content{
        margin-top: 32px;
        padding-left: 0;
    }
    .vision-item {
        margin-top: 32px;
    }
    .contact-left-side-content h3{
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 8px;
    }
    .contact-left-side-content p{
        font-size: 16px !important;
        line-height: 24px;
        margin-bottom: 16px;
    }
    .contact-left-side-content span{
        font-size: 16px !important;
        font-weight: 500;
        line-height: 24px;
        margin-bottom: 14px;
    }
    .contact-left-side-content{
        margin-bottom: 32px;
    }
    .contact-right-side-content{
        padding-left: 0;
    }
    .contact-right-side-content h3{
        font-size: 20px !important;
        line-height: 28px;
        margin-bottom: 8px;
    }
    .contact-right-side-content p{
        font-size: 16px !important;
        line-height: 24px; 
    }
    .contact-right-side-content .item{
        margin-bottom: 32px;
    }
    .contact .btn-theme1{
        width: 100% !important;
    }
    .accordion .accordion-button {
        font-size: 18px !important;
        line-height: 26px !important;
    }
    .accordion .accordion-item .accordion-body p{
         font-size: 16px !important;
        line-height: 24px !important;
    }
    .banner-section{
        margin-top: 56px;
    }
    .footer__logo{
        margin-bottom: 32px;
    }
    .footer-secondary__content{
        margin-top: 24px;
        margin-bottom: 32px;
    }
    .follow-us{
        margin-bottom: 24px;
    }
    .follow-us p{
        margin-bottom: 16px;
    }
    .our-legacy-img img{
            object-position: -50px 0;
    }
    .service-card p a{
        font-size:14px;
        line-height:22px;
    }
    footer .footer__copyright .copyright span{
        font-size:14px;
        line-height:26px;
    }
    .footer__copyright{
        padding:24px 0 24px;
    }
    .copyright, .social p, .pp-tc li{
        font-size:14px !important;
        line-height:22px !important;
    }
    .ifrastructure-img img{
        width:100%;
        height:340px;
        object-fit:cover;
    }
    .contact-img img{
        width:100%;
        height:216px;
        object-fit:cover;
    }
    .page-banner p{
        font-size: 16px !important;
        line-height: 24px;
    }
    .about-us .fonts{
        margin-bottom:0px;
    }
    .about-us .row{
        gap:32px !important; 
    }
    .hero-version4 .hero4-homeloan-wrap .home-loan-items{
        padding: 6px 12px;
    }
}

 