/* ============================================================
   MUHAMMAD SAJJAD — LOCAL SEO — DESIGN SYSTEM
   Shared CSS for all pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --navy:       #0A1628;
  --navy-80:    #1a2840;
  --navy-60:    #24334f;
  --teal:       #0EA5E9;
  --teal-dark:  #0284C7;
  --teal-light: #E0F2FE;
  --mint:       #00D4AA;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --gray-50:    #F1F5F9;
  --gray-100:   #E2E8F0;
  --gray-200:   #CBD5E1;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-700:   #334155;

  --text-primary:   #0F172A;
  --text-secondary: #334155;
  --text-muted:     #64748B;
  --border:         #E2E8F0;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px rgba(10,22,40,0.08);
  --shadow-md:  0 4px 16px rgba(10,22,40,0.10);
  --shadow-lg:  0 8px 32px rgba(10,22,40,0.12);
  --shadow-xl:  0 20px 60px rgba(10,22,40,0.15);
  --shadow-teal: 0 4px 20px rgba(14,165,233,0.25);

  --section-pad: 96px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { font-size: 1rem; line-height: 1.7; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-teal { color: var(--teal); }
strong { font-weight: 600; color: var(--text-primary); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 32px; }
.container-lg { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 32px; }

.section { padding: var(--section-pad) 0; }
.section-tight { padding: 64px 0; }
.bg-navy { background: var(--navy); color: var(--gray-200); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-off { background: var(--off-white); }
.bg-white { background: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.bg-navy .section-label { background: rgba(14,165,233,0.15); color: #7DD3FC; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 16px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14,165,233,0.35); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-80); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(14,165,233,0.12);
  color: #7DD3FC;
  border: 1px solid rgba(14,165,233,0.3);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(0,212,170,0.25); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

.pill { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-full); background: var(--gray-50); color: var(--text-secondary); border: 1px solid var(--border); }
.pill-teal { background: var(--teal-light); color: var(--teal-dark); border-color: transparent; }

/* Intent pills for keyword tables */
.intent-pill { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 4px 11px; border-radius: var(--radius-full); }
.intent-emergency { background: #FEE2E2; color: #B91C1C; }
.intent-high { background: #FEF3C7; color: #92400E; }
.intent-commercial { background: var(--teal-light); color: var(--teal-dark); }
.intent-info { background: var(--gray-100); color: var(--gray-700); }

/* ---------- CARDS ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.card-dark { background: var(--navy-80); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 32px; }
.card-flat { background: var(--off-white); border-radius: var(--radius-md); padding: 32px; }

/* Icon boxes */
.icon-box {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box-dark { background: rgba(14,165,233,0.15); }
.icon-box-sm { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.icon-box-sm svg { width: 20px; height: 20px; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--navy);
}
.nav-logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--gray-200); transition: color 0.2s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -22px; left: 0; right: 0; height: 2px; background: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 24px; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 5px; }
.nav-dropdown-trigger svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 260px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
  padding: 10px; opacity: 0; visibility: hidden; transition: all 0.2s ease; border: 1px solid var(--border);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.92rem; font-weight: 500; }
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--teal-dark); }
.nav-dropdown-menu a span.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

.nav-toggle { display: none; width: 26px; height: 20px; position: relative; flex-direction: column; justify-content: space-between; z-index: 1001; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 999;
  display: flex; flex-direction: column; justify-content: center; padding: 32px;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu .mobile-sub { padding-left: 18px; }
.mobile-menu .mobile-sub a { font-size: 1.05rem; font-weight: 500; color: var(--gray-400); border-bottom: none; padding: 10px 0; }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy); color: var(--gray-400); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-desc { font-size: 0.93rem; line-height: 1.7; max-width: 320px; color: var(--gray-400); }
.footer h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-display); }
.footer-links a { display: block; font-size: 0.92rem; color: var(--gray-400); padding: 7px 0; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--gray-500); flex-wrap: wrap; gap: 12px; }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.96rem; color: var(--text-primary); background: var(--white); transition: border-color 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); outline: none; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2364748B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.privacy-note { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-top: 18px; line-height: 1.5; }

.success-state { text-align: center; padding: 40px 20px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon svg { width: 30px; height: 30px; color: var(--teal-dark); }

/* ---------- FAQ ACCORDION ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text-primary);
}
.faq-question .icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.3s ease; }
.faq-item.open .faq-question .icon { background: var(--teal); transform: rotate(45deg); }
.faq-item.open .faq-question .icon svg { stroke: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 4px 22px; font-size: 0.96rem; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; color: #F59E0B; }
.testimonial-quote { font-size: 0.96rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.testimonial-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- PROCESS TIMELINE ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: var(--gray-200); background-image: linear-gradient(90deg, var(--gray-200) 60%, transparent 40%); background-size: 16px 2px; }
.process-step { position: relative; text-align: left; }
.process-num { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 20px; position: relative; z-index: 2; }

/* Vertical timeline (About page) */
.v-timeline { position: relative; padding-left: 40px; }
.v-timeline::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.v-timeline-item { position: relative; padding-bottom: 40px; }
.v-timeline-item:last-child { padding-bottom: 0; }
.v-timeline-dot { position: absolute; left: -40px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--teal); }

/* ---------- CTA BLOCK ---------- */
.cta-block { background: var(--navy); border-radius: var(--radius-xl); padding: 72px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; top: -40%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(14,165,233,0.18), transparent 70%); }
.cta-block-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- KEYWORD TABLE ---------- */
.kw-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
.kw-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.kw-table th { text-align: left; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); background: var(--off-white); padding: 16px 20px; border-bottom: 1px solid var(--border); }
.kw-table td { padding: 16px 20px; font-size: 0.92rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.kw-table tr:last-child td { border-bottom: none; }
.kw-table tr:hover td { background: var(--off-white); }
.kw-table td.kw-name { font-weight: 600; color: var(--text-primary); }

/* ---------- BREADCRUMB ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 24px; }
.breadcrumb a { color: var(--gray-400); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ---------- SCROLL ANIMATIONS ---------- */
.fu { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fu.vis { opacity: 1; transform: translateY(0); }
.fu-d1 { transition-delay: 0.08s; }
.fu-d2 { transition-delay: 0.16s; }
.fu-d3 { transition-delay: 0.24s; }
.fu-d4 { transition-delay: 0.32s; }

/* ---------- UTILITIES ---------- */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.list-check { display: flex; flex-direction: column; gap: 16px; }
.list-check li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--text-secondary); }
.list-check .check-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.list-check .check-icon svg { width: 12px; height: 12px; color: var(--teal-dark); }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .grid-2 { gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  h1 { line-height: 1.2; }
  .cta-block { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container, .container-sm, .container-lg { padding: 0 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .card, .card-dark, .card-flat { padding: 24px; }
}

@media (max-width: 380px) {
  .nav-inner { height: 68px; }
  .nav-logo-name { display: none; }
}