/* Networth Housing Infra Projects - public site styles (charcoal + orange, from the company logo) */
:root {
    --nw-dark: #23242A;
    --nw-dark-2: #2E2F35;
    --nw-dark-3: #4A4C55;
    --nw-orange: #E8892B;
    --nw-orange-2: #C96F16;
    --nw-orange-soft: #FDF1E4;
    --nw-bg: #F6F5F3;
    --nw-ink: #1E1F24;
    --nw-muted: #62646C;
    --nw-border: #E7E4DF;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--nw-ink);
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .navbar-nw .nav-link, .btn { font-family: 'Poppins', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; color: var(--nw-dark-2); }
a { color: var(--nw-orange-2); }
.section { padding: 88px 0; }
.bg-soft { background: var(--nw-bg); }
.bg-dark-nw { background: var(--nw-dark); color: #d7d8dc; }
.bg-dark-nw h2, .bg-dark-nw h3, .bg-dark-nw h4, .bg-dark-nw h5 { color: #fff; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; color: var(--nw-orange-2); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--nw-orange); }
.section-title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; line-height: 1.2; }
.lead-muted { color: var(--nw-muted); font-size: 17px; max-width: 720px; }
.text-accent { color: var(--nw-orange) !important; }

/* Buttons - square-edged to suit a construction brand */
.btn-nw {
    background: var(--nw-dark-2); color: #fff; border: 0; font-weight: 500;
    padding: 12px 26px; border-radius: 4px; transition: .25s;
}
.btn-nw:hover { background: var(--nw-orange); color: #fff; }
.btn-accent {
    background: var(--nw-orange); color: #fff; border: 0; font-weight: 500;
    padding: 12px 26px; border-radius: 4px; transition: .25s;
}
.btn-accent:hover { background: var(--nw-orange-2); color: #fff; }
.btn-outline-nw {
    border: 2px solid var(--nw-dark-2); color: var(--nw-dark-2); font-weight: 500;
    padding: 10px 24px; border-radius: 4px; background: transparent;
}
.btn-outline-nw:hover { background: var(--nw-dark-2); color: #fff; }

/* Top strip + navbar */
.top-strip { background: var(--nw-dark); color: #b9bac0; font-size: 13.5px; padding: 8px 0; }
.top-strip a { color: #fff; text-decoration: none; }
.top-strip i { color: var(--nw-orange); }
.navbar-nw { background: #fff; border-bottom: 1px solid var(--nw-border); padding: 10px 0; }
.navbar-nw .navbar-brand img { height: 58px; width: auto; }
.navbar-nw .nav-link { color: var(--nw-dark-2); font-weight: 500; margin: 0 6px; font-size: 15px; }
.navbar-nw .nav-link:hover, .navbar-nw .nav-link.active { color: var(--nw-orange-2); }

/* Hero: dark blueprint grid with an orange accent panel */
.hero {
    position: relative; color: #fff; overflow: hidden; padding: 96px 0;
    background-color: var(--nw-dark);
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
}
.hero::after {
    content: ""; position: absolute; top: 0; right: -120px; width: 46%; height: 100%;
    background: linear-gradient(135deg, var(--nw-orange) 0%, var(--nw-orange-2) 100%);
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    opacity: .95;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.12; font-weight: 700; }
.hero p { color: #c9cad0; font-size: 18px; max-width: 600px; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; max-width: 560px; }
.hero-points li { color: #e4e5e8; font-size: 15px; }
.hero-points i { color: var(--nw-orange); margin-right: 8px; }
.hero-card {
    background: #fff; color: var(--nw-ink); border-radius: 6px; padding: 30px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 5px solid var(--nw-dark-2);
}
.hero-card h3 { font-size: 22px; }

/* Services ribbon under hero */
.ribbon { background: var(--nw-dark-2); color: #fff; padding: 18px 0; }
.ribbon .item { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-size: 15px; }
.ribbon i { color: var(--nw-orange); font-size: 20px; }

/* Page banner */
.page-banner {
    background-color: var(--nw-dark);
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden;
    border-bottom: 5px solid var(--nw-orange);
}
.page-banner h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.page-banner .breadcrumb a { color: var(--nw-orange); text-decoration: none; }
.page-banner .breadcrumb-item.active, .page-banner .breadcrumb-item + .breadcrumb-item::before { color: #b9bac0; }

/* Cards */
.feature-card {
    background: #fff; border: 1px solid var(--nw-border); border-radius: 6px; padding: 30px;
    height: 100%; transition: .25s; position: relative;
}
.feature-card:hover { border-color: var(--nw-orange); box-shadow: 0 14px 30px rgba(35,36,42,.08); }
.feature-card .icon {
    width: 56px; height: 56px; border-radius: 4px; display: grid; place-items: center;
    background: var(--nw-orange-soft); color: var(--nw-orange-2); font-size: 24px; margin-bottom: 18px;
}
.service-card .num {
    position: absolute; top: 22px; right: 26px; font-family: 'Poppins', sans-serif; font-weight: 700;
    font-size: 34px; color: var(--nw-border); line-height: 1;
}

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

/* Project cards */
.project-card {
    background: #fff; border-radius: 6px; 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(35,36,42,.12); transform: translateY(-4px); }
.project-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--nw-dark); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.project-card .loc { color: var(--nw-muted); font-size: 14px; }
.badge-project {
    position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 3px;
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.badge-project.upcoming { background: #fff; color: var(--nw-dark-2); }
.badge-project.ongoing { background: var(--nw-orange); color: #fff; }
.badge-project.completed { background: var(--nw-dark-2); color: #fff; }

/* Insight table */
.insight-table { background: #fff; border: 1px solid var(--nw-border); border-radius: 6px; overflow: hidden; }
.insight-table table { margin: 0; }
.insight-table thead th {
    background: var(--nw-dark-2); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 500;
    font-size: 14px; padding: 14px 16px; border: 0; white-space: nowrap;
}
.insight-table td { padding: 14px 16px; vertical-align: middle; border-color: var(--nw-border); }
.insight-table tbody tr:hover td { background: var(--nw-orange-soft); }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 3px; font-size: 12.5px; font-weight: 600; }
.status-pill.upcoming { background: #ECEDEF; color: var(--nw-dark-2); }
.status-pill.ongoing { background: var(--nw-orange-soft); color: var(--nw-orange-2); }
.status-pill.completed { background: var(--nw-dark-2); color: #fff; }

/* 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-dark-2); border-radius: 4px;
    padding: 8px 4px; height: fit-content;
}
.update-date .d { font-size: 22px; font-weight: 700; color: #fff; line-height: 1; font-family: 'Poppins', sans-serif; }
.update-date .m { font-size: 11.5px; text-transform: uppercase; color: var(--nw-orange); font-weight: 600; }
.update-item img { max-width: 220px; border-radius: 4px; margin-top: 8px; }
.work-tag {
    display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 3px;
    background: var(--nw-orange-soft); color: var(--nw-orange-2); margin-bottom: 4px;
}
.map-frame { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: 6px; }

/* Join CTA */
.join-cta {
    background: var(--nw-dark-2); border-radius: 6px; padding: 48px; color: #d7d8dc;
    border-left: 8px solid var(--nw-orange);
}
.join-cta h2 { color: #fff; }

/* Forms */
.form-control, .form-select { padding: 11px 14px; border-radius: 4px; border-color: #d9d7d2; }
.form-control:focus, .form-select:focus { border-color: var(--nw-orange); box-shadow: 0 0 0 .2rem rgba(232,137,43,.18); }
.form-label { font-weight: 500; font-size: 14px; }

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

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

.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; }
    .hero::after { display: none; }
    .hero-card { margin-top: 34px; }
    .section { padding: 64px 0; }
    .join-cta { padding: 30px 22px; }
}
@media (max-width: 575px) {
    .navbar-nw .navbar-brand img { height: 46px; }
    .hero-points { grid-template-columns: 1fr; }
    .update-item { flex-direction: column; }
    .update-item img { max-width: 100%; }
    .floating-whatsapp { width: 50px; height: 50px; font-size: 25px; }
}
.pagination .page-item.active .page-link { background: var(--nw-orange); border-color: var(--nw-orange); }
.pagination .page-link { color: var(--nw-dark-2); }
