html {
    margin-top: 0px !important;
}

body {
    top: 0px !important;
    position: static !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}

:root {
    --primary-color: #3E16D3;
    --primary-gradient: linear-gradient(90deg, #3E16D3 0%, #5E26E9 100%);
    --bg-light: #F5F5F7;
    --text-dark: #202124;
    --text-muted: #5F6368;
    --white: #FFFFFF;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    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;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--primary-color);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #f1f3f8;
    /* Darker off-white for better contrast */
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid #EDEDED;
    color: var(--text-dark);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.location-selector {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Global Top Nav Buttons */
.top-nav-buttons {
    display: flex;
    gap: clamp(8px, 1.5vw, 20px);
    flex-wrap: nowrap;
    justify-content: center;
    flex: 1;
}

.top-nav-btn {
    display: flex;
    align-items: center;
    height: 55px;
    flex: 1;
    min-width: 0;
    /* Allow shrinking */
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    .top-nav-btn {
        height: 45px;
        font-size: 11px;
    }

    .top-nav-btn i {
        width: 45px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .header-action-grid {
        background: #ffffff;
        padding: 6px 0;
        border-bottom: 1px solid #f1f5f9;
        margin-top: -1px;
    }

    .top-nav-buttons-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 3px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .top-nav-buttons-row .top-nav-btn {
        flex: 1 !important;
        height: 40px !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        min-width: 0 !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
    }

    .top-nav-buttons-row .top-nav-btn i {
        width: 28px !important;
        height: 100% !important;
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .top-nav-buttons-row .top-nav-btn span {
        flex: 1 !important;
        font-size: 7.5px !important;
        font-weight: 800 !important;
        text-align: center !important;
        padding-right: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        letter-spacing: -0.2px !important;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

.top-nav-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Diagonal split background for each button */
.btn-laptop-rent {
    background: linear-gradient(115deg, #e65100 40%, #ff9800 40%);
}

.btn-laptop-sale {
    background: linear-gradient(115deg, #0d47a1 40%, #2196f3 40%);
}

.btn-laptop-buy {
    background: linear-gradient(115deg, #1b5e20 40%, #4caf50 40%);
}

.btn-laptop-services {
    background: linear-gradient(115deg, #4a148c 40%, #9c27b0 40%);
}

/* Icon Styling (Left Section) */
.top-nav-btn i {
    width: 75px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.15);
    /* Overlay to darken the left section slightly */
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Text Styling (Right Section) */
.top-nav-btn span {
    flex: 1;
    text-align: center;
    padding-right: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Diagonal Flare Effect */
.top-nav-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
    pointer-events: none;
}

.top-nav-btn:hover::after {
    left: 100%;
}

.top-nav-btn::before {
    display: none;
}

.top-nav-btn:hover i {
    transform: scale(1.1);
}

.main-nav {
    padding: 1px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
    background: white;
    padding: 2px;
    border: 1px solid #002D72;
    border-radius: 4px;
    height: 52px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
        padding: 1px;
    }
}

.search-bar {
    flex: 1;
    max-width: 700px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    background: var(--white);
    color: var(--text-dark);
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.btn-resend {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-resend:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Notification System Styles */
.notification-wrapper {
    cursor: pointer;
}

.notification-wrapper i {
    transition: transform 0.2s ease;
}

.notification-wrapper:hover i {
    transform: scale(1.1);
}

.notif-badge {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.notif-dropdown {
    animation: slideDown 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: top right;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notif-item {
    cursor: pointer;
}

.notif-item strong {
    color: var(--primary-color);
}

/* Notification and Location Dropdown Global Styles */
.notif-dropdown,
.location-dropdown {
    background: white;
    z-index: 9999;
}

.btn-login {
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-nav {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
}

.secondary-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.secondary-nav ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.secondary-nav ul li a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--white);
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 400px;
}

@media (max-width: 768px) {
    .hero-content {
        min-height: 220px;
    }
}

.hero-text {
    flex: 1;
    z-index: 2;
    padding-right: 50px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.btn-white-pill {
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: box-shadow 0.2s;
}

.hero-image-side {
    position: absolute;
    right: -100px;
    top: 0;
    bottom: 0;
    width: 65%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    border-top-left-radius: 100% 50%;
    border-bottom-left-radius: 100% 50%;
}

/* Full Background Hero Variation */
.hero-full-bg {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-full-bg {
        padding: 30px 0;
        min-height: 220px;
    }

    .hero-full-bg h1 {
        font-size: 32px !important;
        line-height: 1.2;
    }
}

.hero-full-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-full-bg .container {
    position: relative;
    z-index: 2;
}

.hero-full-bg h1,
.hero-full-bg p {
    color: var(--white) !important;
}

.hero-full-bg .hero-text {
    max-width: 600px;
    padding-right: 0;
}

/* Car Listing Grid - Premium Refinement */
.listing-section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .car-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 800px) {
    .car-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 580px) {
    .car-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    /* Hide 7th and 8th property on mobile to keep it 3x2 */
    .car-card:nth-child(n+7) {
        display: none;
    }

    .car-image {
        height: 100px;
    }

    .car-content {
        padding: 10px 6px;
    }

    .car-title {
        font-size: 10px;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .property-meta {
        font-size: 8px;
        margin-bottom: 8px;
    }

    .car-specs {
        display: none;
        /* Hide specs on 3-column mobile to save space */
    }

    .price-value {
        font-size: 13px;
    }

    .price-label {
        font-size: 8px;
    }

    .car-price .spec-tag {
        display: none;
        /* Hide type tag on mobile 3-column */
    }

    .car-image .badge {
        padding: 4px 8px;
        font-size: 7px;
        top: 8px;
        left: 8px;
    }
}

.btn-see-all-small {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #f0f2f5;
    color: var(--primary-color) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-see-all-small:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 22, 211, 0.2);
}

@media (max-width: 480px) {
    .btn-see-all-small {
        padding: 4px 12px;
        font-size: 11px;
    }
}

.btn-see-all {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(62, 22, 211, 0.2);
}

.btn-see-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(62, 22, 211, 0.3);
    background: #2e10a3;
}

/* Category Section Styles */
.category-section {
    padding: 80px 0;
    background: #fdfdff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(62, 22, 211, 0.15);
}

.category-card i {
    font-size: 28px;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.category-card:hover i {
    color: white;
}

.category-card h4 {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 15px;
    }

    .category-card i {
        font-size: 24px;
    }

    .category-card h4 {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .listing-section,
    .category-section {
        padding: 40px 0;
    }
}


.car-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 22, 211, 0.12);
}

.car-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-image .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-rent {
    background: rgba(245, 124, 0, 0.85);
}

.badge-buy {
    background: rgba(56, 142, 60, 0.85);
}

.car-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.3;
}

.property-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.car-specs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec-tag {
    background: #f4f6fc;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #5c6bc0;
    border: 1px solid rgba(92, 107, 192, 0.05);
}

.car-price {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
}

.price-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--white);
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

/* Mobile Specifics */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 10px 0;
}

.bottom-nav-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    text-align: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0 20px;
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
}

/* Quick Action Bar - Modern Premium Style */
.action-bar-section {
    position: relative;
    z-index: 20;
    margin-top: -70px;
}

.quick-action-bar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 0;
    border: none;
    position: relative;
}

.action-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 35px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 5px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
}

.action-grid::-webkit-scrollbar {
    display: none;
}

/* Nav Scroll Buttons - Integrated Glass Style */
.nav-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1e293b;
}

.nav-scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(62, 22, 211, 0.2);
    border-color: var(--primary-color);
}

.nav-scroll-btn.btn-left {
    left: -18px;
}

.nav-scroll-btn.btn-right {
    right: -18px;
}

/* Hide arrows on mobile for swipe ease */
@media (max-width: 768px) {
    .action-bar-section {
        margin-top: -50px;
    }

    .quick-action-bar {
        border-radius: 20px;
        padding: 15px 20px;
    }

    .action-grid {
        gap: 25px;
    }

    .nav-scroll-btn {
        display: none !important;
    }
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 100px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 8px;
}

.action-icon {
    width: 58px;
    height: 58px;
    background: #f1f5f9;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

/* Sophisticated Soft Backgrounds for Icons */
.action-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: currentColor;
    opacity: 0.1;
    z-index: -1;
}

.action-item span {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
    transition: all 0.3s;
}

.action-item:hover {
    transform: translateY(-5px);
}

.action-item:hover .action-icon {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.action-item:hover span {
    color: #1e293b;
}

/* Active State - Premium Gradient Glow */
.action-item.active .action-icon {
    background: white;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border: 2px solid currentColor;
}

.action-item.active span {
    color: #1e293b;
    font-weight: 800;
}

.item-home {
    color: #ff9800;
}

.item-buy {
    color: #4caf50;
}

.item-rent {
    color: #f57c00;
}

/* New Rent Color */
.item-sell {
    color: #2196f3;
}

.item-loan {
    color: #ffd700;
}

.item-challan {
    color: #f44336;
}

.item-check {
    color: #607d8b;
}

.item-insure {
    color: #9c27b0;
}

.item-flat {
    color: #2196f3;
}

.item-room {
    color: #009688;
}

.item-pg {
    color: #673ab7;
}

.item-shop {
    color: #ff9800;
}

.item-office {
    color: #03a9f4;
}

.item-comm {
    color: #f43f5e;
}

.item-wh {
    color: #4338ca;
}

.item-land {
    color: #2e7d32;
}

.item-resale {
    color: #ffbf00;
}

.item-all {
    color: #3E16D3;
}

.item-electric {
    color: #ffca28;
}

.item-carpenter {
    color: #8d6e63;
}

.item-painter {
    color: #ec407a;
}

.item-mason {
    color: #78909c;
}

.item-interior {
    color: #7e57c2;
}

.item-arch {
    color: #26a69a;
}

.item-clean {
    color: #42a5f5;
}

.item-repair {
    color: #66bb6a;
}

.item-ac {
    color: #29b6f6;
}

.item-pest {
    color: #d4e157;
}

.item-security {
    color: #5c6bc0;
}

.item-garden {
    color: #66bb6a;
}

.item-moves {
    color: #ffa726;
}

.item-driver {
    color: #26c6da;
}

.item-labor {
    color: #ff7043;
}

.action-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.action-item:hover .action-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.action-item:hover .action-icon::before {
    opacity: 0.15;
}

@media (max-width: 768px) {
    .action-bar-section {
        margin-top: -40px;
    }

    /* Scroll Indicators - Premium Fading Edges */
    .quick-action-bar::before,
    .quick-action-bar::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        z-index: 2;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .quick-action-bar::before {
        left: 0;
        background: linear-gradient(to right, #ffffff, transparent);
    }

    .quick-action-bar::after {
        right: 0;
        background: linear-gradient(to left, #ffffff, transparent);
    }

    .action-grid {
        justify-content: flex-start;
        padding: 5px 25px;
        /* Added horizontal padding for the fade */
        gap: 10px;
        /* Tighter gap to fit more items */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .action-item {
        min-width: 72px;
        /* Shrinking to fit ~4.5 - 5 items */
        gap: 8px;
        padding: 5px;
        scroll-snap-align: start;
    }

    .action-icon {
        width: 44px;
        /* Smaller icons */
        height: 44px;
        font-size: 18px;
        border-radius: 14px;
    }

    .action-item span {
        font-size: 11px;
        letter-spacing: -0.1px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: center;
    }

    /* Mobile 3-Column Property Grid - Ultra High Density */
    .car-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 0 4px;
    }

    .car-card {
        border-radius: 8px;
    }

    .car-image {
        height: 90px;
    }

    .car-image .badge {
        top: 4px;
        left: 4px;
        padding: 2px 4px;
        font-size: 6px;
    }

    .car-content {
        padding: 6px;
    }

    .car-title {
        font-size: 10px;
        margin-bottom: 2px;
        line-height: 1.1;
        font-weight: 700;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .property-meta {
        font-size: 8px;
        margin-bottom: 4px;
        gap: 1px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .car-specs {
        display: none;
        /* Hide specs on 3-col mobile to reduce clutter */
    }

    .price-value {
        font-size: 11px;
    }

    .price-label {
        font-size: 7px;
    }

    .car-price {
        padding-top: 5px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .car-price .spec-tag {
        display: none;
        /* Hide property type tag on 3-col mobile */
    }
}

.desktop-location {
    display: none;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.desktop-location:hover {
    background: rgba(255, 255, 255, 0.2);
}



.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 3001;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.15);
}

.sidebar-nav.active {
    transform: translateX(0);
}

.sidebar-location-box {
    padding: 15px 25px;
    background: #ffffff;
    border-bottom: 8px solid #f8f9fa;
    /* Section Separator */
}

.sidebar-location-box .location-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f1f3f8;
    padding: 12px 18px;
    border-radius: 14px;
    width: 100%;
}

.sidebar-location-box .location-selector img {
    width: 24px;
    height: auto;
    border-radius: 4px;
}

.sidebar-location-box .location-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-location-box .location-info .label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.sidebar-location-box .location-info .city {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-location-box .location-info .city i {
    font-size: 10px;
    margin-left: 5px;
    color: var(--primary-color);
}

.sidebar-user-profile {
    background: var(--primary-gradient);
    padding: 30px 25px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-info .welcome {
    font-size: 12px;
    opacity: 0.8;
    display: block;
}

.profile-info .action {
    font-size: 16px;
    font-weight: 700;
}

.sidebar-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fc;
}

.sidebar-header .logo {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 800;
}

.sidebar-content {
    padding: 10px 0;
    overflow-y: auto;
    flex: 1;
}

/* Sidebar Quick Actions Grid */
.sidebar-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 15px;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.sidebar-quick-grid .sidebar-link {
    flex-direction: column;
    padding: 12px 0;
    gap: 8px;
    border-radius: 12px;
}

.sidebar-quick-grid .sidebar-link:hover {
    padding-left: 0;
    background: #f8f9ff;
}

.sidebar-quick-grid .sidebar-link span {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-link:hover {
    background: #f8f9ff;
    padding-left: 30px;
    /* Subtle push effect */
}

.sidebar-link i:first-of-type {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
    background: #f1f3f8;
    color: #4B5563;
}

/* Unique Theme Colors */
.theme-rent i:first-of-type {
    background: #fff4e5;
    color: #ff9800;
}

.theme-sale i:first-of-type {
    background: #e3f2fd;
    color: #2196f3;
}

.theme-buy i:first-of-type {
    background: #e8f5e9;
    color: #4caf50;
}

.theme-repair i:first-of-type {
    background: #f3e5f5;
    color: #9c27b0;
}

.theme-loan i:first-of-type {
    background: #fce4ec;
    color: #e91e63;
}

.theme-challan i:first-of-type {
    background: #eceff1;
    color: #607d8b;
}

.theme-insurance i:first-of-type {
    background: #e0f7fa;
    color: #00bcd4;
}

.theme-auto i:first-of-type {
    background: #fffde7;
    color: #fbc02d;
}

.theme-news i:first-of-type {
    background: #efebe9;
    color: #795548;
}

.sidebar-link:hover i:first-of-type {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-chevron {
    margin-left: auto;
    font-size: 10px;
    color: #ccc;
    transition: transform 0.3s;
}

.sidebar-link:hover .sidebar-chevron {
    color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar-section-title {
    padding: 20px 25px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.sidebar-cta {
    padding: 20px 25px;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.btn-sidebar-primary {
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(62, 22, 211, 0.2);
}

.sidebar-footer {
    padding: 20px 25px;
    background: #f8f9fa;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 18px;
}

.legal-links {
    font-size: 11px;
    color: var(--text-muted);
}

.desktop-location .preselected {
    font-weight: 700;
}

.desktop-location .divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
}

.desktop-location .selector-text {
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: -1;
        /* Move to start of row */
    }

    .nav-wrapper {
        justify-content: flex-start;
        gap: 15px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-actions {
        display: flex;
        gap: 10px;
    }

    .nav-actions .btn-resend,
    .nav-actions .btn-login,
    .nav-actions .user-pill {
        display: none;
    }

    .nav-actions .notification-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin-right: 5px;
    }

    .top-bar {
        display: none;
    }

    .top-bar-inner {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 5px;
        /* Tiny space for thumb scrolling */
    }

    .top-bar-inner::-webkit-scrollbar {
        display: none;
    }

    .hero {
        padding-bottom: 20px;
    }

    .hero-content {
        flex-direction: column;
        min-height: auto;
        padding-top: 40px;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-image-side {
        position: relative;
        right: 0;
        width: 100%;
        height: 250px;
        mask-image: none;
        -webkit-mask-image: none;
        border-radius: var(--border-radius);
    }

    .secondary-nav {
        display: none;
        /* Move to horizontal scroll or main menu */
    }

    .search-bar {
        display: none;
    }

    .nav-wrapper {
        flex-wrap: wrap;
    }

    .bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 70px;
        /* Space for bottom nav */
    }
}

@media (min-width: 769px) {
    .desktop-location {
        display: flex;
    }

    .top-bar {
        display: block;
        /* Show top bar for desktop global nav */
        padding: 5px 0;
    }

    .nav-scroll-btn {
        display: flex;
        /* Show only on Desktop */
    }

    /* Keep grid centered if it doesn't overflow */
    .action-grid {
        justify-content: center;
    }

    /* Hide Mobile Sidebar Elements on Desktop */
    .sidebar-nav,
    .sidebar-overlay,
    .menu-toggle {
        display: none !important;
    }
}

/* Property Details Page Styles */
.details-page {
    padding-top: 140px;
    padding-bottom: 80px;
}

.details-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    height: 500px;
    margin-bottom: 40px;
    border-radius: 30px;
    overflow: hidden;
}

.gallery-main {
    height: 100%;
    position: relative;
}

.gallery-count-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.gallery-image:hover {
    filter: brightness(0.9);
}

.details-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
}

.details-main-info {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.price-main {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
}

.price-meta {
    text-align: right;
}

.negotiable-badge {
    padding: 6px 14px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spec-icon {
    width: 48px;
    height: 48px;
    background: #f4f6fc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.spec-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.spec-value {
    font-weight: 800;
    color: var(--text-dark);
}

.details-section {
    margin-top: 40px;
}

.section-head {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.amenities-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.amenity-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.amenity-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.owner-card {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 140px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-btn {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    border: none;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-call {
    background: var(--primary-color);
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #fff4e5;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
    transform: translateY(-2px);
}

.card-footer-action {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

@media (max-width: 992px) {
    .details-page {
        padding-bottom: 100px;
        /* Space for sticky bar */
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .details-gallery {
        height: 350px;
        grid-template-columns: 1fr;
        margin: 0 -20px 0;
        /* Full width breakout, no bottom margin to allow overlap */
        border-radius: 0;
    }

    .gallery-side {
        display: none;
    }

    .gallery-main {
        border-radius: 0;
    }

    .details-sidebar {
        display: none;
        /* Hide on mobile, replaced by sticky bar */
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .spec-box {
        padding: 10px;
        border-radius: 12px;
        gap: 8px;
    }

    .spec-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 8px;
    }

    .spec-label {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .spec-value {
        font-size: 12px;
        font-weight: 700;
    }

    .property-meta {
        font-size: 13px !important;
        margin-bottom: 20px !important;
    }

    .section-head {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }

    /* Fixed Bottom Action Bar */
    .mobile-sticky-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        padding: 15px 20px;
        display: flex;
        gap: 10px;
        z-index: 3000;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-sticky-actions .cta-btn {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 12px;
        flex: 1;
    }

    .price-main {
        font-size: 22px;
    }

    .details-main-info {
        padding: 25px 20px;
        border-radius: 30px 30px 0 0;
        margin: -40px -20px 0;
        position: relative;
        z-index: 20;
        background: #fff;
        box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
    }

    .details-main-info h1 {
        font-size: 22px !important;
    }
}

@media (min-width: 993px) {
    .mobile-sticky-actions {
        display: none;
    }
}

/* ==========================================================================
   PREMIUM SUBMISSION FORM REDESIGN (Professional & Fun)
   ========================================================================== */

.submission-page {
    position: relative;
    padding: 80px 0;
    min-height: 100vh;
    overflow: hidden;
    background: #fdfdfd;
}

/* Animated Gradient Mesh Background */
.bg-gradient-mesh {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 152, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 87, 34, 0.05) 0%, transparent 40%);
    animation: meshRotate 20s infinite linear;
    z-index: 0;
}

@keyframes meshRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.glass-form-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

/* Premium Progress Section */
.progress-section {
    margin-bottom: 50px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.progress-labels span {
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-labels span i {
    font-size: 16px;
}

.progress-labels span.active {
    color: var(--primary-color);
}

.progress-bar-container {
    height: 6px;
    background: #edf2f7;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #ff5722);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Bento Category Grid */
.category-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.bento-item {
    cursor: pointer;
    position: relative;
}

.bento-item input {
    display: none;
}

.bento-content {
    background: white;
    border: 1.5px solid #edf2f7;
    padding: 25px 15px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: #4a5568;
    transition: 0.3s;
}

.bento-title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #2d3748;
}

.select-badge {
    position: absolute;
    top: 10px;
    right: 17px;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0;
    transform: scale(0);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.bento-item input:checked+.bento-content {
    border-color: var(--primary-color);
    background: #fff8f0;
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.15);
}

.bento-item input:checked+.bento-content .bento-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.bento-item input:checked+.bento-content .select-badge {
    opacity: 1;
    transform: scale(1);
}

/* Intent Selector (Pills) */
.purpose-selection-wrap {
    background: #f7fafc;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.wrap-label {
    font-weight: 800;
    color: #4a5568;
}

.pill-selector {
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pill-selector label {
    margin: 0 !important;
    cursor: pointer;
}

.pill-selector input {
    display: none;
}

.pill-selector span {
    display: block;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.pill-selector input:checked+span {
    background: var(--primary-color);
    color: white;
}

/* Modern Form Grid */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: stepFadeIn 0.5s ease;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step-header {
    margin-bottom: 35px;
}

.form-step-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 10px;
}

.form-step-header p {
    color: #718096;
    font-size: 16px;
}

.form-grid-layout {
    display: grid;
    gap: 25px;
}

.row-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field-item label {
    display: block;
    font-weight: 800;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 10px;
}

.field-item input,
.field-item select,
.field-item textarea {
    width: 100%;
    padding: 15px 20px;
    background: white;
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    font-size: 15px;
    transition: 0.3s;
}

.field-item input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.1);
    outline: none;
}

/* Buttons */
.form-step-footer {
    margin-top: 50px;
}

.btn-premium-pill {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-next {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.25);
}

.btn-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 152, 0, 0.3);
}

.btn-back {
    background: #edf2f7;
    color: #4a5568;
    margin-right: 15px;
}

.btn-back:hover {
    background: #e2e8f0;
}

.btn-submit {
    background: #48bb78;
    color: white;
    box-shadow: 0 10px 20px rgba(72, 187, 120, 0.25);
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(72, 187, 120, 0.35);
}

@media (max-width: 768px) {
    .glass-form-container {
        padding: 30px 20px;
        border-radius: 30px;
    }

    .row-flex {
        grid-template-columns: 1fr;
    }

    .category-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .progress-labels span span {
        display: none;
    }
}

/* ==========================================================================
   SERVICES MODULE REDESIGN (Professional Workforce Hub)
   ========================================================================== */

/* Workforce Hero with Mesh Animation */
.workforce-hero {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #1a202c;
    /* Deep Professional Dark */
    color: white;
}

.workforce-hero .mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(156, 39, 176, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.15) 0%, transparent 40%);
    filter: blur(60px);
    z-index: 0;
}

.hero-content-modern h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.hero-content-modern p {
    font-size: 19px;
    color: #a0aec0;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
}

.stat-pill i {
    color: #48bb78;
}

/* Workforce Navigation (Pills) */
.workforce-nav {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #edf2f7;
    position: sticky;
    top: 60px;
    /* Adjust based on main header height */
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-scroll-wrap {
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.nav-scroll-wrap::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar Chrome/Safari */

.action-grid-modern {
    display: flex;
    gap: 12px;
}

.nav-pill {
    white-space: nowrap;
    padding: 10px 22px;
    background: #f7fafc;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    transition: 0.3s;
    border: 1.5px solid transparent;
}

.nav-pill:hover {
    background: #edf2f7;
    color: var(--primary-color);
}

.nav-pill.active {
    background: #fff8f0;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-pill i {
    margin-right: 8px;
}

/* Grid Header Meta */
.workforce-grid-section {
    padding: 60px 0;
}

.grid-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #edf2f7;
}

.grid-header-meta h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}

.grid-header-meta span {
    color: #718096;
    font-size: 14px;
    font-weight: 600;
}

/* PROFESSIONAL WORKER CARD */
.worker-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #edf2f7;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.worker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.2);
}

/* Header: Avatar & Title */
.worker-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.worker-avatar {
    position: relative;
    width: 75px;
    height: 75px;
    flex-shrink: 0;
}

.worker-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    background: #f1f5f9;
}

.online-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #48bb78;
    border: 3px solid white;
    border-radius: 50%;
}

.worker-title-info {
    flex: 1;
    min-width: 0;
}

.worker-category-badge {
    background: #fff8f0;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.worker-name {
    font-size: 20px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.worker-experience {
    font-size: 12px;
    color: #718096;
    font-weight: 600;
}

.verification-badge {
    color: #2196f3;
    font-size: 20px;
    cursor: help;
}

/* Body: Bio & Stats */
.worker-body {
    flex: 1;
}

.worker-bio {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.worker-stats {
    display: flex;
    background: #f7fafc;
    padding: 15px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 16px;
    font-weight: 800;
    color: #2d3748;
}

.stat-value i {
    color: #f6ad55;
    font-size: 14px;
}

.stat-label {
    font-size: 11px;
    color: #718096;
    font-weight: 700;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    background: #e2e8f0;
    margin: 0 15px;
}

.worker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    background: white;
    border: 1px solid #edf2f7;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #718096;
}

/* Footer: Actions */
.worker-footer {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 15px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-call {
    flex: 1;
    background: var(--primary-color);
    color: white;
    gap: 10px;
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.2);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
}

.btn-whatsapp-circle {
    width: 50px;
    background: #e6fffa;
    color: #38a169;
    font-size: 18px;
}

.btn-whatsapp-circle:hover {
    background: #38a169;
    color: white;
    transform: rotate(10deg);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
}

.empty-state i {
    font-size: 64px;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 800;
    color: #4a5568;
}

.empty-state p {
    color: #718096;
    margin: 10px 0 30px;
}

@media (max-width: 480px) {
    .worker-card {
        padding: 20px;
    }

    .worker-avatar {
        width: 60px;
        height: 60px;
    }

    .worker-name {
        font-size: 18px;
    }
}

/* ==========================================================================
   UNIVERSAL SEARCH HUB (Professional Discovery)
   ========================================================================== */

.search-hub-page {
    background: #f8fafc;
    min-height: 100vh;
}

.search-hero {
    background: #1a202c;
    color: white;
    padding: 120px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(62, 22, 211, 0.15) 0%, transparent 70%);
}

.category-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 25px;
}

.search-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.search-hub-form {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-input-group {
    background: white;
    border-radius: 60px;
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input-group i {
    color: #cbd5e0;
    margin-left: 20px;
    font-size: 20px;
}

.search-input-group input {
    flex: 1;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    outline: none;
    color: #1a202c;
    width: 100%;
}

.btn-search-pill {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(62, 22, 211, 0.3);
}

.btn-search-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62, 22, 211, 0.4);
}

.search-stats {
    margin-top: 30px;
    color: #a0aec0;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

.results-section {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

/* Search Hub Mobile Refinement */
@media (max-width: 768px) {
    .search-hero {
        padding: 80px 0 120px;
    }

    .search-hero h1 {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .search-input-group {
        padding: 5px;
        border-radius: 12px;
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }

    .search-input-group i {
        display: none;
    }

    .search-input-group input {
        background: white;
        border-radius: 12px;
        padding: 15px;
        font-size: 16px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .btn-search-pill {
        width: 100%;
        padding: 15px;
        border-radius: 12px;
    }

    .results-section {
        margin-top: -60px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }

    .category-indicator {
        font-size: 11px;
        padding: 6px 15px;
        margin-bottom: 15px;
    }
}

.stagger-reveal:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-reveal:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High-Priority Mobile Dropdown Fixes */
@media (max-width: 768px) {

    #navLocationDropdown,
    #notifDropdown,
    .location-dropdown,
    .notif-dropdown {
        position: fixed !important;
        top: 80px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        min-width: unset !important;
        max-width: calc(100vw - 20px) !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
        background: white !important;
        border-radius: 16px !important;
        z-index: 999999 !important;
    }

    header,
    .main-nav,
    .nav-wrapper,
    .nav-actions,
    .notification-wrapper,
    .nav-location-selector {
        overflow: visible !important;
        contain: none !important;
        transform: none !important;
        /* Force-disable transform on mobile to allow fixed children */
    }
}