@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

h1,h2,
h3,h4,
h5,h6{
    font-family: 'Merriweather', sans-serif;
    font-weight: 700;
}

p {
    font-family: 'Open Sans', sans-serif;

}

body {
    padding-top: 4rem ;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 2rem;
    scrollbar-width: none;

}

/*all index css start*/



/*all nav links start*/
header {
    max-width: 100%;
    height: 100%;
    background-color: #ffffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 7rem;
    background-color: #ffffff;

}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}



.nav li {
    display: inline-block;
    padding: 0 1rem;

}


.nav li a {
    color:  #151411;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    
}

nav ul li .link {
    color: #FFB23F;
    
}
nav ul li .link::after {
  content: "";
  color: #FFB23F;
  width: 10%;
  height: 3px;
  background: #FFB23F;
  position: absolute;
  bottom: -5px;
  left: 5px;
  
}


.nav li a:hover {
    color: #FFB23F;
    transition: ease-in 0.5s;
}


.nav li a::after {
    content: '';
    bottom: -6px;
    height: 3px;
    width: 0;
    background: #FFB23F;
    position: absolute;
    left: 0;
    transition: 0.7s;
}

.nav li a:hover::after {
    width: 100%;
}

.nav-icons {
    margin-left: 15rem;
    cursor: pointer;
   
}

.nav-icon-1 {
    margin: 0 1rem;

}

.nav-icon-1:hover {
    opacity: 0.4;
}

.nav-icon-2:hover {
    opacity: 0.4;
}


.mobile {
    display: none;
}

.close {
    display: none ;
    cursor: pointer;
}


/*all nav links end*/




/*hero start*/
.hero-container {
    margin-bottom: 5rem;
    max-width: 100%;
    height: 100%;

}


.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 100%;
    margin-bottom: 2rem;

}

.hero-slides {
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero h1 {
    font-size: 4rem;
    text-align: center;
    color: #151411;
    margin-bottom: 2rem;
    font-weight: 700;

}


.hero p{
    color: #AFADB5;
    text-align: center;
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 2rem;
}

.hero-slides {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.hero-slides .carousel img {

  width: 1400px;
  
}

/*hero end*/


/* Slideshow container */
.carousel {
    position: relative;
  }
  
  /* Caption text */
  .text{
    padding: 2rem;
    position: absolute;
    bottom: 50px;
    right: 700px;
    text-align: center;
  }
  
  .text p{
    color: #ffffff;
    font-size: 1rem;
    margin: 1rem 0;
    font-weight: 500;
    font-style: normal;
    text-align: start;
    box-shadow: #080807;
  }

  .text h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    text-align: start;
  }

  .Discount-btn {
    padding: 0.7rem 1.5rem;
    background-color: #da8b14;
    border: none;
    border-radius: 15px;
    color: #ffffff;
    font-weight: 400;
    font-size: 1.2rem;
    cursor: pointer;
    transition: ease-in 0.2s;
    margin-bottom: 1rem;
}

.Discount-btn:hover {
    opacity: 0.5;
}

  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 1.3rem;
    background-color: #da8b14;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
   
  }
  
  .active, .dot:hover {
    background-color: #060808;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  .search-container{
    display: flex;
    justify-content: space-between;
    margin: 0 2rem;
    align-items: center;
    max-width: 100%;
    height: 100%;
    margin-bottom: 4rem;

  }

  .search-container h2 {
    font-size: 1.7rem;
  }

input[type = search] {
    width: 700px;
    background-color: #ffffff;
    box-shadow: 0px 4px 80px rgba(175, 173, 181, 0.172);
    padding: 1rem;
    border: none;
    margin:0 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #AFADB5;
}

.find-property {
    padding: 0.9rem 1.5rem;
    background-color: #da8b14;
    border: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: ease-in 0.2s;
}

.find-property:hover {
    opacity: 0.5;
}

.filter{
  padding: 1rem;
  background-color: #ffffff;
  box-shadow: 0px 4px 80px rgba(175, 173, 181, 0.172);
  display: flex;
  cursor: pointer;

}

.filter h3 {
  margin-left: 0.5rem;
  font-weight: 500;
  font-size: 1.2rem;
}

.range{
  width: 60px;
  margin-left: 1rem;
  cursor: pointer;
}

/*popular products start*/

main {
    margin-bottom: 6rem;
    margin-top: 3rem;
    max-width: 100%;
    height: 100%;
}

main p {
    color: #FFB23F;
    font-weight: 600;
    text-align: center;
    font-size: 1.2rem;
}

main p:nth-child(3) {
    color: #AFADB5;
   
}

main h2 {
    font-size: 3rem;
    text-align: center;
    color: #151411;
    margin: 1.5rem 0;
}

.popular-products{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 3rem;

}

.popular-products .col-2{
  display: flex;
  justify-content: center;
  align-items: center;

}

.popular-products .col-4 {
    background-color: #ffffff;
    padding: 1rem 3rem;
    width: 300px;
    box-sizing: border-box;
    height: 350px;
    cursor: pointer;
    box-shadow: 0px 4px 100px rgba(175, 173, 181, 0.015);
    transition: linear 0.3s;
  
}

.popular-products .col-4:hover {
    box-shadow: 0px 4px 100px rgba(181, 179, 173, 0.218);

}

.popular-products .col-4 h5 {
    font-size: 1rem;
}

.popular-products .col-4 p {
    color: #AFADB5;
    font-style: normal;
    text-align: start;
    font-size: 14px;
    margin: 0.5rem 0;
    font-weight: 500;
}


/*popular products end*/


/*footer starts*/

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    margin-top: 4rem;
    height: 100%;

    max-width: 100%;

  }

  .logo p{
    color: #151411;
    font-weight: 500;
    margin-top: 1rem;
    line-height: 1.7rem;
    font-size: 1.1rem;

  }

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: start;
 
  }

  .footer-links h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #151411;
  }

  .footer-links ul li {
    margin: 1rem 0;
    font-weight: 500;
    font-size: 1.2rem;
    font-style: normal;
    cursor: pointer;
    transition: ease-out 0.3s;
  }
  
  .footer-links ul li:hover {
    color: #FFB23F;
  }

  .Developer {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #080807;
    margin: 0;
  }
/*footer ends*/





@media only screen and (max-width: 600px) {

body {
    padding: 2rem;
}

body br {
    display: none;
  }
 
 .nav {
position: absolute; 
top: 90px;
left: 80px;
background: #da8b14;
height: 70vh;
z-index: 999;
width: 330px;
font-weight: 600;
justify-content: center;
padding-left: 2rem;
align-items: flex-start;
flex-direction: column;
box-shadow: 0px 4px 100px rgba(175, 173, 181, 0.184);
transition: ease-in-out.5s;

}


.nav li {
padding: 0.5rem;
margin-bottom: 2rem;
display: block;

}

.nav ul li a {
color: #ffffff;
font-size: 1.3rem;
letter-spacing: 3px;

}

  .nav-icons {
    margin-left: 0;
    color: #ffffff;
  }

  .mobile {
    display: block;
    cursor: pointer;

}

.close {
    display: block;
    font-size: 2.2rem;
    position: absolute;
    cursor: pointer;
    top: 20px;
    left: 40px;
}

.hero h1 {
    font-size: 1.9rem;
    text-align: start;
    margin-bottom: 0.7rem;

}

.hero p {
    font-size: 0.9rem;
    text-align: start;
    margin-bottom: 0.9rem;
}


main {
    max-width: 100%;
    height: 100%;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

main p {
    text-align: start;
    font-size: 0.9rem;
}

main h2 {
    text-align: start;
    font-size: 1.5rem;
}

.filter{
  display: none;
}

.search-container{
  display: flex;
  justify-content: flex-start;
  margin:  1rem 0;
  align-items: flex-start;
  max-width: 100%;
  height: 100%;
  margin-bottom: 2rem;
}

.search-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;

}

input[type = search] {
  width: 100%;
  padding: 1.5rem 1rem;
   box-shadow: 0px 4px 80px rgba(175, 173, 181, 0.284);
  margin:1rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #AFADB5;
}

.find-property {
  padding: 0.7rem;
  background-color: #518581;
  border: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: ease-in 0.2s;
}

.property-search img{
  display: none;
}

.popular-products{
  justify-content: center;
  max-width: 100%;
  height: 100%;

}


.popular-products .col-4 {
    background-color: #ffffff;
    width: 100%;
    padding: 0 0.4rem;
    margin: 2px 0;
    height: 100%;
    cursor: pointer;
   transition: linear 0.3s;
  
}

.popular-products .col-4 img {
    width: 100%;

}

.popular-products .col-2 {
  width: 100%;
    height: 100%;
    margin-bottom: 2rem;

}

.popular-products .col-4 h5 {
  font-size: 0.7rem;
  font-weight: 600;
}

.popular-products .col-4 p {
  font-size: 8px;
  margin: 0.8rem 0;
  font-weight: 600;

}

.hero-slides .carousel img {
  width: 100%;
}
  
   .text p{
     font-size: 0.5rem;
   }
 
   .text h5 {
     font-size: 1rem; 
   }

   .text{
     padding: 2rem;
     position: absolute;
     bottom: 1px;
     right: 60px;
     text-align: center;
   }
   
   .dot {
     height: 5px;
     width: 5px;
     margin: 0.5rem;
   }

   .Discount-btn {
    padding: 0.3rem 0.4rem;
    background-color: #FFB23F;
    border: none;
    border-radius: 15px;
    color: #ffffff;
    font-weight: 400;
    font-size: 0.5rem;
    cursor: pointer;
    transition: ease-in 0.2s;
    margin-bottom: 0;
    bottom: 50px;
    right: -40px;
    position: absolute;
}


   
footer {
    flex-wrap: wrap;
    height: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: start;
  }

  .logo p{
    color: #AFADB5;
    font-weight: 500;
    margin-top: 1rem;
    line-height: 1.7rem;
    font-size: 0.8rem;
  }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    height: 100%;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    flex-direction: row;
 
  }

  .footer-links h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #151411;
  }

  .footer-links ul li {
    margin: 1rem 0;
    font-weight: 500;
    color: #AFADB5;
    font-size: 0.8rem;
    font-style: normal;
    cursor: pointer;
    transition: ease-out 0.3s;
  }
  
  .footer-links ul li:hover {
    color: #518581;
  }

  .Developer {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: #080807;
    
  }

}
