/* SlashNPA – Custom Styles */

:root {
  --green: #009D5C;
  --green-dark: #007A47;
  --navy: #003366;
  --navy-light: #004080;
  --navy-dark: #00264D;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #1a1a1a; }

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(0, 51, 102, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(0, 51, 102, 0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.nav-link {
  position: relative;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(0,51,102,0.92) 0%, rgba(0,38,77,0.88) 50%, rgba(0,157,92,0.7) 100%),
              url('hero_bg.jpg') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(0,157,92,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,157,92,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ---------- Section Helpers ---------- */
.section-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Pillar Cards ---------- */
.pillar-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

/* ---------- Stat Card ---------- */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--green), var(--navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Why-Us Feature ---------- */
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.35s;
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--green);
  transform: translateY(-4px);
}

/* ---------- Client Badge ---------- */
.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.3s;
}
.client-badge:hover {
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(0,157,92,0.15);
  transform: translateY(-2px);
}

/* ---------- Form ---------- */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: #fff;
  color: #1a1a1a;
}
.form-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,157,92,0.12);
}
.form-input::placeholder { color: #9ca3af; }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse ring on hero CTA */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0,157,92,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(0,157,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,157,92,0); }
}
.cta-pulse { animation: pulse-ring 2.5s infinite; }

/* ---------- Mobile Hamburger ---------- */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .stat-number { font-size: 2rem; }
}

/* Smooth scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }
