/* ============================================================
   NorthPeak Response — Main Stylesheet
   Color Palette:
     Navy:     #0A1F44
     Blue:     #1A3A6B
     Accent:   #1E6FBF
     Light:    #EEF3FA
     White:    #FFFFFF
     Gray:     #F5F7FA
     Text:     #1C2B3A
     Muted:    #6B7A8D
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1C2B3A;
  background: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { font-size: 1rem; color: #4A5568; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #1E6FBF;
  color: #fff;
}
.btn-primary:hover { background: #155fa0; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,111,191,.35); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-cta {
  background: #e53e3e;
  color: #fff;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 6px;
}
.btn-cta:hover { background: #c53030; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(229,62,62,.4); }

/* ── Section Titles ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E6FBF;
  margin-bottom: 10px;
}
.section-header h2 { color: #0A1F44; margin-bottom: 14px; }
.section-header p  { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 52px;
  height: 4px;
  background: #1E6FBF;
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #0A1F44;
  box-shadow: 0 2px 16px rgba(10,31,68,.25);
  transition: background 0.3s;
}
#header.scrolled { background: rgba(10,31,68,.97); backdrop-filter: blur(8px); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.logo-text .tagline { font-size: 0.65rem; font-weight: 500; color: #7EB8F7; letter-spacing: 0.08em; text-transform: uppercase; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: #1E6FBF;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

/* Call button in nav */
.nav-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e53e3e;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-call::after { display: none !important; }
.nav-call:hover { background: #c53030 !important; transform: translateY(-1px); }
.nav-call svg { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #0A1F44;
  padding: 0 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav a:last-child { border-bottom: none; }

/* Sticky call bar (mobile) */
.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #e53e3e;
  padding: 14px 24px;
  text-align: center;
}
.sticky-call-bar a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding-top: 72px; /* nav height */
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1F44 0%, #1A3A6B 55%, #0D2D5E 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(30,111,191,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,111,191,0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Animated water ripple lines */
.hero-lines {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  overflow: hidden;
  pointer-events: none;
}
.hero-lines svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,111,191,0.2);
  border: 1px solid rgba(30,111,191,0.4);
  color: #7EB8F7;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

#hero h1 {
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
#hero h1 span { color: #7EB8F7; }

#hero .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 38px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust-bar {
  background: #EEF3FA;
  padding: 20px 0;
  border-bottom: 1px solid #dce6f5;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0A1F44;
}
.trust-item svg { color: #1E6FBF; flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  padding: 100px 0;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: #F5F7FA;
  border: 1px solid #E2EAF5;
  border-radius: 12px;
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E6FBF, #3B9EFF);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(10,31,68,.1);
  border-color: #c5d9f0;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #1E6FBF, #3B9EFF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.service-card h3 {
  color: #0A1F44;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.service-card p { font-size: 0.93rem; line-height: 1.65; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why-us {
  padding: 100px 0;
  background: linear-gradient(160deg, #0A1F44 0%, #1A3A6B 100%);
  position: relative;
  overflow: hidden;
}
#why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(30,111,191,0.2) 0%, transparent 60%);
  pointer-events: none;
}
#why-us .section-header h2 { color: #fff; }
#why-us .section-header p  { color: rgba(255,255,255,0.65); }
#why-us .section-header .eyebrow { color: #7EB8F7; }
#why-us .divider { background: #7EB8F7; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.why-icon {
  width: 56px; height: 56px;
  background: rgba(30,111,191,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #7EB8F7;
}
.why-card h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.why-card p  { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: 100px 0;
  background: #F5F7FA;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E6FBF;
  margin-bottom: 10px;
}
.about-text h2 { color: #0A1F44; margin-bottom: 20px; }
.about-text p  { margin-bottom: 16px; font-size: 1rem; }
.about-text p:last-of-type { margin-bottom: 28px; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF3FA;
  border: 1px solid #c5d9f0;
  color: #0A1F44;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
}
.badge svg { color: #1E6FBF; }

.about-visual {
  position: relative;
}
.about-card-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,31,68,.18);
}
.about-card-main img { width: 100%; height: 380px; object-fit: cover; }

.about-stat-box {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #0A1F44;
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 12px 32px rgba(10,31,68,.3);
}
.about-stat-box .big { font-size: 2rem; font-weight: 800; color: #7EB8F7; line-height: 1; }
.about-stat-box .sm  { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ============================================================
   GALLERY
   ============================================================ */
#gallery {
  padding: 100px 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10,31,68,.08);
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 4/3;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 16px 40px rgba(10,31,68,.16); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,31,68,.85));
  color: #fff;
  padding: 32px 16px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-tag {
  display: inline-block;
  background: #1E6FBF;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.gallery-tag.after { background: #16a34a; }

/* ============================================================
   CTA BAND
   ============================================================ */
#cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
#cta-band h2 { color: #fff; margin-bottom: 14px; }
#cta-band p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn-white {
  background: #fff;
  color: #e53e3e;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 1.05rem;
  transition: all 0.25s;
}
.btn-white:hover { background: #f7f7f7; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 1.05rem;
  transition: all 0.25s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: 100px 0;
  background: #F5F7FA;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { color: #0A1F44; margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: #EEF3FA;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E6FBF;
  flex-shrink: 0;
}
.contact-detail-text .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7A8D;
  margin-bottom: 3px;
}
.contact-detail-text .value {
  font-size: 0.97rem;
  font-weight: 600;
  color: #0A1F44;
}
.contact-detail-text a:hover { color: #1E6FBF; }

/* Form */
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(10,31,68,.08);
  border: 1px solid #E2EAF5;
}
.contact-form h3 { color: #0A1F44; margin-bottom: 24px; font-size: 1.3rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: #1C2B3A;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dce6f5;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1C2B3A;
  background: #FAFBFD;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1E6FBF;
  box-shadow: 0 0 0 3px rgba(30,111,191,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: #1E6FBF;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  font-family: inherit;
}
.form-submit:hover { background: #155fa0; transform: translateY(-2px); }

/* ============================================================
   MAP
   ============================================================ */
#map-section {
  height: 420px;
  position: relative;
}
#map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0A1F44;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #7EB8F7; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.footer-contact-item svg { color: #7EB8F7; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: #7EB8F7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.83rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #7EB8F7; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sticky-call-bar { display: block; }
  body { padding-bottom: 60px; }
  .hero-stats { gap: 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 16px; }
  .contact-form { padding: 24px; }
}
