/* =============================================
   COLIVIO - Premium Coliving Platform
   Mumbai's #1 Managed Living Ecosystem
   ============================================= */

:root {
    /* Brand Colors — Mustard Yellow + White palette */
    --primary: #D4A017;
    --primary-dark: #B8860B;
    --primary-light: #E5C44F;
    --primary-50: rgba(212,160,23,0.05);
    --primary-100: rgba(212,160,23,0.1);
    --secondary: #F43F5E;
    --secondary-light: #FB7185;
    --accent: #06B6D4;
    --accent-dark: #0891B2;
    --emerald: #10B981;
    --amber: #F59E0B;
    
    /* Neutrals */
    --dark: #0F172A;
    --dark-2: #1E293B;
    --dark-3: #334155;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F8FAFC;
    --white: #FFFFFF;
    
    /* Status */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #D4A017 0%, #E5C44F 100%);
    --gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
    --gradient-card: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #F43F5E 0%, #F59E0B 100%);
    --gradient-cool: linear-gradient(135deg, #D4A017 0%, #E5C44F 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
    --shadow-primary: 0 8px 30px rgba(212,160,23,0.3);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    
    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.3s var(--ease);
    --transition-fast: all 0.15s var(--ease);
    --transition-slow: all 0.5s var(--ease);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    min-width: 0;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   NAVBAR - Glassmorphism Style
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 100%);
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.9rem; text-decoration: none; }
.navbar-brand .brand-icon {
    width: 36px; height: 36px;
    background: var(--gradient-brand);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 0.9rem;
    flex-shrink: 0;
}
/* transparent state — white text over slider */
.navbar-brand .brand-text { color: #fff; transition: color 0.3s; }
.navbar:not(.scrolled) .navbar-brand .brand-text { color: #fff; }
.navbar.scrolled .navbar-brand .brand-text { color: var(--dark); }

.navbar-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.navbar-menu li a {
    font-weight: 500; font-size: 0.88rem;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-decoration: none;
}
/* transparent nav — white links */
.navbar:not(.scrolled) .navbar-menu li a { color: rgba(255,255,255,0.9); }
.navbar:not(.scrolled) .navbar-menu li a:hover { color: #fff; background: rgba(255,255,255,0.15); }
/* scrolled nav — dark links */
.navbar.scrolled .navbar-menu li a { color: var(--gray-700); }
.navbar.scrolled .navbar-menu li a:hover { color: var(--primary); background: var(--primary-50); }
/* Login button — white outline on transparent nav, normal on scrolled */
.navbar:not(.scrolled) .navbar-menu .btn-outline {
    color: #fff !important;
    border-color: rgba(255,255,255,0.6) !important;
}
.navbar:not(.scrolled) .navbar-menu .btn-outline:hover {
    background: rgba(255,255,255,0.15) !important;
}

/* hamburger */
.navbar-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px; cursor: pointer;
    border-radius: var(--radius-sm);
}
.navbar-toggle span {
    display: block; width: 22px; height: 2px;
    border-radius: 2px; transition: var(--transition);
}
.navbar:not(.scrolled) .navbar-toggle span { background: #fff; }
.navbar.scrolled .navbar-toggle span { background: var(--dark); }

/* =============================================
   BUTTONS - Premium Style
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
.btn:hover::before { left: 100%; }
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-ghost {
    background: transparent;
    color: var(--dark);
    border-color: var(--gray-300);
}
.btn-ghost:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}
.btn-secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary:hover { background: #e11d48; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(244,63,94,0.3); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-xs { padding: 6px 12px; font-size: 0.75rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

/* =============================================
   HERO SECTION - Immersive Mumbai Vibe
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,160,23,0.07) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-content { max-width: 580px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,160,23,0.1);
    border: 1px solid rgba(212,160,23,0.3);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.hero-badge i { font-size: 0.7rem; }
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero h1 .gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 480px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px;
    background: rgba(212,160,23,0.05);
    border: 1px solid rgba(212,160,23,0.15);
    border-radius: var(--radius-lg);
}
.hero-stat { text-align: center; }
.hero-stat .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat .label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-visual-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-property-preview {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.hero-property-preview i { font-size: 4rem; color: rgba(255,255,255,0.3); }
.hero-property-info { display: flex; justify-content: space-between; align-items: center; }
.hero-property-info h4 { color: var(--dark); font-size: 1rem; font-weight: 700; }
.hero-property-info p { color: var(--gray-500); font-size: 0.8rem; margin-top: 2px; }
.hero-property-price { color: var(--accent); font-size: 1.2rem; font-weight: 800; }

/* Floating badges on hero */
.hero-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatBadge 4s ease-in-out infinite;
    z-index: 5;
}
.hero-float-badge.top-right { top: -20px; right: -20px; animation-delay: 0.5s; }
.hero-float-badge.bottom-left { bottom: 40px; left: -30px; animation-delay: 1s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-float-badge .badge-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.hero-float-badge .badge-icon.green { background: rgba(16,185,129,0.1); color: var(--success); }
.hero-float-badge .badge-icon.blue { background: rgba(99,102,241,0.1); color: var(--primary); }
.hero-float-badge .badge-text { font-size: 0.8rem; }
.hero-float-badge .badge-text strong { display: block; color: var(--dark); font-weight: 700; }
.hero-float-badge .badge-text span { color: var(--gray-500); font-size: 0.72rem; }

/* =============================================
   SEARCH BAR - Premium Floating
   ============================================= */
.search-section { margin-top: -50px; position: relative; z-index: 10; padding-bottom: 40px; }
.search-bar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 10px;
    display: flex;
    gap: 8px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    max-width: 900px;
    margin: 0 auto;
}
.search-bar-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid transparent;
    transition: var(--transition);
}
.search-bar-field:focus-within { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px var(--primary-100); }
.search-bar-field i { color: var(--gray-400); font-size: 0.9rem; }
.search-bar-field input, .search-bar-field select {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.search-bar-field select { cursor: pointer; }
.search-bar .btn { border-radius: var(--radius-lg); padding: 14px 28px; }

/* =============================================
   SECTIONS - Common Styles
   ============================================= */
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-50);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    border: 1px solid var(--primary-100);
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.section-subtitle { font-size: 1rem; color: var(--gray-500); line-height: 1.7; }
.section-dark { background: #FFF8E7; }
.section-gradient { background: var(--gradient-hero); }

/* =============================================
   PROPERTY CARDS - Airbnb/Zolo Premium Style
   ============================================= */
.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 28px; }
.property-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.property-card-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.property-card-image .property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.property-card:hover .property-card-image .property-img { transform: scale(1.08); }
.property-card-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* Property Badges */
.property-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 3; }
.badge {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}
.badge-featured { background: rgba(245,158,11,0.9); color: #fff; }
.badge-verified { background: rgba(16,185,129,0.9); color: #fff; }
.badge-trending { background: rgba(244,63,94,0.9); color: #fff; }
.badge-new { background: rgba(99,102,241,0.9); color: #fff; }
.badge-occupied { background: rgba(239,68,68,0.85); color: #fff; }
.badge-available { background: rgba(16,185,129,0.9); color: #fff; }
.badge-type { background: rgba(15,23,42,0.75); color: #fff; }

/* Property Favorite */
.property-favorite {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
    z-index: 3;
    font-size: 0.9rem;
}
.property-favorite:hover { color: var(--secondary); background: var(--white); transform: scale(1.1); }

/* Property Card Body */
.property-card-body { padding: 22px; }
.property-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.property-card-meta .occupancy {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
}
.property-card-meta .occupancy .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.property-card-meta .gender-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: 600;
}
.property-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.property-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    font-size: 0.82rem;
    margin-bottom: 14px;
}
.property-card-location i { color: var(--primary); font-size: 0.75rem; }

/* Property Tags */
.property-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.property-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: var(--gray-600);
    font-weight: 500;
}
.property-tag i { font-size: 0.65rem; color: var(--primary); }
.property-tag.metro { background: rgba(6,182,212,0.06); border-color: rgba(6,182,212,0.2); color: var(--accent-dark); }
.property-tag.metro i { color: var(--accent); }
.property-tag.service { background: rgba(16,185,129,0.06); border-color: rgba(16,185,129,0.2); color: #059669; }
.property-tag.service i { color: var(--success); }

/* Property Card Footer */
.property-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.property-price { display: flex; align-items: baseline; gap: 4px; }
.property-price .amount { font-size: 1.4rem; font-weight: 800; color: var(--dark); }
.property-price .period { font-size: 0.8rem; color: var(--gray-500); font-weight: 400; }

/* =============================================
   SERVICES SECTION
   ============================================= */
/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.service-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 260px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    cursor: default;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.service-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(0,0,0,0.22); }
/* full-bleed background image */
.service-card-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}
.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
/* overlay div transition handled via JS hover class */
.service-card:hover .svc-overlay {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.05) 40%,
        rgba(0,0,0,0.1) 55%,
        rgba(180,110,0,0.82) 100%
    ) !important;
}
/* icon pill — top-left */
.service-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    transition: background 0.3s, border-color 0.3s;
}
.service-card:hover .service-icon {
    background: var(--primary);
    border-color: var(--primary);
}
/* text at bottom */
.service-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 16px 18px 18px;
}
.service-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    line-height: 1.3;
}
.service-card p {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), opacity 0.3s;
    opacity: 0;
}
.service-card:hover p { max-height: 60px; opacity: 1; }
.service-price { font-weight: 700; color: var(--primary); font-size: 0.9rem; }

/* =============================================
   FEATURES / WHY CHOOSE
   ============================================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.feature-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--gradient-brand);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}
.feature-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.feature-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

/* =============================================
   HOW IT WORKS - Timeline Style
   ============================================= */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 auto 16px;
    transition: var(--transition);
}
.step-card:hover .step-number { background: var(--primary); color: var(--white); transform: scale(1.1); }
.step-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-card p { font-size: 0.78rem; color: var(--gray-500); line-height: 1.5; }

/* =============================================
   STATS / INVESTOR SECTION
   ============================================= */
.stats-section {
    background: var(--gradient-brand);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-card { text-align: center; color: var(--white); position: relative; }
.stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.stat-card:last-child::after { display: none; }
.stat-card .stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 4px; line-height: 1; }
.stat-card .stat-label { font-size: 0.85rem; opacity: 0.75; font-weight: 500; }
.stat-card .stat-growth { font-size: 0.75rem; margin-top: 8px; opacity: 0.6; }
.stat-card .stat-growth i { margin-right: 4px; }

/* Investor Metrics */
.investor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.investor-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.investor-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.investor-card h4 { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.investor-card .value { color: var(--white); font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.investor-card .change { font-size: 0.78rem; color: #34D399; }
.investor-card .change.down { color: #FB7185; }
.investor-card .mini-chart { margin-top: 12px; height: 40px; display: flex; align-items: end; gap: 3px; }
.investor-card .mini-chart .bar { flex: 1; background: rgba(99,102,241,0.4); border-radius: 2px; transition: var(--transition); }
.investor-card:hover .mini-chart .bar { background: rgba(99,102,241,0.7); }

/* =============================================
   TESTIMONIALS - Modern Cards
   ============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); transform: translateY(-4px); }
.testimonial-card .quote-icon {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 2.5rem;
    color: var(--primary-100);
    opacity: 0.5;
}
.testimonial-stars { color: var(--amber); margin-bottom: 16px; font-size: 0.85rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.92rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.testimonial-info p { font-size: 0.78rem; color: var(--gray-500); }

/* =============================================
   FAQ - Accordion
   ============================================= */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}
.faq-item.active { border-color: var(--primary); box-shadow: 0 4px 20px rgba(99,102,241,0.08); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
    gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-question .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.faq-question .icon i { font-size: 0.7rem; color: var(--primary); transition: var(--transition); }
.faq-item.active .faq-question .icon { background: var(--primary); }
.faq-item.active .faq-question .icon i { color: var(--white); transform: rotate(180deg); }
.faq-answer { padding: 0 24px 20px; color: var(--gray-600); font-size: 0.9rem; line-height: 1.8; display: none; }
.faq-item.active .faq-answer { display: block; }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.contact-info > p { color: var(--gray-500); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-item-text h4 { font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.contact-item-text p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }
.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-700);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =============================================
   COMMUNITY SECTION
   ============================================= */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.community-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 260px;
    transition: var(--transition);
}
.community-card:hover { transform: scale(1.02); }
.community-card .card-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    text-align: center;
    padding: 24px;
    position: relative;
}
.community-card .card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    transition: var(--transition);
}
.community-card:hover .card-bg::after { background: rgba(0,0,0,0.35); }
.community-card .card-content { position: relative; z-index: 2; }
.community-card .card-icon { font-size: 2rem; margin-bottom: 12px; opacity: 0.9; }
.community-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.community-card p { font-size: 0.82rem; opacity: 0.85; }

/* =============================================
   FOOTER - Premium Dark
   ============================================= */
.footer { background: var(--dark); padding: 80px 0 30px; color: var(--gray-400); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-brand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
}
.footer-brand .brand-text { font-weight: 800; font-size: 1.3rem; color: var(--white); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; color: var(--gray-400); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--gray-400); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; margin-bottom: 14px; }
.footer-contact li i { color: var(--primary-light); width: 16px; font-size: 0.85rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}
.footer-bottom .heart { color: var(--secondary); }

/* =============================================
   WHATSAPP FLOAT - Premium
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.3);
    animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-label { display: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em; }

/* =============================================
   MOBILE BOTTOM NAV
   ============================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bottom-nav .nav-items { display: flex; justify-content: space-around; }
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 600;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}
.mobile-bottom-nav .nav-item i { font-size: 1.1rem; }
.mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover { color: var(--primary); }
.mobile-bottom-nav .nav-item.cta {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    margin-top: -12px;
    box-shadow: var(--shadow-primary);
}

/* =============================================
   PROPERTY DETAIL PAGE - Premium
   ============================================= */
.property-detail-hero { padding-top: 80px; background: var(--gray-50); }
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 8px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 32px;
}
.property-gallery .gallery-main { grid-row: 1 / -1; }
.property-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.property-gallery .gallery-item .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 2.5rem;
}
.property-gallery .gallery-item:hover .img-placeholder { transform: scale(1.05); }
.gallery-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.property-detail-content { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 40px 0 80px; }
.property-info h1 { font-size: 1.7rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.01em; }
.property-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.property-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--gray-500); }
.property-meta-item i { color: var(--primary); font-size: 0.8rem; }

/* Property Sections */
.property-section { margin-bottom: 32px; }
.property-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}
.property-section p { color: var(--gray-600); line-height: 1.8; font-size: 0.92rem; }

/* Amenities Grid */
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.amenity-item:hover { border-color: var(--primary-light); background: var(--primary-50); }
.amenity-item i { color: var(--primary); font-size: 0.8rem; width: 16px; }

/* Nearby Section */
.nearby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.nearby-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
}
.nearby-item .icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.nearby-item .icon.metro { background: rgba(6,182,212,0.1); color: var(--accent); }
.nearby-item .icon.office { background: rgba(99,102,241,0.1); color: var(--primary); }
.nearby-item .icon.food { background: rgba(245,158,11,0.1); color: var(--amber); }
.nearby-item .icon.shop { background: rgba(244,63,94,0.1); color: var(--secondary); }
.nearby-item .text h5 { font-size: 0.82rem; font-weight: 600; color: var(--dark); }
.nearby-item .text p { font-size: 0.75rem; color: var(--gray-500); margin: 0; }

/* Booking Sidebar */
.property-sidebar { position: sticky; top: 100px; }
.booking-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}
.booking-card .price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.booking-card .price { font-size: 2.2rem; font-weight: 800; color: var(--dark); }
.booking-card .price-period { font-size: 0.9rem; color: var(--gray-500); }
.booking-card .deposit-info { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.booking-card .details-list { margin-bottom: 24px; }
.booking-card .detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-50); font-size: 0.85rem; }
.booking-card .detail-row .label { color: var(--gray-500); }
.booking-card .detail-row .value { font-weight: 600; color: var(--dark); }
.booking-card .btn { width: 100%; margin-bottom: 10px; }
.booking-card .trust-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.booking-card .trust-badge { display: flex; align-items: center; gap: 4px; font-size: 0.72rem; color: var(--gray-500); }
.booking-card .trust-badge i { color: var(--success); font-size: 0.7rem; }

/* =============================================
   ADMIN PANEL - SaaS Dashboard
   ============================================= */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: var(--white);
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.admin-sidebar-brand {
    padding: 0 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}
.admin-sidebar-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-brand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
}
.admin-nav { padding: 0 12px; }
.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 3px;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.admin-nav-item.active { background: var(--primary); color: var(--white); box-shadow: var(--shadow-primary); }
.admin-nav-item i { width: 18px; text-align: center; font-size: 0.85rem; }
.admin-nav-item .badge-count {
    margin-left: auto;
    background: var(--secondary);
    color: var(--white);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
}
.admin-main { margin-left: 260px; flex: 1; background: var(--gray-50); min-height: 100vh; }
.admin-header {
    background: var(--white);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-header h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.admin-header-actions { display: flex; align-items: center; gap: 16px; }
.admin-header-actions .admin-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
}
.admin-content { padding: 28px 32px; }

/* Admin Stats */
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 4px 4px 0;
}
.admin-stat-card.blue::before { background: var(--info); }
.admin-stat-card.green::before { background: var(--success); }
.admin-stat-card.purple::before { background: var(--primary); }
.admin-stat-card.orange::before { background: var(--amber); }
.admin-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.admin-stat-card .stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.admin-stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.admin-stat-card .stat-icon.blue { background: rgba(59,130,246,0.1); color: var(--info); }
.admin-stat-card .stat-icon.green { background: rgba(16,185,129,0.1); color: var(--success); }
.admin-stat-card .stat-icon.purple { background: rgba(99,102,241,0.1); color: var(--primary); }
.admin-stat-card .stat-icon.orange { background: rgba(245,158,11,0.1); color: var(--amber); }
.admin-stat-card .stat-value { font-size: 1.7rem; font-weight: 800; color: var(--dark); margin-bottom: 2px; }
.admin-stat-card .stat-label { font-size: 0.82rem; color: var(--gray-500); }
.admin-stat-card .stat-change { font-size: 0.75rem; margin-top: 8px; font-weight: 600; }
.admin-stat-card .stat-change.up { color: var(--success); }
.admin-stat-card .stat-change.down { color: var(--danger); }

.admin-table-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-100); overflow: hidden; }
.admin-table-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--gray-100); }
.admin-table-header h3 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 12px 24px; text-align: left; font-size: 0.75rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.admin-table td { padding: 14px 24px; font-size: 0.88rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-50); vertical-align: middle; }
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table tr:last-child td { border-bottom: none; }

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: capitalize;
}
.status-badge.active, .status-badge.completed, .status-badge.paid, .status-badge.confirmed { background: rgba(16,185,129,0.1); color: #059669; }
.status-badge.pending, .status-badge.in-progress { background: rgba(245,158,11,0.1); color: #D97706; }
.status-badge.cancelled, .status-badge.blocked, .status-badge.failed { background: rgba(239,68,68,0.1); color: #DC2626; }
.status-badge.new, .status-badge.info { background: rgba(59,130,246,0.1); color: #2563EB; }
.status-badge.contacted { background: rgba(99,102,241,0.1); color: var(--primary); }

/* =============================================
   TENANT DASHBOARD
   ============================================= */
.tenant-layout { padding-top: 80px; display: flex; }
.tenant-sidebar {
    width: 250px;
    background: var(--white);
    border-right: 1px solid var(--gray-100);
    padding: 28px 16px;
    position: fixed;
    top: 80px;
    bottom: 0;
    overflow-y: auto;
}
.tenant-main { margin-left: 250px; padding: 32px; background: var(--gray-50); min-height: calc(100vh - 80px); flex: 1; }
.tenant-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 3px;
}
.tenant-nav-item:hover { background: var(--primary-50); color: var(--primary); }
.tenant-nav-item.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }
.tenant-nav-item i { width: 18px; text-align: center; font-size: 0.85rem; }

/* =============================================
   AUTH PAGES
   ============================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    padding: 40px 20px;
    position: relative;
}
.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--gradient-hero);
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    position: relative;
    z-index: 2;
}
.auth-card .auth-header { text-align: center; margin-bottom: 32px; }
.auth-card .auth-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.auth-card .auth-header p { font-size: 0.9rem; color: var(--gray-500); }
.auth-card .btn { width: 100%; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--gray-500); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* =============================================
   ALERTS
   ============================================= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.alert-success { background: rgba(16,185,129,0.08); color: #059669; border: 1px solid rgba(16,185,129,0.15); }
.alert-error { background: rgba(239,68,68,0.08); color: #DC2626; border: 1px solid rgba(239,68,68,0.15); }
.alert-warning { background: rgba(245,158,11,0.08); color: #D97706; border: 1px solid rgba(245,158,11,0.15); }
.alert-info { background: rgba(59,130,246,0.08); color: #2563EB; border: 1px solid rgba(59,130,246,0.15); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .property-detail-content { grid-template-columns: 1fr; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .investor-grid { grid-template-columns: 1fr 1fr; }
    .property-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
    .property-gallery .gallery-main { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .navbar-toggle { display: flex; }
    .navbar-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        background: #fff;
        flex-direction: column;
        padding: 12px;
        gap: 2px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.18);
        border: 1px solid rgba(0,0,0,0.06);
        border-radius: var(--radius-xl);
        animation: menuSlideDown 0.2s ease;
    }
    @keyframes menuSlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .navbar-menu.active { display: flex; }
    .navbar-menu li { width: 100%; }
    .navbar-menu li a {
        display: flex !important; align-items: center;
        color: var(--gray-700) !important;
        padding: 11px 16px !important;
        border-radius: var(--radius) !important;
        font-size: 0.9rem !important; font-weight: 500;
        width: 100%; box-sizing: border-box;
    }
    .navbar-menu li a:hover { background: var(--primary-50) !important; color: var(--primary) !important; }
    /* Login + Get Started inside mobile menu */
    .navbar-menu .btn-outline { border: 1.5px solid var(--gray-200) !important; justify-content: center; margin-top: 4px; }
    .navbar-menu .btn-primary { justify-content: center; margin-top: 4px; background: var(--primary) !important; color: #fff !important; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hero-buttons { flex-direction: column; }
    .search-bar { flex-direction: column; padding: 16px; }
    .search-bar-field { width: 100%; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.6rem; }
    .properties-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-card::after { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .tenant-sidebar { display: none; }
    .tenant-main { margin-left: 0; }
    .mobile-bottom-nav { display: block; }
    .whatsapp-float { bottom: 80px; width: auto; height: 46px; padding: 0 18px; border-radius: 999px; font-size: 1.1rem; gap: 8px; display: flex; }
    .whatsapp-label { display: inline; }
    .whatsapp-float::before { display: none; }
    .hslider-arrow { display: none !important; }
    .investor-grid { grid-template-columns: 1fr; }
    .nearby-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .service-card { height: 200px; }
    .steps-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .property-card-image { height: 200px; }
    .amenities-grid { grid-template-columns: 1fr; }
}

/* =============================================
   LOADING & INTERACTION STATES
   ============================================= */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal Overlay */
[id$="Modal"] { animation: modalFadeIn 0.3s ease; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
[id$="Modal"] > div { animation: modalSlideUp 0.3s ease; }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Button Loading State */
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }
.btn .fa-spinner { animation: spin 0.8s linear infinite; }

/* Pulse animation for live indicators */
.pulse { animation: pulseAnim 2s infinite; }
@keyframes pulseAnim { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Hover lift for cards */
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Active filter state */
.filter-active { background: var(--primary-50) !important; border-color: var(--primary) !important; color: var(--primary) !important; }

/* Timeline for service tracking */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 2px solid var(--white);
}
.timeline-item.active::before { background: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); }
.timeline-item.completed::before { background: var(--success); }
.timeline-item .timeline-content { font-size: 0.85rem; }
.timeline-item .timeline-time { font-size: 0.72rem; color: var(--gray-400); margin-top: 2px; }

/* Toast notification positioning */
.toast-container { position: fixed; top: 90px; right: 24px; z-index: 99999; display: flex; flex-direction: column; gap: 8px; }

/* Property card inquiry button on mobile */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 12px 16px;
        border-top: 1px solid var(--gray-100);
        display: flex;
        gap: 10px;
        z-index: 998;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }
    .mobile-sticky-cta .btn { flex: 1; }
}

/* =============================================
   ADDITIONAL FIXES
   ============================================= */
/* Force scrolled navbar on inner pages */
.navbar.scrolled .navbar-brand .brand-text { color: var(--dark); }

/* Table horizontal scroll on mobile */
.admin-table-card { overflow-x: auto; -webkit-overflow-scrolling: touch; overflow-y: visible; }

/* Mobile admin/tenant navigation */
.mobile-admin-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 16px;
    z-index: 200;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--gray-100);
}
.mobile-admin-nav .nav-toggle-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark);
    padding: 8px;
    cursor: pointer;
}
.admin-sidebar.mobile-open {
    display: block !important;
    position: fixed;
    z-index: 999;
    width: 260px;
    box-shadow: var(--shadow-xl);
}
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.mobile-overlay.active { display: block; }

/* Fix mobile tenant dashboard */
@media (max-width: 768px) {
    /* Admin mobile top bar */
    .mobile-admin-nav { display: flex; align-items: center; justify-content: space-between; }
    
    /* Admin main area */
    .admin-main { margin-left: 0 !important; padding-top: 60px !important; min-width: 0 !important; width: 100% !important; overflow-x: hidden !important; }
    .admin-header { position: relative !important; top: auto !important; padding: 14px 16px !important; }
    .admin-header h2 { font-size: 1rem !important; }
    .admin-content { padding: 16px !important; overflow-x: hidden !important; }
    
    /* Admin stats - 2 columns */
    .admin-stats-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .admin-stat-card { padding: 16px !important; }
    .admin-stat-card .stat-value { font-size: 1.3rem !important; }
    
    /* Tables scroll horizontally */
    .admin-table-card { overflow-x: auto !important; -webkit-overflow-scrolling: touch; margin-left: -16px !important; margin-right: -16px !important; border-radius: 0 !important; border-left: none !important; border-right: none !important; }
    .admin-table { min-width: 550px !important; }
    .admin-table th, .admin-table td { padding: 10px 10px !important; font-size: 0.75rem !important; white-space: nowrap; }
    
    /* Grids go single column */
    .admin-content div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    
    /* Tenant layout */
    .tenant-layout { padding-top: 70px !important; flex-direction: column !important; }
    .tenant-main { margin-left: 0 !important; padding: 16px !important; min-width: 0 !important; width: 100% !important; overflow-x: hidden !important; }
    .tenant-main h2 { font-size: 1.1rem !important; }
    .tenant-main .admin-stats-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
    .tenant-main .admin-table-card { margin-left: -16px !important; margin-right: -16px !important; border-radius: 0 !important; }
    .tenant-main .admin-table { min-width: 450px !important; }
    .tenant-main div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    
    /* Sidebar when open - FULL WIDTH overlay */
    .tenant-sidebar.mobile-open,
    .admin-sidebar.mobile-open {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 280px !important;
        z-index: 9999 !important;
        background: var(--white) !important;
        box-shadow: 0 0 50px rgba(0,0,0,0.3) !important;
        padding-top: 20px !important;
        overflow-y: auto !important;
    }
    .admin-sidebar.mobile-open { background: var(--dark) !important; padding-top: 20px !important; }
    .admin-sidebar.mobile-open .admin-nav { padding: 0 12px !important; }
    .admin-sidebar.mobile-open .admin-nav-item { padding: 12px 16px !important; font-size: 0.9rem !important; }
    .admin-sidebar.mobile-open .admin-sidebar-brand { padding: 16px 24px 20px !important; }
    
    /* Property pages */
    .property-detail-content { grid-template-columns: 1fr !important; }
    .property-gallery { grid-template-columns: 1fr !important; grid-template-rows: 220px !important; }
    .property-gallery .gallery-main { grid-row: auto; }
    .property-gallery .gallery-item:not(.gallery-main) { display: none; }
    .amenities-grid { grid-template-columns: 1fr 1fr !important; }
    .nearby-grid { grid-template-columns: 1fr !important; }
    
    /* Quick action buttons wrap */
    div[style*="display:flex;gap:12px;margin-bottom:32px"] { flex-wrap: wrap !important; }
    div[style*="display:flex;gap:12px;margin-bottom:32px"] .btn { font-size: 0.75rem !important; padding: 6px 12px !important; }
}

/* Property card image fix */
.property-card-image { position: relative; height: 220px; overflow: hidden; }
.property-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.property-card:hover .property-card-image img { transform: scale(1.05); }
.property-card-image .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%); pointer-events: none; }

/* Filter form responsive */
@media (max-width: 1024px) {
    form[style*="grid-template-columns: 2fr"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) {
    form[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
