:root {
    /* Color Palette from Image */
    --primary-blue: #0066FF;
    --primary-orange: #FF6600;
    --primary-orange-hover: #E85A2A;
    --dark: #1A1A1A;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --glass: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-decoration: none;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-get-started {
    background-color: var(--primary-orange);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1464938050520-ef2270bb8ce8?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding: 120px 0 140px;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 5rem);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-orange {
    background: var(--primary-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-verified {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stats-hero {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Floating Search Bar */
.search-container {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 10;
}

.search-tabs {
    display: inline-flex;
    background: white;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.search-tab {
    padding: 1rem 2.5rem;
    font-weight: 700;
    cursor: pointer;
    background: white;
    color: #999;
}

.search-tab.active {
    background: var(--primary-orange);
    color: white;
}

.search-box {
    background: white;
    padding: 1.5rem;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.search-field {
    flex: 1;
    padding: 0 1.5rem;
    border-right: 1px solid #eee;
}

.search-field label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.search-field .value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.btn-search {
    background: var(--primary-blue);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Featured Section */
.featured {
    padding: 150px 0 80px;
    background: var(--bg-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.feature-card.highlight {
    border-bottom: 4px solid var(--primary-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #FFF1E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-orange);
}

/* Common Section Styles */
.section-header {
    margin-bottom: 4rem;
}

.section-label {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

/* Construction Section */
.construction {
    padding: 100px 0;
}

.construction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.construction-img-wrapper {
    position: relative;
    width: 100%;
}

.construction-main-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.construction-thumbs {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    border: 2px solid white;
}

/* Response/Feedback */
.user-feedback {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Property Grid */
.property-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.property-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn-property {
    background: var(--primary-orange);
    color: white;
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    margin-top: 1.5rem;
    cursor: pointer;
}

/* How it works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-orange);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1.5rem;
    }

    header {
        position: relative;
        background: var(--dark);
        padding: 1rem 0;
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding: 60px 0 100px;
        text-align: center;
        display: flex;
        flex-direction: column;
        /* Stack container and search bar */
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 4rem;
        /* Give space for the search bar to stack */
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-top: 0;
    }

    .hero-btns,
    .stats-hero {
        justify-content: center;
        gap: 1rem;
    }

    .btn-orange,
    .badge-verified {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    /* Floating Search Bar Mobile - Stacked normally */
    .search-container {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        z-index: 5;
    }

    .search-tabs {
        width: 100%;
        display: flex;
        border-radius: 12px 12px 0 0;
    }

    .search-tab {
        flex: 1;
        padding: 1rem 0.25rem;
        text-align: center;
        font-size: 0.8rem;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        border-radius: 0 0 12px 12px;
        gap: 0;
        width: 100%;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 1.25rem 0;
        text-align: left;
    }

    .search-field:last-child {
        border-bottom: none;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
        margin: 1.5rem 0 0.5rem;
    }

    /* Grids */
    .featured-grid,
    .construction-grid,
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section {
        padding: 60px 0;
    }

    .featured {
        padding: 100px 0 60px;
    }

    .construction-thumbs {
        position: relative;
        bottom: 20px;
        left: 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .stats-hero {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        width: 100%;
    }
}