
        :root {
            --primary-color: #2563eb;
            --primary-hover: #1d4ed8;
            --secondary-color: #f97316;
            --secondary-hover: #ea580c;
            --success-color: #10b981;
            --text-dark: #111827;
            --text-gray: #6b7280;
            --text-light: #9ca3af;
            --border-color: #e5e7eb;
            --bg-light: #f9fafb;
            --bg-white: #ffffff;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

       
        /* ========================
           AGENT PROFILE CARD
        ======================== */
        .agent-section {
            padding: 20px 0;
        }

        .agent-card {
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: var(--shadow-md);
            margin-bottom: 20px;
        }

        .certified-badge {
            background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 16px;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

        .agent-profile {
            display: flex;
            gap: 16px;
          /*  margin-bottom: 20px;*/
        }

        .agent-image-wrapper {
            position: relative;
            flex-shrink: 0;
        }

        .agent-image {
            width: 100px;
            height: 100px;
            border-radius: 16px;
            object-fit: cover;
            border: 4px solid white;
            box-shadow: var(--shadow-md);
        }

        .verified-badge {
            position: absolute;
            bottom: -4px;
            right: -4px;
            background: var(--primary-color);
            border-radius: 50%;
            padding: 6px;
            border: 3px solid white;
            box-shadow: var(--shadow-sm);
        }

        .verified-badge i {
            color: white;
            font-size: 12px;
        }

        .agent-info h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
           /* margin-bottom: 4px;*/
        }

        .agent-subtitle {
            font-size: 14px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            gap: 6px;
            /*margin-bottom: 4px;*/
        }

        .operating-since {
            font-size: 13px;
            color: var(--text-gray);
            font-weight: 600;
           /* margin-top: 8px;*/
        }

        /* ========================
           OPERATING AREA
        ======================== */
        .operating-area {
            /*background: white;*/
           /* border-radius: 12px;*/
            padding: 7px;
          /*  margin-bottom: 16px;
            box-shadow: var(--shadow-sm);*/
        }

        .section-heading {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            /*margin-bottom: 12px;*/
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .area-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
          /*  margin-bottom: 12px;*/
        }
        .property-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 22px;
    white-space: normal;
    word-break: break-word;
}
        .area-tag {
            /*background: #eff6ff;
            border: 2px solid #bfdbfe;
            padding: 6px 12px;
            border-radius: 8px;*/
            font-size: 13px;
           /* color: #1e40af;*/
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .area-tag:hover {
            background: #dbeafe;
            border-color: var(--primary-color);
        }
        
        .hdds{
            margin-bottom: 2px !important;
        }

        .more-areas-btn {
            background: none;
            border: 2px dashed var(--border-color);
           /* padding: 6px 12px;*/
            border-radius: 8px;
            color: var(--primary-color);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .more-areas-btn:hover {
            border-color: var(--primary-color);
            background: #f0f9ff;
        }

        /* ========================
           STATS SECTION
        ======================== */
        .stats-section {
           /* background: white;
            border-radius: 12px;*/
            /*padding: 7px;*/
            /*margin-bottom: 16px;
            box-shadow: var(--shadow-sm);*/
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
           /* background: var(--bg-light);
            border-radius: 8px;
            margin-bottom: 10px;*/
            transition: all 0.3s;
        }

        .stat-item:hover {
            background: #f0f9ff;
            transform: translateX(4px);
        }

        .stat-item:last-child {
            margin-bottom: 0;
        }

        .stat-icon {
            width: 30px;
            height: 29px;
            background: var(--primary-color);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .stat-icon i {
            color: white;
            font-size: 18px;
        }

        .stat-text {
            flex: 1;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-dark);
        }

        /* ========================
           ACTION BUTTONS
        ======================== */
        .action-buttons {
            display: flex;
            gap: 12px;
          /*  margin-top: 16px;*/
        }

        .btn-action {
            flex: 1;
            padding: 8px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
        }

        .btn-primary-action {
            background: #C41E3A;
            color: white;
            box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
        }

        .btn-primary-action:hover {
            background: var(--secondary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
        }

        .btn-secondary-action {
            background: white;
            color: var(--text-dark);
            border: 2px solid #C41E3A;
        }

        .btn-secondary-action:hover {
            background: var(--bg-light);
            border-color: var(--primary-color);
        }

        

        /* ========================
           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: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content-custom {
            background: white;
            border-radius: 20px;
            max-width: 500px;
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            animation: slideUp 0.3s ease;
            box-shadow: var(--shadow-lg);
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Modal Header */
        .modal-header-custom {
            padding: 20px;
            border-bottom: 2px solid var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            background: white;
            border-radius: 20px 20px 0 0;
            z-index: 10;
        }

        .modal-title-custom {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .close-btn {
            width: 36px;
            height: 36px;
            background: var(--bg-light);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .close-btn:hover {
            background: #fee2e2;
            color: #dc2626;
        }

        /* Modal Body */
        .modal-body-custom {
            padding: 20px;
        }

        /* Area Items */
        .area-item {
            padding: 14px;
            border-radius: 12px;
            margin-bottom: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s;
            border: 2px solid transparent;
        }

        .area-item:hover {
            background: #f0f9ff;
            border-color: #bfdbfe;
        }

        .area-item.selected {
            background: #eff6ff;
            border-color: var(--primary-color);
        }

        .area-item-content {
            display: flex;
            align-items: start;
            gap: 12px;
            flex: 1;
        }

        .area-item-icon {
            width: 24px;
            height: 24px;
            color: var(--text-gray);
            flex-shrink: 0;
        }

        .area-item.selected .area-item-icon {
            color: var(--primary-color);
        }

        .area-item-text h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 2px;
        }

        .area-item.selected .area-item-text h4 {
            color: var(--primary-color);
        }

        .area-item-text p {
            font-size: 13px;
            color: var(--text-gray);
        }

       
        /* ========================
           AGENT INFO IN MODAL
        ======================== */
        .agent-info-modal {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .agent-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid white;
            box-shadow: var(--shadow-md);
        }

        .agent-details h6 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .agent-details p {
            font-size: 13px;
            color: var(--text-gray);
            margin-bottom: 6px;
        }

        .agent-phone {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-color);
        }

        /* ========================
           RESPONSIVE
        ======================== */
        @media (max-width: 768px) {
            .header-btn {
                padding: 6px 12px;
                font-size: 13px;
            }

            .logo {
                font-size: 18px;
            }

          /*  .agent-image {
                width: 80px;
                height: 80px;
            }*/

            .property-card {
                width: 260px;
            }

            .section-title {
                font-size: 18px;
            }

            .slider-arrow {
                width: 36px;
                height: 36px;
            }

            .slider-arrow i {
                font-size: 16px;
            }

            .modal-content-custom {
                max-height: 90vh;
                border-radius: 16px 16px 0 0;
            }

            .modal-overlay {
                align-items: flex-end;
                padding: 0;
            }
        }

        @media (max-width: 576px) {
            .container {
                padding: 0 12px;
            }

            .properties-section {
                padding: 7px 7px;
            }

            .agent-card {
                padding: 5px;
            }

            .stat-item {
                padding: 5px;
            }
        }

        /* ========================
           UTILITIES
        ======================== */
        .text-primary-custom {
            color: var(--primary-color) !important;
        }

        .text-secondary-custom {
            color: var(--secondary-color) !important;
        }

        .bg-gradient {
            background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
        }

        .icon-box {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-light);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--text-gray);
        }
        
        
        
.contact-agent-btn {
    flex-shrink: 0;
    margin-left: auto;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--primary-color, #C41E3A);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.contact-agent-btn:hover {
    background: var(--primary-hover, #bb2d3b);
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .agent-section-inner {
        gap: 0.75rem;
    }
    .agent-pic-wrap {
        width: 56px;
        height: 56px;
    }
    .contact-agent-btn {
        margin-left: auto;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

