.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: "Urbanist", sans-serif;
    /* font-size: 76px; */
    font-size: clamp(2rem, 6vw, 76px);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title .text-teal {
    color: #20b2aa;
}

.hero-title .text-black {
    color: #000000;
}

.hero-subtitle {
    /* font-size: 52px; */
    font-size: clamp(1.5rem, 5vw, 43px);
    font-weight: 500;
    font-family: "Urbanist", sans-serif;
}

.hero-description {
    /* font-size: 20px; */
    font-size: clamp(1rem, 2.5vw, 19px);
    margin-bottom: 2rem;
    /* margin-left: 200px; */
    max-width: 400px;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    position: relative;
    /* height: 80vh; */
    min-height: 65vh;
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
}

.search-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* max-width: 600px; */
    margin: 0 auto;
}

.toggle-buttons {
    display: flex;
    margin-bottom: 1.5rem;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: #f8f9fa;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.toggle-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.toggle-btn.active {
    background: #20b2aa;
    color: white;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control-icon {
    position: relative;
}

.form-control-icon svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.form-control-icon .form-control {
    padding-left: 45px;
    height: 50px;
    border-radius: 15px;
    border: 1px solid #ddd;
}
.form-control-icon .form-select {
    padding-left: 45px;
    height: 50px;
    border-radius: 15px;
    border: 1px solid #ddd;
}

.find-btn {
    background: #e74c3c;
    border: none;
    color: white;
    padding: 12px 7px;
    border-radius: 15px;
    /* font-weight: 500; */
    /* width: 100%; */
    /* height: 50px; */
}

.find-btn:hover {
    background: #c0392b;
}

.social-icons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.property-label {
    font-size: 44px;
    font-weight: bold;
    line-height: 1.1;
}

.blurred-overlay {
    backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.4);
    /* dark semi-transparent background */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: start;
}

.bottom-blur-overlay {
    background: rgba(0, 0, 0, 0.5);
    /* semi-dark overlay */
    backdrop-filter: blur(14px);
    /* blurred background */
    -webkit-backdrop-filter: blur(14px);
    /* Safari support */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 1rem 1rem;
    /* match card's bottom radius */
    color: white;
}

@media (max-width: 576px) {
    .bottom-blur-overlay {
        padding: 1.25rem !important;
    }

    .bottom-blur-overlay .card-title {
        font-size: 1.25rem;
    }

    .bottom-blur-overlay .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 36px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hero-description {
        text-align: center;
        margin: 0 auto;
    }

    .search-form {
        padding: 1.25rem;
    }

    .toggle-buttons {
        flex-direction: column;
    }

    .toggle-btn {
        margin-bottom: 0.5rem;
    }

    .find-btn {
        margin-top: 1rem;
    }
}

@media (max-width: 992px) {
    /* Reduce heading sizes */
    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
    }

    .property-label {
        font-size: 1.5rem;
        text-align: center;
    }

    .card-text {
        font-size: 0.95rem;
        text-align: center;
    }

    .card-title {
        font-size: 1.25rem;
        text-align: center;
    }

    /* Cards */
    .card .img-fluid {
        width: 100%;
        height: auto;
    }

    /* Adjust nested grid in "Why Choose Us" */
    .col-lg-6 .row .col-lg-6,
    .col-lg-6 .row .col-lg-12 {
        width: 100%;
    }

    /* Stack left and right columns */
    .col-lg-6 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 26px !important;
    }

    .property-label {
        font-size: 1.25rem;
    }

    .text-size-28 {
        font-size: 1.25rem !important;
    }

    .text-size-20 {
        font-size: 1rem !important;
    }

    .text-size-15 {
        font-size: 0.85rem !important;
    }

    /* Adjust blur overlay text padding */
    .bottom-blur-overlay {
        padding: 1rem !important;
    }

    .bottom-blur-overlay h5 {
        font-size: 1.25rem !important;
    }

    .bottom-blur-overlay p {
        font-size: 0.85rem !important;
    }

    .card-img-overlay {
        padding: 1rem !important;
    }

    .card-text {
        font-size: 0.85rem !important;
    }

    .icon-circle {
        display: none;
        /* hide icons on mobile if cramped */
    }

    /* Reduce container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
