@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
*{
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
*::selection{
    background: var(--main-color);
}
:root{
    --main-color: #364440;
    --light-color: #666;
    --light-bg: #eee;
    --white : #fff;
    --pink-color: #386ed0;
    --white-alfa-40: rgba(255, 255, 255, 0.40); 
    --white-alfa-25: rgba(255, 255, 255, 0.25); 
    --backdrop-filter: blur(5px);
    --box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.40);
    --gradient : linear-gradient(to top, #396d9d 0%, #958534 100%);
}
  /*-------global settings --------- */
  body {
    background-image: url('../image/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  html {
    overflow:auto;
    scroll-behavior: smooth ;
    scroll-padding-top: 10rem;
  }
  p{
    font-style: italic;
  }
  button,
  input{
    border: none;
  }
  .btn{
    display: inline-block;
    padding: .5rem 5rem;
    margin-top: 1rem;
    background: var(--gradient);
    color: #fff;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 100;
    font-style: 1.3rem;
    text-transform: capitalize;
  }
.btn::before {
    position: relative;
    contain: '';
    width: 100%;
    height: 0;
    background: var(--pink-color);
    left: 0;
    top: 0;
    transition: .5s;
    z-index: -10;
}
.btn::before:hover {
    height: 100%;
}
.empty{
  background: var(--white-alfa-25);
  border:2px solid var(--white-alfa-40);
  backdrop-filter: var(--box-shadow);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  text-align: center;
  font-weight: 100%;
  text-transform: capitalize;
  line-height: 2;
  color: var(--main-color);
  margin: 1rem;
}
.empty p{
  font-style: 26px;
  margin-bottom: 2rem;
}
input[type='submit']{
  cursor: pointer;
}
.box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, 30rem);
  align-items: center;
  justify-content: center;
}
.box-container .box{
    margin: 1rem;
    background-color: var(--white-alfa-25);
    border: 2px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    backdrop-filter: var(--backdrop-filter);
    border-radius: .5rem;
}
.heading{
  position: relative;
  text-align: center;
  margin: 2rem 0;
  text-transform: capitalize;
}
.heading span{
  position: relative;
  font-style: 1.1rem;
  color: #e86ed0;
}
.heading span::before{
  position: absolute;
  content: '';
  left: -60px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  margin-top: -1px;
  background: #e86ed0;
}
.heading span::after{
  position: absolute;
  content: '';
  right: -60px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  margin-top: -1px;
  background: #e86ed0;
}
.heading h1{
  font-weight: 500;
  margin: 1rem 0;
}
.flex-btn{
  display: flex;
  justify-content: space-between;
}
.flex-btn .btn{
margin: 0.5rem;
}
.banner {
  margin-top: 0;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  animation: banner 4s infinite alternate;
}
@keyframes banner{
  0%{
    background-image: url('../image/ban.jpg');
  }
  50%{
    background-image: url('../image/ban2.jpg');
  }
 100%{
    background-image: url('../image/ban1.jpg');
  }
}
.banner .detail{
  place-content: 4%;
  line-height: 1.5;
}
.banner .detail p{
  font-style: 16px;
  margin-bottom: 1rem;
}
.banner .detail span {
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-top: 1rem;
}
.banner .detail a{
  color: #000;
}
.banner .detail span i{
  margin: 0 1rem;
}
.banner h1{
  font-size: 3rem;
  color: var(--main-color);
  text-transform: capitalize;
}
/* ========custom scrollbar */
::-webkit-scrollbar{
  width: 4px;
}
::-webkit-scrollbar-thumb{
  -webkit-border-radius: 20px;
  border-radius: 20px;
  height: 50px;
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: var(--pink-color);
  position: relative;
}
::-webkit-scrollbar-track{
  -webkit-border-radius: 20px;
  border-radius: 20px;
  height: 50px;
  margin: 10px 30px;
  background-color: transparent;
  position: relative;
}


/* =================footer section -------------*/
.newsletter{
  width: 100%;
  background-image: url('');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}
.newsletter .box-detail {
  text-align: center;
}
.newsletter .box-detail h1 {
  text-transform: capitalize;
}
.newsletter .box-detail p{
  font-size: 18px;
  line-height: 1.5;
  color: #666;
  margin: 1rem 0;
}
.newsletter .box-detail input{
  width: 40rem;
  padding: 1.2rem;
  border: none;
}
.newsletter .box-detail .icons i{
  background: var(--white-alfa-40);
  border: 2px solid var(--main-color);
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  color: var(--pink-color);
  cursor: pointer;
  transition: .5s;
  margin: 1rem;
  font-size: 1.5rem;
}
.newsletter .box-detail button {
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
}
.client {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  text-align: center;
  justify-content: center;
  padding: 4% 0;
  margin: 0 auto;
  background: #fff;
}
.client .img-box{
  text-align: center;
  cursor: pointer;
}

.client .img-box img{
  filter: grayscale(1); height: 145px;
}
.client .img-box img:hover{
  filter: grayscale(0);
}

footer{
  background-image: url('');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 200px 0 0;
  width: 100%;
}
footer img{
  width: 150px;
}
footer .content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  align-items: center;
  justify-content: center;
}
footer .content .box {
  margin: 1rem;
  line-height: 1.7;
  color: var(--main-color);
}
footer .content .box h3 {
  text-transform: capitalize;
  margin-bottom: 0.5rem;
  color: var(--main-color);
}
footer .content .box a {
  font-style: 16px;
  display: block;
  color: var(--main-color);
  text-transform: capitalize;
}
footer .content .box a:hover{
  color: var(--pink-color);
}
footer .content .box i{
  margin-right: 0.5rem;
}
footer .content .box p {
  line-height: 1.5;
}
footer .content .box .btn{
  color: #fff;
}
footer .content .box .btn:hover{
  color: #000;
}
footer .content .box .icons{
  margin-top: 1rem;
}
footer .content .box .icons i {
  background: var(--white-alfa-40);
  border: 2px solid var(--main-color);
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  color: var(--pink-color);
  cursor: pointer;
  transition: .5s;
  margin: .1rem;

}
footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--main-color);
  line-height: 2;
  color: var(--main-color);
}
footer .bottom a{
  text-transform: capitalize;
  color: var(--white);
  font-weight: bold;
}
/* form container */
.form-container{
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100vh;
  position: relative;
  padding: 5% 0;
}
.form{
    background-image: url('../image/form.jpg');
    background-size: cover;
    background-position: center;
}
.form-img {
  position: absolute;
  left: 0;
  width: 30%;
  z-index: -3;
}
.form-container form{
  background-color: var(--white-alfa-25);
  border: 3px solid var(--white-alfa-40);
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  backdrop-filter: var(--backdrop-filter);
  padding: 2rem;
}
.form-container .login{
  width: 50rem;
}
.form-container .register{
  width: 60rem;
}
.form-container .register .img-box {
  text-align: center;
}
.form-container .register .img-box img{
  width: 130px;
  height: 130px;
  border-radius: 50%;
  text-align: center;
  padding: 10px;
  background-color: var(--main-color);
}

.form-container form h3{
  text-align: center;
  font-size: 2rem;
  text-transform: capitalize;
  color: var(--main-color);
  margin-bottom: 1rem;
  font-weight: bold;
}
.form-container form p {
  position: 1rem;
  font-size: 1.2rem;
  color: #666;
  text-transform: capitalize;
}
.form-container form p span{
  color: red;
}
.form-container form .link{
  padding-top: 1rem;
  font-size: 1.2rem;
  text-transform: capitalize;
}
.form-container form .link a{
  color: var(--main-color);
}
.form-container form .link a:hover{
color: red;
}
.form-container form .box{
  background-color: var(--white-alfa-25);
  border: 2px solid var(--white-alfa-40);
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  backdrop-filter: var(--backdrop-filter);
  width: 100%;
  margin: 0.5rem 0;
  padding: 1rem;
  font-size: 18px;
}

.form-container form textarea{
  height: 20rem;
  resize: none;
}
.form-container form input[type='checkbox']{
  cursor: pointer;
}
.form-container form .flex{
  display: flex;
  gap: 2rem;
}
.form-container form .col{
  flex: 1 1 25rem;
}
.form-container form .btn{
  width: 100%;
  font-size: 1.3rem;
}
.form-container .image{
  height: 30rem;
}
.form-container form .flex-box{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.form-container form .flex-box img{
  width: 100%;
  margin: 1rem;
  box-shadow: var(--box-shadow);
}
.property-form img{
  height: 25rem;
  width: 100%;
  object-fit: contain;
  padding-top: 1rem;
  object-position: left;
}
/* header section */
header{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 120px;
    box-shadow: 0 5px 10px 0 #aaa;
    padding: 0 50px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
}
header .right{
    display: flex;
}
#user-btn,
.toggle-btn{
    font-size: 2rem;
    color: var(--main-color);
    cursor: pointer;
}
header .profile{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 120%;
    right: 5rem;
    padding: 1rem;
    text-align: center;
    width: 25rem;
    transform: scale(0);
    /*-webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    */transform-origin: top right;
    box-shadow: var(--box-shadow);
    text-transform: capitalize;
    -webkit-transform: scale(0);
}
header .profile.active{
    transform: scale(1.0);
    transition: .3s linear;
}
header .profile img{
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: .5rem;
    background-color: var(--main-color);
}
header .profile h3{
    font-size: 1.5rem;
}
header p{
    color: red;
    font-size: 1.1rem;
}
header .btn{
    padding: .7rem 1.5rem;
}
.sidebar{
    background-color: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    padding-top: 0;
    width: 20rem;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -30rem;
    width: 0;
    box-shadow: 0 5px 10px #aaa;
    overflow: auto;
    z-index: 1200;
    transition: .5s;
}
.sidebar.active{
    left: 0;
    width: 20rem;
}
.sidebar h5{
    text-transform: uppercase;
    color: var(--main-color);
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
}
.sidebar .profile{
    margin: .5rem auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-top: 2.5rem;
}
.sidebar .logo-img{
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 0.5rem;
    border: 2 solid var(--main-color);
}
.sidebar .profile h3{
    margin-top: .5rem;
    text-transform: uppercase;
    color: #666;
    font-size: 1.3rem;
}
.sidebar ul li{
    padding: 1rem;
    background-color: var(--white-alfa-25);
    border: 2px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    backdrop-filter: var(--backdrop-filter);
    position: relative;
    transition: .3s;
    margin: .5rem 0;
}
.sidebar ul li::before{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 0%;
    width: 5px;
    background-color: var(--main-color);
    transition: all 200ms linear;
}

.sidebar ul li:hover::before{
    height: 100%;
}
.sidebar ul li i{
    color: var(--main-color);
    font-size: 20px;
    margin-right: 2rem;
}
.sidebar ul li a{
    text-transform: uppercase;
    color: #666;
    font-size: 12px;
    font-weight: bold;
}
.socail-links{
    padding-bottom: 2.5rem;
}
.socail-links i{
    background-color: var(--white-alfa-25);
    border: 2px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    backdrop-filter: var(--backdrop-filter);
    cursor: pointer;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    color: var(--main-color);
    transition: .5s;
}
.socail-links i:hover{
    background-color: var(--main-color);
    color: #fff;
}

.dashboard{
  padding: 5% 0;
}
.dashboard .box-container{
  grid-template-columns: repeat(auto-fit, 25rem);
}
.dashboard .box-container .box{
  text-align: center;
  padding: 1.5rem;
  padding-bottom: 3rem;
}
.dashboard .box-container .box h3{
  font-size: 2.1rem;
}
.dashboard .box-container .box p{
  padding: 1rem;
  font-size: 1.5rem;
  text-transform: capitalize;
}
.search-form{
  width: 30rem;
  margin: 0 auto;
  border-radius: .5rem;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  border: 1px solid #aaa;
  padding: .8rem .5rem;
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
} 
.search-form input{
  width: 100%;
  font-size: 1.2rem;
  color: black;
}
.search-form button{
  background: none;
  cursor: pointer;
  color: #aaa;
  font-size: 1.3rem;
}
.listings .box-container .box .thumb{
  position: relative;
  height: 20rem;
  margin-bottom: 1.5rem;
}
.listings .box-container .box .detail{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  padding: 1rem;
}
.listings .box-container .box .detail i{
  color: red;
}
.listings .box-container .box .thumb p{
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, .5);
  color: var(.5rem);
  padding: .7rem 1rem;
  font-size: 1.1rem;
}
.listings .box-container .box .thumb p i{
  margin-right: 1rem;
}
.listings .box-container .box .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .5rem .5rem 0 0;
}
.listings .box-container .box .price{
  font-size: 1.5rem;
  color: red;
}
.listings .box-container .box .price i{
  margin-right: .8rem;
}
.listings .box-container .box .name{
  font-size: 1.3rem; 
  text-transform: capitalize;
  color: #000;
  padding: 0.7rem 0;
  text-overflow: ellipsis;
}
.listings .box-container .box .location{
  color: var(--light-color);
  font-size: 1.6rem;
  padding: 0.5rem 0;
  text-overflow: ellipsis;
}
.listings .box-container .box .location i{
  margin-right: 1rem;
  color: red;
}
.listings .box-container .box .flex-btn{
  justify-content: space-evenly;
}
.box p{
  word-break: break-all;
}


@media (max-width:991px) {
  .header{
    width: 100%;
  }
  .header .menu{
    display: flex;
  }
  .newsletter{
    width: 50%;
  }

}