:root {
    --primary-color: #007cff; /* Brand Blue */
    --primary-hover: #0061c7;
    --primary-light: #f0f7ff;
    --emerald-color: #10b981; /* Brand Green */
    --emerald-light: #ecfdf5;
    --warning-color: #eab308; /* Brand Yellow */
    --warning-light: #fef3c7;
    --danger-color: #db2777; /* Brand Pink */
    --danger-light: #fdf2f8;
    --dark-color: #0f172a;
    --dark-light: #1e293b;
    --gray-color: #64748b;
    --gray-light: #f8fafc;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Brand Palette */
    --brand-yellow: #eab308;
    --brand-pink: #db2777;
    --brand-green: #10b981;
    --brand-blue: #007cff;
}

body {
    font-family: var(--font-body);
    background-color: #fcfdfd;
    color: var(--dark-color);
}

.hover-bg-light {
    transition: all 0.15s ease-in-out;
}
.hover-bg-light:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary-color) !important;
}
.hover-text-primary {
    transition: color 0.15s ease-in-out;
}
.hover-text-primary:hover {
    color: var(--primary-color) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 124, 255, 0.2);
}

/* Premium Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0f172a 0%, var(--brand-blue) 100%);
}

.bg-gradient-primary-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border: 1px solid rgba(0, 124, 255, 0.08);
}

.bg-gradient-teal-emerald {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-pink) 50%, var(--brand-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    padding: 8rem 0 6rem 0;
    overflow: hidden;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 124, 255, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-search-box {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

/* Custom Badges */
.badge-verification {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-verification-legal {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(0, 124, 255, 0.2);
}

.badge-verification-builder {
    background-color: var(--emerald-light);
    color: var(--emerald-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-verification-bank {
    background-color: var(--warning-light);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-verification-onground {
    background-color: #f0f7ff;
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.2);
}

/* Custom Buttons */
.btn-premium {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.btn-premium-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
}

.btn-premium-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 0 12px rgba(0, 124, 255, 0.3);
    color: white;
}

.btn-premium-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-premium-outline:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-hover);
}

/* SVG Plot Availability Map Layout */
.svg-layout-container {
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    overflow: auto;
    position: relative;
}

.plot-svg {
    width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
}

.plot-svg polygon {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    stroke-width: 2;
    stroke: #ffffff;
}

.plot-svg polygon.status-available {
    fill: rgba(16, 185, 129, 0.15);
    stroke: var(--emerald-color);
}

.plot-svg polygon.status-available:hover {
    fill: rgba(16, 185, 129, 0.4);
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

.plot-svg polygon.status-booked,
.plot-svg polygon.status-reserved {
    fill: rgba(245, 158, 11, 0.15);
    stroke: var(--warning-color);
}

.plot-svg polygon.status-booked:hover,
.plot-svg polygon.status-reserved:hover {
    fill: rgba(245, 158, 11, 0.4);
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5));
}

.plot-svg polygon.status-sold,
.plot-svg polygon.status-blocked {
    fill: rgba(239, 68, 68, 0.15);
    stroke: var(--danger-color);
}

.plot-svg polygon.status-sold:hover,
.plot-svg polygon.status-blocked:hover {
    fill: rgba(239, 68, 68, 0.4);
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
}

.plot-svg polygon.selected-plot {
    stroke-width: 4;
    stroke: var(--dark-color);
    filter: drop-shadow(0 0 8px rgba(15, 23, 42, 0.3));
}

.plot-svg text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    pointer-events: none;
    paint-order: stroke fill;
    stroke: #ffffff;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plot-svg text.label-available {
    fill: #065f46;
}

.plot-svg text.label-booked,
.plot-svg text.label-reserved {
    fill: #92400e;
}

.plot-svg text.label-sold,
.plot-svg text.label-blocked {
    fill: #991b1b;
}

/* Road Styling in SVG */
.svg-road {
    fill: #e2e8f0;
    stroke: #cbd5e1;
    stroke-dasharray: 8,8;
    stroke-width: 2;
}

.svg-road-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    fill: #64748b;
    letter-spacing: 0.1em;
}

/* CRM Kanban Board */
.kanban-board {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    min-height: 65vh;
}

.kanban-column {
    flex: 0 0 320px;
    background-color: #f1f5f9;
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.kanban-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kanban-column-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-color);
}

.kanban-column-count {
    background-color: #cbd5e1;
    color: var(--dark-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
    min-height: 400px;
}

.kanban-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 124, 255, 0.3);
}

.kanban-card.dragging {
    opacity: 0.5;
    border: 2px dashed var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Navigation */
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar-premium {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--gray-color) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--brand-blue);
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover::after, 
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--dark-color) !important;
}

/* Mega Menu Dropdown Styles */
@media (min-width: 992px) {
    .dropdown-mega {
        position: relative !important;
    }
    .dropdown-mega .dropdown-mega-menu {
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) !important;
        opacity: 0;
        visibility: hidden;
        display: block !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s ease;
    }
    .dropdown-mega:hover .dropdown-mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

.dropdown-mega-item {
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.dropdown-mega-item:hover {
    background-color: #f8fafc !important;
    border-color: rgba(0, 124, 255, 0.08) !important;
    transform: translateY(-1px);
}

/* Offcanvas Drawer Enhancements */
.offcanvas-backdrop.show {
    backdrop-filter: blur(4px);
    background-color: rgba(15, 23, 42, 0.3) !important;
}

.offcanvas-body .navbar-nav .nav-link::after {
    display: none !important;
}

.offcanvas-body .navbar-nav .nav-link.active {
    color: var(--brand-blue) !important;
    font-weight: 700;
}

/* Premium Utility Classes */
.hover-text-primary {
    transition: color 0.2s ease-in-out;
}
.hover-text-primary:hover {
    color: var(--primary-color) !important;
}
.transition-all {
    transition: all 0.2s ease-in-out;
}
.hover-shadow {
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.hover-shadow:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-2px);
}
.hover-scale {
    transition: transform 0.2s ease-in-out;
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* Dual Search Widget Styles */
.dual-search-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 3px 4px 3px 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
    width: 100%;
}

.dual-search-container:focus-within {
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(0, 124, 255, 0.15);
    border-color: var(--brand-blue);
}

.dual-search-location {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 130px;
    flex-shrink: 0;
}

.dual-search-location i.bi-geo-alt {
    color: var(--brand-blue);
    font-size: 0.95rem;
}

.dual-search-location select {
    border: 0;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-color);
    width: 100%;
    cursor: pointer;
    padding: 2px 16px 2px 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.dual-search-location select:focus {
    outline: none;
}

.dual-search-divider {
    color: #e2e8f0;
    margin: 0 8px;
    font-weight: 300;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
}

.dual-search-keyword {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.dual-search-keyword input {
    border: 0;
    background: transparent;
    font-size: 0.8rem;
    width: 100%;
    padding: 4px 8px;
    color: var(--dark-color);
}

.dual-search-keyword input:focus {
    outline: none;
}

.dual-search-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    border: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    flex-shrink: 0;
}

.dual-search-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.dual-search-btn:active {
    transform: scale(0.95);
}

/* Global Teal & Emerald Overrides mapping to Brand Palette */
.text-teal {
    color: var(--brand-blue) !important;
}
.bg-teal-100 {
    background-color: var(--primary-light) !important;
}
.text-teal-800 {
    color: var(--brand-blue) !important;
}
.btn-outline-teal {
    color: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
    background-color: transparent !important;
}
.btn-outline-teal:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}
.bg-teal-600 {
    background-color: var(--brand-blue) !important;
}
.text-emerald {
    color: var(--brand-green) !important;
}
.bg-emerald-100 {
    background-color: var(--emerald-light) !important;
}
.text-emerald-800 {
    color: var(--brand-green) !important;
}

/* Responsive Search Bar Adjustments */
@media (min-width: 992px) and (max-width: 1200px) {
    .dual-search-container {
        padding: 3px 4px 3px 10px !important;
    }
    .dual-search-location {
        min-width: 110px !important;
        gap: 4px !important;
    }
    .dual-search-location select {
        font-size: 0.75rem !important;
    }
    .dual-search-keyword input {
        font-size: 0.75rem !important;
        padding: 4px 4px !important;
    }
    .navbar-nav .nav-link {
        font-size: 0.85rem !important;
        padding: 0.5rem 0.6rem !important;
    }
    .navbar-nav .nav-link::after {
        left: 0.6rem !important;
        right: 0.6rem !important;
    }
}

/* Premium Profile Dropdown Button & Avatar */
.btn-profile-dropdown {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9999px;
    padding: 4px 14px 4px 4px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-color) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.btn-profile-dropdown:hover,
.btn-profile-dropdown[aria-expanded="true"] {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    box-shadow: var(--shadow-sm);
    color: var(--dark-color) !important;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 124, 255, 0.15);
}

.bg-admin-soft {
    background-color: rgba(219, 39, 119, 0.08) !important;
    color: var(--brand-pink) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    border-radius: 6px;
    padding: 0.2em 0.5em !important;
}

.bg-builder-soft {
    background-color: rgba(0, 124, 255, 0.08) !important;
    color: var(--brand-blue) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    border-radius: 6px;
    padding: 0.2em 0.5em !important;
}

.btn-profile-dropdown .bi-chevron-down {
    font-size: 0.75rem;
    color: var(--gray-color);
    transition: transform 0.2s ease;
}

.btn-profile-dropdown[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Modernized Home Page Styling */

/* Hero Split Layout Grid */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left !important;
}

@media (max-width: 991px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center !important;
    }
}

/* Mini Layout Map Preview */
.hero-preview-map {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.mini-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 1rem;
}

.mini-plot-block {
    aspect-ratio: 1.1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    border: 1px solid transparent;
}

.mini-plot-block.available {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--brand-green);
    border-color: rgba(16, 185, 129, 0.2);
}

.mini-plot-block.available:hover {
    background-color: rgba(16, 185, 129, 0.16);
    transform: scale(1.05);
}

.mini-plot-block.booked {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--warning-color);
    border-color: rgba(245, 158, 11, 0.2);
}

.mini-plot-block.sold {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger-color);
    border-color: rgba(239, 68, 68, 0.2);
}

/* Card Image Zoom Container */
.zoom-img-container {
    overflow: hidden;
    position: relative;
}

.zoom-img-container img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .zoom-img-container img {
    transform: scale(1.06);
}

/* Hotspot Card Overlay Customization */
.locality-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.8) 100%) !important;
}

/* Lifestyle Collection Editorial Cards */
.collection-card-premium {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02);
}

.collection-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    border-color: rgba(0, 124, 255, 0.2);
}

/* Custom soft background highlights */
.bg-lake-soft {
    background-color: rgba(0, 124, 255, 0.05) !important;
    border: 1px solid rgba(0, 124, 255, 0.08);
}

.bg-corner-soft {
    background-color: rgba(234, 179, 8, 0.05) !important;
    border: 1px solid rgba(234, 179, 8, 0.08);
}

.bg-approved-soft {
    background-color: rgba(16, 185, 129, 0.05) !important;
    border: 1px solid rgba(16, 185, 129, 0.08);
}

.icon-box-premium {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Soft transition arrows */
.btn-arrow-transition {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-arrow-transition i {
    transition: transform 0.2s ease;
}

.btn-arrow-transition:hover i {
    transform: translateX(4px);
}

/* Project Type Badges */
.badge-project-type {
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-type-plots {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(0, 124, 255, 0.15);
}

.badge-type-gated_plots {
    background-color: var(--emerald-light);
    color: var(--emerald-color);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.badge-type-villa_plots {
    background-color: var(--danger-light);
    color: var(--danger-color);
    border: 1px solid rgba(219, 39, 119, 0.15);
}

.badge-type-gated_villa_plots {
    background-color: var(--warning-light);
    color: #b45309;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

/* Universal Header Search Bar Styles */
.universal-search-bar-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.universal-search-bar-container:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.universal-search-bar-container:focus-within {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08), 0 0 0 3px rgba(0, 124, 255, 0.15);
    border-color: var(--brand-blue);
}

.search-column {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 110px;
    padding: 6px 14px;
    border-radius: 24px;
    transition: background-color 0.2s ease-in-out;
}

.search-column:hover {
    background-color: #f8fafc;
}

.search-column.dropdown {
    cursor: pointer;
}

.search-column-trigger {
    width: 100%;
    cursor: pointer;
}

.search-column-icon {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.search-column-text {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.search-column-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.search-column-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.search-column-select {
    border: 0;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-column-divider {
    width: 1px;
    height: 32px;
    background-color: #e2e8f0;
    margin: 0 12px;
    flex-shrink: 0;
}

.search-plots-btn {
    border-radius: 24px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0061c7 100%);
    border: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.25s ease-in-out;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 124, 255, 0.15);
}

.search-plots-btn:hover {
    background: linear-gradient(135deg, #0061c7 0%, var(--primary-hover) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 124, 255, 0.25);
}

.search-plots-btn:active {
    transform: translateY(0);
}

/* Autocomplete CSS */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    max-height: 220px;
    overflow-y: auto;
    z-index: 1050;
    margin-top: 4px;
    min-width: 320px;
}

.autocomplete-suggestion {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.highlighted {
    background-color: #f1f5f9;
}

.autocomplete-suggestion strong {
    color: #0f172a;
}

.autocomplete-suggestion .builder-label {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.autocomplete-no-results {
    padding: 12px 14px;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    background: #f8fafc;
}

/* Custom Search Input Column Style */
.search-column-input {
    border: 0;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
    outline: none;
    padding: 0;
}
.search-column-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

/* Redesigned Double Navigation Header Custom CSS */

/* 1. Dark Top Bar */
.top-utility-bar-dark {
    background-color: #0b0f19 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    font-weight: 500;
    position: relative;
    z-index: 1040;
}
.top-utility-bar-dark .dropdown-menu {
    z-index: 1050 !important;
}
.top-utility-bar-dark .dropdown-menu a.dropdown-item {
    color: #334155 !important;
    transition: all 0.15s ease-in-out;
}
.top-utility-bar-dark .dropdown-menu a.dropdown-item:hover {
    color: #0f172a !important;
    background-color: #f1f5f9 !important;
}
.top-utility-bar-dark a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}
.top-utility-bar-dark a:hover {
    color: #ffffff !important;
}
.top-utility-bar-dark .nav-link-item {
    font-weight: 600;
}
.top-utility-bar-dark .nav-link-item.active {
    color: #ff477e !important; /* Pink brand accent for active page */
}

/* 2. Main Navbar Redesign */
.navbar-premium-white {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Stacked Logo + City Selector */
.logo-city-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-stacked-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.brand-title-nav {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.city-selector-nav {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f43f5e !important; /* Rose-500 red/pink location text */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.city-selector-nav:hover {
    opacity: 0.85;
}

/* 3. Compact Search Pill */
.compact-search-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    padding: 4px 4px 4px 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease-in-out;
    width: 100%;
    max-width: 460px;
}
.compact-search-pill:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.compact-search-pill:focus-within {
    border-color: #f43f5e; /* Focus on pink theme border */
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.08), 0 0 0 1px rgba(244, 63, 94, 0.08);
}
.pill-locality-dropdown {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    padding-right: 12px;
}
.pill-locality-trigger {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}
.pill-locality-trigger i.bi-geo-alt-fill {
    color: #f43f5e;
}
.pill-divider {
    width: 1px;
    height: 20px;
    background-color: #cbd5e1;
    margin: 0 12px;
    flex-shrink: 0;
}
.pill-search-input-col {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.pill-search-input-col input {
    border: 0;
    background: transparent;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
    outline: none;
    padding: 0;
}
.pill-search-input-col input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}
.pill-search-btn-pink {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f43f5e; /* Pink brand background */
    border: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.2);
}
.pill-search-btn-pink:hover {
    background-color: #e11d48;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
}
.pill-search-btn-pink:active {
    transform: scale(0.98);
}

/* Locality dropdown menu styling */
.locality-dropdown-menu {
    border-radius: 12px;
    min-width: 280px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}
.locality-search-box {
    padding: 8px 12px;
}
.locality-list-scroll {
    max-height: 200px;
    overflow-y: auto;
}
.locality-item-option {
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}
.locality-item-option:hover {
    background-color: #f8fafc;
    color: #f43f5e;
}
.locality-item-option.active {
    background-color: #fff1f2;
    color: #e11d48;
}

/* 4. Auth & Pink CTA Button */
.nav-link-auth {
    font-weight: 700;
    color: #1e293b !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease-in-out;
}
.nav-link-auth:hover {
    color: #f43f5e !important;
}
.btn-pink-pill {
    background-color: #f43f5e !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.15) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-pink-pill:hover {
    background-color: #e11d48 !important;
    box-shadow: 0 6px 14px rgba(244, 63, 94, 0.25) !important;
    transform: translateY(-1px);
}
.btn-pink-pill:active {
    transform: translateY(0);
}

/* 5. Practo-style Segmented Dropdown Navigation */
.nav-link-segment {
    font-weight: 700;
    color: #1e293b !important;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
    user-select: none;
}
.nav-link-segment:hover {
    color: #f43f5e !important;
}
.segment-dropdown-menu {
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    padding: 8px !important;
    min-width: 240px !important;
    z-index: 1060;
}
.segment-dropdown-item {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.15s ease-in-out !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.segment-dropdown-item:hover {
    background-color: #f8fafc !important;
    color: #f43f5e !important;
}

/* Practo-style Badges */
.practo-badge-new {
    background-color: #1e3a8a !important; /* Dark blue */
    color: #ffffff !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.practo-badge-free {
    background-color: #ea580c !important; /* Orange */
    color: #ffffff !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}





