/* ================= GOOGLE FONT ================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* ================= GLOBAL ================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #eef2f7;
    color: #1e293b;
    overflow-x: hidden;
}

section{
    padding: 100px 10%;
}

img{
    width: 100%;
    display: block;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}


/* ================= CUSTOM SCROLLBAR ================= */

::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-track{
    background: #dbe4ee;
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(#6c63ff,#8b5cf6);
    border-radius: 20px;
}


/* ================= HEADER ================= */

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.logo{
    font-size: 28px;
    font-weight: 700;
    color: #4f46e5;
}

.navbar{
    display: flex;
    gap: 35px;
}

.navbar a{
    color: #1e293b;
    font-size: 16px;
    font-weight: 500;
    transition: .3s;
}

.navbar a:hover{
    color: #6c63ff;
}

.menu-btn{
    font-size: 25px;
    cursor: pointer;
    display: none;
}


/* ================= BUTTONS ================= */

.btn{
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg,#6c63ff,#8b5cf6);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    transition: .4s;
    box-shadow: 0 10px 30px rgba(108,99,255,0.3);
}

.btn:hover{
    transform: translateY(-5px);
}

.btn-light{
    background: #fff;
    color: #4f46e5;
}


/* ================= HERO SECTION ================= */

.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
    linear-gradient(rgba(238,242,247,0.75),
    rgba(238,242,247,0.75)),
    url('images/hero.jpg');

    background-size: cover;
    background-position: center;
    text-align: center;
}

.home-content{
    max-width: 800px;
    animation: fadeUp 1.5s ease;
}

.home-content h1{
    font-size: 70px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0f172a;
}

.home-content p{
    font-size: 18px;
    color: #475569;
    margin-bottom: 40px;
}

.home-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* ================= SECTION TITLE ================= */

.section-title{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2{
    font-size: 42px;
    color: #0f172a;
    margin-bottom: 15px;
}

.section-title p{
    color: #64748b;
    font-size: 17px;
}


/* ================= STATS ================= */

.stats{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
    margin-top: -80px;
}

.stats-box{
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);

    padding: 40px;
    border-radius: 25px;
    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: .4s;
}

.stats-box:hover{
    transform: translateY(-10px);
}

.stats-box h2{
    font-size: 40px;
    color: #6c63ff;
    margin-bottom: 10px;
}


/* ================= PROPERTY SECTION ================= */

.properties-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 35px;
}

.property-card{
    background: #fff;
    border-radius: 30px;
    overflow: hidden;

    box-shadow: 0 10px 40px rgba(0,0,0,0.08);

    transition: .5s;
}

.property-card:hover{
    transform: translateY(-12px);
}

.property-card img{
    height: 250px;
    object-fit: cover;
    transition: .5s;
}

.property-card:hover img{
    transform: scale(1.08);
}

.property-content{
    padding: 30px;
}

.property-content h3{
    font-size: 26px;
    margin-bottom: 10px;
}

.property-content p{
    color: #64748b;
    margin-bottom: 20px;
}

.property-info{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #475569;
}

.property-content h4{
    color: #6c63ff;
    font-size: 28px;
    margin-bottom: 25px;
}


/* ================= ABOUT ================= */

.about{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 60px;
    align-items: center;
}

.about-image img{
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-content h2{
    font-size: 48px;
    margin-bottom: 25px;
}

.about-content p{
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.feature{
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.feature i{
    color: #6c63ff;
    font-size: 24px;
}


/* ================= SERVICES ================= */

.services-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.service-card{
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);

    padding: 50px 35px;
    border-radius: 30px;
    text-align: center;

    transition: .5s;

    box-shadow: 0 10px 35px rgba(0,0,0,0.07);
}

.service-card:hover{
    transform: translateY(-12px);
}

.service-card i{
    font-size: 50px;
    color: #6c63ff;
    margin-bottom: 25px;
}

.service-card h3{
    font-size: 26px;
    margin-bottom: 15px;
}

.service-card p{
    color: #64748b;
    line-height: 1.7;
}


/* ================= GALLERY ================= */

.gallery-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.gallery-item img{
    height: 280px;
    object-fit: cover;
    transition: .6s;
}

.gallery-item:hover img{
    transform: scale(1.12);
}

.gallery-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
    rgba(15,23,42,0.85),
    transparent);

    display: flex;
    align-items: flex-end;
    padding: 25px;

    opacity: 0;
    transition: .5s;
}

.gallery-item:hover .gallery-overlay{
    opacity: 1;
}

.gallery-overlay h3{
    color: #fff;
    font-size: 24px;
}


/* ================= TESTIMONIAL ================= */

.testimonial-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

.testimonial-card{
    background: #fff;
    padding: 40px;
    border-radius: 30px;

    box-shadow: 0 10px 35px rgba(0,0,0,0.08);

    transition: .5s;
}

.testimonial-card:hover{
    transform: translateY(-10px);
}

.testimonial-card p{
    color: #475569;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-card h4{
    color: #6c63ff;
}


/* ================= CONTACT ================= */

.contact form{
    max-width: 700px;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact input,
.contact textarea{
    padding: 18px 20px;
    border: none;
    outline: none;

    background: #fff;

    border-radius: 20px;

    font-size: 16px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}


/* ================= FOOTER ================= */

.footer{
    background: #dfe7f1;
    text-align: center;
    padding: 60px 10%;
}

.footer h2{
    font-size: 38px;
    color: #4f46e5;
    margin-bottom: 15px;
}

.footer p{
    color: #64748b;
}

.social-icons{
    margin: 30px 0;
}

.social-icons a{
    width: 50px;
    height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #6c63ff;

    border-radius: 50%;
    margin: 0 10px;

    font-size: 20px;

    transition: .4s;
}

.social-icons a:hover{
    transform: translateY(-8px);
}


/* ================= ANIMATION ================= */

@keyframes fadeUp{

    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}


/* ================= RESPONSIVE ================= */

@media(max-width:991px){

    .home-content h1{
        font-size: 55px;
    }

    .about-content h2{
        font-size: 38px;
    }

}


@media(max-width:768px){

    .navbar{
        position: absolute;
        top: 100%;
        right: -100%;

        width: 260px;
        height: 100vh;

        background: #fff;

        flex-direction: column;
        padding: 40px;

        transition: .5s;
    }

    .navbar.active{
        right: 0;
    }

    .menu-btn{
        display: block;
    }

    .home-content h1{
        font-size: 42px;
    }

    section{
        padding: 90px 6%;
    }

}


@media(max-width:500px){

    .home-content h1{
        font-size: 34px;
    }

    .section-title h2{
        font-size: 32px;
    }

}