/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   BASE
========================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.6;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   HEADER / NAV
========================= */
header {
  background: #0f172a;
  color: white;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 42px;
  width: auto;
  border-radius: 6px;
}

.site-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 18px;
  font-weight: bold;
  display: inline-block;
  padding: 8px 10px;
  border-radius: 8px;
}

nav a:hover {
  background: rgba(255,255,255,0.08);
}

/* =========================
   NAVIGATION
========================= */

nav a {
  color: white;
  text-decoration: none;
  margin-left: 18px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
  transition: background 0.25s ease;
}

/* Hover */
nav a:hover {
  background: rgba(255,255,255,0.08);
}

/* CTA NAV ITEM (Before Your Call) */
nav a.cta-nav {
  background: #2563eb;
}

nav a.cta-nav:hover {
  background: #1d4ed8;
}

/* ACTIVE PAGE INDICATOR (underline only) */
nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
}


/* =========================
   LAYOUT
========================= */
section {
  max-width: 900px;
  margin: 70px auto 40px auto;
  padding: 0 20px;
}

/* =========================
   HERO (INDEX)
========================= */
.hero {
  width: 100%;
  background: linear-gradient(
    rgba(15, 23, 42, 0.8),
    rgba(15, 23, 42, 0.8)
  ),
  url("images/hero-tech.jpg") center / cover no-repeat;

  padding: 120px 20px;
  color: white;
  text-align: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  max-width: 150px;
  margin-bottom: 22px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
  opacity: 0.98;
}

.hero h2 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  color: white;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 1.2rem;
  margin-bottom: 22px;
  opacity: 0.95;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-trust span {
  white-space: nowrap;
}

/* =========================
   BUTTONS
========================= */
.download-btn,
form button {
  display: inline-block;
  padding: 12px 20px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease;
  text-decoration: none;
}

.download-btn:hover,
form button:hover {
  background-color: #1d4ed8;
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  padding: 12px 20px;
  border: 2px solid #2563eb;
  color: #2563eb;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.25s ease;
}

.btn-outline:hover {
  background: #2563eb;
  color: white;
  text-decoration: none;
}

/* =========================
   CARD
========================= */
.card {
  background: white;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  margin-bottom: 26px;
  border: 1px solid #eef2f7;
}

/* =========================
   CONSISTENT UNDERLINE
   Use: <h2 class="section-title">Title</h2>
========================= */
.section-title {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 16px;
  color: #0f172a;
  line-height: 1.25;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
}

/* =========================
   TYPOGRAPHY HELPERS
========================= */
.muted {
  color: #555;
}

ul, ol {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

/* =========================
   ABOUT (INDEX)
========================= */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about img {
  max-width: 150px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  margin: 10px 0 18px 0;
}

.about-content {
  width: 100%;
  max-width: 680px;
  text-align: left;
}

.about-content p {
  margin-bottom: 14px;
}

.availability {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #333;
}

/* Trust line */
.trust-line {
  text-align: center;
  color: #555;
  margin: 10px 0 30px 0;
}

/* Security / Note box */
.security-box,
.note,
.service-note {
  background: linear-gradient(180deg, #f1f5f9 0%, #eef6ff 100%);
  border-left: 8px solid #2563eb;
  padding: 18px;
  margin-top: 18px;
  border-radius: 16px;
}

/* =========================
   FORMS (CONTACT)
========================= */
form {
  margin-top: 10px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row input {
  flex: 1;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  background: white;
}

form textarea {
  resize: vertical;
  margin-bottom: 12px;
}

/* Mobile: stack Name/Email */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* =========================
   SERVICES PAGE
========================= */
.services-hero {
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 0 20px;
}

.services-hero-inner {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #eef2f7;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.services-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.services-hero-img {
  width: 100%;
  max-width: 320px;
  justify-self: end;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

.service-card {
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.10);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5ff;
  border: 1px solid #e6eeff;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.service-card p {
  margin-bottom: 12px;
  color: #4b5563;
}

.service-card ul {
  padding-left: 18px;
}

.service-card li {
  margin-bottom: 6px;
  color: #111827;
}

@media (max-width: 750px) {
  .services-hero-inner {
    grid-template-columns: 1fr;
  }
  .services-hero-img {
    justify-self: start;
    max-width: 100%;
  }
}

/* =========================
   PRICING PAGE
========================= */
.pricing {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 18px;
}

.price-box {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  position: relative;
}

.price-box h3 {
  margin-bottom: 8px;
  color: #0f172a;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #2563eb;
}

.price-box p {
  color: #555;
  margin-bottom: 14px;
}

.price-box ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.price-box.highlight {
  border: 2px solid #2563eb;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.12);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #2563eb;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Step Divider */
.step-divider {
  max-width: 900px;
  margin: 10px auto 0 auto;
  padding: 0 20px;
  text-align: center;
}

.step-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
  border: 1px solid #dbeafe;
}

.step-title {
  margin: 0;
  color: #0f172a;
}

.step-sub {
  margin-top: 8px;
  margin-bottom: 20px;
}

/* Payment layout */
.payment-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.payment-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.payment-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.agree {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 12px;
  border-radius: 12px;
  margin: 12px 0;
}

.agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

/* =========================
   INSTRUCTIONS PAGE
========================= */
.instructions {
  max-width: 850px;
}

.instructions p,
.instructions li {
  line-height: 1.7;
}

/* =========================
   SERVICE AGREEMENT PAGE
========================= */
.service-agreement {
  max-width: 820px;
}

.service-agreement p {
  line-height: 1.75;
  margin-bottom: 14px;
}

.service-agreement ul {
  margin: 10px 0 22px 0;
  padding-left: 22px;
}

.service-agreement li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.service-agreement h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #0f172a;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  color: #555;
}
/* =========================
   INSTRUCTIONS PAGE (LESS CRAMMED)
========================= */
.instructions-card p {
  margin-top: 10px;
  line-height: 1.75;
}

.steps {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

/* Step rows */
.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #ffffff;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #2563eb;
  background: #eaf2ff;
  border: 1px solid #dbeafe;
}

.step-body h3 {
  margin-bottom: 6px;
  color: #0f172a;
}

.step-body p {
  margin: 0 0 10px 0;
  color: #4b5563;
}

/* Cleaner list spacing */
.clean-list {
  margin-top: 10px;
  padding-left: 18px;
}

.clean-list li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* Help box at bottom */
.help-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

/* Mobile */
@media (max-width: 600px) {
  .step {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   UNDERLINE FIX (ONE SYSTEM)
   Put this at the VERY END of style.css
========================================= */

/* Turn OFF any old automatic H2 underlines */
.card h2::after,
.text-underline h2::after,
.instructions h2::after,
.service-agreement h2::after {
  content: none !important;
}

/* Turn ON underline ONLY when you add .section-title */
.section-title {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;        /* consistent length */
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
}
