﻿




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: #f5f7f6;
    color: #14201d;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
}

.navbar {
    height: 78px;
    background: #ffffff;
    border-bottom: 1px solid #e8ecea;
    position: relative;
    z-index: 10;
}

.nav-container {
    max-width: 1180px;
    height: 100%;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071a2f;
    color: #ffffff;
    border-radius: 11px;
    font-size: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .logo-text span {
        font-size: 21px;
        font-weight: 800;
        color: #071a2f;
    }

    .logo-text small {
        margin-top: 3px;
        font-size: 9px;
        color: #7b8582;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

    .nav-links a {
        font-size: 13px;
        font-weight: 600;
        color: #5e6965;
        transition: 0.2s;
    }

        .nav-links a:hover {
            color: #164f42;
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn {
    padding: 10px 19px;
    color: #164f42;
    font-size: 13px;
    font-weight: 700;
}

.agent-btn {
    padding: 11px 20px;
    border-radius: 9px;
    background: #164f42;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
}

    .agent-btn:hover {
        background: #1d6655;
    }

.hero {
    position: relative;
    padding: 80px 20px 0;
    background: #071a2f;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: rgba(22, 79, 66, 0.18);
        top: -300px;
        left: -150px;
    }

.hero-container {
    max-width: 1180px;
    min-height: 460px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
}

.hero-content {
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    border-radius: 30px;
    font-size: 10px;
    color: #cbd8d4;
    margin-bottom: 20px;
}

    .hero-badge span {
        width: 6px;
        height: 6px;
        background: #3f9b82;
        border-radius: 50%;
    }

.hero h1 {
    max-width: 570px;
    font-size: 49px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: -1.5px;
}

    .hero h1 strong {
        display: block;
        color: #6db19e;
    }

.hero-content > p {
    max-width: 500px;
    margin-top: 17px;
    color: #aebcb8;
    font-size: 14px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 11px;
    margin-top: 28px;
}

.primary-btn {
    padding: 13px 25px;
    border-radius: 9px;
    background: #164f42;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.outline-btn {
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 9px;
    color: #d4dfdc;
    font-size: 12px;
    font-weight: 600;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 390px;
    background: #ffffff;
    border-radius: 17px;
    padding: 12px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
    transform: rotate(2deg);
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 6px 12px;
    font-size: 10px;
    color: #7c8783;
}

.heart {
    font-size: 21px;
    color: #164f42;
}

.property-image {
    height: 215px;
    border-radius: 11px;
    background: linear-gradient( 135deg, rgba(7,26,47,0.1), rgba(22,79,66,0.25) ), linear-gradient(135deg, #b7c3c0, #6d827c);
    position: relative;
    overflow: hidden;
}

    .property-image::after {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        bottom: 0;
        height: 70%;
        background: rgba(255,255,255,0.45);
        clip-path: polygon(8% 100%, 25% 40%, 42% 65%, 62% 15%, 100% 100%);
    }

.image-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

    .image-overlay span {
        background: #164f42;
        color: #ffffff;
        padding: 5px 9px;
        border-radius: 5px;
        font-size: 9px;
    }

.hero-property-info {
    padding: 14px 6px 5px;
}

    .hero-property-info h3 {
        font-size: 16px;
        color: #071a2f;
    }

.location {
    color: #89938f;
    font-size: 10px;
    margin-top: 5px;
}

.property-details {
    display: flex;
    gap: 15px;
    margin-top: 14px;
    color: #65716d;
    font-size: 9px;
}

.property-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #edf0ef;
    margin-top: 14px;
    padding-top: 12px;
}

    .property-price span {
        color: #8a9591;
        font-size: 9px;
    }

    .property-price strong {
        color: #164f42;
        font-size: 13px;
    }

.search-wrapper {
    max-width: 1030px;
    margin: 0 auto;
    position: relative;
    top: 45px;
}

.search-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr 150px;
    gap: 5px;
    box-shadow: 0 15px 45px rgba(7,26,47,0.16);
}

.search-item {
    padding: 8px 15px;
    border-left: 1px solid #edf0ef;
}

    .search-item label {
        display: block;
        color: #8a9591;
        font-size: 9px;
        margin-bottom: 4px;
    }

    .search-item input,
    .search-item select {
        width: 100%;
        border: none;
        outline: none;
        color: #14201d;
        background: transparent;
        font-size: 12px;
    }

.search-btn {
    border: none;
    border-radius: 9px;
    background: #164f42;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.stats {
    background: #ffffff;
    padding: 95px 20px 40px;
}

.stats-container {
    max-width: 950px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat {
    border-left: 1px solid #e5eae8;
}

    .stat:last-child {
        border-left: none;
    }

    .stat strong {
        display: block;
        color: #071a2f;
        font-size: 25px;
        font-weight: 800;
    }

    .stat span {
        display: block;
        margin-top: 5px;
        color: #87918e;
        font-size: 10px;
    }

.properties {
    padding: 80px 20px;
}

.section-container {
    max-width: 1180px;
    margin: auto;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-label {
    color: #164f42;
    font-size: 10px;
    font-weight: 800;
}

.section-header h2 {
    color: #071a2f;
    font-size: 28px;
    font-weight: 800;
    margin-top: 7px;
}

.section-header p {
    color: #7d8884;
    font-size: 11px;
    margin-top: 8px;
}

.view-all {
    color: #164f42;
    font-size: 11px;
    font-weight: 700;
}

    .view-all span {
        margin-right: 5px;
    }

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.property-card {
    background: #ffffff;
    border: 1px solid #e7ecea;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.25s;
}

    .property-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(7,26,47,0.09);
    }

.property-card-image {
    height: 220px;
    position: relative;
}

.property-one {
    background: linear-gradient(135deg, #aebcb8, #627873);
}

.property-two {
    background: linear-gradient(135deg, #c3c5b7, #7b806d);
}

.property-three {
    background: linear-gradient(135deg, #b7c0c5, #657984);
}

.property-card-image::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
    height: 60%;
    background: rgba(255,255,255,0.35);
    clip-path: polygon(0 100%, 20% 45%, 40% 70%, 63% 20%, 100% 100%);
}

.property-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: #164f42;
    color: #ffffff;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 9px;
}

.favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #164f42;
    font-size: 20px;
    cursor: pointer;
}

.property-card-content {
    padding: 17px;
}

.property-type {
    color: #164f42;
    font-size: 9px;
    font-weight: 700;
}

.property-card h3 {
    margin-top: 6px;
    color: #071a2f;
    font-size: 14px;
}

.property-location {
    color: #89938f;
    font-size: 10px;
    margin-top: 6px;
}

.property-meta {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    margin-top: 12px;
    border-top: 1px solid #edf0ef;
    border-bottom: 1px solid #edf0ef;
    color: #68746f;
    font-size: 9px;
}

.card-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 14px;
}

    .card-bottom small {
        display: block;
        color: #919b98;
        font-size: 8px;
    }

    .card-bottom strong {
        display: block;
        color: #164f42;
        font-size: 12px;
        margin-top: 3px;
    }

    .card-bottom a {
        color: #071a2f;
        font-size: 10px;
        font-weight: 700;
    }

.agent-section {
    background: #071a2f;
    padding: 90px 20px;
    overflow: hidden;
}

.agent-container {
    max-width: 1080px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.agent-content {
    color: #ffffff;
}

    .agent-content .section-label {
        color: #6db19e;
    }

    .agent-content h2 {
        margin-top: 10px;
        font-size: 33px;
        line-height: 1.5;
    }

        .agent-content h2 strong {
            color: #6db19e;
        }

    .agent-content > p {
        max-width: 470px;
        margin-top: 13px;
        color: #aebcb8;
        font-size: 12px;
        line-height: 2;
    }

.agent-features {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4dfdc;
    font-size: 11px;
}

.feature-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #164f42;
    color: #ffffff;
    font-size: 10px;
}

.agent-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    padding: 13px 20px;
    border-radius: 9px;
    background: #164f42;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    color: #071a2f;
    font-size: 12px;
    font-weight: 700;
}

.online {
    color: #164f42;
    font-size: 9px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 25px;
}

    .dashboard-stats div {
        background: #f5f7f6;
        padding: 13px;
        border-radius: 9px;
    }

    .dashboard-stats small {
        display: block;
        color: #89938f;
        font-size: 8px;
    }

    .dashboard-stats strong {
        display: block;
        margin-top: 5px;
        color: #071a2f;
        font-size: 18px;
    }

.chart {
    height: 130px;
    margin-top: 20px;
    border-bottom: 1px solid #e4e9e7;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    width: 110%;
    height: 100px;
    bottom: 0;
    right: -5%;
    border-top: 3px solid #164f42;
    transform: skewY(-8deg);
}

.cta-section {
    padding: 90px 20px;
    background: #e9f1ee;
    text-align: center;
}

.cta-container {
    max-width: 650px;
    margin: auto;
}

    .cta-container > span {
        color: #164f42;
        font-size: 10px;
        font-weight: 700;
    }

    .cta-container h2 {
        color: #071a2f;
        font-size: 32px;
        margin-top: 8px;
    }

    .cta-container p {
        color: #75817d;
        font-size: 12px;
        margin-top: 9px;
    }

.cta-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 13px 28px;
    border-radius: 9px;
    background: #071a2f;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.footer {
    background: #061526;
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer .logo-text span {
    color: #ffffff;
}

.footer .logo-text small {
    color: #82908b;
}

.footer-brand p {
    max-width: 270px;
    color: #7e8b87;
    font-size: 10px;
    line-height: 2;
    margin-top: 16px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    .footer-column h4 {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .footer-column a,
    .footer-column span {
        color: #7e8b87;
        font-size: 9px;
    }

        .footer-column a:hover {
            color: #ffffff;
        }

.footer-bottom {
    max-width: 1180px;
    margin: 45px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #65736e;
    font-size: 8px;
}

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        padding-bottom: 40px;
    }

    .search-box {
        grid-template-columns: 1fr 1fr;
    }

    .search-btn {
        height: 48px;
        grid-column: span 2;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agent-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .navbar {
        height: 70px;
    }

    .nav-container {
        padding: 0 14px;
    }

    .agent-btn {
        padding: 9px 13px;
        font-size: 10px;
    }

    .login-btn {
        padding: 9px 10px;
        font-size: 11px;
    }

    .hero {
        padding-top: 55px;
    }

        .hero h1 {
            font-size: 34px;
            line-height: 1.5;
        }

    .hero-content > p {
        font-size: 12px;
    }

    .hero-card {
        width: 100%;
        max-width: 350px;
    }

    .search-wrapper {
        top: 30px;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .search-item {
        border-left: none;
        border-bottom: 1px solid #edf0ef;
        padding: 10px 13px;
    }

    .search-btn {
        grid-column: auto;
    }

    .stats {
        padding-top: 75px;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .stat {
        border-left: none;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

        .section-header h2 {
            font-size: 23px;
        }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .agent-content h2 {
        font-size: 27px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .cta-container h2 {
        font-size: 27px;
    }
}
