/* ==========================================================================
   NPD PROJECT PAGE - UNIFIED LOGIC (SAFE MERGE)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: #0b1a2b; color: #111; line-height: 1.5; }

main { padding-top: 70px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0.75rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 0.9rem; letter-spacing: 0.18em; color: #f5f5f5; text-transform: uppercase; }
.main-nav { display: flex; gap: 1.75rem; }
.nav-link { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: #f5f5f5; position: relative; }
.nav-link.active::after { content: ""; position: absolute; left: 0; bottom: -0.25rem; width: 100%; height: 1px; background: #f5f5f5; }

/* Hero & Staircase Image (PRESERVED) */
.top-block { padding: 4rem 2rem 0; background: linear-gradient(to bottom, #132b45 0%, #0b1a2b 100%); position: relative; overflow: hidden; }
.sap-hero::before { 
    content: ""; position: absolute; inset: 0; height: 50%; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), #0b1a2b), url("../img/staircase.jpg") center/cover fixed; 
    z-index: 0; 
}
.npd-hero-content { position: relative; z-index: 1; text-align: center; margin-bottom: 4rem; color: #fff; }
.npd-hero-content h1 { font-size: 2.4rem; letter-spacing: 0.2em; margin-bottom: 0.5rem; }

/* Pill Stack Logic (FIXED COLORS) */
.npd-step { position: relative; z-index: 1; width: 99%; margin: 0 auto; padding: 4rem 6vw; text-align: center; }
.step-1 { border-radius: 22px 22px 0 0; background: #f9f9f9; }
.step-2 { background: #ececec; }
.step-3 { background: #f9f9f9; } /* Added missing Step 3 color */
.step-4 { border-radius: 0 0 22px 22px; background: #ececec; }

.npd-step h3 { font-size: 1.15rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.npd-step p { max-width: 52rem; margin: 0 auto; font-size: 1rem; line-height: 1.65; }

/* Glassmorphism Form (PRESERVED CURVES IMAGE) */
.fixed-image { 
    background: url("../img/curves.jpg") center/cover fixed; 
    display: flex; justify-content: center; align-items: center; 
    min-height: 100vh; padding: 100px 20px; 
}

.form-container { 
    background: rgba(11, 26, 43, 0.85); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 3rem; border-radius: 22px; width: 100%; max-width: 800px; color: #fff; 
}

.form-container h2 { text-align: center; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 3rem; font-weight: 300; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.npd-form-group { margin-bottom: 2rem; }
.npd-label { display: block; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }

/* Input Logic - Enhanced for Clarity */
.npd-input { 
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
    padding: 0.75rem 0; color: #fff; font-size: 1rem; outline: none; transition: 0.3s; 
    border-radius: 0;
}
.npd-input:focus { border-bottom: 1px solid #00f2ff; } /* Neon highlight on focus */

select.npd-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 2.5rem;
}

select.npd-input option { background: #0b1a2b; color: #fff; padding: 10px; }

.npd-cta { 
    background: #fff; color: #111; padding: 0.8rem 2.5rem; border-radius: 50px; 
    text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; cursor: pointer; transition: 0.3s; 
    text-decoration: none; display: inline-block; border: none;
}
.npd-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,255,255,0.2); }

/* Scrolling Text (PRESERVED) */
.scrolling-text-container { overflow: hidden; background: #0b1a2b; padding: 6rem 0; white-space: nowrap; border-top: 1px solid rgba(255,255,255,0.1); }
.scrolling-text-inner { display: inline-block; animation: scroll-text 20s linear infinite; }
.scrolling-text-inner span { font-size: 5rem; font-weight: 900; text-transform: uppercase; color: rgba(255,255,255,0.05); padding-right: 6rem; }
@keyframes scroll-text { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site-footer { text-align: center; color: rgba(255,255,255,0.4); background: #0b1a2b; padding: 3rem 1rem; font-size: 0.8rem; }