:root{
    --primary-color: #738659;
    --secondary-color:#11302a;
    --filter:invert(100%) sepia(0%) saturate(7444%) hue-rotate(268deg) brightness(109%) contrast(97%);
}

html,body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #d6d7cf8e;
}
*{
    font-family: sans-serif;
    line-height: 1.5;
}
.hide-on-laptop{
    display:none;
}
a{
    text-decoration: none;
}
li{
    list-style-type: none;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
header ul{
    display: flex;
    column-gap: 50px;
    color: var(--primary-color);
    align-items: center;
}
header ul a{
    color: var(--primary-color);
}
header ul li{
    cursor: context-menu;
    transition: all 1s;
}
header ul li:hover{
       padding:10px 14px;
       border-top: 1px solid var(--primary-color);
       border-bottom: 1px solid var(--primary-color);
}
.active{
       padding:10px 14px;
       border-top: 1px solid var(--primary-color);
       border-bottom: 1px solid var(--primary-color);
}
.header-logo img{
    width:60px
}
.header-btn{
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    background-color: var(--primary-color);
}
.header-btn:hover{
    filter: brightness(80%);
}
.hero-section{
    background-image: linear-gradient(rgba(0, 0, 0, 0.37),rgba(0, 0, 0, 0.381)),url('../images/herobg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100vw 100vh;
    height: 100vh;
    display: grid;
    align-content: center;
    row-gap: 10px;
    border-radius: 50px;
    margin: 8px 20px;
    
}
.hero-section div:first-child{
    width: 50%;
   color: white;
   display: grid;
   row-gap: 5px;
   padding: 0 15px;
}
.hero-section div:first-child h1{
    font-size: 3em;
    line-height: 1.5;
}
.hero-btn{
    margin: 15px 0;
}
.cta{
    margin: 0 10px;
    font-weight: 500;
}
.primary-btn{
    padding: 10px 15px;
    border-radius: 2px;
    color: black;
    background-color: white;
}
.achievements{
    display: grid;
    grid-template-columns: 5.5fr 4.5fr;
    align-items: center;
    column-gap: 20px;
    padding: 10vh 20px;
}
.achievements .desc{
       display: grid;
       grid-template-columns: 1fr 1fr;   
       column-gap: 20px;
}
.achievements .desc img {
      width: 100%;
      height: 100%;
      border-radius: 12px;
}
.achievements .desc .learn {
    border: 1px solid black;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: context-menu;
    transition: all 1s;
}
.achievements .desc .learn:hover{
    background-color: var(--primary-color);
    color: white;
    border: none;
}
.achievement-main-sect{
     display: grid;
     grid-template-columns: 1fr 1fr;
     justify-self: center;
    
     gap: 50px;
}
.achievements-heading{
    font-size: 2em;
}
.achievement-main-sect span{
    font-size: 1.1em;
}
.partners{
    display: flex;
    justify-content: space-around;
    padding: 70px 12px;
}
.partners div{
    display: flex;
    align-items: center;
    column-gap: 6px;
}
.partners div img{
    width:20px;
    opacity: 0.3;
}
.partners div span{
    color: rgba(0, 0, 0, 0.358);
    font-weight: 600;
    font-size: 1.2em;
}
.properties-listing h2{
    text-align: center;
    font-size: 2em;
}
.category{
    display: flex;
    justify-content: center;
    column-gap: 20px;
}
.category span{
    padding:10px 15px;
    border: 1px solid black;
    transition: all 1s;
    border-radius: 20px;
    cursor: context-menu;
}
.category span:hover{
    background-color: black;
    color: white;
}
.active-category{
    background-color: black;
    color: white;
}
.properties-listing{
    padding: 30px 12px;
}
.properties-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:50px;
    margin: 20px 0;
}
.single-property-info > img{
    width:100%;
    height: 50vh;
    border-radius: 13px;
}
.location{
    display: flex;
    align-items: center;
}
.location img{
    width:20px
}
.property-name-and-price{
    display: flex;
    justify-content: space-between;
}
.property-additional-info{
    display: flex;
}
.property-additional-info div{
    display: flex;
    align-items: center;
    column-gap: 10px;
    border-right:1px solid black;
    padding: 0 15px;
    opacity: 0.7;
}
.property-additional-info div img{
    width:20px;
}
.viewmore-property{
    text-align: center;
}
.viewmore-property span{
    padding:10px 15px;
    border: 1px solid black;
    transition: all 1s;
    border-radius: 20px;
    cursor: context-menu;
}
.viewmore-property span:hover{
    color: white;
    background-color: black;
}
.expertise{
    padding: 30px 12px;
}
.expertise h2{
    font-size: 2em;
    text-align: center;
}
.expertise-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.single-expertise-box{
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}
.single-expertise-box img{
    width: 30px;
}
.gallery{
    padding: 40px 12px;
}
.gallery-heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gallery-heading span{
     padding:10px 15px;
    border: 1px solid black;
    transition: all 1s;
    border-radius: 20px;
    cursor: context-menu;
}
.gallery-heading span:hover{
    background-color: black;
    color: white;
}
.gallery-heading h2{
      font-size: 2em;
}
.gallery-images{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}
.gallery-images img{
     width: 100%;
    border-radius: 10px;
    height: 70vh;
}
.gallery-images > img:first-child{
    grid-column: 1/3;
}
.gallery-images > img:nth-child(2){
    grid-column: 3/5;
}
.gallery-images > img:nth-child(4){
    grid-column: 2/4;
}
.pin-card{
    background-image: linear-gradient(rgba(0, 0, 0, 0.174),rgba(0, 0, 0, 0.168)),url(../images/image10.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100vw 100vh;
    border-radius: 30px 30px 30px 30px;
    height: 100vh;
    margin:40px 12px;
    display: flex;
    justify-content: right;
}
.card{
    background-color: white;
    padding: 15px;
    width: 30%;
    height: fit-content;
    border-radius: 10px;
    position: relative;
    top: 14px;
   right:14px;
   line-height: 1.5;
}
.card span{
     padding:10px 15px;
   background-color: black;
   color: white;
    transition: all 1s;
    border-radius: 20px;
    cursor: context-menu;
}
.client-review{
      padding: 50px 12px;
      display: grid;
      justify-content: center;
}
.client-review h2{
    font-size: 2em;
    text-align: center;
}
.review-container{
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 20px;
   width: 70vw;
   height: 40vh;
   padding: 50px 0;
   line-height:  1.5;
}
.review-container img{
    width:80%;
    height: 50%;
    justify-self: center;
    border-radius: 10px;
}
.italic{
    font-style: italic;
}
.control-btn{
    display: none;
    column-gap: 15px;
    justify-content: end;
}
.next,.prev{
    border: 1px solid black;
    border-radius: 50%;
    padding:2px 8px;
    cursor: context-menu;
}
.next{
     background-color: black;
     color: white;
}
footer{
    display: grid;
    grid-template-columns:  repeat(4,1fr);
    column-gap: 20px;
    padding:50px 16px 8px 16px;
    background-color: rgb(9, 8, 8);
    line-height:  1.5;
    color: white;
    outline: none;
}
footer > div{
    justify-self: center;
}
.footer-info input{
     font-size: 1.3em;
     background: transparent;
     border: none;
     border-bottom: 1px solid rgba(255, 255, 255, 0.618);
     outline: none;
     background: none;
     color: white;
}
.footer-logo img{
    width: 40px;
    filter: var(--filter);
}
.brand-name{
    font-size: 1.4em;
}
.footer-links ul{
    padding: 0;
}
.footer-links ul li{
    margin: 15px 0;
}
.footer-links ul li a {
    color: rgba(255, 255, 255, 0.641);
}
.last-part{
    grid-column: 1/5;
    border-top: 1px solid rgba(255, 255, 255, 0.677);
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

@media only screen and (max-width:1000px){
.hide-on-laptop{
    display: inline;
}  
.hide-on-mobile{
    display: none;
}

header{
    display: flex;
    position: relative;
}
header ul{
    display: block;
    position: absolute;
    z-index: 30;
    top: -1500px;
    left:0;
    background-color: #d6d7cf;
    width: 100%;
    padding: 30px;
    transition: all 2s;
}
header ul li{
    margin: 50px 0;
    padding: 0 0;
}
.active{
     padding: 0 0;
     border: none;
}
.menu-icon{
    font-size: 50px;
}
header ul li:hover{
       padding:0 0;
       border: none;
}
.hero-section{
    height:80vh
} 
 .hero-section div:first-child{
    width: 80%;
   color: white;
   display: grid;
   row-gap: 5px;
   padding: 0 15px;
}
.achievements{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    column-gap: 20px;
    padding: 10vh 20px;
}
.achievements .desc{
       display: grid;
       grid-template-columns: 1fr;   
       column-gap: 20px;
}
.achievements .desc img {
      width: 100%;
      height: 100%;
      border-radius: 12px;
}
.achievements .desc .learn {
    border: 1px solid black;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: context-menu;
    transition: all 1s;
}
.achievements .desc .learn:hover{
    background-color: var(--primary-color);
    color: white;
    border: none;
}
.achievement-main-sect{
     display: grid;
     grid-template-columns: 1fr 1fr;
     justify-self: center;
     align-items: center;
     gap: 50px;
     text-align: center;
     width: 90vw;
     padding: 8px 0;
}
.achievements-heading{
    font-size: 2em;
}
.achievement-main-sect span{
    font-size: 1.1em;
}
.properties-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:30px;
    margin: 20px 0;
}
.expertise-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.gallery-images img{
     width: 100%;
    border-radius: 10px;
    height: 30vh;
}
.pin-card{
    background-image: linear-gradient(rgba(0, 0, 0, 0.382),rgba(0, 0, 0, 0.393)),url(../images/image2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100vw 100vh;
    border-radius: 30px 30px 30px 30px;
    height: 60vh;
    margin:40px 12px;
    display: flex;
    justify-content: center;
}
.card{
    background-color: white;
    padding: 50px 15px;
    width: 80%;
    height: fit-content;
    border-radius: 10px;
    position: relative;
    top: 14px;
    right:0;
    left:0;
    line-height: 1.5;
}
.card span{
   padding:10px 15px;
   background-color: black;
   color: white;
    transition: all 1s;
    border-radius: 20px;
    cursor: context-menu;
}
.review-container{
   display: grid;
   grid-template-columns: 1fr;
   width: 96vw;
   height: 100vh;
   padding: 50px 0;
   line-height:  1.5;
}
.review-container img{
    width:100%;
    height: 40vh;
    justify-self: center;
    border-radius: 10px;
}
.control-btn{
    display: flex;
    column-gap: 15px;
    justify-content: start;
}
footer{
    display: grid;
    grid-template-columns: 1fr;
    padding:70px 16px;
    background-color: rgb(9, 8, 8);
    line-height:  1.5;
    color: white;
    outline: none;
}
footer > div{
    justify-self: left;
}
.last-part{
    grid-column: 1/1;
    border-top: 1px solid rgba(255, 255, 255, 0.677);
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
}


@media only screen and (max-width:767px) {
    .hide-on-mobile{
        display: none;
    }
    body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.hero-section{
    background-image: linear-gradient(rgba(0, 0, 0, 0.508),rgba(0,0,0,0.5)),url('../images/herobg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100vw 100vh;
    display: grid;
    align-content: center;
    row-gap: 10px;
    border-radius: 15px;
    margin: 8px 10px;
    height: 80vh;
}
.hero-section div:first-child{
   width: fit-content;
   color: white;
   display: grid;
   row-gap: 5px;
   padding: 0 7px;
}
.hero-section div:first-child h1{
    font-size: 2em;
    line-height: 1.5;
}
.achievements{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    column-gap: 20px;
    padding: 10vh 20px;
}
.achievements .desc{
       display: grid;
       grid-template-columns: 1fr;   
       column-gap: 20px;
}
.achievements .desc img {
      width: 100%;
      height: 100%;
      border-radius: 12px;
}
.achievements .desc .learn {
    border: 1px solid black;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: context-menu;
    transition: all 1s;
}
.achievements .desc .learn:hover{
    background-color: var(--primary-color);
    color: white;
    border: none;
}
.achievement-main-sect{
     display: grid;
     grid-template-columns: 1fr;
     justify-self: center;
     align-items: center;
     gap: 50px;
     text-align: center;
}
.achievements-heading{
    font-size: 2em;
}
.achievement-main-sect span{
    font-size: 1.1em;
}
.partners{
    overflow-x: auto;
  /* display: grid;
   justify-content: center;
   grid-template-columns: 1fr 1fr;
   row-gap: 50px;*/
    display: flex;
    justify-content: space-around;
    padding: 70px 12px;
    column-gap: 50px;
}
.properties-container{
    display: grid;
    grid-template-columns: 1fr;
    gap:30px;
    margin: 20px 0;
}
.category{
    overflow-x: auto;
    padding: 10px 0;
}
.expertise-container{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.gallery-images img{
     width: 100%;
    border-radius: 10px;
    height: 30vh;
}

.gallery-images img:nth-child(3){
    grid-column: 1/5;
}
.gallery-images img:nth-child(4){
    grid-column: 1/3;
}
.gallery-images img:nth-child(5){
    grid-column: 3/5;
}
.pin-card{
    background-image: linear-gradient(rgba(0, 0, 0, 0.382),rgba(0, 0, 0, 0.393)),url(../images/image2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100vw 100vh;
    border-radius: 30px 30px 30px 30px;
    height: 90vh;
    margin:40px 12px;
    display: flex;
    justify-content: center;
}
.card{
    background-color: white;
    padding: 15px;
    width: 80%;
    height: fit-content;
    border-radius: 10px;
    position: relative;
    top: 14px;
    right:0;
    left:0;
    line-height: 1.5;
}
.card span{
   padding:10px 15px;
   background-color: black;
   color: white;
    transition: all 1s;
    border-radius: 20px;
    cursor: context-menu;
}
.review-container{
   display: grid;
   grid-template-columns: 1fr;
   width: 96vw;
   height: 100vh;
   padding: 50px 0;
   line-height:  1.5;
}
.review-container img{
    width:100%;
    height: 40vh;
    justify-self: center;
    border-radius: 10px;
}
.control-btn{
    display: flex;
    column-gap: 15px;
    justify-content: start;
}
footer{
    display: grid;
    grid-template-columns: 1fr;
    padding:70px 16px;
    background-color: rgb(9, 8, 8);
    line-height:  1.5;
    color: white;
    outline: none;
}
footer > div{
    justify-self: left;
}
.last-part{
    grid-column: 1/1;
    border-top: 1px solid rgba(255, 255, 255, 0.677);
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
}
