/* hero section css  */
/* Hero Section Wrapper */
    .hero {
      position: relative;
      min-height: 70vh;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      /* background: #0a1a2f; fallback dark */
background: linear-gradient(135deg, #ffffff, #ffc0d6);
      isolation: isolate;
    }

    /* Background Image with overlay for readability */
    .hero-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      filter: brightness(0.7) contrast(1.05);
    }

    /* dark overlay to make text pop */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      /* background: linear-gradient(125deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%); */
      z-index: 1;
    }

    /* Main content card */
    .hero-content {
      position: relative;
      z-index: 10;
      width: 90%;
      max-width: 800px;
      margin: 2rem auto;
      padding: 1rem 1rem;
      /* background: rgba(255, 255, 255, 0.92); */
      backdrop-filter: blur(3px);
      border-radius: 10px;
      /* box-shadow: 0 30px 45px -20px rgba(0,0,0,0.4), 0 8px 20px rgba(0,0,0,0.1); */
      transition: all 0.3s ease;
    }

    /* Radio group: Commercial, Residential, Plot */
    .radio-group {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      /* margin-bottom: 2rem; */
      padding: 0.5rem 0;
    }

    .radio-option {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      cursor: pointer;
      background: rgba(255,255,240,0.5);
      padding: 0.3rem 0.5rem;
      border-radius: 100px;
      transition: all 0.2s ease;
      font-weight: 600;
      color: #1f2937;
    }

    .radio-option:hover {
      background: rgba(255,255,255,0.9);
      transform: scale(1.02);
    }

    .radio-option input[type="radio"] {
      appearance: none;
      -webkit-appearance: none;
      width: 1rem;
      height: 1rem;
      border: 2px solid #2c7a4d;
      border-radius: 50%;
      margin: 0;
      position: relative;
      cursor: pointer;
      transition: 0.1s linear;
      background: white;
    }

    .radio-option input[type="radio"]:checked {
      border: 5px solid #1f8a4c;
      background-color: white;
    }

    .radio-option label {
      font-size: 0.7rem;
      letter-spacing: -0.2px;
      cursor: pointer;
      color: #1e2a3e;
    }

    /* Filter card styling */
    .filter-card {
      background: white;
      border-radius: 10px;
      padding: 1rem 1rem;
      box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    }

    .filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem;
      justify-content: space-between;
      align-items: flex-end;
    }

    .input-field {
      flex: 1;
      min-width: 200px;
      position: relative;
    }

    .input-field label {
      display: block;
      font-size: 0.70rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #4b5563;
      margin-bottom: 0.5rem;
    }

    .input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      background: #f9fafb;
      border: 1px solid #e2e8f0;
      border-radius: 60px;
      transition: all 0.2s;
      padding: 0 1rem;
    }

    .input-wrapper:focus-within {
      border-color: #2c7a4d;
      box-shadow: 0 0 0 3px rgba(44,122,77,0.2);
      background: white;
    }

    .input-wrapper i {
      color: #9ca3af;
      font-size: 1.1rem;
    }

    .input-field input, .budget-trigger {
      width: 100%;
      padding: 0.6rem 0.4rem 0.6rem 0.3rem;
      border: none;
      background: transparent;
      font-size: 0.8rem;
      font-weight: 500;
      outline: none;
      font-family: 'Inter', sans-serif;
      color: #111827;
    }

    .budget-trigger {
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .budget-trigger span:first-child {
      flex: 1;
    }

    /* Dropdown menu for budget */
    .budget-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: 100%;
      background: white;
      border-radius: 24px;
      box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
      z-index: 50;
      max-height: 260px;
      overflow-y: auto;
      display: none;
      border: 1px solid #eef2f6;
    }

    .budget-dropdown.active {
      display: block;
    }

    .budget-item {
      padding: 0.85rem 1.2rem;
      cursor: pointer;
      transition: background 0.15s;
      font-weight: 500;
      color: #1f2937;
      border-bottom: 1px solid #f1f5f9;
    }

    .budget-item:hover {
      background: #ecfdf5;
      color: #166534;
    }

    /* Location suggestions */
    .suggestions-list {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: 100%;
      background: white;
      border-radius: 24px;
      box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
      z-index: 50;
      max-height: 250px;
      overflow-y: auto;
      display: none;
      border: 1px solid #eef2f6;
    }

    .suggestions-list.active {
      display: block;
    }

    .suggestion-item {
      padding: 0.85rem 1.2rem;
      cursor: pointer;
      transition: background 0.15s;
      display: flex;
      align-items: center;
      gap: 10px;
      border-bottom: 1px solid #f3f4f6;
      font-weight: 500;
    }

    .suggestion-item i {
      color: #2c7a4d;
      width: 20px;
    }

    .suggestion-item:hover {
      background: #f0fdf4;
    }

    /* Search Button */
    .search-btn {
      background: #1f8a4c;
      border: none;
      border-radius: 60px;
      padding: 0.5rem 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      font-weight: 700;
      font-size: 1rem;
      color: white;
      cursor: pointer;
      transition: all 0.25s;
      margin-top: 0.4rem;
      box-shadow: 0 4px 10px rgba(31,138,76,0.3);
      width: 100%;
    }

    .search-btn:hover {
      background: #0f6e3e;
      transform: translateY(-2px);
      box-shadow: 0 12px 20px -8px rgba(0,0,0,0.25);
    }

    /* Small result / feedback */
    .search-feedback {
      /* margin-top: 1.5rem; */
      margin-bottom: 10px;
      text-align: center;
      font-size: 0.85rem;
      font-weight: 500;
      color: #2c3e50;
      background: rgba(255,255,240,0.7);
      padding: 0.5rem;
      border-radius: 60px;
      transition: all 0.2s;
    }

    /* Device friendly */
    @media (max-width: 780px) {
      .hero-content {
        padding: 1.5rem 1rem;
        margin: 1.5rem;
      }
      .radio-group {
        gap: 0.8rem;
      }
      .radio-option {
        /* padding: 0.4rem 1rem; */
      }
      .radio-option label {
        font-size: 1rem;
      }
      .filter-card {
        padding: 1.2rem 1rem;
      }
      .filter-row {
        flex-direction: column;
        gap: 1.2rem;
      }
      .input-field {
        width: 100%;
      }
      .search-btn {
        width: 100%;
        margin-top: 0.8rem;
      }
    }

    @media (max-width: 480px) {
      .hero-content {
        border-radius: 10px;
      }
      .radio-option label {
        font-size: 0.9rem;
      }
    }

    /* subtle animation */
    .hero-content {
      animation: fadeSlideUp 0.6s ease-out;
    }

    @keyframes fadeSlideUp {
      from {
        opacity: 0;
        transform: translateY(25px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    /* ========================================= */