* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Header Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #0284c7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0284c7;
}

.cta-btn {
    background-color: #0284c7;
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-btn:hover {
    background-color: #0369a1;
}

.cta-btn-mobile {
    display: none;
}

/* Mobile Menu Toggle Icon */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #0f172a;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 30px;
}

/* Search Bar Box */
.search-bar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 850px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.search-box label {
    font-size: 12px;
    font-weight: bold;
    color: #64748b;
    margin-bottom: 5px;
}

.search-box input, .search-box select {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

#search-btn {
    background-color: #0284c7;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
    height: 41px;
    transition: background 0.3s;
}

#search-btn:hover {
    background-color: #0369a1;
}

/* General Sections */
section {
    padding: 80px 10%;
    text-align: center;
}

h2 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 40px;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    height: 200px;
}

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

.price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #0284c7;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}

.property-details {
    padding: 20px;
}

.property-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.property-details p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-box i {
    font-size: 36px;
    color: #0284c7;
    margin-bottom: 15px;
}

.service-box h3 {
    margin-bottom: 10px;
}

.service-box p {
    color: #64748b;
    font-size: 14px;
}

/* About Section */
.about {
    background: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stats h3 {
    font-size: 28px;
    color: #0284c7;
    margin-bottom: 5px;
}

.stats p {
    color: #64748b;
    font-size: 14px;
}

/* Contact Form */
.contact {
    background: #f1f5f9;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
}

.submit-btn {
    background-color: #0284c7;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #0369a1;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* ================= MOBILE RESPONSIVE MEDIA QUERIES ================= */
@media(max-width: 850px) {
    .desktop-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: none; /* Hidden by default on mobile */
    }

    .nav-links.active {
        display: flex; /* Shown when toggled */
    }

    .cta-btn-mobile {
        display: inline-block;
        background-color: #0284c7;
        color: white;
        padding: 8px 18px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .search-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    #search-btn {
        width: 100%;
        align-self: center;
    }

    section {
        padding: 50px 5%;
    }
}