/*
    global font 
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;900&display=swap');

/* 
    global variables 
*/
:root{
    /* colors  */
    --clr-primary: #39297a;
    --clr-secondary: #58b98c;
    --clr-secondary-gradient:linear-gradient(90deg, rgba(153,147,255,1) 0%, rgba(0,112,255,0.6979166666666667) 27%, rgba(119,182,40,1) 73%);
    --clr-linear-gradient: linear-gradient(to right, #862081 -45%, #8468F5 75%);
    --clr-primary-text: #1D1C24;
    --clr-btn-text: #fff;
        
    /* colors for card */
    --clr-body-bg: hsl(0 0% 90%);
    --clr-card-bg: hsl(0 0% 100%);
    --clr-text: hsl(0 0% 15%);
    --clr-heading: hsl(0 0% 25%);
    /* typography */
    --main-font-family: 'Poppins', sans-serif;

    /* font sizes */
    --fs-body:16px; 
    --fs-regular:1rem;
    --fs-medium:1.2rem;
    --fs-large:2.5rem;
    
    /* font weights */
    --fw-regular:400;
    --fw-semibold:500;
    --fw-bold:700;
}

/*
    base
*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.backgroundShape{
 /* Polygon 1 */

  /*width: 100px;
  height: 55px;
  background: #32557f;
  position: relative; */
  
  /*height: 100%;
  width: 70%;
  position: absolute; */
 
  position: absolute;
 
  left: -140px;
  width: 100%;
  opacity: 70%;
  order: 1;
  flex-grow: 0;
  stroke-width:0;
  
  
  
  
  z-index: -2;

  
}
.backgroundShape2 {
  
  position: absolute;
  
  width: 100%;
  top: 1000px;
  opacity: 70%;
  order: 1;
  flex-grow: 0;
  stroke-width:0;
  rotate:50deg;
  
  
  
  
  z-index: -2;
   
}
.backgroundShape3{
    position:absolute;
    
    width: 100%;
    top: 140em;
    opacity: 70%;
    order: 1;
    flex-grow: 0;
    stroke-width:0;
    rotate:20deg;   
    
    z-index: -2;

}

 
body{
    font-family: var(--main-font-family);
    font-size: var(--fs-body);
    
    background-color: var(--clr-secondary); 
    
    min-height: 100vh;
    display: grid;
    place-content: center;
}

/*
    reuse classes
*/
.section{
    max-width: 1024px;
    margin: auto;
    padding: 20px;
}
.flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn{
    list-style-type: none;
    padding: .5rem 2.5rem;
    border: none;
    border-radius: 1rem;
    background: var(--clr-linear-gradient);
    color: var(--clr-btn-text);
    font-size: var(--fs-medium);
    font-weight: var(--fw-semibold);
    cursor: pointer;
}
.nav-item {
    list-style-type: none;
    cursor: pointer;
    font-size: var(--fs-medium);
    font-weight: var(--fw-semibold);
}
.nav-item a {
    list-style-type: none;
    text-decoration: none;
    font-size: var(--fs-medium);
    font-weight: var(--fw-semibold);
    color: #1D1C24;
}
img{
    max-width: 100%;
}
/* ============= header section =========== */
header{
    height: 75px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 2;

}
.header-logo{
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    position: relative;
}
.header-logo::after{
    content: '';
    height: 5px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--clr-linear-gradient);
}
.header-nav{
    height: 100%;
    width: 50%;
}
.header-nav > .nav{
    width: 100%;
}
/* card */
.auto-grid {
    --min-column-size: 225px;
  
    display: grid;
    gap: clamp(1rem, 5vmax, 1.625rem);
    grid-template-columns: repeat(
      auto-fit,
      minmax(min(100%, var(--min-column-size)), 1fr)
    );
  }
  .wrapper {
    --max-width: 55rem;
    width: min(100% - 2rem, var(--max-width));
    margin-inline: 50px;
    margin-top: 30px;
    text-align: center;
    padding-bottom: 50px;
    margin: auto;
    
  }
  .wrapper >*{
    margin-bottom: 30px;
  }
  .card {
    padding: 1rem;
    background-color: var(--clr-card-bg);
    border-block-start: 0.5rem solid;
    border-radius: 0.5rem;
  }
  
  .card > * {
    margin: 0;
  }
  
  .card > *:not(:last-child) {
    margin-bottom: 0.75rem;
  }
  /* AppraisalService */

  .AppraisalService  {
   
   margin-top : 50px;
   
  }
  
  .AppraisalService h {
    background-color: #862081;
  }


  /* contact US */

  
  .form-group {
    display: grid;
    gap: 0.5rem;
    align-items: center;
  }
  
  
  input,
  button {
    padding: 0.5rem 0.75rem;
  }
  
  input::placeholder {
    font-size: 1rem;
  }
  
  button {
    cursor: pointer;
    background-color: hsl(175 60% 40%);
    border: 0;
    border-radius: 0.25rem;
  }

/* menu icon  */
.menu-icon{
    visibility: hidden;
    cursor: pointer;
    overflow: hidden;
    padding: 5px 0;
}
.menu-bar{
    content: '';
    height: 10px;
    width: 40px;
    border: none;
    border-radius: 10px;
    background-color: var(--clr-primary);
    display: block;
    position: relative;
    transition: all .5s ease-in;
}
.menu-bar.top{
    transform: translateY(-2px);
}
.menu-bar.bottom{
    transform: translateY(2px);
}
.menu-icon.active .menu-bar.middel{
    visibility: hidden;
    transform: translateX(100%);
}
.menu-icon.active .menu-bar.top{
    transform: rotate(45deg) translate(8px , 5px);
}
.menu-icon.active .menu-bar.bottom{
    transform: rotate(-45deg) translate(8px,-6px);
}


/* ============= hero section =========== */
section {
    margin-bottom: 50px;
}
.hero-section{
    height: calc(100vh - 75px);
    width: 100%;
    overflow: hidden;
    position: relative;
    
}
.hero-content{
    height: 60%;
    width: 40%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}
.content-header{
    text-align: center;
    font-size: var(--fs-large);
    font-weight: var(--fw-bold);
    margin-bottom: 30px;
    
}
.service-list{
    
    text-align: center;
    list-style-type: none; 
    font-size: var(--fs-medium);
    font-weight: var(--fw-medium);
    padding-bottom : 50px;
    font-style:var(--fw-bold);
    
}
.service-list span{
    color: rgb(0, 243, 0);
}
.service-list > *{
    
    
    padding: 5px;
    
}
.content-header span{
    color: var(--clr-primary);
}
.content-description{
    font-size: var(--fs-regular);
    font-weight: var(--fw-regular);
}
.hero-img{
    
    
    width: 531px;
    height: 690px;
    box-sizing: border-box;
    mix-blend-mode: normal;
    border: 1px solid #463D3D;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.5));
    border-radius: 16px;
    background:url("img/houseHome.jpg");;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    

    
    
}
.download-section{
    height: 5rem;
    width: 100%;
    position: relative;
}
input{
    height: 3.5rem;
    width: 100%;
    
    border: none;
    border-radius: 1rem;
    padding-inline: 2rem;
    font-size: var(--fs-regular);
}
.download-btn{
    position: absolute;
    right: 5px;
    top: 5px;
}
.sent-icon{
    padding-left: .2rem;
}

.social-icon-list > .nav{
    gap: 10px;
    position: absolute;
    bottom: 50px;
    left: 20px;
}
.social-icon{
    height: 2.5rem;
    width: 2.5rem;
    border: none;
    border-radius: 50%;
    background-color: var(--clr-primary);
    color: var(--clr-btn-text);
    text-align: center;
    padding: 5px 0;
}

/* Types of properties */
.single {
    display:flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    padding: 0px;
    gap: 90px;
    width: 100%;
    flex: none;
    order: 0;
    flex-grow: 0;

}
.single img {
    box-sizing: border-box;

width: 230px;
height: 233px;

/*background: url(.jpg); */
border: 0.438857px solid #000000;
border-radius: 126.537px;

/* Inside auto layout */

flex: none;
order: 0;
flex-grow: 0;
}

/* Contact US */
.contactUs{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 10px;
    justify-content: center;
    width: 100%;
} 
.cf {
    background-color: #8b899b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;
    gap: 6px;
    margin: auto;
    padding: 6px;
   
}
.half-left-cf {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 6px;
    justify-content:space-around ;

}
.contactUs input {
    display: flex;
    border-radius: 6px;
}
.contactUs textarea {
    border-radius: 0px;
    display: flex;
    flex-direction: row;
    height: 200px;

}
.half-right-cf{
    display: flex;
    flex-direction: row;
    flex-direction: column;
    align-items: center;
}
#input-message{
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    border-radius: 6px;
    margin:auto;
    width: 100%;
}
.submit-btn{
    display:inline;
    width: 100%;
    padding:6px;
    margin: auto;
    text-align: center;        
    
}
.submit-btn button {
    background: var(--clr-linear-gradient);
    width: 90%;
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    position: relative;
}

.aboutUs{
    margin: auto;
     
    padding: 10px;
    width: 50%;
}


/* responsive design  */
@media (max-width:768px) {
    :root{
        /* font sizes */
        --fs-body:12px; 
        --fs-regular:1rem;
        --fs-medium:1.1rem;
        --fs-large:2rem;
    }
    .menu-icon{
        visibility: visible;
    }
    svg {
        visibility: hidden;
    }
    .single{
        gap: 10px;
        padding: 10px;
    }
    .contactUs *{
        
            display: flex;
            flex-direction:column;
            align-items: center;
            padding: 5px;       
            
            width: 100%;
        
    }
    
    

    .header-nav{
        height: 0;
        width: 280px;
        z-index: 999;
        position: absolute;
        top: 75px;
        right: 20px;
        background-color: rgba(255, 255, 255, 0.4);
        opacity: 0.9;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-radius: 1rem;
        padding-inline: 2.5rem ;
        transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
        overflow: hidden;
    }
    .header-nav.active{
        height: calc(100vh - 100px);
    }
    
    .header-nav > .nav{
        flex-direction: column;
        align-items: flex-start;
        gap: 4rem;
    }
    .content-header{
        margin-top: 50px;
    }

    .hero-section{
        flex-direction: column-reverse;
        
    }
    .hero-content,
    .hero-img{
        width: 100%;
        
    }
    .hero-content{
        height: 40%;
       
    }
    input{
        height: 3rem;
    }
    .download-btn{
        top: 2.5px;
    }
    .hero-img{
        height: 60%;
    }
    .social-icon-list > .nav{
        bottom: 5px;
        position: fixed;
       
    }
    .social-icon-list nav {
        background: #8468F5;
        
       
    }
    .social-icon{
        height: 2rem;
        width: 2rem;
        padding: 3px 0;
    }
}

@media (max-width:475px) {
    :root{
        /* font sizes */
        --fs-body:12px; 
        --fs-regular:0.8rem;
        --fs-medium:1rem;
        --fs-large:2rem;
    }
    svg {
        visibility: hidden;
    }
    .single{
        gap: 10px;
        padding: 10px;
    }
    .hero-img{
        height: 40%;
    }
    .hero-content{
        height: 60%;
    }
    .download-btn{
        padding: .5rem .7rem;
    }
}