@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins/Poppins-Bold.ttf');

}

@font-face {
    font-family: 'Poppins light';
    src: url('./fonts/Poppins/Poppins-light.ttf');

}

@font-face {
    font-family: 'Roboto regular';
    src: url('./fonts/Roboto-Regular.ttf');

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: "Roboto regular";
    max-width: 100vw;
    overflow-x: hidden;
}

.nav-bar {
    width: 100vw;
    background-image: url(./Images/border.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: 1000;
}



.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: linear-gradient(90deg, rgba(193, 222, 232, 1) 70%, rgba(251, 217, 185, 1) 75%);
}

.box-1 {

    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.paragraph {
    font-family: "Poppins light";

    font-size: 1.3rem;
    color: #333;
}

.heading {

    font-family: "Poppins";
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.description {
    font-family: "Poppins light";
    font-size: 1rem;
    color: #555;
    max-width: 60%;
}

.search img {
    width: 60%;
    margin-top: 15px;
}

.box-2 {
    width: 50%;
    display: flex;
    justify-content: center;
}

.plotImage {
    width: 100%;
    max-width: 500px;
}

@media only screen and (max-width: 1024px) {
    .hero-section {
        padding: 20px;
        gap: 10px;
    }

    .heading {
        font-size: 2rem;
    }

    .description {
        max-width: 80%;
    }
}

@media only screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .box-1,
    .box-2 {
        width: 100%;
    }

    .box-1 {
        align-items: center;
    }

    .description {
        max-width: 90%;
    }

    .search img {
        width: 80%;
    }
}

@media only screen and (max-width: 480px) {
    .heading {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.9rem;
        max-width: 95%;
    }

    .search img {
        width: 90%;
    }

    .plotImage {
        width: 80%;
    }
}


.cards {
    position: relative;
    top: 40px;
    width: 100vw;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}




.inner-button2 {
    height: 40px;
    width: 100px;

}



.villa-text {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
}

.project-card {
    width: 100%;
    display: block;
    height: 380px;
    width: 320px;
    border: 1px solid grey;
    border-radius: 10px;
}

.project-image {
    height: 240px;
    border-radius: 20px;
}

.project-image img {
    width: 100%;
    border-radius: 30px;
}


.villas {
    position: relative;
    top: 10vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
}

.lorem {
    padding-left: 10px;
    width: 300px;
}

.star {
    margin-left: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project>p {
    font-size: 20px;
}

.project {

    text-transform: capitalize;
}


.sub-text,
.recent,
.global {
    font-family: "Poppins";
    line-height: 5rem;
    font-size: 30px;
    font-weight: 600;
}

.global {
    text-align: center;
    position: relative;
    top: 10vh;
}

.project {

    position: relative;
    top: 5vh;
    text-align: center;
}



.cdn-section {
    position: relative;
    top: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #f5f5f5;
}

.box1 {
    width: 50%;
    max-width: 600px;
    text-align: left;
}

.cdn-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Text */
.cdn-text {
    font-size: 1rem;
    color: #555;
    max-width: 90%;
}

.btns {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.button1,
.button2 {
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.button1 {
    background-color: black;
    color: white;
}

.button2 {
    background-color: #ddd;
    color: black;
}

.container-numbers {
    display: flex;
    gap: 30px;
    text-align: center;
    margin-top: 30px;
}

.number {
    font-size: 2rem;
    font-weight: bold;
}

.label {
    font-size: 1rem;
}

@media only screen and (max-width: 1024px) {
    .box1 {
        width: 70%;
    }

    .cdn-heading {
        font-size: 1.8rem;
    }
}

@media only screen and (max-width: 768px) {
    .cdn-section {
        flex-direction: column;
        text-align: center;
    }

    .box1 {
        width: 90%;
    }

    .btns {
        justify-content: center;
    }

    .container-numbers {
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .cdn-heading {
        font-size: 1.5rem;
    }

    .cdn-text {
        font-size: 0.9rem;
    }

    .btns {
        flex-direction: column;
    }

    .button1,
    .button2 {
        width: 100%;
        text-align: center;
    }

    .container-numbers {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}




.footer {
    position: relative;
    top: 10vh;
    background: linear-gradient(to right, #C1DEE8, #FBD9B9);
    padding: 40px;
    height: 50vh;
}

.footer-container {
    height: 40vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.footer-left,
.footer-right {
    flex: 1;
}

.footer-left h2 {
    font-family: 'Poppins';
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-desc {
    font-family: 'Poppins light';

    font-size: 16px;
    color: #333;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 10px;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 50px;
}

.newsletter-form button {
    padding: 10px 20px;
    border: none;
    background: black;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        height: 20vh;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer {
        flex-direction: column;
        text-align: center;
        height: 60vh;
    }

}
