@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');


:root{
    --red:#ff5a3c;
    --light-red:#f9edeb;
    
}

*{
    font-family: 'Nunito', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    
}
body{
    background-color: #f7f7f7f7;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;

}

section{
    padding: 2rem 9%;
}


.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3.5rem ;
    border-radius: .5rem;
    font-size: 1.7rem;
    color: var(--red);
    background: var(--light-red);
    cursor: pointer;
    text-align: center;
}

.btn:hover{
    background: var(--red);
    color: white;
}


.heading{
    text-align: center;
    color: #333;
    font-size: 4rem;
    padding-bottom: 3rem;
}

.heading span{
    color: var(--red);
    background: var(--light-red);
    border-radius: .5rem;
    padding: .2rem 1.5rem;
}

header{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    /*  */
    background: white;
    padding: 2rem 9%;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo{
    font-weight: bolder;
    font-size: 2.5rem;
    color: #333;

}

header .logo span{
    color: var(--red);
}


header .navbar a{
    color: #333;
    font-size: 2rem;
    padding: 0 1.5rem;
}

header .navbar a:hover{
    color: var(--red);
}


header .icons i{
    height:4.5rem;
    line-height: 4.5rem;
    width: 5rem;
    font-size: 2rem;
    margin-right: .5rem;
    border-radius: .5rem;
    color: var(--red);
    background: var(--light-red);
    text-align: center;
}

header .icons i:hover{
    background-color: var(--red);
    color: white;
}

header .icons .fa-bars{
    display: none;
}


.home{
    min-height: 100vh;
    background: url(../image/bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 2rem; */


}

.home form{
    margin-top: 7rem;
    background-color: white;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border: .1rem solid rgba(0,0,0,.1);
    width: 70rem;
    padding: 2rem;
}

.home form h3{
    text-align: center;
    color: #333;
    font-size: 3rem;
}


.home form .buttons-container{
    display: flex;
    gap: 1.5rem;
}


.home form .buttons-container .btn{
    flex: 1;
    
}

.home form .inputBox{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;

}


.home form .inputBox input,
.home form .inputBox select{
    flex: 1 1 25rem;
    border: .1rem solid #333;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    font-size: 1.5rem;
    padding: 1rem;
    text-transform: none;
}


.home form .btn{
    width: 100%;
    margin-top: 2rem;
}


.services .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.services .box-container .box{
    flex: 1 1 30rem;
    border-radius: .5rem;
    background:white;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border: .1rem solid rgba(0,0,0,.2);
    text-align: center;
    padding: 2rem;

}

.services .box-container .box img{
    width: 12rem;

}

.services .box-container .box h3{
    font-size: 2.5rem;
    color: #333;

}

.services .box-container .box p{
    font-size: 1.5rem;
    color: #666;
    padding:.5rem 0 ;
    line-height: 2;
}



.featured .box-container{
    display: flex;
    flex-wrap: wrap;
    gap:2rem;
}

.featured .box-container .box{
    border: .1rem solid rgba(0,0,0,.2);
    box-shadow: 0 .5rem 1rem rgba(0,0,0 .1);
    border-radius: .5rem;
    overflow: hidden;
    background-color: white;
    flex: 1 1 30rem;
}


.featured .box-container .box .image-container{
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 25rem;

}


.featured .box-container .box .image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s linear;
}


.featured .box-container .box:hover .image-container img{
    transform: scale(1.1);
}

.featured .box-container .box .image-container .info{
    position: absolute;
    top: 1rem;left: 0;
    display: flex;
}

.featured .box-container .box .image-container .info h3{
    font-size: 1.4rem;
    color: white;
    background: rgba(0,0,0,.3);
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    margin-left: 1rem;
}

.featured .box-container .box .content{
    padding: 1.5rem;

}

.featured .box-container .box .content .price{
    display: flex;
    align-items: center;
}

.featured .box-container .box .content .price h3{
    color: var(--red);
    font-size: 2rem;
    margin-right: auto;
}

.featured .box-container .box .content .price i{
    color: gray;
    font-size: 1.5rem;
    margin-right: .5rem;
    border-radius: .5rem;
    height: 4rem;
    width:4rem;
    line-height: 4rem;
    text-align: center;
    background-color:rgb(231, 225, 225);
}

.featured .box-container .box .content .price i:hover{
    background-color: var(--red);
    color: white;
}

.featured .box-container .box .content .locations{
    padding: 1rem 0;
}


.featured .box-container .box .content .locations h3{
    font-size: 2.5rem;
    color: #333;
}

.featured .box-container .box .content .locations p{
    font-size: 1.5rem;
    color: #666;
    line-height: 1.5rem;
    padding-top: .5rem;
}

.featured .box-container .box .content .details{
    padding: 0.5rem 0;
    display: flex;
}


.featured .box-container .box .content .details i{
    flex: 1;
    padding: 1rem;
    border: .1rem solid rgba(0,0,0,.1);
    color: #999;
    font-size: 1.3rem;

}

.featured .box-container .box .content .buttons{
    display: flex;
    gap: 1rem;
}




.agents .box-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    
}

.agents .box-container .box{
    background: white;
    text-align: center;
   
    border: .1rem solid rgba(0,0,0,.2);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    padding: 2rem;
    border-radius: .5rem;
    width: 27rem;
    position: relative;

}

.agents .box-container .box .fa-envelope{
    position: absolute;
    top: 1.8rem; left: 2rem;
    color: #333;
    font-size: 2rem;
}

.agents .box-container .box .fa-envelope:hover{
    color: var(--red);
}

.agents .box-container .box .fa-phone{
    position: absolute;
    top: 1.8rem; right: 2rem;
    color: #333;
    font-size: 2rem;
}

.agents .box-container .box .fa-phone:hover{
    color: var(--red);
}

.agents .box-container .box img{
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 .5rem rgba(0,0,0,.1);
    width: 10rem;
    height: 10rem;
}

.agents .box-container .box span{
    font-size: 1.7rem;
    color: var(--red);
}

.agents .box-container .box .share i{
    margin: 0 .3rem;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    background: wheat;
    color: #666;
    border-radius: .5rem;
    font-size: 2rem;
}


.agents .box-container .box .share i:hover{
    background: var(--red);
    color: white;
}

.contact .icon-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 2rem;

}

.contact .icon-container .icons{
    flex: 1 1 25rem;
    background: white;
    padding: 2rem;
    border: .1rem solid rgba(0,0,0,.2);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    text-align: center;
}

.contact .icon-container .icons img{
    width: 6rem;
}

.contact .icon-container .icons h3{
    font-size: 2.5rem;
    color: #333;
    padding: 1rem 0;
}

.contact .icon-container .icons p{
    font-size: 1.5rem;
    color: #666;
    padding: .2rem 0;
}


.contact .row{
    background: white;
    border: .1rem solid rgba(0,0,0,.2);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border-radius: .5rem;
    display: flex;
    flex-wrap: wrap-reverse;
    padding: 1rem;
}

.contact .row .form{
    flex: 1 1 50rem;
    padding: .5rem 1rem;
}



.contact .row .map{
    flex: 1 1 30rem;
   width: 100%;
   padding: 1rem;
}


.contact .row .form .inputBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact .row form textarea,
.contact .row form .inputBox input{
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    background: rgb(222, 221, 221);
    border-radius: .5rem;
    text-transform: none;
    width: 49%;

}

.contact .row form textarea{
    width: 99%;
    height: 20rem;
    resize: none;
}


.footer .footer-container{
    background: white;
    border: .1rem solid rgba(0,0,0,.2);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    padding: 2rem;
}


.footer .footer-container .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer .footer-container .box-container .box{
    flex : 1 1 25rem;
}

.footer .footer-container .box-container .box h3{
    font-size: 2.5rem;
    color: #333;
    padding: .5rem 0;
}
.footer .footer-container .box-container .box a{
    display: block;
    font-size: 1.5rem;
    color: #666;
    padding: .5rem 0;
}

.footer .footer-container .box-container .box a:hover{
    color: var(--red);
    text-decoration: underline;
}
.footer .footer-container .credit{
    margin-top: 2rem;
    padding: 1.5rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    text-align: center;
    color: #333;
    border-top: .1rem solid rgba(0,0,0,.2);
}


.footer .footer-container .credit span{
    color: var(--red);
    font-weight: bolder;
}


/* media queries */
@media (max-width:991px) {

    html{
        font-size: 55%;
    }

    header
    {
        padding: 1.5rem 1rem;
    }
    section
    {
        padding: 1.5rem ;
    }

}



@media (max-width:768px) {

    header .icons .fa-bars{
        display: inline-block;
    }
    header .navbar{
        position: absolute;
        left: 0; right: 0; top: 100%;
        background: white;
        border-top: .1rem solid #333;
        border-bottom: .1rem solid #333;

        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /*  */
    }

    header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);

    }

    header .navbar a{
        display: block;
        padding: 1.5rem;
        margin: 1.5rem;
        background: white;
        border: .1rem solid #333;
        box-shadow: 0 .5rem 1 rem rgba(0,0,0 .1);
        border-radius: .5rem;
    }

}

@media (max-width:450px) {

    html{
        font-size: 50%;
    }

    .contact .row form .inputBox input{
        width: 100%;
    }

}