/* Networth Housing Infra - public site styles */
:root {
    --nw-green: #14452A;
    --nw-green-2: #1B6B3A;
    --nw-green-3: #2E8B57;
    --nw-gold: #C9A227;
    --nw-gold-soft: #FBF3DC;
    --nw-cream: #FBF8F1;
    --nw-ink: #1F2A24;
    --nw-muted: #5E6B63;
    --nw-border: #E5E2D8;
    /* plot status colours */
    --st-available: #22A55A;
    --st-ongoing: #F2B705;
    --st-completed: #DC3545;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--nw-ink);
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--nw-green); }
a { color: var(--nw-green-2); }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.bg-cream { background: var(--nw-cream); }
.bg-green { background: var(--nw-green); color: #fff; }
.bg-green h2, .bg-green h3, .bg-green h4 { color: #fff; }
.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--nw-gold); margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.lead-muted { color: var(--nw-muted); font-size: 17px; max-width: 720px; }
.text-gold { color: var(--nw-gold) !important; }

/* Buttons */
.btn-nw {
    background: var(--nw-green-2); color: #fff; border: 0; font-weight: 600;
    padding: 12px 26px; border-radius: 8px; transition: .25s;
}
.btn-nw:hover { background: var(--nw-green); color: #fff; transform: translateY(-2px); }
.btn-gold {
    background: var(--nw-gold); color: #1d1600; border: 0; font-weight: 700;
    padding: 12px 26px; border-radius: 8px; transition: .25s;
}
.btn-gold:hover { background: #b38f1d; color: #1d1600; transform: translateY(-2px); }
.btn-outline-nw {
    border: 2px solid var(--nw-green-2); color: var(--nw-green-2); font-weight: 600;
    padding: 10px 24px; border-radius: 8px; background: transparent;
}
.btn-outline-nw:hover { background: var(--nw-green-2); color: #fff; }

/* Top strip + navbar */
.top-strip { background: var(--nw-green); color: #dfe9e2; font-size: 14px; padding: 7px 0; }
.top-strip a { color: #fff; text-decoration: none; }
.navbar-nw { background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); padding: 10px 0; }
.navbar-nw .navbar-brand img { height: 52px; width: auto; }
.navbar-nw .nav-link { color: var(--nw-ink); font-weight: 600; margin: 0 6px; }
.navbar-nw .nav-link:hover, .navbar-nw .nav-link.active { color: var(--nw-green-2); }
.navbar-nw .nav-link.active { box-shadow: inset 0 -2px 0 var(--nw-gold); }

/* Hero */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(201,162,39,.35), transparent 40%),
        linear-gradient(135deg, #0f3a22 0%, #1B6B3A 60%, #2E8B57 100%);
    padding: 90px 0 120px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; }
.hero p { color: #e2efe6; font-size: 18px; }
.hero .hero-land { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 120px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.hero-badges span {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    padding: 6px 14px; border-radius: 50px; font-size: 14px;
}
.hero-card {
    background: #fff; color: var(--nw-ink); border-radius: 14px; padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25); position: relative; z-index: 2;
}
.hero-card h3 { font-size: 22px; }

/* Page banner */
.page-banner {
    background: linear-gradient(135deg, #0f3a22 0%, #1B6B3A 100%);
    color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-banner::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
    border-radius: 50%; background: rgba(201,162,39,.25);
}
.page-banner h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.page-banner .breadcrumb a { color: var(--nw-gold); text-decoration: none; }
.page-banner .breadcrumb-item.active, .page-banner .breadcrumb-item + .breadcrumb-item::before { color: #cfe0d5; }

/* Cards */
.feature-card {
    background: #fff; border: 1px solid var(--nw-border); border-radius: 14px; padding: 28px;
    height: 100%; transition: .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,69,42,.10); }
.feature-card .icon {
    width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
    background: var(--nw-gold-soft); color: var(--nw-green-2); font-size: 24px; margin-bottom: 16px;
}
.stat-strip { margin-top: -60px; position: relative; z-index: 3; }
.stat-box {
    background: #fff; border-radius: 14px; padding: 22px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08); height: 100%;
}
.stat-box .num { font-size: 32px; font-weight: 800; color: var(--nw-green-2); line-height: 1; }
.stat-box .lbl { color: var(--nw-muted); font-size: 14px; margin-top: 6px; }

/* Story timeline */
.story-list { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--nw-gold); }
.story-list li { position: relative; padding: 0 0 26px 26px; }
.story-list li::before {
    content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px;
    border-radius: 50%; background: var(--nw-green-2); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--nw-gold);
}
.story-list h5 { margin-bottom: 4px; }

/* Project cards */
.project-card {
    background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--nw-border);
    height: 100%; display: flex; flex-direction: column; transition: .25s;
}
.project-card:hover { box-shadow: 0 16px 36px rgba(20,69,42,.12); transform: translateY(-4px); }
.project-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--nw-gold-soft); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.project-card .loc { color: var(--nw-muted); font-size: 14px; }
.badge-project {
    position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 50px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.badge-project.upcoming { background: #E8F0FE; color: #1a4fb3; }
.badge-project.ongoing { background: #FFF4CC; color: #7a5b00; }
.badge-project.completed { background: #FDE2E4; color: #9b1c27; }

/* Plot availability bar + legend */
.avail-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: #eee; margin: 12px 0 8px; }
.avail-bar span { display: block; height: 100%; }
.avail-bar .a { background: var(--st-available); }
.avail-bar .o { background: var(--st-ongoing); }
.avail-bar .c { background: var(--st-completed); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.legend .dot { display: inline-block; width: 13px; height: 13px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.dot.available { background: var(--st-available); }
.dot.ongoing { background: var(--st-ongoing); }
.dot.completed { background: var(--st-completed); }

/* Plot layout grid */
.plot-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px;
}
.plot {
    border-radius: 8px; padding: 10px 4px; text-align: center; color: #fff; font-weight: 700;
    font-size: 15px; line-height: 1.1; cursor: default; position: relative;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.plot small { display: block; font-weight: 500; font-size: 11px; opacity: .92; margin-top: 3px; }
.plot.available { background: var(--st-available); }
.plot.ongoing { background: var(--st-ongoing); color: #3d2e00; }
.plot.completed { background: var(--st-completed); }
.plot-filter .btn { border-radius: 50px; font-weight: 600; font-size: 14px; }
.plot-count-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
    font-weight: 700; background: #fff; border: 1px solid var(--nw-border);
}
.plot-count-pill .n { font-size: 22px; }

/* Updates timeline */
.update-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--nw-border); }
.update-item:last-child { border-bottom: 0; }
.update-date {
    flex: 0 0 64px; text-align: center; background: var(--nw-gold-soft); border-radius: 10px;
    padding: 8px 4px; height: fit-content;
}
.update-date .d { font-size: 22px; font-weight: 800; color: var(--nw-green); line-height: 1; }
.update-date .m { font-size: 12px; text-transform: uppercase; color: var(--nw-muted); font-weight: 600; }
.update-item img { max-width: 220px; border-radius: 10px; margin-top: 8px; }
.work-tag {
    display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 50px;
    background: #E7F3EC; color: var(--nw-green-2); margin-bottom: 4px;
}

/* Location */
.loc-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.loc-item i { color: var(--nw-gold); font-size: 20px; width: 26px; margin-top: 3px; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: 14px; }

/* Join CTA */
.join-cta {
    background: linear-gradient(120deg, var(--nw-gold) 0%, #e3c463 100%);
    border-radius: 18px; padding: 44px; color: #1d1600;
}
.join-cta h2 { color: #1d1600; }

/* Forms */
.form-control, .form-select { padding: 11px 14px; border-radius: 8px; border-color: #d9d6cc; }
.form-control:focus, .form-select:focus { border-color: var(--nw-green-3); box-shadow: 0 0 0 .2rem rgba(46,139,87,.15); }
.form-label { font-weight: 600; font-size: 14px; }

/* Footer */
.footer { background: #0f2e1d; color: #b9c9be; padding: 64px 0 0; }
.footer h5 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.footer a { color: #d9e6dc; text-decoration: none; }
.footer a:hover { color: var(--nw-gold); }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 9px; }
.footer .footer-logo { height: 56px; margin-bottom: 16px; }
.footer .social a {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); margin-right: 6px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 18px 0; font-size: 14px; }

.floating-whatsapp {
    position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; display: grid; place-items: center; font-size: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 1000; text-decoration: none;
}
.floating-whatsapp:hover { color: #fff; transform: scale(1.06); }

.fade-up { opacity: 0; transform: translateY(24px); transition: .6s ease-out; }
.fade-up.visible { opacity: 1; transform: none; }

@media (max-width: 991px) {
    .hero { padding: 56px 0 110px; }
    .hero-card { margin-top: 30px; }
    .section { padding: 60px 0; }
    .join-cta { padding: 30px 22px; }
}
@media (max-width: 575px) {
    .navbar-nw .navbar-brand img { height: 42px; }
    .plot-grid { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); }
    .update-item { flex-direction: column; }
    .update-item img { max-width: 100%; }
    .floating-whatsapp { width: 50px; height: 50px; font-size: 26px; }
}
