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

:root {
    --primary: #1e3c72;
    --secondary: #2a5298;
    --accent: #f9a826;
    --light: #f4f7fc;
    --dark: #222;
    --gray: #666;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: var(--primary);
    font-size: 1.8rem;
}
.logo span {
    color: var(--accent);
    font-size: 0.9rem;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.search-box {
    background: white;
    padding: 1.5rem;
    border-radius: 40px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 900px;
    width: 100%;
    justify-content: center;
}
.search-box select,
.search-box input,
.search-box button {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
}
.search-box select,
.search-box input {
    flex: 1 1 150px;
}
.search-box button {
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    flex: 0 1 auto;
    padding: 0.8rem 2rem;
}
.search-box button:hover {
    background: #e09416;
}

/* Sections */
section {
    padding: 4rem 0;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h3 {
    font-size: 2rem;
    color: var(--primary);
}

/* Property Cards */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.property-card:hover {
    transform: translateY(-5px);
}
.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.property-info {
    padding: 1.5rem;
}
.property-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.property-info .location {
    color: var(--gray);
    margin-bottom: 0.5rem;
}
.property-info .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 1rem;
}
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--secondary);
}

/* Why Us / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.feature-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    text-align: center;
}
.location-item {
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.service-item {
    background: white;
    padding: 2rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.testimonial i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col h4 {
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}
.footer-col a {
    color: #ddd;
    text-decoration: none;
}
.footer-col a:hover {
    color: white;
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* Property listing page specific */
.page-title {
    background: var(--light);
    padding: 2rem 0;
    text-align: center;
}
.properties-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 3rem 0;
}
.filter-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    align-self: start;
}
.filter-sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.filter-group {
    margin-bottom: 1.5rem;
}
.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.apply-filter {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}

/* Property detail page */
.detail-section {
    padding: 3rem 0;
}
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.main-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.property-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.property-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}
.price-tag {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
.amenities {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.amenities h3 {
    margin-bottom: 1rem;
}
.amenities ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 0.5rem;
    list-style: none;
}
.amenities li i {
    color: var(--accent);
    margin-right: 0.5rem;
}
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}
.contact-card h3 {
    margin-bottom: 1.5rem;
}
.contact-card .btn {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}
.btn-whatsapp {
    background: #25D366;
}
.btn-whatsapp:hover {
    background: #128C7E;
}
.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Contact page */
.contact-section {
    padding: 4rem 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
}
.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 30px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.contact-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
}
.map-container {
    margin-top: 2rem;
    width: 100%;
    height: 300px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-menu.active {
        display: flex;
    }
    .search-box {
        flex-direction: column;
        border-radius: 20px;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .properties-layout {
        grid-template-columns: 1fr;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}