/* ═══════════════════════════════════════════════════════
   Native Android Material Design Bottom Sheet Modal
   ═══════════════════════════════════════════════════════ */

/* --- Backdrop --- */
.swal2-container.consultation-modal-container {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

/* --- Desktop: centered dialog --- */
.swal2-popup.consultation-modal-popup {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
    border-radius: 28px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08) !important;
    padding: 0 !important;
    overflow: hidden !important;
    max-width: 420px !important;
    border: none !important;
}

/* Hide default SweetAlert2 title & close — we use custom HTML */
.swal2-popup.consultation-modal-popup .swal2-title {
    display: none !important;
}
.swal2-popup.consultation-modal-popup .swal2-close {
    display: none !important;
}
.swal2-popup.consultation-modal-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* --- Mobile: Android bottom-sheet style --- */
@media (max-width: 768px) {
    /* Override SweetAlert2's grid/flex centering */
    .swal2-container.consultation-modal-container,
    .swal2-container.consultation-modal-container.swal2-center,
    .swal2-container.consultation-modal-container.swal2-backdrop-show {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    .swal2-popup.consultation-modal-popup {
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 24px 24px 0 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Pin to absolute bottom */
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        animation: consultation-slide-up 0.35s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    }
    .swal2-popup.consultation-modal-popup.swal2-hide {
        animation: consultation-slide-down 0.25s cubic-bezier(0.4, 0.0, 1, 1) !important;
    }
}

@keyframes consultation-slide-up {
    from { transform: translateY(100%); opacity: 0.5; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes consultation-slide-down {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}

/* --- Bottom Sheet Content Styles --- */
.consult-sheet {
    padding: 0;
    text-align: center;
}

/* Drag handle pill (Android pattern) */
.consult-sheet__handle {
    width: 36px;
    height: 4px;
    background: #dadce0;
    border-radius: 2px;
    margin: 12px auto 0;
}
@media (min-width: 769px) {
    .consult-sheet__handle { display: none; }
}

/* Close button (top right, Material style) */
.consult-sheet__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    z-index: 2;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}
.consult-sheet__close:hover {
    background: linear-gradient(135deg, #0069d9, #004085);
    transform: scale(1.05);
}
.consult-sheet__close:active {
    background: linear-gradient(135deg, #0056b3, #003d80);
    transform: scale(0.95);
}

/* Icon circle */
.consult-sheet__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 16px;
    box-shadow: 0 2px 12px rgba(255, 152, 0, 0.15);
}
.consult-sheet__icon i {
    font-size: 28px;
    color: #E65100;
}

/* Title */
.consult-sheet__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
    padding: 0 24px;
}

/* Subtitle */
.consult-sheet__subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin: 0 0 12px;
    padding: 0 24px;
}

/* Description */
.consult-sheet__desc {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 24px;
    padding: 0 24px;
}

/* Divider */
.consult-sheet__divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 20px 20px;
}

/* Action buttons container */
.consult-sheet__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 24px;
}

/* Material action button base */
.consult-action-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 16px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1px;
    min-height: 56px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}
.consult-action-btn:active {
    transform: scale(0.97);
}

/* Ripple overlay on press */
.consult-action-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.15s ease;
}
.consult-action-btn:active::after {
    background: rgba(255,255,255,0.15);
}

/* Icon circle inside action button */
.consult-action-btn__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Action button text */
.consult-action-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}
.consult-action-btn__label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}
.consult-action-btn__sub {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 400;
    margin-top: 2px;
}

/* Arrow icon */
.consult-action-btn__arrow {
    font-size: 14px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Call button colors */
.consult-btn--call {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(21, 101, 192, 0.3);
}
.consult-btn--call .consult-action-btn__icon {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* WhatsApp button colors */
.consult-btn--whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
}
.consult-btn--whatsapp .consult-action-btn__icon {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* Footer text (small disclaimer) */
.consult-sheet__footer {
    text-align: center;
    font-size: 11.5px;
    color: #9ca3af;
    padding: 0 20px 20px;
    margin: 0;
}
.consult-sheet__footer i {
    margin-right: 4px;
    font-size: 11px;
}

/* Hide floating elements when consultation modal is active */
body.consultation-modal-open .floating-buttons-container,
body.consultation-modal-open .post-ad-wrap,
body.consultation-modal-open .mk-footer-nav {
    display: none !important;
}

/* Small screen tweaks */
@media (max-width: 380px) {
    .consult-sheet__title { font-size: 18px; }
    .consult-sheet__desc  { font-size: 13px; padding: 0 16px; }
    .consult-sheet__actions { padding: 0 16px 20px; }
    .consult-action-btn { padding: 12px 16px; min-height: 52px; }
    .consult-sheet__icon { width: 56px; height: 56px; }
    .consult-sheet__icon i { font-size: 24px; }
}

/* ═══════════════════════════════════════════════════════
   Root Variables & Global Overrides
   ═══════════════════════════════════════════════════════ */

:root {
    --primary-color: #2563eb;
    --accent-color: #dc2626;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
    --border-color: #d1d5db;
    --gradient-primary: linear-gradient(135deg, #007bff, blue);

    /* linear-gradient(135deg, #1d3cca 0%, #2f2fa6 100%) */
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* [NEW] Premium Credai Multi-Badge Style */
.credai-card-badge {
    position: absolute !important;
    left: 8px !important;
    padding: 4px 10px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #ff8a00, #ff512f) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(255, 81, 47, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* [NEW] Premium Eye Icon Design (Circle Style) */
.view-count-new {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #00d2ff !important;
    color: #ffffff !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 210, 255, 0.4);
    z-index: 101 !important;
}

.view-count-badge {
    /* Fallback for components using this class */
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
}

/* Real Estate Header Styles */
.real-estate-header {
    background: var(--gradient-primary);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 9999;
    color: #fff;
    min-height: 80px;
}

.header-wrapper {
    min-height: 90px;
    display: flex;
    align-items: center;
}

.logo-section {
    flex-shrink: 0;
}

.header-right {
    flex-shrink: 0;
}

.main-nav {
    flex: 1;
    min-width: 0;
}

/* Logo */
.header-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
/* Base nav list */
.main-nav .nav-list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Base nav link */
.nav-link {
    position: relative;
    display: inline-block;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 13px;
    border-radius: 25px;
    /* solid background instead of transparent */
    border: 0px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
}

/* Gradient border */
.nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2.5px;
    /* border thickness */
    background: linear-gradient(135deg, #ff4242, #fd5833, #f86c24, #f27e13, #e98f00);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Gradient text */
.nav-link::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4242, #fd5833, #f86c24, #f27e13, #e98f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Hover and active (solid white background + rounded corners stay) */
.nav-link:hover,
.nav-item.active .nav-link {
    background: #fff;
    /* solid white */
    color: #000;
    /* fallback text color when not gradient */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Show gradient border and text on hover/active */
.nav-link:hover::before,
.nav-item.active .nav-link::before,
.nav-link:hover::after,
.nav-item.active .nav-link::after {
    opacity: 1;
}

/* Disable gradient text for post-link */
.post-link::after {
    display: none;
}

/* Red text on hover for post-link */
.post-link:hover {
    color: #ff4242;
}

/* Special styling for Virtual Site Visit nav link */
.virtual-visit .nav-link {
    padding: 10px 10px;
    background: linear-gradient(135deg, #ff4242, #fd5833, #f86c24, #f27e13, #e98f00);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 66, 66, 0.3);
    transform: translateY(-2px);
    border: 2px solid white;
}

.virtual-visit .nav-link::before {
    opacity: 1;
}

.virtual-visit .nav-link::after {
    display: none;
}

.virtual-visit .nav-link:hover {
    background: linear-gradient(135deg, #e98f00, #f27e13, #f86c24, #fd5833, #ff4242);
    color: #fff !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 66, 66, 0.5);
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(233, 143, 0, 0.35);
    /* initial glassy background */
    border-radius: 50px;
    color: black;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    z-index: 0;
    display: inline-block;
    width: 200px;
}

.location-btn i {


    color: red !important;
}

/* Gradient text pseudo-element */
.location-btn::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4242 0%, #fd5833 25%, #f86c24 50%, #f27e13 75%, #e98f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Gradient border pseudo-element using mask */
.location-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 2px;
    /* thickness of border */
    background: linear-gradient(135deg, #ff4242 0%, #fd5833 25%, #f86c24 50%, #f27e13 75%, #e98f00 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Hover state: white background, show gradient text and border */
.location-btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(233, 143, 0, 0.35);
}

.location-btn:hover::after {
    opacity: 1;
    /* show gradient text */
}

.location-btn:hover::before {
    opacity: 1;
    /* show gradient border */
}

.location-btn span {
    white-space: nowrap;
}

/* Icon styles */
.location-btn i {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.location-btn:hover i {
    color: transparent;
    background: linear-gradient(135deg, #ff4242 0%, #fd5833 25%, #f86c24 50%, #f27e13 75%, #e98f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(15deg);
}


/* User Account */
.user-account {
    position: relative;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.account-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.account-btn:hover::before {
    left: 100%;
}



.login-btn {
    background: linear-gradient(135deg, #ff4242 0%, #fd5833 25%, #f86c24 50%, #f27e13 75%, #e98f00 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 10px 20px !important;
    font-size: 14px !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 66, 66, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.login-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transition: all 0.6s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 66, 66, 0.6);
    color: #fff;
}

.account-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.account-btn img {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.account-btn:hover img {
    border-color: var(--accent-color);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Login Button */


/* Dropdown Menu */
.dropdown-menu {
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-top: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    color: #fff;
}

.dropdown-item {
    padding: 12px 18px;
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 4px;
}

.dropdown-item:hover {
    background: var(--glass-bg);
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}

/* Show/hide headers based on screen size */
@media (min-width: 769px) {
    .for-smallscreens-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .for-smallscreens-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .for-largescreens-header {
        display: none;
    }
}

/* Zoom mobile adjustments */
.zoom-mobile .for-largescreens-header {
    display: none;
}

.zoom-mobile .for-smallscreens-header {
    display: block;
}

/* ═══════════════════════════════════════════════════════
   Mobile Footer Nav – Premium White + Blue Theme (Flat Bottom)
   ═══════════════════════════════════════════════════════ */

.mk-footer-nav {
    position: fixed;
    bottom: 0 !important;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff !important;
    border-top: 2px solid #2563eb !important;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1200;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
    padding: 0 10px;
}

.mk-footer-nav .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #94a3b8;
    text-decoration: none;
    gap: 3px;
    padding: 6px 0;
    transition: all 0.2s ease;
    flex: 1;
}

.mk-footer-nav .footer-item i {
    font-size: 20px;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.mk-footer-nav .footer-item span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Active state – primary blue */
.mk-footer-nav .footer-item.active {
    color: #2563eb !important;
}

.mk-footer-nav .footer-item.active i {
    color: #2563eb !important;
    -webkit-text-fill-color: #2563eb !important;
    -webkit-text-stroke: 0 !important;
    background: none !important;
}

/* Highlight Post Ad Button (Elevated Circle with Gradient Border) */
.mk-footer-nav .post-ad-highlight {
    position: relative;
}

.mk-footer-nav .post-ad-highlight .post-icon-wrapper {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 50%; /* Circle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px; /* Elevate above the bar */
    margin-bottom: 4px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15), 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    transition: transform 0.2s ease;
}

/* The gradient border */
.mk-footer-nav .post-ad-highlight .post-icon-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%; /* Match circle shape */
    padding: 3px; /* Border thickness */
    background: linear-gradient(135deg, #2563eb 0%, #10b981 80%, #059669 100%); /* Blue to strong Green */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.mk-footer-nav .post-ad-highlight:hover .post-icon-wrapper {
    transform: translateY(-3px) scale(1.05);
}

.mk-footer-nav .post-ad-highlight .post-icon-wrapper i {
    width: auto;
    height: auto;
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb !important;
    font-size: 22px !important;
    -webkit-text-fill-color: #2563eb !important;
    margin: 0;
}

.mk-footer-nav .post-ad-highlight span {
    color: #1e293b;
    font-weight: 700;
    font-size: 11px;
}

/* Hide footer on desktop */
@media (min-width: 768px) {
    .mk-footer-nav {
        display: none;
    }
}

/* Location Modal Styles */
.search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    margin: 20px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    margin: 0 10px;
    font-size: 14px;
}

.search-box i {
    color: #555;
    font-size: 15px;
}

.detect-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #007bff;
    cursor: pointer;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.detect-location i {
    font-size: 16px;
}

.detect-location.loading {
    color: #888;
    cursor: not-allowed;
    pointer-events: none;
}

/* Modal z-index fix */
.modal {
    z-index: 1055;
}

.modal-backdrop {
    z-index: 1050;
}

/* Autocomplete dropdown z-index fix */
.ui-autocomplete {
    z-index: 1060 !important;
    background: white !important;
    border: 1px solid #ccc !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

.ui-menu-item {
    padding: 5px 10px !important;
    cursor: pointer !important;
}

.ui-menu-item:hover {
    background: #f8f9fa !important;
}

/* Dropdown fixes */
.dropdown-menu {
    z-index: 1050 !important;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* User dropdown menu styles */
.user-dropdown-menu {
    background: linear-gradient(135deg, #007bff, blue) !important;
}

.user-dropdown-menu .dropdown-item {
    color: orange !important;
}

.user-dropdown-menu .dropdown-item:hover {
    background: white !important;
    color: orange !important;
}

/* ═══════════════════════════════════════════════════════
   Mobile Sidebar Styles
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .mobile-toggle {
        /* background: linear-gradient(135deg, #ff4242 0%, #fd5833 25%, #f86c24 50%, #f27e13 75%, #e98f00 100%); */
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-toggle:hover {
        transform: scale(1.1);
    }


    .gradient-icon {
        background: linear-gradient(135deg, #ff4242 0%, #fd5833 25%, #f86c24 50%, #f27e13 75%, #e98f00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        /* For some browsers */
        color: transparent;
        /* Fallback */
    }

    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        z-index: 11000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-sidebar.open {
        left: 0;
    }

    .sidebar-content {
        padding: 0;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .sidebar-header {
        background: linear-gradient(135deg, #007bff 0%, blue 100%);
        color: #fff;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        height: 120px;
        flex-shrink: 0;
    }

    .sidebar-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        /* Adjusted padding */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* height: 95px; removed to auto-fit content */
    }

    .sidebar-logo {

        height: 55px !important;
    }

    .sidebar-logo img {
        height: 35px;
        /* Slightly smaller logo */
        width: auto;
    }

    .business-name {
        font-size: 13px;
        font-weight: 600;
        color: #fff;
        margin-top: 4px;
        /* Reduced margin */
        text-align: center;
        opacity: 0.9;
    }

    .sidebar-close {
        cursor: pointer;
        font-size: 18px;
        color: #fff;
        transition: all 0.3s ease;
        padding: 5px;
        border-radius: 50%;
    }

    .sidebar-close:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .sidebar-user-info {
        padding: 10px 20px;
        /* Reduced padding */
        background: rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }

    .user-name {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 2px;
        color: #fff;
    }

    .website-title {
        font-size: 13px;
        opacity: 0.9;
        font-weight: bold;
        color: #fff;
    }

    .sidebar-nav {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
    }

    .sidebar-nav li {
        margin: 0;
        position: relative;
    }

    .sidebar-nav a {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        text-decoration: none;
        color: #374151;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        /* border-bottom: 1px solid #e5e7eb; */
        position: relative;
        border-radius: 8px;
        margin: 4px 8px;
    }

    .sidebar-nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(135deg, #007bff 0%, blue 100%);
        transition: width 0.3s ease;
        z-index: 1;
        border-radius: 8px;
    }

    .sidebar-nav a:hover::before {
        width: 100%;
    }

    .sidebar-nav a:hover {
        background: linear-gradient(135deg, #007bff 0%, blue 100%);
        color: #fff;
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .sidebar-nav a:hover i {
        color: #fff;
    }

    .sidebar-nav a i {
        margin-right: 15px;
        width: 20px;
        text-align: center;
        font-size: 18px;
        position: relative;
        z-index: 2;
        color: #6b7280;
        transition: color 0.3s ease;
    }

    .sidebar-nav a:hover i {
        color: #fff;
    }

    .sidebar-nav a span {
        flex: 1;
        position: relative;
        z-index: 2;
    }

    .sidebar-nav a.highlight-visit {
        background: linear-gradient(135deg, #ff4242 0%, #fd5833 25%, #f86c24 50%, #f27e13 75%, #e98f00 100%);
        color: #fff !important;
        border: 2px solid rgba(255, 255, 255, 0.4);
        margin: 10px 8px;
        box-shadow: 0 4px 15px rgba(255, 66, 66, 0.4);
        animation: pulse-border 2s infinite;
    }

    .sidebar-nav a.highlight-visit:hover::before {
        display: none;
    }

    .sidebar-nav a.highlight-visit i {
        color: #fff !important;
    }

    @keyframes pulse-border {
        0% { opacity: 0.7; }
        70% { opacity: 1; }
        100% { opacity: 0.7; }
    }
}

/* ═══════════════════════════════════════════════════════
   Mobile Footer (alternative)
   ═══════════════════════════════════════════════════════ */

.mk-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 8px 0;
    z-index: 9999;
}

.footer-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #777;
    text-decoration: none;
}

.footer-item i {
    font-size: 18px;
    display: block;
    margin-bottom: 3px;
}

.footer-item.active,
.footer-item.active i {
    color: #007bff;
    /* active blue */
    font-weight: bold;
}

/* ✅ Post Ad Button Right side */
.post-ad-wrap {
    position: absolute;
    right: 10px;
    bottom: 72px;
    font-weight: bold;
}

.post-ad-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 4px solid transparent !important;
    border-radius: 25px;
    padding: 8px 14px;
    font-size: 14px;

    text-decoration: none;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(90deg, #f9a825, #1976d2) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    font-weight: bold;
}

.post-ad-btn i {
    font-size: 16px;
    font-weight: bold;
}

.instagram {
    background: linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%
        );
}

.post-ad-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 4px solid transparent !important;
    border-radius: 25px;
    padding: 8px 14px;
    font-size: 14px;
    text-decoration: none;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(90deg, #f9a825, #1976d2) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    font-weight: bold;
}

.post-ad-btn i {
    font-size: 16px;
    font-weight: bold;
}

/* ═══════════════════════════════════════════════════════
   Banner Carousel Styles
   ═══════════════════════════════════════════════════════ */

/* Basic styling for the carousel section */
.banner-section-main {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-container {
    width: 100%;
}

.banner-slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* Adjust height as needed */
}

.banner-slide-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Customizing Owl Carousel navigation */
.custom-banner-carousel .owl-nav button.owl-prev,
.custom-banner-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.custom-banner-carousel .owl-nav button.owl-prev {
    left: 20px;
}

.custom-banner-carousel .owl-nav button.owl-next {
    right: 20px;
}

.custom-banner-carousel .owl-nav button.owl-prev:hover,
.custom-banner-carousel .owl-nav button.owl-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Hide Owl Carousel dots */
.custom-banner-carousel .owl-dots,
.custom-banner-carousel .owl-dot,
.custom-banner-carousel .owl-dot span,
.custom-banner-carousel .owl-dot.active span {
    display: none !important;
}

.gradient-icon {
    font-size: 19px;
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* For Firefox */
    display: inline-block;
}


.virtual-visit.active .nav-link {
    color: black !important;
    font-weight: bold;
}

/* ═══════════════════════════════════════════════════════
   Top Bar Styles (Desktop Header)
   ═══════════════════════════════════════════════════════ */

.re-header-top {
    background: linear-gradient(135deg, #2a8eff, #2a8eff);
    color: #fff;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.re-header-top a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.re-header-top a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.re-header-top marquee span {
    white-space: nowrap;
}

.re-header-top .contact-info div {
    white-space: nowrap;
}
