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

html{
    scroll-behavior: smooth;
}


body{
    font-family:Poppins, sans-serif;
    background:#F8FAFC;
}

.menu-toggle{
    display: none;
    font-size: 1.8rem;
    color: #1E3A8A;
    cursor: pointer;
}
@media (max-width:768px){

    .nav-links,
    .nav-btn{
        display:none;
    }

    .menu-toggle{
        display:block;
    }
}

header{
    width:100%;
    background:#FFFFFF;
    position:fixed;
    top:0;
    left:0;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:1000;
    backdrop-filter: blur(100px);
}

.navbar{
    width:90%;
    max-width:1200px;
    margin:auto;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo h2{
    color:#1E3A8A;
    font-size:1.8rem;
    font-weight:700;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:#374151;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover,
.nav-links .active{
    color:#F59E0B;
}

.nav-btn{
    text-decoration:none;
    background:#F59E0B;
    color:#fff;
    padding:12px 24px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.nav-btn:hover{
    background:#ca6b05;
}

.properties{
    width: 90%;
    max-width: 1200px;
    margin: 120px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100% );
    
}

.section-head{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h1{
    font-size: 2.8rem;
    color: #1E3A8A;
    margin-bottom: 15px;
}
.section-description{
    color:#70809f;
    font-size: 1.1rem;
}

.section-description span{
    color: #F59E0B;
    font-weight: 600;
}



.property-container{

    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.property-card{
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.property-card:hover{
transform: translateY(-10px) ;
}

.property-image{
    height: 250px
}

.property-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info{
padding: 20px;
}

.property-title{
    color: #1b41a8;
    padding-bottom: 5px ;
}

.location{
    padding: 3px 0px;
}

.features{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.features span{
    color: #191304e6;
    padding-bottom: 2px;
    font-size: 1.04rem;
}

.price{
    font-weight: 900;
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
}

.details-btn{
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #374151;
    padding: 8px 0;
    background: #ca4b06;
    transition: 2s;
    border: none;
    border-radius: 5px;
}

.details-btn:hover{
    color: #13100c;
    background: #fbfbfc;
}

.services{
    width: 90%;
    max-width: 1200px;
    margin: 120px auto;
}

.services-head{
    text-align: center;
    margin-bottom: 40px;
}

.services-head h2{
    color: #1d3986;
    font-size: 2rem;
}

.services-container{
    display:grid;
    grid-template-columns:repeat(3, 1fr) ;
    gap:25px;
}

.service-card{
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(7, 7, 7, 0.08);
    transition: .3s;
}
.service-card:hover{
    transform: translateY(-8px);
}



.why-us{
         width: 90%;
    max-width: 1200px;
    margin: 120px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100% );
}

.why-head{
    width: 100%;
}

.why-head h2{
    padding-bottom: 25px;

    text-align: center;
    font-weight: 800;
    font-size: 2rem;
    color:#1E3A8A;
    margin-bottom:15px;
}

.why-container{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
padding-top: 10px;
}

 .why-icon .fa-solid{
    font-size: 50px;
    text-align: center;
    margin-left: 20%;
    
}
.why-description{
     color:#6B7280;
    line-height:1.7;
    font-size: 1rem;
}


.cta{
    width: 90%;
    max-width: 1200px;
    margin: 120px auto;

}
.cta-content{
    background: linear-gradient(135deg,#809be7,#2564ebeb);
    padding:70px;
    border-radius:20px;
    text-align:center;
}
.cta-content h2{
    color: white;
    font-size:2.7rem;
    margin-bottom: 20px;
}

.cta-content p{
    color: #E5E7EB;
}
.cta-buttons{
    padding-top: 7px;
    display:flex;
    justify-content:center;
    gap:20px;
}

.cta-buttons a{
    text-decoration:none;
    padding:15px 30px;
    border-radius:8px;
    font-weight:600;
    transition: 2s;
}

.cta-buttons a:last-child{
    background:white;
    color:#1E3A8A;
}

.btn-primary{
    background:#F59E0B;
    color:white;
}


.cta-buttons a:hover{
background-color: #1b1810e6;
}
footer{
    background: #1E3A8A;
    color: white;
    margin-top: 120px;
}

.footer-container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 60px 0;

    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 40px;
}

.footer-box h2, .footer-box h3{
    margin-bottom: 20px;
}

.footer-box p{
    line-height: 1.8;
    color: #E5E7EB;

}

.footer-box ul{
    list-style:none ;
}

.footer-box ul li{
    margin-bottom: 12px;

}
.footer-box a{
    text-decoration: none;
    color: #fff;
    transition: 3s;
}
.footer-box a:hover{
    color: #ca6b05;
}

.copyright{
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

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

.social-links a{
    color: rgb(235, 171, 171);
    font-size: 1.3rem;
    transition: .3s;
}

.social-links a:hover{
    color: #261903;
}

@media (max-width: 992px){
    .property-container,
    .why-container,
    .footer-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container{
        flex-direction: column;
        text-align: center;
    }

    .services-container{
    grid-template-columns:repeat(2,1fr);
}
}

@media (max-width: 768px){
    .property-container,
    .why-container,
    .footer-container{
        grid-template-columns: 1fr;
    }
    .service-card{
        padding: 20px;
    }

    .logo h2{
        font-size: 1.3rem;
    }

    .navbar{
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .nav-links{
        flex-direction: column;
        gap: 10px;
        margin: 15px 0;
    }

    .hero-text h1{
        font-size: 2.5rem;
    }

    .cta-buttons{
        flex-direction: column;
    }
    
    .services-container{
    grid-template-columns:1fr;
}
}

.menu-toggle{
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1E3A8A;
}

@media (max-width:768px){

    .menu-toggle{
        display: block;
    }

    .nav-links{
        display: none;
    }

    .nav-links.show{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,.1);
    }

    .nav-btn{
        display: none;
    }
}

.property-card{
    transition: .3s;
}

.property-card:hover{
    transform: translateY(-10px);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.nav-btn,
.details-btn,
.btn-primary{
    transition:.3s;
}

.modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content{
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    text-align: center;
    animation: popUp .4s ease-in-out;
}

.modal-content img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.close-btn{
    position: absolute;
    top: 2px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #1E3A8A;
}

.close-btn:hover{
    color: red;
}

#modalTitle{
    color:#1E3A8A;
    margin-bottom:10px;
}

#modalLocation,
#modalPrice,
#modalDescription{
    margin:10px 0;
    color:#555;
}

@keyframes popUp{
    from{
        transform: scale(.8);
        opacity:0;
    }

    to{
        transform: scale(1);
        opacity:1;
    }
}

.fees-note{
    margin-top: 40px;
    background: #1E3A8A;
    color: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
}

.fees-note h3{
    margin-bottom: 10px;
    color: #F59E0B;
}

.fees-note p{
    font-size: 1rem;
    line-height: 1.6;
}