@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;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;
    text-transform: capitalize;
    transition: .3s all linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body{
    background:#f7f7f7;
}

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:#fff;
}

.heading{
    text-align: center;
    font-size: 4rem;
    color: #333;
    padding-bottom: 3rem;
}
.heading span{
    color: var(--red);
    background:var(--light-red);
}

header{
    position: fixed;
    top:0; left:0; right:0;
    z-index: 1000;
    background:#fff;
    padding:1.5rem 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 #menu-bars,
header .icons a{
    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 #menu-bars:hover,
header .icons a:hover{
    background-color:var(--red);
    color:#fff;
}

header .icons #menu-bars{
    display: none;
}

.home{
    min-height: 100vh;
    background:url(../images/home-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home form{
    margin-top: 7rem;
    background:#fff;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
    border:.1rem solid rgba(0,0,0,.2);
    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;
    justify-content: space-between;
}
.services .box-container .box{
    flex: 1 1 30rem;
    border-radius: .6rem;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.2);
    padding: 2.5rem;
    border: .1rem solid rgba(0,0,0,.2);
    text-align: center;
}
.services .box-container .box h3{
    font-size: 2.3rem;
    color: #333;
    padding-bottom:1.5rem;
}
.services .box-container .box p{
    font-size: 1.5rem;
    color: #888;
    padding-bottom:1rem;
    line-height: 2;
}

.featured .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.featured .box-container .box{
    flex: 1 1 30rem;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .7rem;
    padding: 1.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.2);
    overflow: hidden;
    background: #fff;

}
.box-container .box .image-container{
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 25rem;
}
.box-container .box .image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .5rem;
}
.box-container .box .image-container:hover img{
    transform: scale(1.1);
}
.box-container .box .image-container .info{
    display: flex;
    position: absolute;
    top: 1rem;
    left: 0;
}
.box-container .box .image-container .info h3{
    color: #fff;
    font-weight: 500;
    font-size: 1.4rem;
    background:rgba(0,0,0,.3);
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    margin-left: 1rem;
}
.featured .box-container .box .icons{
    display: flex;
    position: absolute;
    bottom:1rem;
    right: 0;
}
.featured .box-container .box .icons a{
    font-size: 1.4rem;
    color: #fff;
    background:rgba(0,0,0,.3);
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    display: flex; 
    margin-right:1rem;
    padding: .7rem;  
} 
.featured .box-container .box .icons a h3{
    font-weight: 500;
    padding-left: .5rem;
}
.featured .box-container .box .icons a:hover{
    color:#fff;
    background:var(--red);
}
.featured .box-container .box .content{
    padding: 1.5rem;
}
.featured .box-container .box .content .price{
    display: flex;
    align-items: center;
    text-align: center;
}
.featured .box-container .box .content .price h3{
    color: var(--red);
    font-size: 2rem;
    margin-right: auto;
}
.featured .box-container .box .content .price a{
    color: #666;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    border-radius: .5rem;
    font-size: 1.5rem;
    background: #f7f7f7;
    margin-right: .5rem;
}
.featured .box-container .box .content .price a:hover{
    background:var(--red);
    color: #fff;
}
.featured .box-container .box .content .locations{
    padding: 1rem 0;
}
.featured .box-container .box .locations h3{
    font-size: 2.2rem;
    color: #333;
}

.featured .box-container .box .locations p{
    font-size: 1.5rem;
    color: #666;
    line-height: 1.5;
    padding-top: .5rem;
}
.featured .box-container .box .detalis{
   display: flex;
   padding: .5rem 0;
}
.featured .box-container .box .detalis h3{
   flex:1;
   border: .1rem solid rgba(0,0,0,.2);
   padding: 1rem;
   font-family: 'Nunito', sans-serif;
   color:#666;
   font-size: 1.4rem;
}
.featured .box-container .box .detalis h3 i{
    color: #333;
    padding-left: .5rem;
}
.featured .box-container .box .buttons{
    display: flex;
    flex-wrap:wrap;
    gap: 1rem;
}
.featured .box-container .box .buttons a{
    flex: 1;
    font-size: 1.4rem;
}
.agents .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}
.agents .box-container .box{
    background: #fff;
    text-align: center;
    border: .1rem solid rgba(0,0,0,.2);
    padding: 2rem;
    border-radius: .5rem;
    position: relative;
    width: 26rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

.agents .box-container .box .fa-envelope{
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #333;
    font-size: 2rem;
    padding: 1rem;
    border-radius: .5rem;
}
.agents .box-container .box .fa-envelope:hover{
    background:var(--red);
    color: #fff;
  
}
.agents .box-container .box .fa-phone{
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #333;
    font-size: 2rem;
    padding: 1rem;
    border-radius: .5rem;
}
.agents .box-container .box .fa-phone:hover{
    background:var(--red);
    color: #fff;
}


.agents .box-container .box img{
    object-fit: cover;
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    box-shadow: 0 0 0 .5rem rgba(0,0,0,.2);
    margin: 1rem 0;
}
.agents .box-container .box h3{
    color:#333;
    font-size: 2rem;
}
.agents .box-container .box span{
    color:#666;
    font-size: 1.5rem;
    padding-bottom: .5rem;
    display: inline-block;
    padding-bottom: 1rem;
    color: var(--red);
}
.agents .box-container .box .share a{
    margin-right: .5rem;
    font-size: 1.7rem;
    color: #333;
    padding: 1rem;
    border-radius: .5rem;
}
.agents .box-container .box .share a:hover{
    color: #fff;
    background:var(--red);
}
.contact .icon-continer{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 2rem;
    text-align: center;
}
.contact .icon-continer .icons{
    flex:1 1 25rem;
    border: .1rem solid rgba(0,0,0,.2);
    border-radius: .5rem;
    padding: 2rem;
    background: #fff;
}
.contact .icon-continer .icons:hover{
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.5);

}
.contact .icon-continer .icons img{
    height:6rem;
}
.contact .icon-continer .icons h3{
    font-size: 2.5rem;
    color: #333;
    padding-top: 1rem;
}
.contact .icon-continer .icons p{
    font-size: 1.5rem;
    line-height: 1.5;
    color: #666;
    padding: .5rem 0;
}
.contact .row{
    background: #fff;
    border: .1rem solid rgba(0,0,0,.2);
    box-shadow: 0 .5rem 1.5rem 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;
}
.row form .inputBox input,
.row form textarea{
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    background: #f7f7f7;
    border-radius: .5rem;
    text-transform: none;
    width: 49%;
}
.row form textarea{
    width: 100%;
    height: 20rem;
    resize: none;
}
.row form .inputBox input:focus,
.row form textarea:focus{
    background:var(--red);
}
.row form .btn{
    width: 100%;
}

.footer .footer-container{
    background: #fff;
    border: .1rem solid rgba(0,0,0,.2);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    padding: 1rem;
}
.footer .footer-container .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.footer .footer-container .box-container .box{
    flex: 1 1 25rem;
}
.footer-container .box-container .box h3{
    font-size: 2.5rem;
    color: #333;
    padding: .5rem 0;  
}
.footer-container .box-container .box a{
    display: block;
    font-size: 1.4rem;
    color: #666;
    padding: .5rem 0;   
}
.footer-container .box-container .box a:hover{
    padding-left: 7px;
    color: var(--red);
}
.credit{
    color: #333;
    text-align: center;
    padding: 1rem 0;
    font-size: 2.5rem;
}
.credit span{
    color: var(--red);
}




















/* media queries */

@media (max-width:991px){
    html{
        font-size: 55%;
    }
    header{
        padding: 1.5rem 1.5rem;
    }
    section{
        padding: 1.5rem;
    }
}
@media (max-width:1025px){
    .agents .box-container .box{
        flex: 41rem;
    } 
}
@media (max-width:768px){
    .agents .box-container .box{
        flex: 28rem;
    } 
}

@media (max-width:450px){
    .footer .footer-container .box-container{
        justify-content: center;
    }
    header .icons #menu-bars{
        display: inline-block;
    }
    header .navbar{
        background: #fff;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        border-top: .1rem solid #333;
        border-bottom: .1rem solid #333;
        transition: .2s linear;
        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;
        border-radius: .5rem;
        background: #fff;
        border: .1rem solid #333;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    }
    header .navbar a:hover{
        color: var(--red);
        border-color: var(--red);
    }
    html{
        font-size: 50%;
    }
    .row form .inputBox input{
        width: 100%;
    }
    .home form .inputBox input,
.home form .inputBox select{
    flex: 1 1 100%;
   }
   .credit{
       font-size: 2rem;
   }

}