:root {
    --acres-primary: #272c4b;
    --acres-yellow: #FFB400;
    --acres-text: #091E42;
    --acres-muted: #7A869A;
    --acres-border: #EBECF0;
    --acres-white: #FFFFFF;
}

/* Base Refinements */
body {
    color: var(--acres-text);
    overflow-x: hidden;
}

/* Header & Navigation */
.homec-header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--acres-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 99999 !important; /* Extremely high z-index to stay on top */
}

/* Smooth Sticky State Fix */
#active-sticky.is-sticky,
#active-sticky.is-sticky .homec-header__middle {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
    z-index: 100000 !important;
}

#active-sticky.is-sticky {
    animation: stickySlideDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes stickySlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Mega Menu Container */
.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 1200px; /* Expansive full-width look */
    background: #fff;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    border-radius: 0 0 24px 24px;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--acres-border);
}

.homec-header__menu ul li:hover .mega-menu-container {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Sidebar */
.mega-menu-sidebar {
    width: 280px;
    background: #f5f7fa;
    padding: 20px 0;
    border-right: 1px solid var(--acres-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-menu-sidebar ul {
    list-style: none;
    padding: 0;
}

.mega-menu-sidebar ul li a {
    display: block;
    padding: 12px 25px;
    color: var(--acres-text);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.mega-menu-sidebar ul li a.active,
.mega-menu-sidebar ul li a:hover {
    background: #fff;
    color: var(--acres-primary);
    border-left: 4px solid var(--acres-primary);
}

.mega-sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--acres-border);
    font-size: 12px;
    color: var(--acres-muted);
}

.mega-sidebar-footer strong {
    display: block;
    color: var(--acres-text);
    font-size: 14px;
    margin-bottom: 5px;
}

/* Mega Menu Main Content */
.mega-menu-main {
    flex: 1;
    padding: 40px 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.mega-menu-featured {
    width: 320px;
    padding: 40px 25px;
    background: #f0f7ff;
    border-left: 1px solid var(--acres-border);
}

.mega-column-title {
    font-weight: 800;
    color: var(--acres-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links li {
    margin-bottom: 12px;
}

.mega-links a {
    color: var(--acres-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.mega-links a:hover {
    color: var(--acres-primary);
    padding-left: 5px;
}

.insight-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0, 120, 219, 0.1);
}

.insight-card h5 {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--acres-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-card ul {
    list-style: none;
    padding: 0;
}

.insight-card ul li {
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--acres-muted);
    font-weight: 600;
}

.insight-card ul li i {
    color: #2ecc71;
    font-size: 14px;
}

/* Post Property Button */
.post-property-btn-acres {
    background: #fff !important;
    border: 1px solid var(--acres-border) !important;
    color: var(--acres-text) !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease !important;
}

.post-property-btn-acres:hover {
    border-color: var(--acres-primary) !important;
    color: var(--acres-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 120, 219, 0.1);
}

.free-badge-acres {
    background: #46D387;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 900;
}

/* --- Homepage Redesign Styles --- */

/* Hero Overlay & Background */
.homec-hero--v2 {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0 !important; /* Reset padding */
    margin: 0 !important;
    min-height: 700px; /* Professional height */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.homec-hero--v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, rgba(255,255,255,1) 100%);
    z-index: -1;
}

/* Force override legacy padding from style.css shown in dev tools */
.homec-hero__inner.homec-hero__inner--v2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    height: auto !important;
    min-height: auto !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Redesigned Search Bar (Compact & Premium) */
.acres-hero-search {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.4);
    overflow: hidden;
}

.acres-tab.active::after {
    display: none; /* Hide the line, we'll use background for Housing style */
}

/* Housing.com Style Search Container */
.housing-search-container {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(25px);
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 950px; /* Increased max-width */
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.housing-tabs {
    display: flex;
    background: rgba(0,0,0,0.3);
    padding: 0 15px;
    gap: 5px;
}

.housing-tab {
    padding: 18px 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap; /* Prevent text wrapping */
}

.housing-tab:hover {
    opacity: 1;
}

.housing-tab.active {
    opacity: 1;
    border-bottom-color: var(--acres-yellow);
}

.housing-search-main {
    background: #fff;
    margin: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
}

.housing-search-icon {
    color: var(--acres-muted);
    font-size: 20px;
    margin-right: 15px;
}

.housing-input {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--acres-text);
    min-width: 0; /* Important for flex shrink */
}

.housing-input:focus {
    outline: none;
}

.housing-btn {
    background: #5E23DC; /* Housing Purple */
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.housing-btn:hover {
    background: #4a1bb3;
    transform: scale(1.02);
}

/* Popular Localities Chips */
.popular-localities {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 35px; /* Increased margin to prevent overlap */
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.locality-label {
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.locality-chip {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.locality-chip:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.locality-chip i {
    font-size: 10px;
    opacity: 0.7;
}

.acres-search-input-group {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 0;
}

.search-field-item {
    padding: 10px 24px;
    border-right: 1px solid #f2f2f2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-field-item:last-of-type {
    border-right: none;
    flex: 2; /* Locality field gets more space */
}

.search-field-item label {
    font-size: 10px;
    font-weight: 900;
    color: var(--acres-primary);
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.search-field-item select, 
.search-field-item input {
    border: none;
    padding: 0;
    font-weight: 700;
    color: var(--acres-text);
    font-size: 15px;
    width: 100%;
    background: transparent;
    cursor: pointer;
}

.search-field-item select:focus, 
.search-field-item input:focus {
    outline: none;
}

.acres-search-btn {
    background: var(--acres-primary);
    color: #fff;
    border: none;
    padding: 0 40px;
    border-radius: 14px;
    font-weight: 800;
    margin-left: 10px;
    transition: all 0.3s ease;
    height: 56px;
    font-size: 16px;
}

.acres-search-btn:hover {
    background: #00569d;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 120, 219, 0.3);
}

/* Quick Filters Bar */
.quick-filters-bar {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--acres-border);
}

.filters-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.filters-wrapper::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    background: #f8f9fa;
    border: 1px solid var(--acres-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--acres-text);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-pill:hover, .filter-pill.active {
    background: var(--acres-primary);
    color: #fff;
    border-color: var(--acres-primary);
}

/* Premium Property Cards */
.premium-property-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--acres-border);
    height: 100%;
    position: relative;
}

.premium-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.property-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.property-verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #46D387;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-details-box {
    padding: 24px;
}

.property-price-tag {
    font-size: 24px;
    font-weight: 900;
    color: var(--acres-text);
    margin-bottom: 5px;
    display: block;
}

.property-title-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--acres-text);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.property-title-link:hover {
    color: var(--acres-primary);
}

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

.property-meta-info {
    display: flex;
    gap: 15px;
    color: var(--acres-muted);
    font-size: 13px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Explore City Grid */
.city-explore-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.city-explore-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}

.city-name {
    font-weight: 900;
    font-size: 22px;
    display: block;
}

.property-count {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 600;
}

/* Insights Section */
.insights-wrapper {
    background: #f0f7ff;
    padding: 80px 0;
    border-radius: 60px;
    margin: 60px 0;
}

.insight-data-card {
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    border-left: 6px solid var(--acres-primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    height: 100%;
    transition: transform 0.3s ease;
}

.insight-trend {
    font-size: 14px;
    font-weight: 800;
    color: #46D387;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.insight-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--acres-text);
    margin-bottom: 12px;
    display: block;
}

.insight-desc {
    font-size: 14px;
    color: var(--acres-muted);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-box {
    text-align: center;
    padding: 40px 20px;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--acres-primary);
}

.why-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--acres-text);
}

/* Trust Badges */
.trust-badge-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.trust-badge-item i {
    color: var(--acres-yellow);
}
/* --- Global Button & Auth Flow Refinements --- */
.homec-btn, 
.homec-header__button .homec-btn {
    background: #272c4b !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.homec-btn:hover,
.homec-header__button .homec-btn:hover {
    background: #363d66 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* Auth Pages Background Sync */
.auth-background {
    background-image: url('{{ asset("premium_indian_real_estate_hero_bg_new_1776621014783.png") }}') !important;
    filter: brightness(0.4) saturate(0.8) !important;
}

/* User Letter Avatar Styling */
.user-avatar-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.user-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-letter-avatar {
    width: 100%;
    height: 100%;
    background: #FFB400;
    color: #171e31;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    user-select: none;
}

.user-dropdown .dropdown-toggle::after {
    display: none; /* Hide default arrow to keep it clean */
}

/* User Dropdown Refinements */
.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-toggle {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.user-dropdown .dropdown-toggle:hover {
    background: rgba(39, 44, 75, 0.05);
}

.user-dropdown-menu {
    margin-top: 15px !important;
    border-radius: 16px !important;
    padding: 10px !important;
    min-width: 200px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    z-index: 999999 !important;
}

.user-dropdown-menu .dropdown-item {
    padding: 12px 15px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #272c4b !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.2s ease !important;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    color: #7A869A;
    font-size: 16px;
}

.user-dropdown-menu .dropdown-item:hover {
    background: #f4f7fa !important;
    color: #272c4b !important;
}

.user-dropdown-menu .dropdown-item:hover i {
    color: #272c4b;
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background: #fff5f5 !important;
    color: #dc3545 !important;
}

/* Hover Dropdown Support */
@media (min-width: 992px) {
    .user-dropdown:hover .user-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 10px !important;
    }
    
    .user-dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
}

/* Guest Avatar Styling */
.guest-avatar {
    background: #f4f5f7 !important;
    color: #7A869A !important;
    border: 1px solid #EBECF0 !important;
    box-shadow: none !important;
}

.topbar-link {
    color: #272c4b !important;
    transition: all 0.3s ease;
}

.topbar-link:hover {
    color: var(--acres-yellow) !important;
}

.topbar-link:hover .guest-avatar {
    background: var(--acres-yellow) !important;
    color: #272c4b !important;
    border-color: var(--acres-yellow) !important;
}

/* Fix Guest Icon Visibility */
.guest-avatar i {
    font-size: 14px;
    color: #7A869A;
    transition: all 0.3s ease;
}

.topbar-link:hover .guest-avatar i {
    color: #272c4b !important;
}

/* Enhanced Guest Link Hover */
.topbar-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Smooth Dropdown Bridge & Sensitivity Fix */
.user-dropdown {
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.user-dropdown-menu {
    pointer-events: none;
}

.user-dropdown:hover .user-dropdown-menu {
    pointer-events: auto;
}

.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .homec-hero__inner--v2 { padding-top: 30px; }
    .homec-hero__title { font-size: 32px !important; }
    .housing-search-container { padding: 15px; margin: 0 10px; }
    .housing-tabs { justify-content: center; }
    .housing-tab { padding: 8px 15px; font-size: 11px; }
    .housing-search-main { flex-direction: column; padding: 10px; gap: 10px; }
    .housing-input { text-align: center; padding: 12px; }
    .housing-btn { width: 100%; border-radius: 12px; height: 50px; }
    .popular-localities { display: none; }
    .trust-badge-group { flex-direction: column; align-items: center; gap: 15px; }
    .mega-menu { position: static !important; width: 100% !important; opacity: 1 !important; visibility: visible !important; display: none; box-shadow: none !important; border: none !important; padding: 15px !important; }
    .has-mega-menu.active .mega-menu { display: block; }
    .mega-menu-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .mega-menu-sidebar { border-right: none !important; border-bottom: 1px solid #f0f2f5; padding-bottom: 15px !important; margin-bottom: 15px; }
    .mega-menu-insight { display: none; }
}

/* ========================================
   CINEMATIC HERO SECTION
   ======================================== */
.cinematic-hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0%   { background-size: 110%; }
    100% { background-size: 125%; }
}

/* Multi-layer cinematic overlays */
.cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.15) 0%,
        rgba(9,15,40,0.55) 40%,
        rgba(9,15,40,0.85) 100%
    );
    z-index: 1;
}

.cinematic-grain {
    position: absolute;
    inset: 0;
    background-image: url(data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E);
    z-index: 2;
    opacity: 0.4;
    pointer-events: none;
}

.cinematic-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* Container sits above overlays */
.cinematic-container {
    position: relative;
    z-index: 10;
    padding-top: 120px;
    padding-bottom: 160px;
}

/* Eyebrow badge */
.hero-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease both;
}

.hero-live-dot {
    width: 8px;
    height: 8px;
    background: #2ECC71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(46,204,113,0.4);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(46,204,113,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(46,204,113,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* Cinematic headline */
.cinematic-title {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 0.9s ease both 0.2s;
}

.cinematic-title__accent {
    background: linear-gradient(135deg, #FFB400 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cinematic-title__sub {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: -0.5px;
}

.cinematic-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    margin-bottom: 10px;
    animation: fadeInUp 1s ease both 0.4s;
    letter-spacing: 0.3px;
}

/* Floating stat badges */
.hero-float-badge {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-float-badge--1 {
    top: 22%;
    left: 5%;
    animation-delay: 0s;
}

.hero-float-badge--2 {
    top: 35%;
    right: 4%;
    animation-delay: 1.5s;
}

.hero-float-badge--3 {
    bottom: 30%;
    left: 4%;
    animation-delay: 0.8s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hero-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFB400, #FF6B35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-float-num {
    font-size: 18px;
    font-weight: 900;
    color: #0F172A;
    line-height: 1;
}

.hero-float-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    margin-top: 3px;
}

/* Fade animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile: hide floating badges on small screens */
@media (max-width: 768px) {
    .hero-float-badge { display: none; }
    .cinematic-container { padding-top: 100px; padding-bottom: 120px; }
    .cinematic-bottom-fade { display: none; }
}

/* ============================================
   PREMIUM INDIAN REAL ESTATE FOOTER
   ============================================ */
.footer-area {
    background: #0d1127 !important; /* Deep Navy */
    color: #cbd5e1 !important;
    padding-top: 80px !important; /* Reset to normal padding */
    overflow: hidden;
    position: relative;
    margin-top: 0; /* Remove space for newsletter */
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(255,180,0,0.03) 0%, transparent 40%);
    pointer-events: none;
}

/* Subscribe Section Overhaul */
.homec-form.mg-top-100 {
    background: linear-gradient(135deg, #FFB400 0%, #ff8c00 100%) !important;
    border-radius: 30px !important;
    padding: 50px 70px !important;
    box-shadow: 0 30px 60px rgba(255, 180, 0, 0.3) !important;
    border: none !important;
    margin-top: -160px !important; /* Deeper overlap into footer area */
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.homec-form.mg-top-100::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-40-39c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm43 38c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM46 9c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM4 27c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm58 61c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm33-18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-67-7c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm40-47c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-19 32c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.homec-form__title {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    letter-spacing: -0.5px;
}

.homec-form__label {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 13px !important;
    margin-bottom: 5px !important;
    display: block;
}

.homec-form__form {
    background: #fff !important;
    padding: 6px !important;
    border-radius: 16px !important;
    display: flex !important;
    width: 450px !important;
}

.homec-form__form input {
    background: transparent !important;
    border: none !important;
    padding: 10px 20px !important;
    color: #333 !important;
    flex: 1;
}

.homec-form__form .homec-btn {
    background: #1a1f3c !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 25px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease;
}

.homec-form__form .homec-btn:hover {
    transform: scale(1.05);
    background: #000 !important;
}

/* Main Footer Content */
.footer-top-inner {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.widget-title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FFB400;
    border-radius: 2px;
}

.footer-about-text {
    line-height: 1.8 !important;
    font-size: 14px !important;
    color: #94a3b8 !important;
    margin-bottom: 25px !important;
}

.f-useful-links-inner li, 
.f-need-helps-inner li {
    margin-bottom: 12px !important;
    list-style: none !important;
}

.f-useful-links-inner li a, 
.f-need-helps-inner li a {
    color: #94a3b8 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.f-useful-links-inner li a i, 
.f-need-helps-inner li a i {
    font-size: 8px !important;
    margin-right: 12px !important;
    color: #FFB400 !important;
    opacity: 0.7;
}

.f-useful-links-inner li a:hover, 
.f-need-helps-inner li a:hover {
    color: #fff !important;
    transform: translateX(8px) !important;
}

/* Trust Badges Section */
.footer-trust-badges {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-badge i {
    font-size: 20px;
    color: #FFB400;
    background: rgba(255,180,0,0.08);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,180,0,0.1);
}

.trust-badge span {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.trust-badge small {
    display: block;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 10px;
}

/* Social Icons */
.homec-social__v2 {
    display: flex !important;
    gap: 12px !important;
    padding: 0 !important;
    list-style: none !important;
}

.homec-social__v2 li a {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    color: #cbd5e1 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.homec-social__v2 li a:hover {
    background: #FFB400 !important;
    color: #0d1127 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(255,180,0,0.2) !important;
    border-color: #FFB400 !important;
}

/* Contact List */
.f-contact-list {
    padding: 0 !important;
}

.f-contact-list li {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.03) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease;
}

.f-contact-list li:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.1) !important;
}

.f-contact-list li img {
    filter: invert(1) brightness(2) !important;
    width: 20px !important;
    margin-right: 18px !important;
    opacity: 0.8;
}

.f-contact-list li a, 
.f-contact-list li p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* Top Cities Section */
.footer-cities {
    background: rgba(255,255,255,0.01);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-cities__title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-cities__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-cities__list li a {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-cities__list li a:hover {
    color: #FFB400;
}

/* Copyright Section */
.copyright {
    background: #070a1a !important;
    padding: 30px 0 !important;
    border: none !important;
}

.copyright-text {
    font-size: 13px !important;
    color: #475569 !important;
    font-weight: 500;
}

.footer-pages {
    padding: 0 !important;
}

.footer-pages li a {
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.footer-pages li a:hover {
    color: #fff !important;
}

/* Shape Fixes */
.homec-shape-10 {
    opacity: 0.05;
    filter: grayscale(1) invert(1);
}

/* Top Button Styling */
.scrollToTop {
    background: #FFB400 !important;
    color: #0d1127 !important;
    box-shadow: 0 10px 30px rgba(255,180,0,0.3) !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    border: none !important;
}

@media (max-width: 991px) {
    .homec-form.mg-top-100 {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 50px 30px !important;
        margin-top: -120px !important;
    }
    .homec-form__form {
        width: 100% !important;
    }
    .footer-trust-badges {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .footer-cities__list {
        justify-content: center;
    }
    .footer-cities__title {
        text-align: center;
    }
}
