/* -------------------------
   Base Styles
-------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: #111827;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Links – consistent colour, no purple visited */
a,
a:visited {
  color: #0050c8;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Headings */

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 700;
  color: #0f172a;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

/* Layout helpers */

main {
  padding: 0 1rem 3rem;
}

/* -------------------------
   Sticky Top Banner
-------------------------- */

.top-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: #fbbf24;
  color: #111827;
  font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.top-banner-text a.banner-link {
  font-weight: 600;
  color: #1d4ed8;
}

/* Neon Call Now button in banner */

.call-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.75);
  text-decoration: none;
  white-space: nowrap;
  animation: neonPulse 2s ease-in-out infinite;
}

.phone-icon {
  width: 16px;
  height: 16px;
}

.phone-shape {
  fill: #ffffff;
}

@keyframes neonPulse {
  0% {
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.9);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
    transform: translateY(0);
  }
}

/* -------------------------
   Header / Branding
-------------------------- */

.site-header {
  padding: 1.75rem 1rem 1.25rem;
  text-align: center;
}

.logo-block {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.tagline {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0.1rem 0 0;
}

/* -------------------------
   Main Navigation
-------------------------- */

.main-nav {
  background: #003366;
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  padding: 0.75rem 1rem;
}

.main-nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.active::after {
  width: 100%;
}

/* -------------------------
   Hero Section
-------------------------- */

.hero {
  max-width: 1120px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content p {
  margin: 0 0 1rem;
  color: #4b5563;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.28);
}

.btn.primary:hover {
  background: #1d4ed8;
}

.btn.secondary {
  background: #ffffff;
  color: #1f2933;
  border-color: #d1d5db;
}

.btn.secondary:hover {
  background: #f3f4f6;
}

.btn.outline {
  background: transparent;
  color: #2563eb;
  border-color: #2563eb;
}

.btn.small {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

/* Checklist */

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  color: #374151;
}

.hero-checklist li {
  margin-bottom: 0.35rem;
}

/* -------------------------
   Hero Illustration
-------------------------- */

.hero-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.screen {
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  background: #0f172a;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.6);
  overflow: hidden;
}

.screen-top {
  display: flex;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  background: #111827;
}

.screen-top .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4b5563;
}

.screen-body {
  padding: 1.2rem 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.shield {
  width: 44px;
  height: 56px;
  border-radius: 16px;
  border: 2px solid #60a5fa;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
}

.lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lines span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  opacity: 0.85;
}

.hero-badge {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #ecfdf5;
  font-size: 0.8rem;
  color: #065f46;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.hero-badge .badge-title {
  font-weight: 700;
}

/* -------------------------
   Trust Bar
-------------------------- */

.trust-bar {
  max-width: 1120px;
  margin: 0 auto 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.9rem;
}

/* -------------------------
   Content Sections
-------------------------- */

.content-section {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: #4b5563;
}

/* Services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  background: #f9fafb;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.service-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.section-cta {
  margin-top: 1.75rem;
  text-align: center;
}

/* Remote strip */

.remote-strip {
  border-radius: 18px;
  background: #003366;
  color: #e5e7eb;
  padding: 1.75rem 1.6rem;
}

.remote-strip h2 {
  color: #ffffff;
}

/* Two-column about/why */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.pill-list ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.pill-list li {
  margin-bottom: 0.5rem;
}

/* Contact section */

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.hours-label {
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.hours-frame {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.contact-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-map-wrap iframe {
  border-radius: 18px;
}

/* -------------------------
   Footer
-------------------------- */

.site-footer {
  background: #003366;
  color: #e5e7eb;
  padding: 1.75rem 1rem 2.5rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  margin: 0.2rem 0;
}

/* Footer links – always white and readable */

.site-footer a,
.site-footer a:visited,
.site-footer a:hover {
  color: #ffffff !important;
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.05rem;
}

/* -------------------------
   Blog / article helpers
   (safe for existing pages)
-------------------------- */

.blog-hero {
  max-width: 1120px;
  margin: 2rem auto 1rem;
}

.blog-grid {
  max-width: 1120px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-card {
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  background: #f9fafb;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.blog-card h3 {
  font-size: 1.05rem;
}

/* -------------------------
   Responsive – Tablets & Down
-------------------------- */

@media (max-width: 1024px) {
  main {
    padding: 0 1rem 2.5rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------
   Responsive – Phones
-------------------------- */

@media (max-width: 768px) {
  /* Navigation: better spacing & wrapping */
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 0.6rem 0.75rem;
  }

  .main-nav a {
    font-size: 0.95rem;
    padding: 0.2rem 0.1rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
    margin-top: 1.5rem;
  }

  .hero-illustration {
    order: -1;
  }

  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-section .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .top-banner {
    flex-direction: column;
    text-align: center;
    padding-inline: 0.75rem;
  }
}

/* Extra-small phones */

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-bar {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
  }
}
/* --- MOBILE NAV BAR TWEAKS --- */
@media (max-width: 640px) {
  .main-nav {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;      /* slightly smaller text on phones */
  }

  .main-nav a {
    flex: 1 1 auto;         /* each item shares the row */
    text-align: center;
    padding: 0.7rem 0.35rem;/* tighter side padding = better fit */
    white-space: nowrap;    /* keep words on one line */
  }
}

/* --- FOOTER COLORS (NO MORE PURPLE LINKS) --- */
.site-footer {
  background-color: #003366;
  color: #ffffff;
}

.site-footer .footer-links a,
.site-footer .footer-links a:visited {
  color: #ffd766;           /* yellow links on blue */
  text-decoration: none;
}

.site-footer .footer-links a:hover {
  text-decoration: underline;
}
/* Blog cards (clickable service-card links) */
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card h3 {
  margin-top: 0.25rem;
}

.blog-card:hover h3 {
  text-decoration: underline;
}
/* Blog post next/previous links */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dde4ee;
  font-size: 0.95rem;
}

.post-nav-link {
  flex: 1;
  text-decoration: none;
  color: #004a99;
  font-weight: 600;
}

.post-nav-link.prev {
  text-align: left;
}

.post-nav-link.next {
  text-align: right;
}

.post-nav-link:hover {
  text-decoration: underline;
}

/* Make blog icons a bit larger */
.services-grid .service-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

