@media (max-width: 1440px) {

    .navbar-collapse {
        padding: 0 40px;
    }

    .navbar-nav {
        font-size: 1.2rem;
    }

    .card-image {
        height: 300px;
    }

}

@media only screen and (max-width: 1400px) {
.nav-link::after {
    content: none;
}
}

@media only screen and (max-width: 1300px) {
    /*----------------------------
----------- header------------ 
------------------------------*/


    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption a.btn {
        font-size: 15px;
        padding: 9px 18px;
    }

    /*----------------------------
-----------about------------ 
------------------------------*/

    #about {
        padding: 20px !important;
    }

    .number {
        font-size: 3em;
    }

    #about p {
        font-size: .8em;
    }

    #about .border-start {
        border: none !important;
    }

    /*----------------------------
-----------projects------------ 
------------------------------*/

    #projects h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    #projects div.row {
        margin: 0 0 10px 0 !important;
    }

    #projects div.pro {
        margin-top: 10px !important;
    }

    #projects .col-2 {
        margin: 5px 0 !important;
    }

    .icon-circle {
        width: 100px;
        height: 100px;
        padding: 20px;
        border: #ffffff solid 2px;
    }

    #projects h4 {
        font-size: 1.2rem;
    }

    .ico p {
        font-size: .9rem;
    }

    .text-white {
        font-size: 1.5rem;
    }

    #projects a.btn {
        font-size: 15px;
        padding: 9px 18px;
    }

    #projects .bg-overlay {
        padding: 10px !important;
    }

    /* ------------------------------
-----------الشقق والمنازل------------ 
-------------------------------- */

    #apartment h1 {
        font-size: 2rem;
    }

    #apartment h2 {
        font-size: 1.3rem;
    }

    .card-body {
        padding: 10px !important;
    }

    .card-body .justify-content-start {
        margin: 10px 0;
    }

    .card-image {
        height: 200px;
    }

    .card-text {
        margin: 0;
    }

    #apartment h5 {
        font-size: 1rem;
    }

    #apartment .card-text {
        font-size: .8rem;
    }

    #apartment .row>div {
        padding: 10px !important;
    }

    .icon-text {
        gap: 1px;
        font-size: .8rem;
    }

    .icon-text i {
        font-size: 1.1rem;
    }

    .card-price {
        font-size: .9rem;
    }

    #apartment a.btn {
        font-size: 15px;
        padding: 9px 18px;
    }

    /* ------------------------------
-----------الاراضي----------- 
-------------------------------- */


    #land h1 {
        font-size: 2rem;
    }

    #land h2 {
        font-size: 1.2rem;
    }

    #land p {
        font-size: 1rem;
    }

    #land a.btn {
        font-size: 15px;
        padding: 9px 18px;
    }

    /* ------------------------------
-----------اراء العملاء---------- 
-------------------------------- */

    .customer-review-card .card-text.text-muted {
        font-size: .9rem;
    }

    .customer-review-card .stars {
        font-size: 1.2rem;
    }

    .customer-review-card .card-text {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    #customer-reviews h5 {
        font-size: 1.2rem;
    }

    .customer-review-card .card-img-top {
        width: 80px;
        height: 80px;
    }

    /* ------------------------------
-----------footer--------- 
-------------------------------- */
    footer h5 {
        font-size: 1.3rem;
    }

    footer p span {
        font-size: .9rem;
    }

    footer p {
        font-size: .8rem;
    }

    .list-unstyled a {
        font-size: .9rem;
    }

    .social-icons a {
        font-size: 25px;
    }
}

@media only screen and (max-width: 992px) {

    /*----------------------------
----------- header------------ 
------------------------------*/
    header {
        height: 65vh;
    }

    
    .carousel {
        height: 65vh;
    }

    .carousel-item {
        height: 65vh;
    }

    nav img {
        width: 200px;
        margin: 0 !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .nav-item a {
        font-size: 1rem;
        margin-right: 0 !important;
        background-color: black;
        padding: 20px;
        text-align: center;
    }

    .navbar-text {
        text-align: center; 
        width: 100%; 
        margin: 0 !important;
    }

    #hotline-button {
        display: block;
        margin: 0 auto;
    }

    .navbar-nav .nav-item {
        margin-right: 0 !important;
    }

    .carousel-caption h1 {
        font-size: 2rem;
        white-space: nowrab;
    }

    .carousel-caption h2 {
        font-size: 1.2rem;
    }

    .carousel-caption a.btn {
        font-size: 10px;
        padding: 8px 16px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .navbar-toggler {
        padding: 5px;
        margin: 0 20px !important;
    }


    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }

    /*----------------------------
-----------about------------ 
------------------------------*/
    #about {
        padding: 10px !important;
    }

    #about .row{
        justify-content: center;
    }

    #about .row {
        border: none !important;
        padding: 5px;
    }

    #about .col-md-3{
        padding: 5px !important;
        width: 100%;

    }



    /*----------------------------
-----------projects------------ 
------------------------------*/

    #projects {
        overflow: hidden;
        padding-top: 20px !important;
    }

    #projects h1 {
        font-size: 1.6rem;
    }

    .lead {
        font-size: 1.2rem;
    }

    .lead span {
        display: none;
    }

    .text-white span {
        display: none;
    }

    #projects .row {
        margin: 0 !important;
    }

    #projects .row .ico {
        margin: 0 !important;
        padding: 0 !important;
    }

    #projects a.btn {
        font-size: 15px;
        padding: 8px 16px;
    }

    /* ------------------------------
-----------الشقق والمنازل------------ 
-------------------------------- */

    #apartment h1 {
        font-size: 1.5rem;
    }

    #apartment h2 {
        font-size: 1.1rem;
    }

    #apartment h5 {
        font-size: .9rem;
    }

    #apartment .card-text {
        font-size: .7rem;
    }

    #apartment .row>div {
        padding: 10px !important;
    }

    .icon-text {
        gap: 1px;
        font-size: .8rem;
    }

    .icon-text i {
        font-size: 1rem;
    }

    .card-price {
        font-size: .8rem;
    }

    #apartment a.btn {
        font-size: 15px;
        padding: 8px 16px;
    }

    /* ------------------------------
-----------الاراضي----------- 
-------------------------------- */
    #land {
        padding: 0 !important;
    }

    #land img {
        display: none;
    }


    #land h1 {
        font-size: 1.4rem;
        white-space: wrap;
    }

    #land h2 {
        font-size: .8rem;
    }

    #land p {
        font-size: .9rem;
    }

    #land a.btn {
        font-size: 15px;
        padding: 8px 16px;
    }

    #land i.hand {
        font-size: 2rem;
    }

    #land .col-md-12{
        width: 100% !important;
        margin: 0 !important;
        /* padding: 0 !important; */
    }

    /* ------------------------------
-----------footer--------- 
-------------------------------- */

    footer h5 {
        font-size: 1.1rem;
    }

    footer p span {
        font-size: .7rem;
    }

    footer p {
        font-size: .6rem;
    }

    .list-unstyled a {
        font-size: .7rem;
    }

    .social-icons a {
        font-size: 20px;
    }

    footer .col-md-4{
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

}

@media only screen and (max-width: 574px) {
    .carousel-item  a.btn{
        margin: 20px 5px !important;
    }

    header h2{
        font-size: 15px !important;
    }


    .text-with-line {
        margin: 0 2px !important; 
        
    }

    .icon-text{
        margin: 4px !important;
    }
    
    #land div >i{
        display: none;
    }

    p.text-white{
        margin: 0 !important;
        font-size: 1.2rem;
    }
}


