:root {
    --dark-green: #163020;
    --light-green: #527853;
    --golden: #f3d15f;
    --pastel-green: #e7ece7;

    --hover-green: #e8efe8;
}

body{
    overflow-x: hidden;
}

.container {
    margin-bottom: 60px;
}

.sub-hero-section {
    width: 100%;
    height: 400px;

    position: relative;
}

.sub-hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -2;
}

.sub-hero-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #163020 1.32%, rgba(22, 48, 32, 0.50) 50.66%, rgba(255, 255, 255, 0.00) 100%);
    z-index: -1;
}

.sub-hero-content {
    padding-top: 190px;
    padding-bottom: 50px;
    color: #fff;
}


.sub-head {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--golden);
}

.sub-sub-para {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.links p {
    margin: 0;
}

.links a {
    text-decoration: none;
    color: #fff;
}

.links i {
    font-size: 0.9rem;
    margin-top: 5px;
}

.links a:hover {
    color: var(--golden);
}

.circle {
    position: absolute;
    width: 650px;
    height:650px;
    border-radius: 650px;
background: linear-gradient(180deg, #163020 0%, #2FC067 100%);
right: -100px;
top: 250px;
z-index: -6;
transform: rotate(75.929deg);
}


/* real estate head section */

.re-container{
    margin: 60px 0;
    display: flex !important;
    gap: 30px;
   
}

.re-head{
    font-size: 3.3rem;
    font-weight: 700;
    margin: 30px 0;
    color: var(--dark-green);
    line-height:  104.226%;
}



.re-desc{
    line-height: 218.75%;
    color: var(--dark-green);
    opacity: 0.8;
    width: 70%;
}

/* buttons */

.button-container{
    background: transparent;
    padding: 10px;
    width: 300px;
    border-radius: 0px 10px;
border: 1px solid var(--dark-green);
transition: all 0.6s;

}

.button-container:hover{
    background-color: var(--dark-green);
    color: #fff;
}

.button-container p {
    margin: 0;
    text-align: left;
}

.btn-head {
    font-size: 1.2rem;
    font-weight: 700;
}

.re-container  a {
    text-decoration: none;
}


/* boost sales section */

.sub-page-head {
    text-align: center;
    color: var(--dark-green);
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0 auto;
    margin-bottom: 15px;
    width: 70%;
}


.sub-page-para {
    opacity: 0.8;
    text-align: center;
    width: 70%;
    margin: 0 auto;
    line-height: 175%;

}


/* card-setion */

.res-card-container{
    margin: 60px 0;
}

.res-card-wrapper{
    margin: auto;
    max-width: 380px;
    height: 400px;
    width: 90%;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
    border-radius: 0px 15px;
    background-color: var(--dark-green);
}

.res-card-content{
    width: 100%;
    height: 370px;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 0px 15px;
    color: var(--dark-green);
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    
}

.res-card-content p {
    margin: 0;
}

.res-card-img-wrapper{
    border-radius: 7px;
    background: linear-gradient(180deg, #163020 0%, #488C62 100%);
    padding: 20px;
    
}

.res-card-head{
    font-size: 1.8rem;
    font-weight: 700;
}

.res-card-para{
    opacity: 0.8;
}

@media screen and (max-width: 1465px) {
    .res-card-wrapper{
        
        max-width: 350px;
        
    }
}

@media screen and (max-width: 1359px) {
    .res-card-wrapper{
        
        max-width: 330px;
        
    }
}


@media screen and (max-width:767px) {
    .container {
        margin-bottom: 30px;
    }
    .sub-hero-section {
        height: 300px;
    }

    .sub-hero-content {
        padding-top: 100px;
    }

    .sub-head {
        font-size: 1.5rem;
        margin-bottom: 2px;
        font-weight: 500;
        color: var(--golden);
    }

    .sub-sub-para {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .links p {
        margin: 0;
        font-size: 0.8rem;
    }

    .links a {
        font-size: 0.8rem;
    }

    .links i {
        font-size: 0.6rem;
    }

    .circle{
        display: none;
    }

    .res-card-wrapper{
        margin: auto;
        max-width: 380px;
        height: 400px;
        width: 90%;
        box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
        border-radius: 0px 15px;
        background-color: var(--dark-green);
    }

    .re-container{
        flex-direction: column;
        gap: 30px;
        align-items: center;
        
        
    }

    .re-container{
        margin: 30px 0;
       
    }
    
    .re-head{
        font-size: 2.5rem;
        
        margin: 20px 0;
        
    }
    
    
    
    .re-desc{
        width: 90%;
    }

    .button-container{
        background-color: none;
        padding: 10px;
        width: 200px;
        border-radius: 0px 10px;
    border: 1px solid var(--dark-green);
    
    
    }
    
    .button-container p {
        margin: 0;
        text-align: left;
    }
    
    .btn-head {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .mobile-image-wrapper{
        max-width: 300px;
        width: 90%;
    }

    .mobile-image-wrapper img {
        width: 100%;
    }

    .sub-page-head {
        
        font-size: 2rem;
        
        width: 100%;
    }
    
    .sub-page-para {
        width: 100%;
        font-size: 1rem;   
    }

}

@media screen and (max-width:450px) {
    .res-card-head{
        font-size: 1.3rem;
        font-weight: 700;
    }

    .res-card-img-wrapper{
      
        padding: 10px;
        
    }

    .res-card-img-wrapper img {
        width: 70%;
    }


    .res-card-para{
        font-size: 0.8rem;
    }
}