/* Container */
.container { max-width: 1200px; margin: auto; padding: 0 15px; }


.btn, .read-more {
    display:inline-block;
    padding:10px 15px;
    background:#000;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    transition:0.3s;
}
.btn:hover, .read-more:hover { background:#444; }


.property-grid, .project-grid, .blog-list .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap:30px;
}

.property-card, .project-card, .blog-card {
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}

/* Responsive */
@media(max-width:768px){
    .property-grid, .project-grid, .blog-list .row { grid-template-columns: 1fr; }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #222;
}

html {
    scroll-behavior: smooth;
}


header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* top bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    background: #111; 
    color: #fff;
    font-size: 14px;
}

/* logo + name area */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
}

.logo img {
    height: 45px;
}

/* Main Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #111;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #171798;
}

nav ul li a.active {
    color: #171798;
    font-weight: 600;
}


/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN
----------------------------------------------------*/
/* Reset and box-sizing */
* {
    box-sizing: border-box;
}

/* Make container fluid */
.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
}

/* Headings */
h2, h3 {
    transition: color 0.3s;
}

/* Buttons hover */
.btn, a.btn {
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Dashboard cards responsive */
.card-box {
    width: 23%;
    margin-right: 2%;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Stack cards on tablets and mobile */
@media (max-width: 992px) {
    .card-box { width: 80%; margin-right: 4%; }
}

@media (max-width: 600px) {
    .card-box { width: 100%; margin-right: 0; }
}

/* Sidebar responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main {
        margin-left: 0;
    }
    .sidebar a { text-align: center; }
}

/* Property/Project cards responsive */
.property-card, .project-card {
    width: 80%;
    margin-right: 3.33%;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover, .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .property-card, .project-card { width: 80%; margin-right: 4%; }
}

@media (max-width: 600px) {
    .property-card, .project-card { width: 100%; margin-right: 0; }
}

/* Nav responsive */
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #171798; 
}

a, button {
    transition: all 0.3s ease;
}

a:hover, button:hover {
    transform: translateY(-2px);
    color: #171798;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.03);
}


footer {
    background: #111827;
    color: #fff;
    padding: 30px 5%;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #171798;
}

@media(max-width: 600px){
    footer ul {
        flex-direction: column;
        gap: 10px;
    }
}
