/* ==========================================================================
   NEW POINT DESIGN (NPD) - COMPLETE FINAL STYLESHEET
   ========================================================================== */

/* 1. Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  line-height: 1.5;
  background: #000;
}

/* 2. Header & Navigation */
.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;
  align-items: center;
  justify-content: space-between;
}

.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::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: #f5f5f5;
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 3. Main Layout Containers */
main {
  padding-top: 70px;
}

.content-block {
  width: 100%;
  color: #fff;
}

/* 4. Top Block - Hero & Gradient */
.top-block {
  padding: 4rem 2rem 2rem;
  background: linear-gradient(to bottom, #132b45 0%, #0b1a2b 35%, #0b1a2b 100%);
  position: relative;
  overflow: hidden;
}

.top-block::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 40%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, #0b1a2b 100%), url("../img/web1.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: all 0.3s ease;
}

/* Mobile viewport adjustment for Home Page Hero */
@media (max-width: 768px) {
  .top-block::before {
    background-size: 160%; 
    background-position: 100% 0%; 
  }
}

/* 4b. Start A Project Specific Hero */
.sap-hero::before {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, #0b1a2b 100%), url("../img/staircase.jpg");
  background-position: center;
  height: 50%;
}

.npd-hero-content, .npd-step {
  position: relative;
  z-index: 1;
}

.npd-hero-content {
  text-align: center;
  margin-bottom: 4rem;
}

.npd-hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.npd-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #eee;
}

.npd-cta {
  background: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-block;
  transition: background 0.25s ease, color 0.25s ease;
}

.npd-cta:hover {
  background: #e6e6e6;
  color: #111111;
}

/* 5. Start A Project - Cards Band */
.sap-cards-section {
  background: #0b1a2b;
  padding: 2rem 5% 5rem;
}

.sap-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .sap-card-grid { grid-template-columns: 1fr; }
}

.sap-card {
  background: #ececec;
  color: #111;
  padding: 3rem 2rem;
  border-radius: 22px;
  text-align: center;
}

.sap-card h4 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

/* 6. The Form Section (Start a Project Page) */
.form-overlay-section {
  position: relative;
  padding: 8rem 2rem;
  background-image: url("../img/curves.jpg"); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
}

.form-container {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4rem;
  border-radius: 22px;
  width: 100%;
  max-width: 700px;
  color: #fff;
}

.npd-form-group {
  margin-bottom: 2rem;
}

.npd-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.npd-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.75rem 0;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.npd-input:focus {
  outline: none;
  border-bottom: 1px solid #fff;
}

/* 7. Parallax Background */
.fixed-image {
  height: 65vh;
  background-image: url("../img/bckgrd.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* 8. Bottom Block - Navy Band */
.bottom-block {
  padding: 4rem 2rem;
  background: #0b1a2b;
  color: #ffffff;
  text-align: center;
}

/* 9. Step Sections */
.npd-step {
  width: 99% !important;
  margin: 0 auto !important;
  padding: 4rem 6vw;
  text-align: center;
}

.npd-step p {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.65;
}

.npd-step h3 {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.step-1, .step-3, .step-5, .step-7 { background: #f9f9f9; }
.step-2, .step-4, .step-6, .step-8 { background: #ececec; }

.step-1 { border-top-left-radius: 22px; border-top-right-radius: 22px; }
.step-4 { border-bottom-left-radius: 22px; border-bottom-right-radius: 22px; }
.step-5 { border-top-left-radius: 22px; border-top-right-radius: 22px; }
.step-8 { border-bottom-left-radius: 22px; border-bottom-right-radius: 22px; }

/* 10. Text Contrast */
.npd-step, .npd-step h3, .npd-step h4, .npd-step p {
  color: #111111 !important;
  opacity: 1 !important;
}

.bottom-block > h2, .npd-carousel-title, .npd-dark-cta h2, .npd-dark-cta p {
  color: #ffffff !important;
}

/* 11. Triple Carousel System */
.npd-carousel-title {
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.npd-carousel-divider {
  width: 80%;
  max-width: 900px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  margin: 0.75rem auto 6rem;
}

.npd-carousel-section { width: 100%; padding: 2rem 0 3rem; }
.npd-carousel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 1%; }

@media (max-width: 900px) {
  .npd-carousel-grid { grid-template-columns: 1fr; gap: 40px; }
}

.npd-carousel {
  width: 100%;
  height: 550px;
  overflow: hidden; 
  border-radius: 22px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #000;
  isolation: isolate;
}

.npd-carousel-track {
  display: flex;
  width: 400%; 
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.npd-carousel-track a { width: 25%; height: 100%; display: block; flex-shrink: 0; }
.npd-carousel-track img { width: 100%; height: 100%; object-fit: cover; display: block; }

.npd-nav-btn {
  position: absolute;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  z-index: 20;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  user-select: none;
  transition: all 0.2s ease;
}

.npd-nav-btn.prev { left: 20px; }
.npd-nav-btn.next { right: 20px; }

/* 12. Editorial Scrolling Text Section */
.scrolling-text-container {
  overflow: hidden;
  background: #0b1a2b; 
  padding: 6rem 0;
  white-space: nowrap;
  display: flex;
  /* Double border for Unison */
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.scrolling-text-inner {
  display: inline-block;
  animation: scroll-text 20s linear infinite;
}

.scrolling-text-inner span {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.1);
  padding-right: 6rem;
  letter-spacing: 0.05em;
  display: inline-block;
}

@keyframes scroll-text {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 13. CTA Section */
.npd-dark-cta {
  background: #0b1a2b;
  text-align: center;
  padding: 5rem 2rem;
}

.btn-primary {
  background: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 0.9rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 1.5rem;
  text-decoration: none;
  font-weight: 600;
}

/* 14. Footer */
.site-footer {
  text-align: center;
  color: #ffffff;
  background: #0b1a2b;
  padding: 3rem 1rem;
  font-size: 0.8rem;
}