/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#f5f7fb;
color:#333;
line-height:1.6;
}

/* CONTAINER */
.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* HEADER */
.header{
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
position:sticky;
top:0;
z-index:1000;
}

.header-top{
background:#172617;
color:white;
font-size:14px;
padding:8px 0;
}

.header-top-list{
display:flex;
justify-content:space-between;
flex-wrap:wrap;
list-style:none;
}

.header-top a{
color:white;
text-decoration:none;
}

.header-bottom{
padding:15px 0;
}

.logo{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
}

.logo img{
width:40px;
}

.logo-text{
font-weight:bold;
font-size:20px;
color:#0dfd59;
}

/* NAVBAR */

.navbar-list{
display:flex;
gap:25px;
list-style:none;
}

.navbar-link{
text-decoration:none;
color:#333;
font-weight:600;
transition:.3s;
}

.navbar-link:hover{
color:#0d6efd;
}

/* SECTION */

.section{
background:white;
padding:30px;
margin:30px 0;
border-radius:10px;
box-shadow:0 3px 15px rgba(0,0,0,0.08);
}

.section h2{
margin-bottom:10px;
color:#0d6efd;
}

.section ul{
margin-top:10px;
padding-left:20px;
}

/* PROPERTY SECTION */

.property{
padding:60px 0;
}

.section-title{
text-align:center;
margin-bottom:40px;
font-size:28px;
}

.property-list{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
list-style:none;
}

/* PROPERTY CARD */

.property-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.property-card:hover{
transform:translateY(-6px);
box-shadow:0 6px 25px rgba(0,0,0,0.12);
}

.card-banner img{
width:100%;
height:200px;
object-fit:cover;
}

.card-content{
padding:20px;
}

.card-price{
font-weight:bold;
color:#0d6efd;
margin-bottom:8px;
}

.card-title{
margin-bottom:10px;
}

.card-title a{
text-decoration:none;
color:#333;
}

.card-text{
font-size:14px;
margin-bottom:15px;
}

.card-list{
display:flex;
justify-content:space-between;
list-style:none;
font-size:13px;
}

.card-item strong{
display:block;
color:#0d6efd;
}

/* CARD FOOTER */

.card-footer{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 20px;
border-top:1px solid #eee;
}

.author-avatar img{
width:40px;
height:40px;
border-radius:50%;
}

.author-name a{
text-decoration:none;
font-weight:bold;
color:#333;
}

.author-title{
font-size:12px;
color:gray;
}

.card-footer-actions{
display:flex;
gap:8px;
}

.card-footer-actions-btn{
border:none;
background:#f0f2f7;
padding:8px;
border-radius:6px;
cursor:pointer;
transition:.3s;
}

.card-footer-actions-btn:hover{
background:#0d6efd;
color:white;
}

/* FOOTER */

footer{
background:#0d6efd;
color:white;
text-align:center;
padding:15px;
margin-top:40px;
}

/* MOBILE RESPONSIVE */

@media(max-width:768px){

.navbar-list{
flex-direction:column;
gap:15px;
}

.header-top-list{
flex-direction:column;
gap:5px;
}

.section{
padding:20px;
}

.card-list{
flex-direction:column;
gap:8px;
}

}