* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.header {
    width: 100%;
    background: #0d1625;
    padding: 15px 5%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    height: 80px;
}


.header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo img {
    width: 150px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #00aaff;
}


.loginbtn {
    background: #007bff;
    border: none;
    padding: 3px 18px;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.loginbtn:hover {
    background: #005fcc;
    transform: scale(1.05);
}


.menu-icon {
    display: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
}


@media (max-width: 768px) {

    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: -600px; 
        left: 0;
        width: 100%;
        background: #0d1625;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 0 30px 0;
        transition: 0.4s ease;
        box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
    }

    .nav-links.active {
        top: 60px; 
    }

    .nav-links li a {
        font-size: 18px;
    }

    .loginbtn {
        font-size: 18px;
        padding: 10px 28px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 130px;
    }

    .nav-links li a {
        font-size: 17px;
    }
}

/* section dashboard */

.realestate-dashboard {
    width: 100%;
    padding: 90px;
    background: #f5f7fa;
    font-family: 'Poppins', sans-serif;
}

.dashboard-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}


.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    margin: 10px;
    min-width: 220px;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}


.chart-card {
    position: relative;
}

.chart-card h3 {
    margin-bottom: 10px;
}

.chart-card .percentage {
    position: absolute;
    right: 20px;
    top: 20px;
    background: #00cc66;
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 14px;
}


.efficiency-card .circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 10px solid #4b8bff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.efficiency-card h1 {
    font-size: 48px;
}

.details-btn {
    padding: 10px 20px;
    background: #4b8bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    transition: 0.3s;
}

.details-btn:hover {
    background: #3a6dde;
}


.maintenance-card img {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
}


.small-card h2 {
    font-size: 32px;
    margin: 10px 0;
    font-weight: 700;
}


.funnel-card ul {
    padding-left: 20px;
}

.funnel-card ul li {
    margin-bottom: 8px;
    font-size: 16px;
}


@media (max-width: 1024px) {
    .dashboard-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 45%;
    }

    .efficiency-card .circle {
        width: 130px;
        height: 130px;
    }
}


@media (max-width: 768px) {
    .realestate-dashboard {
        padding: 20px;
    }

    .card {
        width: 100%;
        margin: 10px 0;
    }

    .dashboard-row {
        flex-direction: column;
        align-items: center;
    }

    .efficiency-card .circle {
        width: 120px;
        height: 120px;
    }

    .footer-container {
        text-align: center;
    }
}


@media (max-width: 480px) {
    .chart-card .percentage {
        font-size: 12px;
        padding: 4px 8px;
    }

    .efficiency-card h1 {
        font-size: 36px;
    }

    .small-card h2 {
        font-size: 26px;
    }

    .realestate-dashboard {
        padding-top: 90px;
    }
}


/* Footer Section */
.footer {
    background: #0d1b2a;
    color: #ffffff;
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 8%;
}

/* About Section */
.footer-about {
    flex: 1;
    min-width: 260px;
}

.footer-about img {
    width: 160px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    color: #dfe6ee;
    max-width: 320px;
}


.footer h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffcc66;
    font-weight: 600;
}


.footer-links,
.footer-support {
    flex: 1;
    min-width: 200px;
}

.footer-links ul,
.footer-support ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-support li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-support a {
    color: #dfe6ee;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-support a:hover {
    color: #ffcc66;
    padding-left: 5px;
}


.footer-contact {
    flex: 1;
    min-width: 260px;
}

.footer-contact p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #dfe6ee;
}

.social-icon {
    margin-top: 10px;
}

.social-icon a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color:  #dfe6ee;
    background: rgba(13, 6, 230, 0.1);
    padding: 10px 12px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.social-icon a:hover {
    background: #ffcc66;
    color: #0d1b2a;
}


.footer-bottom {
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    background: #0a1622;
    font-size: 14px;
    color: #c8d2dc;
}

.footer-bottom p {
    margin: 0;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-about p {
        max-width: 100%;
    }

    .social-icon a {
        margin: 0 8px;
    }
}
