/* css what is 320 px */
@media only screen and (max-width: 320px) {
    #company .wrapper3 img{
        width: calc(70% - 1vw) !important;
        margin: 0.25rem !important;
    }

    #Rupdates .card{
        height: 700px;
    }

    #Rupdates .wrapper .card .content{
        height: 300px;
    }

    #Rupdates .wrapper .card:hover .content{
        height: 350px; 
        top: 0;
    }

    #Rupdates .wrapper .card .content ul li{
        line-height: 20px; /* Adjust line height to vertically center text */
    }


    #results .search-item .card{
        width: 92vw !important;
    }

    #results .listPage .next, 
    #results .listPage .prev{
        margin: 0.5rem  !important;
    }
    #search .header-form form .form-control,
    #search .form-btn,
    #search .header-form form #buildType, 
    #search .header-form form #cityName, 
    #search .header-form form .form-control{
        width: 250px !important;
    }

    #search .container{
        padding: 0px !important;
    }

    #search h1{
        font-size: 5rem;
    }
    #results .Search-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(98vw, 1fr));
    }

    .container1 {
        margin-right: 10px !important;
    }

    #sideRight {
        right: -30px !important;
    }
    
    #sideLeft {
        left: -30px !important;
    }

    footer .site-brand img {
        width: 250px !important;
        height: 250px !important;
    }
    .footer-item a{
        font-size: 1.2rem;
        display: inline-block;
    }

    .container-Login .popup{
        width: 300px;

    }
}

/* CSS rules for smartphones (portrait orientation) */
@media only screen and (max-width: 480px) {
    /* CSS rules for smartphones */
    /* body {
      font-size: 14px;
    } */

    #sideRight {
        right: -35px !important;
    }
    
    #sideLeft {
        left: -35px !important;
    }

    #company .wrapper3 img{
        width: calc(50% - 1vw);
        margin: 0.5rem;
    }
    #Rupdates .container1{
        width: calc(100% - 0vw);
        margin-right: 2rem;
    }

    
    #Rupdates .wrapper .card .content ul li{
        padding-left: 20px;
    }
    #navbar-collapse .btnLogin{
        width: 100%;
        margin-top: 1rem;
    }

    .container-Login .popup{
        margin: 0;
    }

    #Rupdates .containerWide{
        width: 100%;
    }
    #Rupdates .fa-angle-left{
        left: 0px;
    }
    #Rupdates .fa-angle-right{
        right: 0px;
    }
    #featured .featured-row,
    .services-row,
    .special-row{
        display:grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    #footer .footer-item .log-p {
        margin-top: 2rem;
        padding: 0;
    }

    #footer .footer-item{
        min-height: 100px;
        margin: 0 auto
    }

    footer .site-brand img {
        width: 250px !important;
        height: 250px !important;
    }
    .footer-item .site-brand{
        font-size: 1.2rem;
        display: inline-block;

        width: 250px;
        height: 250px;
    }

    #search {
        min-height: 100vh;
    }

    #search .container{
        padding: 0px !important;
    }

    #search .header-form form{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 1.8rem;
    }
    #search .header-form form #buildType,
    #search .header-form form #cityName,
    #search .header-form form .form-control{
    margin-left: 0;
    }

    #search .header-form form .form-control{
        width: 300px;
        margin: 0.4rem 0;
    }

    #search .header-form select{
        width: 300px;
        padding: 0.3rem 0.5rem;
        font-size: 1rem;
        font-family: var(--ff--ar);
        font-weight: 500;
        background: transparent;
        margin: 0.5rem 0;
        border-radius: 0.2rem;
    }

    #search .custom-arrow{
        position: absolute;
        top: 0;
        left: 0rem;
        display: block;
        background-color: var(--color-primary-dark);
        height: 80%;
        width: 2rem;
        pointer-events: none;
        margin: 0.5rem 0;
        border-top-left-radius: 0.2rem;
        border-bottom-left-radius: 0.2rem;
    }

    #search .form-btn{
        padding: 0.7rem 2.5rem;
        border-radius: 0.2rem;
        width: 300px;
        margin: 0.3rem 0;
        font-weight: 600;
        font-size: 1.1rem;
        font-family: var(--ff--ar);
        font-weight: 800;
        color: var(--color-primary);
        background-color: var(--color-primary-dark);
        border: 2px solid #000;
        box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
    }
    .Search-list{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(335px, 1fr)); /* Adjust as needed */
        justify-items: center;        
        gap: 0.1rem;
    }
    #results .search-item .card{
        width: 320px;
        height: 600px;
    }

    .wrap #featureded{
        width: 100%;
    }
    #detailSection{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 94vw;
        margin: 0 auto;
    }

    #detailSection .main{
        margin: 1rem 1rem 1rem 1rem;
        padding: 1rem 2rem 1rem 1rem;
        width: 100%;
    }
    #detailSection .info .btn{
        margin: 1rem 0 0 0;
    }
    #detailSection .info .product-price {
        align-items: flex-start;
        flex-direction: column;
    }

    #detailSection .side .test {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0rem;
    }
    
    #detailSection .moreDetails,
    #detailSection .side{
        margin: 1rem 1rem 1rem 1rem;
        padding: 1rem 2rem 1rem 1rem;
        width: 100%;
    }

    #detailSection .iFrame{
        margin: 1rem 0rem 1rem 1rem;
        padding: 0.6rem;
        width: 100%;
    }

    .details.py-4 {
        padding-bottom: 0;
    }

    #home h1{
        font-size: 3rem;
    }

    #home h5 span{
        font-size: 1.2rem;
    }

    #home h5 span::before {
        height: 40px;
        width: 2px;
        top: 70%;
    }

    #home .button{
        margin-top: 3rem;
    }

    #wrapp .product-slider{
        top :2rem;
    }
    #wrapp #sideLeftPopup{
        left: 10px;
        color: #000;
        background-color: #d3d3d3;
    }
    #wrapp #sideRightPopup{
        right: 10px;
        color: #000;
        background-color: #d3d3d3;
    }
    
    .container-inspection #inspectionPopup{
        width: 98%;
        margin: auto;
        padding: 0.7rem;
    }
    .container-inspection tbody td:first-child {
        padding: 0.6rem;
    }
    /* #detailSection .contact{
        grid-template-columns: 1fr 1fr 2fr;
        
    } */
    #detailSection .buttonwhat span,
    #detailSection .buttonphone span,
    #detailSection .buttoncheck span{
        display: block;
        font-size: 1.1rem;
    }

    #Rupdates .wrapper .nxt-btn,
    #Rupdates .wrapper .pre-btn{
    width: 0px;
    display: none;
    }
    #reviews .wrapper2 .nxt-btn-rev,
    #reviews .wrapper2 .pre-btn-rev{
    width: 0px;
    display: none;
    }
    #company .wrapper3 .nxt-btn-com,
    #company .wrapper3 .pre-btn-com{
    width: 0px;
    display: none;
    }

    #featured .title-wrap {
        text-align: center;
        margin: 0;
    }
    #WheAre .title-wrap {
        text-align: center;
        margin: 0;
    }
    #crow .title-wrap {
        text-align: center;
        margin: 0 0 1rem 0;
    }
    #special .title-wrap {
        text-align: center;
        margin: 0 0 2rem 0;
    }

    #WheAre .para-1{
        text-align: center;
    }
    #WheAre .about{
        display: block;
        margin: 100px auto 0;
        width: 85%;
        flex-direction: column-reverse;
        display: flex;
    }
    #WheAre .about2{
        display: none;
    }

    #WheAre .about img{
        max-width: 420px;
        max-height: 600px;
        object-fit: cover;
        float: right;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        /* margin-left: 4rem ; */
        margin: 0 auto;
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }
    #navbar .card-menu-wrap{
        top: auto; 
        width: 300px;
    }
    #navbar .card-menu{
        width: 280px;
        background: var(--color-primary-dark);
        margin: 10px;
    }
}
  
  /* CSS rules for smartphones (landscape orientation) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
    /* CSS rules for smartphones */
    /* body {
      font-size: 16px;
    } */
    /* .wrapper{
        width: 370px;
    } */

    #company .wrapper3 img{
        width: calc(40% - 1vw);
        margin: 1rem;
    }
    #Rupdates .container1{
        width: calc(100% - 1vw);
    }
    #navbar-collapse .btnLogin{
        width: 100%;
        margin-top: 1rem;
    }
    #Rupdates .containerWide{
        width: 100%;
    }
    #Rupdates .fa-angle-left{
        left: 0px;
    }
    #Rupdates .fa-angle-right{
        right: 0px;
    }

    #featured .featured-row,
    .services-row,
    .special-row{
        display:grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
    #footer .footer-item .log-p {
        margin-top: 6rem;
        padding: 6rem 0 0;
    }

    #footer .footer-item{
        min-height: 100px;
        margin: 0 auto
    }
    #search .header-form form{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 1.8rem;
    }
    #search .header-form form #buildType,
    #search .header-form form #cityName,
    #search .header-form form .form-control{
    margin-left: 0;
    }

    #search .header-form form .form-control{
        width: 300px;
        margin: 0.4rem 0;
    }

    #search .header-form select{
        width: 300px;
        padding: 0.3rem 0.5rem;
        font-size: 1rem;
        font-family: var(--ff--ar);
        font-weight: 500;
        background: transparent;
        margin: 0.5rem 0;
        border-radius: 0.2rem;
    }

    #search .custom-arrow{
        position: absolute;
        top: 0;
        left: 0rem;
        display: block;
        background-color: var(--color-primary-dark);
        height: 80%;
        width: 2rem;
        pointer-events: none;
        margin: 0.5rem 0;
        border-top-left-radius: 0.2rem;
        border-bottom-left-radius: 0.2rem;
    }

    #search .form-btn{
        padding: 0.7rem 2.5rem;
        border-radius: 0.2rem;
        width: 300px;
        margin: 0.3rem 0;
        font-weight: 600;
        font-size: 1.1rem;
        font-family: var(--ff--ar);
        font-weight: 800;
        color: var(--color-primary);
        background-color: var(--color-primary-dark);
        border: 2px solid #000;
        box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
    }
    .Search-list{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(335px, 1fr)); /* Adjust as needed */
        justify-items: center;        
        gap: 0.1rem;
    }
    #results .search-item .card{
        width: 320px;
        height: 600px;
    }

    .wrap #featureded{
        width: 100%;
    }

    .container-inspection #inspectionPopup{
        width: 98%;
        margin: auto;
        padding: 0.7rem;
    }
    .container-inspection tbody td:first-child {
        padding: 0.6rem;
    }

    #detailSection{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 94vw;
        margin: 0 auto;
    }

    #detailSection .main{
        margin: 1rem 1rem 1rem 1rem;
        padding: 1rem 3rem 1rem 1rem;
        width: 100%;
    }

    #detailSection .iFrame,
    #detailSection .moreDetails,
    #detailSection .side{
        margin: 1rem 1rem 1rem 1rem;
        padding: 1rem 3rem 1rem 1rem;
        width: 100%;
    }

    #detailSection .iFrame{
        margin: 1rem 0rem 1rem 1rem;
        padding: 0.6rem;
        width: 100%;
    }
    .details.py-4 {
        padding-bottom: 0;
    }

    #home .button{
        margin-top: 3rem;
    }
    #home h1{
        font-size: 4rem;
    }

    #Rupdates .wrapper .nxt-btn,
    #Rupdates .wrapper .pre-btn{
    width: 0px;
    display: none;
    }  
    #reviews .wrapper2 .nxt-btn-rev,
    #reviews .wrapper2 .pre-btn-rev{
    width: 0px;
    display: none;
    }
    #company .wrapper3 .nxt-btn-com,
    #company .wrapper3 .pre-btn-com{
    width: 0px;
    display: none;
    }
    #featured .title-wrap {
        text-align: center;
        margin: 0;
    }
    #WheAre .title-wrap {
        text-align: center;
        margin: 0;
    }
    #crow .title-wrap {
        text-align: center;
        margin: 0 0 1rem 0;
    }
    #special .title-wrap {
        text-align: center;
        margin: 0 0 2rem 0;
    }
    #WheAre .para-1{
        text-align: justify;
    }
    #WheAre .about{
        display: block;
        margin: 150px auto 0;
        width: 85%;
        flex-direction: column-reverse;
        display: flex;
    }
    #WheAre .about2{
        display: none;
    }

    #WheAre .about img{
        max-width: 420px;
        max-height: 600px;
        object-fit: cover;
        float: right;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        /* margin-left: 4rem ; */
        margin: 0 auto;
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }
    #navbar .card-menu-wrap{
        top: auto; 
        width: 300px;
    }
    
    #navbar .card-menu{
        width: 280px;
        background: var(--color-primary-dark);
        margin: 10px;
    }
}
  
  /* CSS rules for tablets (portrait and landscape orientation) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* CSS rules for tablets */
    /* body {
      font-size: 18px;
    } */
    /* .wrapper{
        width: 800px;
    } */

    #company .wrapper3 img{
        width: calc(25% - 1vw);
        margin: 1rem;
    }

    #Rupdates .container1{
        width: calc(50% - 2vw);
    }

    #navbar-collapse .btnLogin{
        width: 100%;
        margin-top: 1rem;
    }
    #Rupdates .containerWide{
        width: 100%;
    }
    #Rupdates .fa-angle-left{
        left: 0px;
    }
    #Rupdates .fa-angle-right{
        right: 0px;
    }

    .featured-row,
    .services-row,
    .special-row{
        display:grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    #footer .footer-item .log-p {
        margin-top: 6rem;
        padding: 6rem 0 0;
    }

    #footer .footer-item{
        min-height: 100px;
        margin: 0 auto
    }
    #search .header-form form{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 1.8rem;
    }
    #search .header-form form #buildType,
    #search .header-form form #cityName,
    #search .header-form form .form-control{
    margin-left: 0;
    }

    #search .header-form form .form-control{
        width: 300px;
        margin: 0.4rem 0;
    }

    #search .header-form select{
        width: 300px;
        padding: 0.3rem 0.5rem;
        font-size: 1rem;
        font-family: var(--ff--ar);
        font-weight: 500;
        background: transparent;
        margin: 0.5rem 0;
        border-radius: 0.2rem;
    }

    #search .custom-arrow{
        position: absolute;
        top: 0;
        left: 0rem;
        display: block;
        background-color: var(--color-primary-dark);
        height: 80%;
        width: 2rem;
        pointer-events: none;
        margin: 0.5rem 0;
        border-top-left-radius: 0.2rem;
        border-bottom-left-radius: 0.2rem;
    }

    #search .form-btn{
        padding: 0.7rem 2.5rem;
        border-radius: 0.2rem;
        width: 300px;
        margin: 0.3rem 0;
        font-weight: 600;
        font-size: 1.1rem;
        font-family: var(--ff--ar);
        font-weight: 800;
        color: var(--color-primary);
        background-color: var(--color-primary-dark);
        border: 2px solid #000;
        box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
    }

    .Search-list{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(335px, 1fr)); /* Adjust as needed */
        justify-items: center;        
        gap: 0.1rem;
    }
    #results .search-item .card{
        width: 320px;
        height: 600px;
    }

    #detailSection{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 94vw;
        margin: 0 auto;
    }

    #detailSection .main{
        margin: 1rem 1rem 1rem 1rem;
        padding: 1rem 3rem 1rem 1rem;
        width: 100%;
    }

    #detailSection .iFrame,
    #detailSection .moreDetails,
    #detailSection .side{
        margin: 1rem 1rem 1rem 1rem;
        padding: 1rem 3rem 1rem 1rem;
        width: 100%;
    }

    #detailSection .iFrame{
        margin: 1rem 0rem 1rem 1rem;
        padding: 0.6rem;
        width: 100%;
    }

    .details.py-4 {
        padding-bottom: 0;
    }

    #home h1{
        font-size: 4rem;
    }

    #home .button{
        margin-top: 5rem;
    }
    #Rupdates .wrapper .nxt-btn,
    #Rupdates .wrapper .pre-btn{
    width: 46px;
    } 
    #reviews .wrapper2 .nxt-btn-rev,
    #reviews .wrapper2 .pre-btn-rev{
    width: 46px;
    }
    #company .wrapper3 .nxt-btn-com,
    #company .wrapper3 .pre-btn-com{
    width: 46px;
    }
    #WheAre .title-wrap {
        text-align: center;
        margin: 0;
    }
    #crow .title-wrap {
        text-align: center;
        margin: 0 0 1rem 0;
    }
    #special .title-wrap {
        text-align: center;
        margin: 0 0 2rem 0;
    }
    #WheAre .para-1{
        text-align: justify;
    }
    /* #WhaAre{
        
    } */
    #WheAre .about{
        display: block;
        margin: 150px auto 0;
        width: 85%;
        flex-direction: column-reverse;
        display: flex;
    }

    #WheAre .about2{
        display: none;
    }

    #WheAre .about img{
        max-width: 420px;
        max-height: 600px;
        object-fit: cover;
        float: right;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        /* margin-left: 4rem ; */
        margin: 0 auto;
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }
    #navbar .card-menu-wrap{
        top: auto; 
        width: 300px;
    }
    #navbar .card-menu{
        width: 280px;
        background: var(--color-primary-dark);
        margin: 10px;
    }
}


  
  /* CSS rules for laptops */
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
    /* CSS rules for laptops */
    /* body {
      font-size: 20px;
    } */

    #company .wrapper3 img{
        width: calc(20% - 1vw);
    }
    #Rupdates .container1{
        width: calc(33% - 1vw);
    }

    .header-title h1{
        font-size: 4rem;
    }
    #navbar-show-btn{
        display: none;
    }

    .container #navbar-collapse{
        position: block!important;
        background-color: transparent;
        transform: translateX(0);
        height: auto;
        padding: 0;
        position: static;
        width: 100%;
    }
    .container #navbar-close-btn{
        display: none;
    }
    .container .navbar-nav{
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }
    
    .container .navbar-nav .nav-item{
        margin: 0;
        margin-left: 1.5rem;
    }

    /* change on scroll /

    /* .navbar-cng .navbar-nav .nav-link{
        color: var(--color-primary-dark);
    } */

    .navbar-cng .navbar-nav .nav-link:hover{
        background-color: var(--color-primary-dark);
        color: #fff;
        padding: 0.25rem;
        border-radius: 6px;
        
    }

    #navbar .nav-link{
        padding: 0.25rem 0.09rem;
    }

    #Rupdates .fa-angle-left{
        left: -10px;
    }

    #Rupdates .fa-angle-right{
        right: -20px;
    }

    .featured-row,
    .services-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .special-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    footer .footer-row{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
    }
    #footer .footer-item{
        max-width: 500px;
        margin: 4rem 0 0;
    }
    #search .header-form form{
        justify-content: center;
        align-items: center;
        margin-top: 1.8rem;
        gap: 0.7rem;
    } 

    #search .header-form form #buildType,
    #search .header-form form #cityName,
    #search .header-form form .form-control{
    margin-left: 0rem;
    }

    #search .header-form form .form-control{
        width: 130px;
        margin: 0.4rem 0;
    }

    #search .header-form select{
        width: 130px;
        padding: 0.3rem 0.5rem;
        font-size: 1rem;
        font-family: var(--ff--ar);
        font-weight: 500;
        background: transparent;
        margin: 0.5rem 0;
        border-radius: 0.2rem;
    }

    #search .custom-arrow{
        position: absolute;
        top: 0;
        left: 0rem;
        display: block;
        background-color: var(--color-primary-dark);
        height: 75%;
        width: 2rem;
        pointer-events: none;
        margin: 0.5rem 0;
        border-top-left-radius: 0.2rem;
        border-bottom-left-radius: 0.2rem;
    }

    #search .form-btn{
        padding: 0.7rem 0.1rem;
        border-radius: 0.2rem;
        width: 110px;
        margin: 0.3rem 0;
        font-weight: 600;
        font-size: 1.1rem;
        font-family: var(--ff--ar);
        font-weight: 800;
        color: var(--color-primary);
        background-color: var(--color-primary-dark);
        border: 2px solid #000;
        box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
    }

    .Search-list{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(335px, 1fr)); /* Adjust as needed */
        justify-items: center;        
        gap: 0.1rem;
    }
    #results .search-item .card{
        width: 320px;
        height: 600px;
    }

    #home .button{
        margin-top: 5rem;
    }

    #detailSection .buttonwhat span,
    #detailSection .buttonphone span,
    #detailSection .buttoncheck span{
        display: block;
        font-size: 1.1rem;
        margin-top: 0.5rem;
    }
    #detailSection .buttonwhat i,
    #detailSection .buttonphone i,
    #detailSection .buttoncheck i{
        margin: 0;
    }


    #WheAre .about{
        display: none;
        margin: 150px auto;
        width: 85%;
    }

    #WheAre .about2{
        display: block;
    }
    
    #WheAre .about img{
        max-width: 420px;
        min-height: 390px;
        object-fit: cover;
        float: right;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        margin-left: 2rem ;
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }

    #WheAre .about2 .WeAreDetails{
        direction: rtl;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 99vw;
        margin: 0 auto;
        align-items: center;
    }
    #WheAre .about2 .WeAreDetails .text-photo p{
        line-height: 2rem;
        font-size: 1.4rem;
        
        padding: 1rem;
        font-weight: 400;

    }
    #WheAre .about2 .WeAreDetails img{
        max-width: 500px;
        /* max-height: 450px; */
        height: auto;
        object-fit: cover;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        margin-right: 0rem ;
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }


}
  
/* CSS rules for desktops */
@media only screen and (min-width: 1441px) {
    /* CSS rules for desktops */
    /* body {
      font-size: 22px;
    } */
   

    .header-title h1{
        font-size: 4rem;
    }
    #navbar-show-btn{
        display: none;
    }

    .container #navbar-collapse{
        position: block!important;
        background-color: transparent;
        transform: translateX(0);
        height: auto;
        padding: 0;
        position: static;
        width: 100%;
    }
    .container #navbar-close-btn{
        display: none;
    }
    .container .navbar-nav{
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }
    
    .container .navbar-nav .nav-item{
        margin: 0;
        margin-left: 2rem;
    }

    /* change on scroll /

    /* .navbar-cng .navbar-nav .nav-link{
        color: var(--color-primary-dark);
    } */

    .navbar-cng .navbar-nav .nav-link:hover{
        background-color: var(--color-primary-dark);
        color: #fff;
        padding: 0.25rem;
        border-radius: 6px;
        
    }

    .featured-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .services-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .special-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .Search-list{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(335px, 1fr)); /* Adjust as needed */
        justify-items: center;        
        gap: 0.1rem;
    }
    #results .search-item .card{
        width: 320px;
        height: 600px;
    }
    footer .footer-row{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #home .button{
        margin-top: 5.5rem;
    }
    #WhaAre{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #WheAre .about{
        display: none;
        margin: 150px auto;
        width: 85%;
    }
    #WheAre .about2{
        display: block;
    }
    
    #WheAre .about img{
        max-width: 420px;
        max-height: 270px;
        object-fit: cover;
        float: right;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        margin-left: 4rem ;
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }

    #WheAre .about2 .WeAreDetails{
        direction: rtl;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        max-width: 85vw;
        margin: 0 auto;
        align-items: center;
    }
    #WheAre .about2 .WeAreDetails .text-photo p{
        line-height: 3rem;
        font-size: 1.7rem;
        padding: 1rem;
        font-weight: 400;
    }
    #WheAre .about2 .WeAreDetails img{
        max-width: 900px;
        /* max-height: 450px; */
        height: auto;
        object-fit: cover;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        /* margin-right: 2rem ; */
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }
}
  
@media only screen and (min-width: 1441px) and (max-width: 1919px){
    #company .wrapper3 img{
        width: calc(17% - 1vw);
    }
    #Rupdates .container1{
        width: calc(25% - 1vw);
    }
}

@media only screen and (min-width: 1920px) {
    #company .wrapper3 img{
        width: calc(15% - 1vw);
    }

    #Rupdates .container1{
        width: calc(20% - 1vw);
    }

    #WheAre .about{
        display: none;
    }
    #WheAre .about2{
        display: block;
    }

    #WheAre .about2 .WeAreDetails{
        direction: rtl;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        max-width: 70vw;
        margin: 0 auto;
        align-items: center;
    }
    #WheAre .about2 .WeAreDetails .text-photo p{
        line-height: 3rem;
        font-size: 1.9rem;
        padding: 1rem;
        font-weight: 400;
    }
    #WheAre .about2 .WeAreDetails img{
        max-width: 1300px;
        /* max-height: 450px; */
        height: auto;
        object-fit: cover;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        /* margin-right: 2rem ; */
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }
    
    .featured-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(580px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .services-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(580px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .special-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(580px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }

}

@media only screen and (min-width: 2560px) {
    #Rupdates .container1{
        width: calc(20% - 1vw);
    }

    #WheAre .about{
        display: none;
    }

    #WheAre .about2{
        display: block;
    }

    #WheAre .about2 .WeAreDetails{
        direction: rtl;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        max-width: 75vw;
        margin: 0 auto;
        align-items: center;
    }
    #WheAre .about2 .WeAreDetails .text-photo p{
        line-height: 4rem;
        font-size: 2rem;
        
        padding: 1rem;
        font-weight: 400;
    }
    #WheAre .about2 .WeAreDetails img{
        max-width: 1300px;
        /* max-height: 450px; */
        height: auto;
        object-fit: cover;
        border: 3px solid var(--color-primary-dark);
        border-radius: 10px;
        /* margin-right: 2rem ; */
        box-shadow: 0px 0px 50px -4px rgba(109, 109, 109, 0.44);
    }
    
    .featured-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(700px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .services-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(700px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }
    .special-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(700px, 1fr)); /* Adjust as needed */
        gap: 1rem;
    }

}

/* 
@media screen and (max-width: 460px){
    .featured-item-content{
        transform: translateY(68%);
    }
    .footer-row{
        display: flex;
        flex-direction: column; /* Set flex direction to column /
        align-items: center;
    }
    .footer-item{
        margin: 0;
    } 
    #navbar-collapse .btnLogin{
        width: 100%;
        margin-top: 1rem;
    }
}

@media screen and (min-width: 768px) {
    .header-title p{
        font-size: 1.4rem;
    }
    .featured-row,
    .services-row,
    .special-row{
        display:grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .featured-item,
    .services-row{
        margin: 0;
    }
    .featured-item .featured-item-content{
        transform: translateY(80%); /* to edit p position /
    }
   
    
}

@media screen and (min-width: 992px){
    .header-title h1{
        font-size: 4rem;
    }
    #navbar-show-btn{
        display: none;
    }

    .container #navbar-collapse{
        position: block!important;
        background-color: transparent;
        transform: translateX(0);
        height: auto;
        padding: 0;
        position: static;
        width: 100%;
    }
    .container #navbar-close-btn{
        display: none;
    }
    .container .navbar-nav{
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }
    
    .container .navbar-nav .nav-item{
        margin: 0;
        margin-left: 2rem;
    }

    /* change on scroll /

    /* .navbar-cng .navbar-nav .nav-link{
        color: var(--color-primary-dark);
    } /

    .navbar-cng .navbar-nav .nav-link:hover{
        background-color: var(--color-primary-dark);
        color: #fff;
        padding: 0.25rem;
        border-radius: 6px;
        
    }
    footer .footer-row{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
} 


@media screen and (min-width: 1400px) {
    .featured-row,
    .services-row,
    .Search-list{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); /* Adjust as needed /
        gap: 1rem;
    }
    .special-row{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); /* Adjust as needed /
        gap: 1rem;
    }
    footer .footer-row{
    
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    
    }
} */