/* ═══════════════════════════════════════════════════════════
   MPE Homepage — Blue + White + Coral
   Hero Skyline + Blue Overlay, NO gold, NO black
   Mobile-First
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal {
        opacity: 0; transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
        opacity: 0; transform: translateY(20px);
        transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

/* ── Animations ────────────────────────────────────────── */
@keyframes heroShimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
}
@keyframes scrollBounce {
        0%,100% { transform: translateY(0); }
        50% { transform: translateY(6px); }
}
@keyframes subtleZoom {
        0% { transform: scale(1); }
        100% { transform: scale(1.05); }
}

/* ══════════════════════════════════════════════════════════
   HERO — Skyline + Deep Blue Overlay (NOT black)
   ══════════════════════════════════════════════════════════ */
.home-hero {
        background: #1a3a5c !important;
        background-image: url('/static/images/hero-mumbai.png') !important;
        background-size: cover !important;
        background-position: center 40% !important;
        min-height: 88vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 3rem 1rem 2.5rem !important;
        color: #fff !important;
        position: relative !important;
}
/* Blue gradient overlay — warm navy-blue, NOT black */
.home-hero::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(
                170deg,
                rgba(15, 40, 75, 0.82) 0%,
                rgba(20, 50, 90, 0.60) 35%,
                rgba(15, 40, 75, 0.55) 60%,
                rgba(10, 30, 60, 0.80) 100%
        ) !important;
        z-index: 1;
}
.home-hero > * { position: relative; z-index: 2; }

/* Hero orbs — soft blue/purple */
.hero-orb {
        position: absolute; border-radius: 50%;
        pointer-events: none; filter: blur(80px); z-index: 1;
}
.hero-orb-1 {
        width: 200px; height: 200px;
        background: rgba(99, 102, 241, 0.1);
        top: 10%; left: 5%;
}
.hero-orb-2 {
        width: 150px; height: 150px;
        background: rgba(59, 130, 246, 0.08);
        bottom: 20%; right: 5%;
}
.hero-orb-3 {
        width: 100px; height: 100px;
        background: rgba(244, 114, 82, 0.06);
        top: 50%; right: 25%;
}

/* Hero tag — subtle glass pill */
.hero-tag {
        background: rgba(255,255,255,.12) !important;
        border: 1px solid rgba(255,255,255,.2) !important;
        color: rgba(255,255,255,.9) !important;
        font-family: 'Inter', 'DM Sans', sans-serif !important;
        font-weight: 600 !important;
        font-size: .78rem !important;
        letter-spacing: .6px !important;
        box-shadow: none !important;
        animation: none !important;
}

/* Hero title */
.hero-title {
        color: #fff !important;
        font-family: 'Inter', 'DM Sans', system-ui, sans-serif !important;
        font-weight: 900 !important;
        letter-spacing: -0.02em !important;
        font-size: clamp(2rem, 5vw, 3.4rem) !important;
        line-height: 1.12 !important;
        text-shadow: 0 2px 16px rgba(0,0,0,.2);
}
/* "Property" — warm coral shimmer */
.hero-title-accent {
        background: linear-gradient(90deg,
                #ff7a5c 0%, #ffb4a0 30%,
                #ff6b4a 50%, #ff9470 70%,
                #ff7a5c 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: heroShimmer 5s linear infinite;
}
.hero-subtitle {
        color: rgba(255,255,255,.65) !important;
        font-family: 'DM Sans', sans-serif !important;
        font-size: .95rem !important;
}

/* ── Search Form — White Frosted Glass ─────────────────── */
.sf-wrap {
        background: rgba(255,255,255,.15) !important;
        border: 1px solid rgba(255,255,255,.22) !important;
        backdrop-filter: blur(20px) saturate(1.5) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
        box-shadow: 0 8px 32px rgba(0,0,0,.15),
                    inset 0 1px 0 rgba(255,255,255,.15) !important;
}
.sf-tabs { background: rgba(255,255,255,.08) !important; }
.sf-tab {
        color: rgba(255,255,255,.55) !important;
        border: none !important; background: none !important;
}
.sf-tab.active {
        background: #fff !important;
        color: #1e293b !important;
        box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
}
.sf-label { color: rgba(255,255,255,.5) !important; }
.sf-select {
        background: rgba(255,255,255,.1) !important;
        border: 1px solid rgba(255,255,255,.15) !important;
        color: #fff !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,.5)' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
}
.sf-select option { background: #1e3a5c !important; color: #fff !important; }
.sf-select:focus { border-color: #ff6b4a !important; }

/* CTA button — warm coral gradient */
.sf-go {
        background: linear-gradient(135deg, #ff6b4a, #ff5234) !important;
        color: #fff !important;
        font-weight: 800 !important;
        box-shadow: 0 4px 16px rgba(255,107,74,.35);
}
.sf-go:hover {
        background: linear-gradient(135deg, #ff5234, #e8432a) !important;
        box-shadow: 0 6px 24px rgba(255,107,74,.45) !important;
        transform: translateY(-1px) !important;
}
.sf-wrap, .sf-tab, .sf-label, .sf-select, .sf-go {
        font-family: 'DM Sans', 'Inter', sans-serif !important;
}

/* Scroll hint */
.scroll-hint {
        position: absolute; bottom: 20px; left: 50%;
        transform: translateX(-50%);
        display: flex; flex-direction: column;
        align-items: center; gap: 4px;
        opacity: 0.35; z-index: 2;
}
.scroll-hint span {
        font-size: .65rem; color: rgba(255,255,255,.5) !important;
        letter-spacing: 2px; text-transform: uppercase;
}
.scroll-arrow {
        width: 16px; height: 16px;
        border-right: 2px solid rgba(255,255,255,.35) !important;
        border-bottom: 2px solid rgba(255,255,255,.35) !important;
        transform: rotate(45deg);
        animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Stats Bar ─────────────────────────────────────────── */
.stats-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        padding: 1.5rem 0 0 !important;
        max-width: 340px; margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-value {
        font-family: 'Inter', sans-serif !important;
        font-size: 1.6rem !important;
        font-weight: 800 !important;
        color: #fff !important;
        line-height: 1.1;
        letter-spacing: -0.02em;
}
.stat-label {
        font-size: .68rem;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: rgba(255,255,255,.4) !important;
        margin-top: 2px;
}
.stat-item::after {
        content: '';
        display: block;
        width: 0; height: 2px;
        background: #ff6b4a;
        margin: 6px auto 0;
        transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.stats-bar.visible .stat-item::after { width: 28px; }

/* ── Section Headers — Coral accent line ───────────────── */
.hp-header h2::before {
        content: '';
        display: inline-block;
        width: 4px; height: 24px;
        background: linear-gradient(180deg, #ff6b4a, #ff9470);
        border-radius: 2px;
        flex-shrink: 0;
        margin-right: 10px;
}

/* Section watermarks */
.hp-section[data-section],
.hp-section-alt[data-section],
.hp-section-dark[data-section] { position: relative; }
.hp-section[data-section]::before,
.hp-section-alt[data-section]::before {
        content: attr(data-section);
        font-family: 'Inter', sans-serif;
        font-size: 3rem; font-weight: 900;
        position: absolute; top: .5rem; right: 1rem;
        color: rgba(255,107,74,.04);
        line-height: 1; pointer-events: none; display: none;
}
.hp-section-dark[data-section]::before {
        content: attr(data-section);
        font-family: 'Inter', sans-serif;
        font-size: 3rem; font-weight: 900;
        position: absolute; top: .5rem; right: 1rem;
        color: rgba(255,255,255,.04);
        line-height: 1; pointer-events: none; display: none;
}

/* ── Project Cards ─────────────────────────────────────── */
.proj-card {
        overflow: hidden;
        border-radius: 14px !important;
        background: #fff !important;
        border: 1px solid #f1f5f9 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.35s ease !important;
        position: relative;
}
.proj-card-img {
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.proj-card-stage {
        font-size: .68rem !important;
        padding: 3px 10px !important;
        border-radius: 20px !important;
        font-weight: 700;
        letter-spacing: .3px;
}
.stage-new {
        background: linear-gradient(135deg, #ff6b4a, #ff5234) !important;
        color: #fff !important;
}
.stage-uc {
        background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
        color: #fff !important;
}
.stage-rp {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
        color: #fff !important;
}
.stage-comm {
        background: linear-gradient(135deg, #475569, #334155) !important;
        color: #fff !important;
}
.proj-card-body {
        border-bottom: 3px solid transparent;
        transition: border-color 0.3s;
}

/* ── Trust Section — Deep Blue ─────────────────────────── */
.trust-section {
        background: linear-gradient(135deg, #0f2847, #1a3d5c) !important;
        padding: 3rem 1rem;
        position: relative;
        overflow: hidden;
}
.trust-section::before {
        content: '';
        position: absolute; inset: 0;
        background: radial-gradient(ellipse at 30% 50%,
                rgba(255, 107, 74, 0.04) 0%, transparent 60%);
}
.trust-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
}
.trust-card {
        text-align: center;
        padding: 20px 12px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 14px;
        transition: all 0.3s;
        backdrop-filter: blur(8px);
}
.trust-icon { font-size: 1.6rem; margin-bottom: 6px; }
.trust-stat {
        font-family: 'Inter', sans-serif !important;
        font-size: 1.3rem;
        font-weight: 800;
        color: #fff;
}
.trust-label {
        font-size: .72rem;
        color: rgba(255,255,255,.5);
        margin-top: 3px;
        line-height: 1.3;
}

/* ── Quick Links ───────────────────────────────────────── */
.ql-card { transition: transform 0.3s, box-shadow 0.3s !important; }

/* ── CTA Sweep ─────────────────────────────────────────── */
.hp-cta .btn {
        position: relative; overflow: hidden;
        transition: all 0.3s !important;
}
.hp-cta .btn::before {
        content: '';
        position: absolute;
        top: 0; left: -100%; width: 100%; height: 100%;
        background: linear-gradient(90deg, transparent,
                rgba(255,255,255,.12), transparent);
        transition: left 0.5s;
}

/* ── Content Sections ──────────────────────────────────── */
.hp-section { background: #fff !important; }
.hp-section-alt { background: #f8fafc !important; }

/* ── Header/Top Bar — cohesive blue ────────────────────── */
.top-bar {
        background: #0f2847 !important;
}
.rera-tag { color: #ff6b4a !important; }

/* ── List Property button → Coral ──────────────────────── */
.header-actions .btn-accent,
a.btn-accent {
        background: linear-gradient(135deg, #ff6b4a, #ff5234) !important;
        border-color: transparent !important;
        color: #fff !important;
}

/* ══════════════════════════════════════════════════════════
   TABLET (640px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
        .home-hero { padding: 4rem 1.5rem 3rem !important; }
        .stats-bar {
                display: flex !important;
                gap: 2.5rem !important;
                justify-content: center !important;
                max-width: none;
        }
        .stat-value { font-size: 1.8rem !important; }
        .trust-grid {
                grid-template-columns: repeat(4, 1fr);
                max-width: 800px; gap: 18px;
        }
        .trust-card { padding: 24px 16px; }
        .trust-stat { font-size: 1.5rem; }
        .trust-section { padding: 4rem 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   DESKTOP (960px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 960px) {
        .home-hero {
                min-height: 82vh !important;
                padding: 5rem 2rem 3.5rem !important;
        }
        .stats-bar { gap: 3.5rem !important; padding: 2rem 0 0 !important; }
        .stat-value { font-size: 2rem !important; }

        .hp-section[data-section]::before,
        .hp-section-alt[data-section]::before,
        .hp-section-dark[data-section]::before {
                display: block; font-size: 4.5rem; right: 2rem;
        }

        .proj-card:hover {
                transform: translateY(-6px) !important;
                box-shadow: 0 16px 48px rgba(0,0,0,.1) !important;
        }
        .proj-card:hover .proj-card-img { transform: scale(1.06); }
        .proj-card:hover .proj-card-body { border-bottom-color: #ff6b4a; }
        .ql-card:hover {
                transform: translateY(-3px) !important;
                box-shadow: 0 8px 24px rgba(0,0,0,.06) !important;
        }
        .trust-card:hover {
                background: rgba(255,255,255,.1);
                border-color: rgba(255,107,74,.2);
                transform: translateY(-4px);
        }
        .hp-cta .btn:hover::before { left: 100%; }
        .hp-cta .btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 16px rgba(0,0,0,.1);
        }
        .trust-grid { max-width: 900px; gap: 24px; }
        .trust-card { padding: 28px 20px; border-radius: 16px; }
        .trust-icon { font-size: 2rem; margin-bottom: 8px; }
        .trust-stat { font-size: 1.6rem; }
}
