/* #RevampBrain1 - Ultra Premium UI */
:root {
    --primary: #1a73e8;
    --primary-light: #f0f7ff;
    --success: #34a853;
    --text-main: #202124;
    --text-sub: #5f6368;
    --card-bg: #ffffff;
    --body-bg: #f8f9fa;
}

body { font-family: 'Inter', 'Segoe UI', sans-serif; background: var(--body-bg); color: var(--text-main); line-height: 1.6; }

.container { max-width: 960px; margin: 0 auto; padding: 25px; }

/* Elegant Breadcrumbs */
.breadcrumb-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 35px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}
.breadcrumb-container a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb-container .sep { color: #ccc; }

/* Premium Card Design */
.listing-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 28px;
    border-radius: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(26, 115, 232, 0.2);
}

/* Modern Business Logo/Initial */
.biz-initial {
    width: 85px; height: 85px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    margin-right: 30px;
    flex-shrink: 0;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

/* Text & Content Fine-Tuning */
.biz-details { flex: 1; }
.badge-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.verified-badge {
    background: #e6f4ea;
    color: #1e8e3e;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-tag { color: #f4b400; font-weight: 700; font-size: 13px; }

.biz-title { margin: 0 0 8px 0; font-size: 1.65rem; line-height: 1.2; }
.biz-title a { text-decoration: none; color: var(--text-main); font-weight: 800; }
.biz-desc { color: var(--text-sub); font-size: 15px; margin: 0; max-width: 90%; }

/* Dynamic Floating Call Button */
/* --- Ultra Modern Call Button --- */
.cta-call {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #34a853 0%, #2d944a 100%);
    color: white !important;
    border-radius: 20px; /* Modern Rounded Square */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 10px 20px rgba(52, 168, 83, 0.3), 
                inset 0 -4px 0 rgba(0,0,0,0.1); /* 3D Depth */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    overflow: hidden;
}

/* Shine Effect on Hover */
.cta-call::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.cta-call:hover::before {
    left: 100%;
}

.cta-call:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 25px rgba(52, 168, 83, 0.4);
    filter: brightness(1.1);
}

/* Soft Pulse Animation */
.cta-call i {
    animation: phone-wiggle 2s infinite;
}

@keyframes phone-wiggle {
    0%, 90% { transform: rotate(0deg); }
    92% { transform: rotate(15deg); }
    94% { transform: rotate(-15deg); }
    96% { transform: rotate(10deg); }
    98% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

/* Button Active State */
.cta-call:active {
    transform: scale(0.95);
    box-shadow: 0 5px 10px rgba(52, 168, 83, 0.2);
}
/* Decorative Element */
.listing-card::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 100px; height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

/* --- Area & Keywords Styling --- */
.top-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.area-tag {
    background: #fff4f4; /* Light Red/Pink */
    color: #d93025; /* Google Map Red */
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.keyword-pill {
    font-size: 11px;
    color: #5f6368;
    background: #f1f3f4;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #e8eaed;
}

.listing-card:hover .keyword-pill {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}
/* Brand Label New Spot Styling */
.brand-label-tag {
    background: #f0f4ff;
    color: #1a73e8;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 4px;
    border: 1px solid rgba(26, 115, 232, 0.1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.brand-label-tag i {
    font-size: 13px;
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 768px) {
    .container { padding: 15px; }
    
    .listing-card {
        padding: 15px; /* Padding kam kar di */
        flex-direction: row; /* Horizontal hi rakhein lekin compact */
        align-items: flex-start;
        gap: 15px;
    }

    .biz-initial {
        width: 50px; height: 50px; /* Chota size mobile ke liye */
        font-size: 20px;
        margin-right: 0;
        border-radius: 12px;
    }

    .biz-title { 
        font-size: 1.2rem; /* Title thora chota */
    }

    .biz-desc {
        font-size: 13px;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 2 lines ke baad "..." aa jayega */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Call button ko mobile par compact karein */
    .cta-call {
        width: 45px;
        height: 45px;
        font-size: 20px;
        border-radius: 12px;
    }

    /* Hide non-essential tags on mobile to save space */
    .verified-badge span { display: none; } /* Sirf icon dikhega */
    .keyword-pill { font-size: 10px; padding: 2px 6px; }
}

@media (max-width: 768px) {
    /* Container ki spacing mazeed kam */
    .container { 
        padding: 10px 12px !important; 
    }

    /* Card Height Fix */
    .listing-card {
        padding: 12px 15px !important; /* Bohot kam padding */
        margin-bottom: 10px;
        min-height: 80px; /* Ek standard height lock kardi */
        gap: 12px;
        align-items: center; /* Vertical center */
        border-radius: 16px;
    }

    /* Logo size mazeed chota */
    .biz-initial {
        width: 50px !important; 
        height: 50px !important;
        font-size: 20px !important;
        margin-right: 0 !important;
        border-radius: 10px;
    }

    /* Title aur Details */
    .biz-details {
        overflow: hidden;
    }

    .biz-title { 
        font-size: 1rem !important; /* Font chota kiya */
        margin-bottom: 2px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Long name ek line mein rahega */
    }
    
    .biz-desc {
        font-size: 11px !important;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* Sakhti se 1 line par rakha */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Meta (Verified/Rating) - Height bachane ke liye display none ya flex */
    .badge-row { margin-bottom: 4px !important; gap: 8px; }
    .verified-badge { padding: 2px 8px; font-size: 9px; }
    .tags-container { display: none; } /* Mobile par tags hide kardiye height bachane ke liye */

    /* Call Button chota aur sleek */
    .cta-call {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        border-radius: 10px;
        box-shadow: 0 5px 10px rgba(52, 168, 83, 0.2);
    }

    /* Decorative element hide karein mobile par */
    .listing-card::after { display: none; }
}