:root {
  --ppn-navy: #123457;
  --ppn-navy-dark: #0b243b;
  --ppn-light: #f5f7fb;
  --ppn-border: #dde3f0;
  --ppn-text: #1f2933;
  --ppn-muted: #6b7280;
  --ppn-radius-lg: 16px;
  --ppn-radius-md: 10px;
  --ppn-shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --ppn-max-width: 1120px;
  --ppn-teal: #0fbfae;
  --ppn-gold: #ffd700;
  --ppn-gold-soft: #ffefb6;
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ppn-text);
  background:
    radial-gradient(circle at top left, rgba(18, 52, 87, 0.06), transparent 55%),
    radial-gradient(circle at bottom right, rgba(241, 245, 249, 0.9), #ffffff);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ppn-navy);
  text-decoration: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--ppn-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding-left: 10px;
  padding-right: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #edf1f7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  height: 56px;
  width: auto;
}

/* Nav */
.nav {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--ppn-navy);
  border-radius: 999px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ppn-muted);
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-link.active,
.nav-link:hover {
  color: var(--ppn-navy);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08rem;
  height: 2px;
  width: 100%;
  background: var(--ppn-navy);
  border-radius: 999px;
}

/* Hero */
.hero {
  background: url("images/hero.jpg") center center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  padding-left: 1rem;
}

/* Overlay for hero text contrast */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3.1vw, 2.7rem);
  margin: 0 0 0.4rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 0.8rem;
  max-width: 38rem;
  color: #f5f7fb;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.hero-note {
  font-size: 0.7rem;
  color: #f5f7fb;
}

/* Sections */
.section {
  padding: 2.6rem 0;
  position: relative;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.section-alt {
  background: var(--ppn-light);
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
  color: var(--ppn-navy-dark);
}

.section-intro {
  max-width: 34rem;
  color: var(--ppn-muted);
  margin-bottom: 1.7rem;
  font-size: 0.95rem;
}

/* Colored section variations */
.section-soft-navy {
  background:
    radial-gradient(circle at top left, rgba(11, 36, 59, 0.12), transparent 55%),
    #f7f8fc;
}

.section-soft-gold {
  background:
    radial-gradient(circle at top right, rgba(255, 215, 128, 0.18), transparent 60%),
    #fdfbf5;
}

.section-soft-sky {
  background:
    radial-gradient(circle at bottom left, rgba(148, 187, 233, 0.24), transparent 60%),
    #f5f7fb;
}

/* Layout helpers */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards & UI */
.card {
  background: #ffffff;
  border-radius: var(--ppn-radius-lg);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--ppn-shadow-soft);
  border: 1px solid var(--ppn-border);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0.2rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: var(--ppn-muted);
}

.about-card {
  background: #0f1f33;
  color: #f9fbff;
  border-radius: var(--ppn-radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--ppn-shadow-soft);
  border: 1px solid transparent;
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.about-card .checklist {
  padding-left: 1.1rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.32rem;
  font-size: 0.93rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #9ee6c7;
}

/* Notary section */
.notary-layout {
  align-items: center;
}

.notary-photo-wrap {
  max-width: 300px;
  justify-self: center;
}

.notary-photo {
  width: 100%;
  border-radius: 999px;
  border: 4px solid #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
  object-fit: cover;
}

.notary-name {
  margin-top: 0.35rem;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  color: var(--ppn-navy);
  font-weight: 700;
}

/* Tags & badges */
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  padding: 0;
  margin: 0;
}

.tag-list li {
  font-size: 0.78rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #eef2fb;
  color: var(--ppn-navy-dark);
}

.badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: #e9efff;
  color: var(--ppn-navy-dark);
}

/* Testimonials */
.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  position: relative;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--ppn-text);
}

.testimonial-name {
  margin-top: 0.7rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--ppn-navy-dark);
}

.testimonial-role {
  margin-top: 0.16rem;
  font-size: 0.82rem;
  color: var(--ppn-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn.primary {
  background: var(--ppn-navy);
  color: #ffffff;
  box-shadow: var(--ppn-shadow-soft);
}

.btn.primary:hover {
  background: var(--ppn-navy-dark);
  transform: translateY(-1px);
}

.btn.ghost {
  background: #ffffff;
  border: 1px solid var(--ppn-border);
  color: var(--ppn-navy-dark);
}

.btn.ghost:hover {
  background: #f3f4ff;
}

.btn.full-width {
  width: 100%;
}

.link-button {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--ppn-navy);
  font-weight: 500;
  cursor: pointer;
}

/* Blog modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.modal-content {
  position: relative;
  max-width: 520px;
  width: 92%;
  background: #ffffff;
  border-radius: var(--ppn-radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.85rem;
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Contact */
.contact-layout {
  align-items: flex-start;
  gap: 1.8rem;
}

.contact-info p {
  margin-bottom: 0.7rem;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0.7rem 0 0;
  color: var(--ppn-muted);
}

.contact-list li {
  margin-bottom: 0.3rem;
}

/* Service selection area */
.contact-services {
  margin-top: 1.3rem;
}

.contact-services-title {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ppn-navy-dark);
}

.contact-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.contact-service-card {
  display: flex;
  align-items: flex-start;
  gap: 0.54rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(221, 227, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: left;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.contact-service-card.is-selected {
  border-color: var(--ppn-navy);
  box-shadow: 0 0 0 1px rgba(18, 52, 87, 0.3), 0 12px 28px rgba(15, 23, 42, 0.18);
  background: #ffffff;
}

.contact-service-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #f5f7fb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-service-main {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

.contact-service-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ppn-navy-dark);
}

.contact-service-desc {
  font-size: 0.78rem;
  color: var(--ppn-muted);
}

.contact-service-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ppn-muted);
}

/* Modern contact form */
.contact-form {
  margin-top: 0.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-form .form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font: inherit;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--ppn-border);
  outline: none;
  background: #f9fafb;
  transition: border 0.13s ease, box-shadow 0.13s ease, background 0.13s ease, transform 0.08s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  font-size: 0.85rem;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: var(--ppn-navy);
  box-shadow: 0 0 0 1px rgba(18, 52, 87, 0.15);
  transform: translateY(-1px);
}

/* Selected service pill */
.selected-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: #f5f7fb;
  border: 1px dashed rgba(18, 52, 87, 0.22);
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.selected-service-label {
  font-weight: 600;
  color: var(--ppn-navy-dark);
}

.selected-service-value {
  color: var(--ppn-muted);
}

/* Form status */
.form-status {
  font-size: 0.8rem;
  margin-top: 0.45rem;
  color: var(--ppn-muted);
}

.form-status-error {
  color: #b91c1c;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e7f1;
  padding: 1.2rem 0 1.4rem;
  background: #ffffff;
}

.footer-inner {
  text-align: center;
  font-size: 0.83rem;
  color: var(--ppn-muted);
}

.footer-note {
  margin-top: 0.12rem;
}

/* Decorative section icon + title layout */
.section-title.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(18, 52, 87, 0.2);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), #f5f7fb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.08);
}

.section-icon::before {
  content: "✦";
  font-size: 0.85rem;
  color: var(--ppn-navy);
}

/* Glowing hover effect for cards / key blocks */
.card,
.about-card,
.contact-form,
.contact-service-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.card::after,
.about-card::after,
.contact-form::after,
.contact-service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(18, 52, 87, 0.2),
    0 0 24px rgba(18, 52, 87, 0.28);
  transition: opacity 0.18s ease;
}

/* Desktop hover + mobile viewport hover via .is-in-view */
.card:hover,
.card.is-in-view,
.about-card:hover,
.about-card.is-in-view,
.contact-form:hover,
.contact-form.is-in-view,
.contact-service-card:hover,
.contact-service-card.is-in-view {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
  border-color: #fff;
}

.card:hover::after,
.card.is-in-view::after,
.about-card:hover::after,
.about-card.is-in-view::after,
.contact-form:hover::after,
.contact-form.is-in-view::after,
.contact-service-card:hover::after,
.contact-service-card.is-in-view::after {
  opacity: 1;
}

/* Subtle section glow on hover (desktop) */
.section:hover {
  background:
    radial-gradient(circle at top left, rgba(18, 52, 87, 0.04), transparent 55%),
    radial-gradient(circle at bottom right, rgba(18, 52, 87, 0.03), transparent 55%);
}

/* Emoji dividers between sections */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1rem 0.9rem;
  color: var(--ppn-muted);
  font-size: 0.88rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(18, 52, 87, 0.12),
    rgba(18, 52, 87, 0.02)
  );
}

.divider-text {
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.8rem;
}

.divider-emoji {
  font-size: 1.05rem;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

/* Interactive hover on emoji */
.divider-emoji:hover {
  transform: translateY(-2px) scale(1.12) rotate(-4deg);
  text-shadow: 0 5px 12px rgba(0, 0, 0, 0.26);
}

/* Simple float animation for emojis */
@keyframes emojiFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.section-divider:nth-of-type(odd) .divider-emoji {
  animation: emojiFloat 3.3s ease-in-out infinite;
}

/* ---------- Nav close button ---------- */
.nav-close-wrap {
  display: none; /* hidden on desktop, shown on mobile */
}

.nav-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--ppn-navy);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .notary-photo-wrap {
    max-width: 260px;
  }

  .contact-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FULLSCREEN MOBILE MENU */
@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero-text {
    padding-left: 0.3rem !important;
  }
  .nav-list {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 5rem 2rem 2.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
    justify-content: flex-start;
min-height: 100vh;
    /* Solid white base + orbital glows */
    background:
      radial-gradient(circle at 8% 0%, rgba(18, 52, 87, 0.14), transparent 55%),
      radial-gradient(circle at 92% 12%, rgba(15, 191, 174, 0.16), transparent 55%),
      radial-gradient(circle at 0% 100%, rgba(255, 215, 0, 0.18), transparent 55%),
      #ffffff;

    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
    z-index: 1001; /* above .site-header (999) */
    justify-content: center;
    align-items: center;
  }


  .nav-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.2rem 0;

  }

  .nav-link.nav-cta {
    margin-top: 0.6rem;
    font-weight: 700;
  }

  /* Close button in top-right corner */
  .nav-close-wrap {
    display: block;
    position: absolute;
    top: 1.3rem;
    right: 1.4rem;
  }

  .nav-close {
    font-size: 2.2rem;
  }

  /* Prevent body from scrolling when menu is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Optional: hide inline underline effect in overlay */
  .nav-link::after {
    display: none;
  }

  .hero {
    padding: 3rem 0 3rem;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .section-divider {
    flex-wrap: wrap;
    gap: 0.4rem;
    text-align: center;
  }

  .divider-text {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: row;
    align-items: flex-start;
  }

  .contact-services-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------
   Blurred round color orbs (navy / teal / gold)
   -------------------------------------------------- */
.orb-layer {
  position: absolute;
  inset: -80px;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.8;
}

.orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
}

/* Size variants for orbs */
.orb--lg {
  width: 340px;
  height: 340px;
}

.orb--md {
  width: 220px;
  height: 220px;
}

.orb--sm {
  width: 140px;
  height: 140px;
}

/* Section-specific orb feel */
.hero .orb-layer {
  filter: blur(55px);
  opacity: 0.95;
}

.section-soft-navy .orb-layer {
  filter: blur(45px);
  opacity: 0.85;
}

.section-soft-gold .orb-layer {
  filter: blur(40px);
  opacity: 0.8;
}

.section-soft-sky .orb-layer {
  filter: blur(38px);
  opacity: 0.78;
}

/* Color variants */
.orb--navy {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), var(--ppn-navy));
}

.orb--teal {
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18), var(--ppn-teal));
}

.orb--gold {
  background: radial-gradient(circle at 40% 10%, rgba(255, 255, 255, 0.22), var(--ppn-gold-soft));
}

/* Position variants */
.orb--tl { top: 0; left: 4%; }
.orb--tr { top: 0; right: 4%; }
.orb--bl { bottom: -20px; left: 8%; }
.orb--br { bottom: -20px; right: 6%; }

/* Make sure content sits above orbs */
.hero-inner,
.section .container,
.contact-form {
  position: relative;
  z-index: 1;
}

.section,
.hero,
.section-alt {
  position: relative;
  overflow: hidden;
}

/* SOCIALS SECTION */
.socials-container {
  text-align: flex-start;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.4rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.25s ease;
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.social-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.social-label {
  font-size: 1rem;
  font-weight: 600;
}
