:root {
    --primary-blue: #2563EB;
    /* Royal Blue */
    --dark-blue: #1E40AF;
    /* Darker Blue for hover/headings */
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --light-bg: #F3F4F6;
    --white: #ffffff;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text-dark);
    font-weight: 700;
}

/* Utility Classes */
.text-blue {
    color: var(--primary-blue) !important;
}

.bg-blue {
    background-color: var(--primary-blue) !important;
}

.bg-light-gray {
    background-color: var(--light-bg) !important;
}

.section-padding {
    padding: 90px 0;
}

/* Buttons */
.btn-real-estate {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-real-estate:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-real-estate {
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-real-estate:hover {
    background: var(--primary-blue);
    color: white;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-blue) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(30, 64, 175, 0.7), rgba(30, 64, 175, 0.7)), url('https://images.unsplash.com/photo-1600596542815-2a4d9f010707?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    color: white;
    position: relative;
}

/* Search Box in Hero */
.search-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.search-box label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-select,
.form-control {
    border: 1px solid #e5e7eb;
    padding: 10px;
    border-radius: 6px;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
    height: 100%;
}

.property-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.property-img-wrap {
    position: relative;
    height: 250px;
}

.property-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
}

.property-details {
    padding: 20px;
}

.property-features {
    display: flex;
    gap: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.property-features span i {
    margin-right: 5px;
    color: var(--primary-blue);
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Agent Card */
.agent-card {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
}

.agent-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.agent-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--light-bg);
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-blue);
    color: white;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: #111827;
    color: #9CA3AF;
    padding: 70px 0 30px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer a {
    color: #9CA3AF;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
        text-align: center;
    }

    .search-box {
        text-align: left;
    }
}