*{
    margin:0; padding:0;
    box-sizing:border-box;
    font-family:'Inter','Helvetica Neue',Arial,sans-serif;
    text-decoration:none;
    scroll-behavior:smooth;
}
img{ width:100%; display:block; }
header{ position:fixed; top:0; left:0; right:0; z-index:1000; background:transparent; box-shadow:none; }
nav{ width:100%; position:static; background:transparent; }
.navbar{ color:inherit; height:auto; }
.logo{ padding:0; font-weight:800; }
.navbar a:hover{ color:inherit; }
footer{ box-shadow:none; }
main{ width:100%; }
.over h1{
    font-size: 65px;
    font-weight: 600;
    letter-spacing: 3px;
}
.over h2{
    font-size: 65px;
    font-weight: 600;
    letter-spacing: 3px;
}

.image_buyer{
    width: 100%;
    padding: 0% 0% 0%;
    background-repeat: no-repeat;
    background-size: cover;
}


/*--------------------------------------------------------------
# home page
--------------------------------------------------------------*/


section{
    padding: 2rem 9%;
}
.home{
    min-height: 100vh;
    background:url(images/home-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items:center;
    justify-content: center;
    padding-top: 0%;
}
.home form{
    margin-top:5.3rem;
    background:#fff;
    border-radius:1rem;
    box-shadow: 0.6rem .8rem rgba(0,0,0,.2);
    border:.1rem solid rgba(0,0,0,.2);
    width: 60rem;
    padding: 2rem;
}
.home form h3{
    text-align: center;
    color: #333;
    font-size: 3rem;
}
.btn{
    width: 440px;
    margin-top:1rem;
    margin-bottom: 1rem;
    display:inline-block;
    padding: 1rem 3rem;
    border-radius: .5rem;
    font-size:1.4rem;
    color:#333;
    background: lightblue;
    cursor: pointer;
    display: inline-block;

}
.btn2{
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 3rem;
    border-radius: .5rem;
    font-size:1.4rem;
    color:#333;
    background: lightblue;
    cursor: pointer;
}
.btn2:hover{
    background: rgb(164, 184, 203) ;
    color: #fff;
}
.btn:hover{
    background: rgb(164, 184, 203) ;
    color: #fff;
}
.submitbtn{
    width: 900px;
    justify-content: center;
    display: flex;
}

.home form .buttons-container .btn{
    flex: 1;
    text-align:center;
 }
 
 .home form .inputbox{
        display:flex;
        flex-wrap: wrap;
        gap:1.5rem;
        margin-top: 2rem;
 }
.home form .inputbox input,
.home form .inputbox select{
    flex:1 1 25rem;
    border: .1rem solid #333;
    box-shadow: .2rem .5rem rgba(0,0,0,.1);
    font-size:1.2rem;
    padding:1rem;
    text-transform: none;
 }
 .home form .btn2{
    width:100%;
    margin-top: 2rem;
 }
 


/*--------------------------------------------------------------
# Login page
--------------------------------------------------------------*/




/*--------------------------------------------------------------
# service part
--------------------------------------------------------------*/
 .img_ser{
    width: 250px;
 }
 .heading{
    text-align:center;
    color:#333;
    font-size:4rem;
    padding-bottom:3rem;
    padding-top: 3rem;
 }

.service .box-container{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem; 
    justify-content: space-between; 
}
.service .box-container .box{
    flex: 0 3 10rem;
    border-radius: .5rem;
    background: #fff;
    box-shadow:0  .5rem 1rem rgba(0,0,0,.1);
    border:.1rem solid rgba(0,0,0,.2);
    text-align: center;
    padding: 2.2rem;
}
.service .box-container .box h3{
    font-size:2.5rem;
    color:#333;
} 
.service .box-container .box p{
    font-size:1.5rem;
    color:#666;
    padding: .5rem 0;
} 
.btn3{
    width: 300px;
    margin-top:1rem;
    margin-bottom: 1rem;
    display:inline-block;
    padding: 1rem 3rem;
    border-radius: .5rem;
    font-size:1.4rem;
    color:#333;
    background: lightblue;
    cursor: pointer;
    display: inline-block;
}
.btn3:hover{
        background: rgb(164, 184, 203) ;
        color: #fff;
}



/*--------------------------------------------------------------
#feature part design
--------------------------------------------------------------*/

.featured .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5px; 
    justify-content: space-between; 
}

.featured .box-container .box{
    flex: 0 3 23rem;
    margin-top: 40px;
    text-align: center;
    justify-content: space-between; 
    border:.1rem solid rgba(0,0,0,.2);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border-radius: .5rem;
    overflow:hidden;
    background:#fff;
}

.featured .box-container .box .image-container{
    overflow:hidden;
    position: relative;
    width: 100%;
    height: 25rem;
}

.featured .box-container .box .image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.featured .box-container .box:hover .image-container img{
    transform: scale(1.1);
}

.featured .box-container .box .image-container .info{
    position: absolute;
    top:1rem; left:0;
    display: flex;
}

.featured .box-container .box .image-container .info h3{
    font-weight: 500;
    font-size: 1.4rem;
    color:#fff;
    background:rgba(0,0,0,.3);
    border-radius: .5rem;
    padding:.5rem 1.5rem;
    margin-left: 1rem;
}
.featured .box-container .box .image-container .icons{
    position: absolute;
    bottom:1rem; right:0;
    display: flex;
    justify-content: space-between;
}
.featured .box-container .box .image-container .icons a{
    font-size: 1.4rem;
    color:#fff;
    display: flex;
    border-radius: .5rem;
    background: rgba(0,0,0,.3);
    margin-right: 1rem;
    padding:.7rem;
}

.featured .box-container .box .image-container .icons a h3{
    font-weight: 500;
    padding-left: .5rem;
    /* padding-top:  .1%; */
}
.featured .box-container .box .image-container .icons a:hover{
    background: rgb(164, 184, 203) ;
    color: #fff;
}

.featured .box-container .box .content{
    padding:1.5rem;
}

.featured .box-container .box .content .price{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.featured .box-container .box .content .price h3{
    color:black ;
    font-size: 2rem;
    margin-right: auto;
}

.featured .box-container .box .content .price a{
    color:#333;
    font-size: 1.5rem;
    margin-right: .5rem;
    border-radius: .5rem;
    height:4rem;
    width:4rem;
    line-height: 4rem;
    text-align: center;
    background:#f7f7f7;
}

.featured .box-container .box .content .price a:hover{
    background: rgb(164, 184, 203) ;
        color: #fff;
}

.featured .box-container .box .content .location{
    padding:1rem 0;
}

.featured .box-container .box .content .location h3{
    font-size: 2rem;
    color:#333;
}

.featured .box-container .box .content .location p{
    font-size: 1.2rem;
    color:#666;
    line-height: 1.5;
    padding-top: .5rem;
}

.featured .box-container .box .content .details{
    padding:.5rem 0;
    display: flex;
}

.featured .box-container .box .content .details h3{
    flex:1;
    padding:1rem;
    border:.1rem solid rgba(0,0,0,.1);
    color:black;
    font-size: 1.1rem;
}

.featured .box-container .box .content .details h3 i{
    color:#333;
    padding-left: .5rem;
}

.featured .box-container .box .content .buttons{
    display: flex;
    gap:1rem;
}

.featured .box-container .box .content .buttons .btn4{
    flex:1;
    font-size: 1.5rem;
}
.btn4{
    width: 140px;
    margin-top:1rem;
    margin-bottom: 1rem;
    display:inline-block;
    padding: 1rem 3rem;
    border-radius: .5rem;
    font-size:1.4rem;
    color:#333;
    background: lightblue;
    cursor: pointer;
    display: inline-block;
}
.btn4:hover{
        background: rgb(164, 184, 203) ;
        color: #fff;
}


/*--------------------------------------------------------------
#  Team part 
--------------------------------------------------------------*/

.team .box-container{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
    justify-content: center;
}
.team .box-container .box{
    flex: 0 3 23rem;
    background:#fff;
    text-align: center;
    border:.1rem solid rgba(0,0,0,.2);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border-radius: .5rem;
    padding:2rem;
    position: relative;
    width:26rem;
}

.team .box-container .box .fa-envelope{
    position: absolute;
    top:1.8rem; left:2rem;
    color:#333;
    font-size: 2rem;
}

.team .box-container .box .fa-envelope:hover{
    color:  gray;
}

.team .box-container .box .fa-phone{
    position: absolute;
    top:1.8rem; right:2rem;
    color:#333;
    font-size: 2rem;
}

.team .box-container .box .fa-phone:hover{
    color:  gray;
}

.team .box-container .box img{
    border-radius: 50%;
    box-shadow: 0 0 0 .5rem rgba(0,0,0,.1);
    object-fit: cover;
    height:10rem;
    width:10rem;
    margin:1rem 0;
}

.team .box-container .box h3{
    font-size: 2rem;
    color:#333;
}

.team .box-container .box span{
    font-size: 1.6rem;
    color:  gray;
}

.team .box-container .box .share{
    padding-top: 2rem;
    display: flex;
}

.team .box-container .box .share a{
    margin:0 .3rem;
    height:4rem;
    width:4rem;
    line-height: 4rem;
    background:#f7f7f7;
    color:#666;
    border-radius: .5rem;
    font-size: 2rem;
}

.team .box-container .box .share a:hover{
    background: rgb(1, 130, 250) ;
    color: #fff;
}


/*--------------------------------------------------------------
# contact details 
--------------------------------------------------------------*/
.contact .icons-container{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
    padding-bottom: 2rem;
}

.contact .icons-container .icons{
    flex: 0 3 23rem;
    background: #fff;
    padding:2rem;
    border:.1rem solid rgba(0,0,0,.2);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    text-align: center;
}

.contact .icons-container .icons img{
    height:9rem;
    width: 300px;
}

.contact .icons-container .icons h3{
    font-size: 2.5rem;
    color:#333;
    padding:1rem 0;
}

.contact .icons-container .icons p{
    font-size: 1.5rem;
    color:#666;
    padding:.2rem 0;
}


/*--------------------------------------------------------------
# Map details 
--------------------------------------------------------------*/

.map .row{
    background: #fff;
    border:.1rem solid rgba(0,0,0,.2);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border-radius: .5rem;
    display: flex;
    flex-wrap: wrap-reverse;
    padding:1rem;
}

.map .row form{
    flex:1 2 30rem;
    padding:.5rem 1rem;
}

.map .row .map{
    flex:1 2 30rem;
    width:100%;
    padding:1rem;
}

.map .row form .inputBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.map .row form textarea,
.map .row form .inputBox input{
    margin-top: 1rem;
    padding:1rem;
    font-size: 1.7rem;
    color:#333;
    background: #f7f7f7;
    border-radius: .5rem;
    text-transform: none;
    width:49%;
}

.map .row form textarea{
    width:100%;
    height:15rem;
    resize: none;
}

.map .row form textarea:focus,
.map .row form .inputBox input:focus{
    background-color: #f7f7f7;
}

/*--------------------------------------------------------------
# footer section 
--------------------------------------------------------------*/
body{
	line-height: 1.5;
	font-family: 'Poppins', sans-serif;
}
.container{
	max-width: 1200px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
	background-color: #24262b;
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
    color: #bbbbbb;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4:hover{
	color: #ffffff;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 8px;
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 1s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #c7374f;
}

/* for buyer  -> Buyer data */
.buyer_data .buyerall{
    display: flex;
}
.buyer_data .buyerall .buye1{
    width: 4500px;
    margin-right:30px;
}

.buyer_data .buyerall{
    display: flex;
}
.buyer_data .buyerall .buye2{
    width: 4500px;
    margin-left:30px ;
}


.buyer_data .buyerall3{
    /* display: block; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.buyer_data .buyerall3 .buye3{
    width: 5000px;
    margin-right:30px;
    margin-top:10% ;
}

.buyer_data .buyerall3 .databuye3{
    margin-top:10%;
} 

.btn_buy{
    width: 220px;
    margin-top:1rem;
    margin-bottom: 1rem;
    display:inline-block;
    padding: .5rem 3rem;
    border-radius: .5rem;
    text-align: center;
    justify-content: center;
    font-size:1.4rem;
    color:#333;
    background: lightblue;
    cursor: pointer;
    display: inline-block;
    margin-left: 42%;
}
.btn_buy:hover{
        background: rgb(164, 184, 203) ;
        color: #fff;
}

/* media queries  */
@media (max-width:991px){

    html{
        font-size:55%;
    }

    header{
        padding:1.5rem 1rem;
    }

    section{
        padding:1.5rem;
    }

}

/* media Query */
@media (max-width:768px){

    header .icons #menu-bars{
        display: inline-block;
    }

    header .navbar{
        position: absolute;
        left:0; right:0; top:100%;
        background:#f7f7f7;
        border-top: .1rem solid #333;
        border-bottom: .1rem solid #333;
        transition: .2s linear;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    header .navbar a{
        display: block;
        padding:1.5rem;
        margin:1.5rem;
        background:#fff;
        border:.1rem solid #333;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
        border-radius: .5rem;
    }

}

@media (max-width:450px){

    html{
        font-size:50%;
    }

    .map .row form .inputBox input{
        width: 100%;
    }

}
/*responsive*/
@media(max-width: 767px){
    .footer-col{
      width: 50%;
      margin-bottom: 30px;
  }
  }
  @media(max-width: 574px){
    .footer-col{
      width: 100%;
  }
  }

/* --------------------------------------------------------------
# Modern refresh overrides
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
    --bg:#f6f8fc;
    --surface:#ffffff;
    --card:#ffffff;
    --primary:#1f7ae0;
    --accent:#12b886;
    --text:#0f172a;
    --muted:#4b5568;
    --border:rgba(15,23,42,0.08);
    --shadow:0 14px 40px rgba(15,23,42,0.12);
}

@keyframes floaty{
    0%{ transform:translateY(0px); }
    50%{ transform:translateY(-8px); }
    100%{ transform:translateY(0px); }
}

@keyframes pulseGlow{
    0%{ box-shadow:0 0 0 0 rgba(31,122,224,0.18); }
    70%{ box-shadow:0 0 0 16px rgba(31,122,224,0); }
    100%{ box-shadow:0 0 0 0 rgba(31,122,224,0); }
}

@keyframes fadeUp{
    from{ opacity:0; transform:translateY(18px); }
    to{ opacity:1; transform:translateY(0); }
}

*{
    box-sizing:border-box;
}

body{
    font-family:'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(31,122,224,0.06), transparent 28%),
                radial-gradient(circle at 80% 0%, rgba(18,184,134,0.06), transparent 24%),
                linear-gradient(180deg, #f9fbff 0%, #f3f7fd 60%, #eef2f9 100%);
    color:var(--text);
    line-height:1.6;
    padding-top:72px;
}

a{ color:inherit; text-decoration:none; }

.container{ width:min(1200px, 92vw); margin:0 auto; }

header{ position:fixed; top:0; left:0; right:0; z-index:1000; }

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 4vw;
    background:rgba(255,255,255,0.9);
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(12px);
    box-shadow:0 10px 32px rgba(15,23,42,0.08);
}

.nav-actions{ display:flex; align-items:center; gap:10px; }
#menu-bars{ display:none; }

.logo h1{
    font-size:22px;
    letter-spacing:0.2px;
    color:var(--text);
    margin:0;
}

.menu{
    display:flex;
    align-items:center;
    gap:18px;
}

.menu a{
    color:var(--muted);
    font-weight:600;
    padding:10px 12px;
    border-radius:10px;
    transition:all 0.2s ease;
    border:1px solid transparent;
}

.menu a:hover{ color:var(--text); background:rgba(31,122,224,0.08); }
.menu a.active{
    color:var(--text);
    background:linear-gradient(120deg, rgba(31,122,224,0.16), rgba(18,184,134,0.16));
    border-color:rgba(31,122,224,0.2);
    box-shadow:0 10px 26px rgba(15,23,42,0.12);
}

.pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:999px;
    font-weight:600;
    border:1px solid var(--border);
}

.pill.subtle{ background:rgba(31,122,224,0.08); color:var(--text); border-color:rgba(31,122,224,0.14); }

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 18px;
    border-radius:12px;
    font-weight:700;
    width:auto;
    margin:0;
    border:1px solid transparent;
    transition:all 0.2s ease;
}

.btn.primary{ background:var(--primary); color:#fff; box-shadow:0 12px 30px rgba(31,122,224,0.28); }
.btn.primary:hover{ transform:translateY(-1px); box-shadow:0 16px 38px rgba(31,122,224,0.34); }
.btn.ghost{ border-color:var(--border); color:var(--text); background:rgba(255,255,255,0.8); }
.btn.ghost:hover{ border-color:rgba(31,122,224,0.18); background:rgba(31,122,224,0.08); }
.btn.full{ width:100%; justify-content:center; }

.hero{
    padding:96px 0 40px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:38px;
    align-items:center;
    animation:fadeUp 0.8s ease 0.05s both;
}

.hero-copy h1{ font-size:46px; line-height:1.1; margin:10px 0 16px; color:var(--text); }
.hero-copy .lede{ color:var(--muted); max-width:520px; }
.eyebrow{ text-transform:uppercase; letter-spacing:0.12em; font-size:12px; color:var(--primary); font-weight:700; }
.hero-actions{ display:flex; gap:12px; margin:18px 0; flex-wrap:wrap; }
.hero-meta{ display:flex; gap:10px; flex-wrap:wrap; }

.hero-card .glass{
    background:linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,248,252,0.95) 100%);
    border:1px solid var(--border);
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    animation:floaty 6s ease-in-out infinite;
}

.hero-img{ width:100%; object-fit:cover; }
.card-content{ padding:18px; }
.label{ font-size:13px; color:var(--primary); letter-spacing:0.08em; text-transform:uppercase; }
.muted{ color:var(--muted); }
.price-row{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:10px; }
.price{ font-weight:800; color:var(--text); }

.search{ padding:12px 0 28px; }
.search-bar{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
    background:var(--surface);
    padding:18px;
    border-radius:16px;
    border:1px solid var(--border);
    box-shadow:0 14px 40px rgba(15,23,42,0.12);
}

.search .field{ display:flex; flex-direction:column; gap:6px; }
.search label{ color:var(--muted); font-size:13px; letter-spacing:0.01em; }
.search input, .search select{
    background:#f9fbff;
    border:1px solid var(--border);
    color:var(--text);
    border-radius:10px;
    padding:10px 12px;
}

.stats{ padding:12px 0 48px; }
.stats-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px; }
.stat{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:16px 18px; text-align:left; box-shadow:0 10px 30px rgba(15,23,42,0.1); }
.stat .value{ font-size:24px; font-weight:800; color:var(--text); margin-bottom:4px; }

.section-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:14px; }
.section-head h2{ margin:4px 0; font-size:28px; color:var(--text); }
.link{ color:var(--primary); font-weight:700; }

.card-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.property-card{ background:var(--card); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); opacity:0; animation:fadeUp 0.7s ease forwards; transition:transform 0.18s ease, box-shadow 0.18s ease; }
.property-card:nth-child(1){ animation-delay:0.05s; }
.property-card:nth-child(2){ animation-delay:0.15s; }
.property-card:nth-child(3){ animation-delay:0.25s; }
.property-card:nth-child(4){ animation-delay:0.35s; }
.card-media{ height:200px; background-size:cover; background-position:center; }
.card-body{ padding:16px; display:flex; flex-direction:column; gap:10px; }

.trust{ padding:32px 0 40px; }
.trust-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:18px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:20px; box-shadow:0 12px 34px rgba(15,23,42,0.1); }
.pillars{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.pillar{ background:rgba(255,255,255,0.03); border:1px solid var(--border); border-radius:14px; padding:14px; }
.icon-circle{ width:42px; height:42px; border-radius:50%; background:rgba(123,140,255,0.12); display:grid; place-items:center; color:var(--accent); margin-bottom:10px; }
.icon-circle.pulse{ animation:pulseGlow 2.6s ease-in-out infinite; }

.service{ padding:32px 9%; }
.service .heading{ color:var(--text); font-size:32px; padding-bottom:18px; }
.service .box-container{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; }
.service .box{ background:var(--card); border:1px solid var(--border); border-radius:14px; box-shadow:0 10px 30px rgba(15,23,42,0.1); }
.service .box img{ height:200px; object-fit:cover; width:100%; }
.service .box p{ padding:12px 14px 0; color:var(--text); font-weight:600; }
.btn3{ margin:12px 14px 16px; border-radius:10px; width:auto; }

/* News & updates cards on homepage */
.news-updates{ padding:32px 0 28px; }
.news-grid .news-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    box-shadow:var(--shadow);
    display:flex;
    flex-direction:column;
    animation:fadeUp 0.7s ease forwards;
    opacity:0;
}
.news-grid .news-card:nth-child(1){ animation-delay:0.05s; }
.news-grid .news-card:nth-child(2){ animation-delay:0.15s; }
.news-grid .news-card:nth-child(3){ animation-delay:0.25s; }
.news-card .card-media{ height:200px; background-size:cover; background-position:center; }
.news-card .card-body{ padding:16px; display:flex; flex-direction:column; gap:10px; }
.news-card h3{ margin:0; color:var(--text); }
.news-card p{ margin:0; }
.news-meta{ display:inline-flex; align-items:center; }
.news-card .hero-actions{
    margin-top:auto;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.news-card .hero-actions .btn{ flex:1 1 160px; }

.cta{ padding:12px 0 48px; }
.cta-card{ background:linear-gradient(120deg, rgba(31,122,224,0.08), rgba(18,184,134,0.08)); border:1px solid var(--border); border-radius:18px; padding:20px; display:flex; align-items:center; justify-content:space-between; gap:16px; box-shadow:0 14px 38px rgba(15,23,42,0.12); animation:fadeUp 0.8s ease 0.1s both; }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }

.footer{
    position:relative;
    margin-top:28px;
    background:linear-gradient(135deg, rgba(31,122,224,0.12), rgba(18,184,134,0.12));
    border-top:1px solid var(--border);
    padding:42px 0 48px;
    overflow:hidden;
}
.footer::before, .footer::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    opacity:0.35;
}
.footer::before{ width:340px; height:340px; background:rgba(31,122,224,0.35); top:-120px; left:-80px; }
.footer::after{ width:300px; height:300px; background:rgba(18,184,134,0.32); bottom:-120px; right:-60px; }

.footer-grid{ position:relative; display:grid; grid-template-columns:1.2fr repeat(3,minmax(180px,1fr)); gap:20px; z-index:1; align-items:start; }
.footer-brand h3{ margin-bottom:10px; color:var(--text); font-size:22px; }
.footer-brand p{ max-width:420px; color:var(--muted); }
.footer-social, .social-links{
    display:flex;
    gap:10px;
    margin:12px auto 0 auto;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
}
.footer-social a, .social-links a{
    width:40px; height:40px;
    display:grid; place-items:center;
    color:var(--text);
    transition:color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover, .social-links a:hover{
    transform:translateY(-2px);
    color:var(--primary);
}

.footer h4{ color:var(--text); margin-bottom:12px; font-size:17px; }
.footer a{ color:var(--muted); display:block; margin-bottom:8px; transition:color 0.2s ease; }
.footer a:hover{ color:var(--text); }

.footer-bottom{
    position:relative;
    z-index:1;
    margin-top:18px;
    color:var(--muted);
    text-align:center;
}

.footer-inner{ display:grid; grid-template-columns:1.1fr repeat(3,minmax(180px,1fr)); gap:18px; align-items:start; }
.footer-col{ width:auto; padding:0; }
.footer-col h4{ margin-bottom:10px; font-size:17px; }
.footer-col ul{ padding:0; margin:0; display:grid; gap:8px; }
.footer-col ul li a{ color:var(--muted); }
.footer-form{ display:flex; flex-direction:column; gap:8px; }
.footer-input{ display:flex; gap:10px; flex-wrap:wrap; }
.footer-input input{ flex:1; min-width:200px; background:#f9fbff; border:1px solid var(--border); border-radius:10px; padding:10px 12px; color:var(--text); }
.footer-input .btn{ padding:10px 14px; }

@media(max-width:900px){
    body{ padding-top:76px; }
    .hero-grid{ grid-template-columns:1fr; }
    .search-bar{ grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); }
    .trust-grid{ grid-template-columns:1fr; }
    .section-head{ flex-direction:column; align-items:flex-start; }
    .footer-inner{ grid-template-columns:repeat(2, minmax(200px,1fr)); }
}

@media(max-width:640px){
    .navbar{ flex-wrap:wrap; gap:12px; }
    .menu{ width:100%; justify-content:flex-start; flex-wrap:wrap; }
    .hero{ padding-top:82px; }
}

/* Layout for filters + listings */
.filters-listings{ padding:18px 0 42px; }
.filters-grid{ display:grid; grid-template-columns:320px 1fr; gap:18px; align-items:start; }
.filters{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:18px; box-shadow:var(--shadow); position:sticky; top:94px; }
.filters-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.filter-block{ margin-bottom:14px; }
.filter-block label{ display:block; color:var(--muted); font-weight:600; margin-bottom:8px; }
.filter-block select,
.filter-block input[type="date"],
.filter-block input[type="text"],
.filter-block .range{ width:100%; background:#f9fbff; border:1px solid var(--border); border-radius:10px; padding:10px; color:var(--text); }
.range{ accent-color:var(--primary); }
.range-labels{ display:flex; justify-content:space-between; color:var(--muted); font-size:12px; margin-top:6px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ border:1px solid var(--border); border-radius:999px; padding:8px 12px; background:#f9fbff; color:var(--muted); font-weight:600; transition:all 0.15s ease; cursor:pointer; }
.chip:hover{ border-color:rgba(31,122,224,0.2); color:var(--text); }
.chip.active{ background:rgba(31,122,224,0.12); color:var(--text); border-color:rgba(31,122,224,0.25); }
.listing-area{ background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:18px; box-shadow:var(--shadow); }
.listing-grid .property-card{ transition:transform 0.18s ease, box-shadow 0.18s ease; }
.listing-grid .property-card:hover{ transform:translateY(-4px); box-shadow:0 16px 44px rgba(15,23,42,0.18); }
.rating{ display:inline-flex; align-items:center; gap:6px; color:var(--text); font-weight:700; }
.rating i{ color:#f59f00; }

/* Testimonials slider */
.testimonials{ padding:26px 0 48px; }
.testimonial-track{ display:flex; transition:transform 0.4s ease; width:100%; }
.testimonial{ min-width:100%; background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:20px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:10px; }
.avatar{ width:52px; height:52px; border-radius:50%; background-size:cover; background-position:center; }
.quote{ font-size:18px; color:var(--text); margin:0; }
.author{ color:var(--muted); font-weight:600; margin:0; }
.dots{ display:flex; gap:8px; align-items:center; }
.dot{ width:10px; height:10px; border-radius:50%; border:1px solid var(--border); background:transparent; cursor:pointer; transition:all 0.2s ease; }
.dot.active{ background:var(--primary); border-color:var(--primary); }

/* Modal */
.modal{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none; opacity:0; transition:opacity 0.25s ease; z-index:1200; }
.modal.show{ opacity:1; pointer-events:auto; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(15,23,42,0.45); backdrop-filter:blur(6px); }
.modal-dialog{ position:relative; background:var(--surface); border-radius:18px; border:1px solid var(--border); box-shadow:0 24px 60px rgba(15,23,42,0.35); max-width:820px; width:92vw; display:grid; grid-template-columns:1.2fr 1fr; overflow:hidden; z-index:1; }
.modal-media{ background-size:cover; background-position:center; min-height:260px; }
.modal-body{ padding:18px; display:flex; flex-direction:column; gap:10px; }
.icon-btn.close{ position:absolute; top:12px; right:12px; background:rgba(255,255,255,0.8); border:1px solid var(--border); }

/* Buttons + icons */
.icon-btn{ width:40px; height:40px; border-radius:12px; border:1px solid var(--border); background:rgba(255,255,255,0.85); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:all 0.2s ease; }
.icon-btn:hover{ transform:translateY(-1px); box-shadow:0 10px 28px rgba(15,23,42,0.12); }

@media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
        animation-duration:0.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:0.01ms !important;
        scroll-behavior:auto !important;
    }
}

/* Responsive tweaks */
@media(max-width:960px){
    .filters-grid{ grid-template-columns:1fr; }
    .filters{ position:relative; top:auto; }
    .modal-dialog{ grid-template-columns:1fr; }
}

@media(max-width:720px){
    .navbar{ padding:12px 4vw; }
    .menu{ display:none; width:100%; flex-wrap:wrap; flex-direction:column; align-items:flex-start; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:12px; box-shadow:var(--shadow); }
    .menu a{ width:100%; padding:8px 6px; }
    .menu.open{ display:flex; }
    #menu-bars{ display:inline-flex; }
    .nav-actions{ margin-left:auto; }
    .filters-listings{ padding-top:8px; }
    .listing-area{ padding:14px; }
    .hero-copy h1{ font-size:36px; }
    .cta-card{ flex-direction:column; align-items:flex-start; }
}

@media(max-width:540px){
    .hero-grid{ gap:22px; }
    .search-bar{ grid-template-columns:1fr; }
    .filters-grid{ gap:12px; }
    .modal-body{ padding:14px; }
    .footer-inner{ grid-template-columns:1fr; }
}

/* Dark theme */
body.dark{
    --bg:#0f172a;
    --surface:#111827;
    --card:#111827;
    --text:#e5e7ef;
    --muted:#9aa4c4;
    --border:rgba(255,255,255,0.08);
    background:#0b1222;
}
body.dark .navbar{ background:rgba(17,24,39,0.95); box-shadow:0 10px 28px rgba(0,0,0,0.4); }
body.dark .hero-copy .lede, body.dark .muted{ color:#b8c1e0; }
body.dark .pill.subtle{ background:rgba(31,122,224,0.18); border-color:rgba(31,122,224,0.3); color:#e5e7ef; }
body.dark .search input, body.dark .search select{ background:#0b1222; border-color:rgba(255,255,255,0.08); color:#e5e7ef; }
body.dark .filters, body.dark .listing-area, body.dark .stat, body.dark .service .box, body.dark .cta-card, body.dark .testimonial, body.dark .modal-dialog{ box-shadow:0 20px 60px rgba(0,0,0,0.45); }
body.dark .chip{ background:#0b1222; color:#b8c1e0; }
body.dark .chip.active{ background:rgba(31,122,224,0.22); color:#e5e7ef; border-color:rgba(31,122,224,0.36); }
body.dark .icon-btn{ background:rgba(17,24,39,0.9); color:#e5e7ef; }

/* --------------------------------------------------------------
# Secondary pages (buyers/owners/properties/news/auth)
-------------------------------------------------------------- */
.page-hero{ padding:120px 0 60px; background:linear-gradient(135deg, rgba(31,122,224,0.08), rgba(18,184,134,0.08)); border-bottom:1px solid var(--border); }
.page-hero .container{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:26px; align-items:center; }
.page-hero .eyebrow{ display:inline-flex; align-items:center; gap:8px; background:rgba(31,122,224,0.08); border:1px solid rgba(31,122,224,0.18); padding:8px 12px; border-radius:999px; }
.page-hero h1{ font-size:36px; margin:10px 0; }
.page-hero p{ color:var(--muted); max-width:520px; }
.hero-badge{ display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:12px; background:var(--surface); border:1px solid var(--border); box-shadow:0 10px 28px rgba(15,23,42,0.12); }
.media-frame{ border-radius:16px; overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow); background:var(--surface); }
.media-frame img{ width:100%; height:100%; object-fit:cover; display:block; }

.page-section{ padding:40px 0; }
.content-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px; align-items:start; }
.content-card{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:18px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:12px; }
.content-card h3{ margin:0; color:var(--text); }
.content-card p{ color:var(--muted); }
.checklist{ display:grid; gap:8px; color:var(--text); }
.checklist span{ display:flex; align-items:center; gap:8px; font-weight:600; }

.grid-two{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:18px; align-items:center; }
.pill.inline{ display:inline-flex; }

.info-stack{ display:grid; gap:14px; }
.info-stack .pill{ width:max-content; }

.form-card{ background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:18px; box-shadow:var(--shadow); }
.form-card h3{ margin-bottom:10px; }
.form-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.form-grid input, .form-grid select, .form-grid textarea{ width:100%; padding:12px 14px; border-radius:12px; border:1px solid var(--border); background:#f9fbff; color:var(--text); }
.form-grid textarea{ resize:vertical; min-height:140px; }
.form-actions{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

.team-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.team-card{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:16px; box-shadow:var(--shadow); text-align:center; }
.team-card img{ width:100%; height:180px; object-fit:cover; border-radius:12px; margin-bottom:10px; }
.team-card .muted{ margin:0; }

.map-wrap{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:16px; align-items:stretch; }
.map-wrap iframe{ width:100%; min-height:320px; border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow); }

.news-article{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:18px; box-shadow:var(--shadow); display:grid; gap:14px; }
.news-article img{ border-radius:12px; width:100%; object-fit:cover; }
.news-article .title_new1{ font-size:30px; color:var(--text); }
.news-article .info1{ font-size:17px; color:var(--text); line-height:1.7; }
.news-article .info1_blur{ opacity:0.82; }
.commentbox{ width:100%; max-width:640px; min-height:140px; border-radius:12px; border:1px solid var(--border); padding:12px; background:#f9fbff; }

.auth-shell{ padding:110px 0 60px; display:flex; justify-content:center; }
.auth-card{ background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:22px; box-shadow:var(--shadow); width:min(480px, 92vw); }
.auth-card h2{ text-align:center; margin-bottom:10px; }
.auth-card .input{ display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.auth-card label{ font-weight:600; color:var(--muted); }
.auth-card input, .auth-card select{ padding:12px 14px; border:1px solid var(--border); border-radius:12px; background:#f9fbff; color:var(--text); }
.auth-card .note{ font-size:12px; color:var(--muted); }
.auth-card .actions{ display:flex; flex-direction:column; gap:10px; align-items:center; }
.auth-card .alt{ text-align:center; color:var(--muted); }

@media(max-width:900px){
    .page-hero .container{ grid-template-columns:1fr; }
}