
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
            background-color: #f9fafb;
            color: #1f2937;
        }


/* BODY OVERFLOW HIDE */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* CONTAINER FIX */
.container{
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);

    box-sizing: border-box;
    overflow: hidden;
}

        /* Search Filter */
        .search-filter {
            background: #fff;
            padding: 16px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .search-input {
            width: 100%;
            padding: 12px 16px;
            padding-left: 44px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-size: 15px;
            transition: border 0.3s;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: 12px center;
        }

        .search-input:focus {
            outline: none;
            border-color: #2563eb;
        }

     

        /* Agent Card */
        .agent-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            margin-bottom: 16px;
            overflow: hidden;
        }
        
     

        /* Certified Badge */
        .certified-badge {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: #fff;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
        }

        .certified-icon {
            width: 20px;
            height: 20px;
        }

      
      
        .agent-image {
            width: 80px;
            height: 80px;
            border-radius: 10px;
            object-fit: cover;
        }

        .verified-badge {
            position: absolute;
            bottom: -4px;
            right: -4px;
            background: #2563eb;
            border-radius: 50%;
            padding: 4px;
            border: 2px solid #fff;
        }

        .agent-info {
            flex: 1;
            min-width: 0;
        }

        .agent-name {
            font-size: 18px;
            font-weight: 700;
            color: #111827;
            margin-bottom: 4px;
        }

        .agent-title {
            font-size: 13px;
            color: #6b7280;
            margin-bottom: 2px;
        }

        .agent-company {
            font-size: 13px;
            color: #9ca3af;
            margin-bottom: 8px;
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .star-icon {
            width: 16px;
            height: 16px;
            fill: #fbbf24;
            color: #fbbf24;
        }

        .rating-value {
            font-size: 14px;
            font-weight: 700;
            color: #111827;
        }

        .rating-count {
            font-size: 13px;
            color: #6b7280;
        }

        /* Badges Section */
        .badges-section {
            padding: 12px 16px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            border-bottom: 1px solid #f3f4f6;
        }

        .badge {
            display: flex;
            align-items: center;
            gap: 4px;
            background: #f3f4f6;
            padding: 6px 12px;
            border-radius: 6px;
        }

        .rera-badge {
            background: #2563eb;
            color: #fff;
            font-size: 12px;
            font-weight: 600;
        }

        /* Operating Area Section */
        .operating-area {
          /*  padding: 12px 16px;*/
            border-bottom: 1px solid #f3f4f6;
        }

        .section-heading {
            font-size: 12px;
            font-weight: 600;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .area-tags {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .area-tag {
            display: flex;
            align-items: center;
            gap: 3px;
            padding: 5px 5px;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 8px;
            font-size: 14px;
            color: #1e40af;
            cursor: pointer;
            transition: all 0.3s;
        }

        .area-tag:hover {
            background: #dbeafe;
            border-color: #93c5fd;
        }

        .area-icon {
            width: 16px;
            height: 16px;
        }

        .more-areas-btn {
            padding: 8px 12px;
            background: #fff;
            border: 2px dashed #cbd5e1;
            border-radius: 8px;
            font-size: 14px;
            color: #2563eb;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .more-areas-btn:hover {
            background: #f8fafc;
            border-color: #2563eb;
        }

        

        .property-icon {
            width: 20px;
            height: 20px;
            color: #10b981;
            flex-shrink: 0;
        }

        /* Stats Section */
        .stats-section {
            padding: 12px 1px;
            
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }

        .stat-item:last-child {
            margin-bottom: 0;
        }

        .stat-icon {
            width: 20px;
            height: 20px;
            color: #6b7280;
            flex-shrink: 0;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            flex: 1;
            padding: 12px 16px;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
        }

        .btn-primary {
            background: #C41E3A;
            color: #fff;
        }

        .btn-primary:hover {
            background: #ea580c;
        }

        .btn-secondary {
            background: #fff;
            color: #374151;
            border: 2px solid #C41E3A;
        }

        .btn-secondary:hover {
            background: #f9fafb;
        }

        .btn-whatsapp {
            flex: 0;
            background: #10b981;
            color: #fff;
            padding: 12px;
        }

        .btn-whatsapp:hover {
            background: #059669;
        }

        .btn-icon {
            width: 20px;
            height: 20px;
        }

        /* Modal Overlay */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 1000;
            display: none;
            align-items: flex-end;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
            }
            to {
                transform: translateY(0);
            }
        }

        /* Modal Content */
        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 540px;
            margin: 0 auto;
            border-radius: 20px 20px 0 0;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            animation: slideUp 0.3s ease;
        }

        @media (min-width: 640px) {
            .modal-overlay {
                align-items: center;
            }

            .modal-content {
                border-radius: 20px;
                max-height: 90vh;
            }
        }

        /* Modal Header */
        .modal-header {
            padding: 16px;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            background: #fff;
            border-radius: 20px 20px 0 0;
        }

        .modal-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 18px;
            font-weight: 700;
        }

        .close-btn {
            background: none;
            border: none;
            padding: 8px;
            cursor: pointer;
            border-radius: 50%;
            transition: background 0.3s;
        }

        .close-btn:hover {
            background: #f3f4f6;
        }

        /* Modal Body */
        .modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 8px;
        }

        .area-item {
            padding: 12px;
            border-radius: 10px;
            margin-bottom: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s;
            border: 2px solid transparent;
        }

        .area-item:hover {
            background: #eff6ff;
        }

        .area-item.selected {
            background: #eff6ff;
            border-color: #2563eb;
        }

        .area-item-content {
            display: flex;
            align-items: start;
            gap: 12px;
            flex: 1;
        }

        .area-item-icon {
            width: 20px;
            height: 20px;
            color: #9ca3af;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .area-item.selected .area-item-icon {
            color: #2563eb;
        }

        .area-item-text h4 {
            font-size: 15px;
            font-weight: 600;
            color: #111827;
            margin-bottom: 2px;
        }

        .area-item.selected .area-item-text h4 {
            color: #2563eb;
        }

        .area-item-text p {
            font-size: 13px;
            color: #6b7280;
        }

        .check-icon {
            width: 24px;
            height: 24px;
            background: #2563eb;
            border-radius: 50%;
            padding: 4px;
            color: #fff;
            flex-shrink: 0;
        }

        .chevron-icon {
            width: 20px;
            height: 20px;
            color: #9ca3af;
            flex-shrink: 0;
        }

        /* Modal Footer */
        .modal-footer {
            padding: 16px;
            border-top: 1px solid #e5e7eb;
            background: #f9fafb;
            position: sticky;
            bottom: 0;
        }

        /* Enquiry Form */
        .form-group {
            margin-bottom: 16px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #374151;
            margin-bottom: 6px;
        }

        .form-input {
            width: 100%;
            padding: 12px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 15px;
            transition: border 0.3s;
        }

        .form-input:focus {
            outline: none;
            border-color: #2563eb;
        }

        textarea.form-input {
            resize: vertical;
            min-height: 80px;
        }

       



        /* Responsive */
        @media (min-width: 768px) {
            .container {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .agent-card {
                margin-bottom: 0;
            }
        }

        @media (min-width: 1024px) {
            .container {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        
        .agent-image-wrapper {
    width: 100%;
    max-width: 120px;      /* desktop default */
    aspect-ratio: 1 / 1;  /* perfect square */
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.agent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


@media (max-width: 576px) {
    .agent-image-wrapper {
        max-width: 90px;
    }
    
    .container{
       /* margin:5px;*/
        padding:12px;
        border-radius:14px;
    }

}
 
@media (min-width: 577px) and (max-width: 991px) {
    .agent-image-wrapper {
        max-width: 105px;
    }
    
    .container{
        margin:12px;
        padding:14px;
        border-radius:14px;
    }

}

/* ===============================
   HEADER
================================ */
.agent-header{
    display:flex;
    gap:14px;
    align-items:center;
    margin-bottom:16px;
}

.agent-info{
    display:flex;
    flex-direction:column;
    gap:4px;
}

/* ===============================
   CERTIFIED ROW
================================ */
.certified-row{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    font-weight:600;
    color:#198754;
}

/* SVG ICON COMMON */
.certified-icon,
.area-icon,
.property-icon,
.stat-icon,
.btn-icon{
    width:18px;
    height:18px;
    flex-shrink:0;
}

/* ===============================
   NAME + TITLES
================================ */
.agent-name{
    font-size:17px;
    font-weight:600;
    color:#111827;
    margin:0;
}

.agent-title{
    font-size:14px;
    font-weight:500;
    color:#4b5563;
    display:flex;
    align-items:center;
    gap:6px;
    margin:0;
}




.section-heading{
    font-size:14px;
    font-weight:600;
    color:#111827;
    margin-bottom:8px;
}

.area-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.area-tag{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    padding:6px 10px;
    background:#f3f4f6;
    border-radius:20px;
    color:#374151;
}

.more-areas-btn{
    background:none;
    border:none;
    font-size:13px;
    font-weight:500;
    color:#0d6efd;
    padding:6px 4px;
}




.stat-item{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:500;
    color:#374151;
}

/* ===============================
   BUTTONS
================================ */
.action-buttons{
    display:flex;
    gap:12px;
}

.action-buttons .btn{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:15px;
    font-weight:600;
    border-radius:12px;
    padding:10px;
}


.center-heading{
    display:flex;
    align-items:center;
    gap:8px;
}

.section-heading{
    font-size:15px;
    font-weight:600;
    color:#111827;
    margin-bottom:12px;
}

 
 
 

/* Container grid */
.menu-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 400px; /* phone default */
  margin: auto;
}

/* Card */
.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: 0.2s ease;
}

/* Hide radio */
.menu-card input {
  display: none;
}

/* Icon */
.menu-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

/* Text */
.menu-card span {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* Selected */
.menu-card:has(input:checked) {
  border-color: #C41E3A;
  box-shadow: 0 4px 10px rgba(255,107,0,0.25);
}

.menu-card:has(input:checked) span {
  color: #C41E3A;
}

/* Section title */
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  /*text-align: center;*/
}

/* 📱 Phones (default) – 2 cards */
@media (max-width: 480px) {
  .menu-container {
        grid-template-columns: repeat(4, 1fr);
    max-width: 360px;
  }
}

/* 📱📲 iPad / Tablets – compact cards */
@media (min-width: 481px) and (max-width: 1024px) {
  .menu-container {
    grid-template-columns: repeat(4, 1fr);
    max-width: 920px;   /* ⭐ prevents expansion */
  }

  .menu-card {
    padding: 14px 8px;
  }

  .menu-card img {
    width: 40px;
    height: 40px;
  }

  .menu-card span {
    font-size: 14px;
  }
}

/* 💻 Desktop – clean & centered */
@media (min-width: 1025px) {
  .menu-container {
    grid-template-columns: repeat(4, 1fr);
    max-width: 560px;
  }
}



    .no-data-found{
    width:100%;
    text-align:center;
    padding:60px 20px;
    background:#fff;
    border-radius:16px;
    border:1px solid #e5e7eb;
    margin-top:20px;
}

.no-data-img{
    
    max-width:100%;
    margin-bottom:20px;
    opacity:0.9;
}

