/* ============================================================
   SEO Company Lahore — Global brand stylesheet (header/footer/
   buttons/base, loaded on every page). No gradients anywhere.
   Lexend headings, Carlito body (metric-compatible Calibri).
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --surface: #F6F7FA;
  --surface-2: #ECEEF2;
  --ink: #16121F;
  --ink-soft: #4B5568;
  --muted: #4B5568;
  --on-dark-soft: #C3B9E0;
  --line: #E4E7EE;
  --white: #FFFFFF;

  --purple-100: #EDE4FF;
  --purple-300: #9C6FF2;
  --purple-500: #591ECE;
  --purple-600: #4917A6;
  --purple-800: #2B0E6E;
  --purple-900: #1B0A47;
  --purple-950: #120730;

  --gold-100: #FFF3CE;
  --gold-400: #FFCA00;
  --gold-600: #C98A00;

  --success: #1FAA59;

  --font-head: "Lexend", "Segoe UI", Arial, sans-serif;
  --font-body: "Carlito", Calibri, Candara, "Segoe UI", Optima, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(16,24,40,0.05);
  --shadow: 0 10px 30px rgba(16,24,40,0.08);
  --shadow-lg: 0 20px 50px rgba(16,24,40,0.14);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17.5px; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container, .wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

section { padding: 88px 0; }
section.tight { padding: 64px 0; }
section.alt { background: var(--surface); }
section.dark { background: var(--purple-900); color: var(--white); }
section.dark h2, section.dark h3, section.dark h4 { color: var(--white); }
section.dark p { color: var(--on-dark-soft); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn::after {
  content: "\2192"; display: inline-block; width: 0; opacity: 0; overflow: hidden;
  transition: width 0.25s ease, opacity 0.2s ease, margin-left 0.25s ease;
}
.btn:hover::after { width: 1em; opacity: 1; margin-left: 2px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.97); }

.btn-primary { background: var(--gold-400); color: var(--purple-900); box-shadow: 0 10px 24px rgba(255,202,0,0.32); animation: pulseRing 2.6s ease-in-out infinite; }
.btn-primary:hover { background: var(--gold-600); box-shadow: 0 14px 30px rgba(255,202,0,0.4); animation: none; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--purple-500); color: var(--purple-600); box-shadow: 0 12px 26px rgba(89,30,206,0.18); }

/* ============ HEADER ============ */
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--white); letter-spacing: -0.01em; }
.logo-text span { color: var(--gold-400); }
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo { display: block; height: 52px; width: auto; }
.footer-logo { height: 56px; }
header.slc-site { background: var(--purple-900); border-bottom: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a { font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: rgba(255,255,255,0.8); transition: color 0.15s ease; }
.nav-links > a:hover { color: var(--gold-400); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .btn { padding: 10px 18px; font-size: 13.5px; }
.nav-phone { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown > .drop-trigger {
  display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: rgba(255,255,255,0.8); transition: color 0.15s ease;
}
.nav-dropdown > .drop-trigger:hover { color: var(--gold-400); }
.nav-dropdown .caret { width: 11px; height: 11px; transition: transform 0.2s ease; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 230px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: background 0.15s ease, color 0.15s ease; }
.dropdown-menu a:hover { background: var(--surface); color: var(--purple-600); }
.dropdown-menu .drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; color: var(--purple-600); }

/* ============ FOOTER ============ */
footer.slc-site-footer { background: var(--purple-900); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-brand-name { margin-top: 14px; margin-bottom: 8px; color: var(--white); font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand p { font-size: 15px; margin: 16px 0 20px; color: rgba(255,255,255,0.55); }
.footer-col h5 { font-family: var(--font-head); color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-list .icon { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--gold-400); }
.footer-cta-btn { margin-top: 20px; width: auto; }
.footer-col .footer-cta-btn { color: var(--purple-900) !important; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.6); }
.footer-view-all { color: var(--gold-400) !important; font-weight: 600; }
.nav-profile-mobile-only { display: none; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 14px; flex-wrap: wrap; gap: 10px; }
.footer-bottom .tags { color: rgba(255,255,255,0.35); }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.social-row a:hover { background: var(--purple-100); }
.social-row .icon { width: 16px; height: 16px; color: var(--purple-600); }
footer.slc-site-footer .social-row a { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
footer.slc-site-footer .social-row .icon { color: var(--white); }

.slc-success-bar { background: var(--gold-100); color: var(--purple-900); border-radius: var(--radius-sm); padding: 20px; font-weight: 600; text-align: center; }

/* ============ REVEAL BASE STATE ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============ KEYFRAMES ============ */
@keyframes hdDashFade { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }
@keyframes growBar { 0% { transform: scaleY(0); opacity: 0; } 100% { transform: scaleY(1); opacity: 1; } }
@keyframes drawLine { 100% { stroke-dashoffset: 0; } }
@keyframes pinPulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 12px 28px rgba(255,202,0,0.35); }
  50% { box-shadow: 0 12px 28px rgba(255,202,0,0.35), 0 0 0 10px rgba(255,202,0,0.14); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes driftBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 16px) scale(1.05); }
}

.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.16; pointer-events: none; animation: driftBlob 10s ease-in-out infinite; z-index: 0; }
.blob-purple { background: var(--purple-500); }
.blob-gold { background: var(--gold-400); }

@media (prefers-reduced-motion: reduce) {
  .hd-dash, .map-pin::after, .btn-primary, .blob { animation: none !important; }
  .map-pin::after { display: none; }
}

/* ============ RESPONSIVE (header/footer/global) ============ */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 20px; }
  .nav-profile-link { display: none; }
}

@media (max-width: 860px) {
  .site-logo { height: 40px; }
  .nav-links, .nav-phone, .nav-profile-link { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--purple-900);
    padding: 10px 24px 22px; box-shadow: var(--shadow-lg); border-bottom: 1px solid rgba(255,255,255,0.12);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.is-open > a, .nav-links.is-open .drop-trigger { width: 100%; padding: 12px 0; font-size: 16px; }
  .nav-links.is-open .nav-profile-mobile-only { display: block; }
  .nav-links.is-open .nav-dropdown { width: 100%; }
  .nav-links.is-open .drop-trigger { justify-content: space-between; }
  .nav-links.is-open .caret { display: none; }
  .nav-links.is-open .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    background: rgba(255,255,255,0.05); display: grid; min-width: 0; margin-bottom: 8px; padding: 8px;
  }
  .nav-links.is-open .dropdown-menu a { color: rgba(255,255,255,0.75); }
  .nav-links.is-open .dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--gold-400); }
}

@media (max-width: 720px) {
  html { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* ============================================================
   MOBILE FIX — forces responsive grid columns everywhere,
   overriding inline grid-template-columns set in PHP templates
   (inline styles otherwise beat the responsive rules in
   custom.css / home.css on small screens).
   ============================================================ */
@media (max-width: 900px) {
  .card-grid-4, .feat-grid, .point-grid, .diff-strip, .process-grid,
  .ind-grid, .stat-row, .review-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .hero-grid, .about-grid, .content-row, .blog-layout,
  .where-grid, .faq-split, .contact-split {
    grid-template-columns: 1fr !important;
  }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 620px) {
  .card-grid-4, .feat-grid, .point-grid, .diff-strip, .process-grid,
  .ind-grid, .stat-row, .review-grid, .form-row {
    grid-template-columns: 1fr !important;
  }
  .wrap, .container { padding: 0 18px !important; }
  section { padding: 48px 0 !important; }
  h1 { font-size: clamp(26px, 8vw, 34px) !important; line-height: 1.25 !important; }
  h2 { font-size: clamp(22px, 6vw, 28px) !important; }
  .hero-actions, .btn-row, .cta-banner .btn-row {
    flex-direction: column !important; align-items: stretch !important;
  }
  .hero-actions .btn, .btn-row .btn { width: 100% !important; }
  .cta-banner { flex-direction: column !important; text-align: center !important; gap: 20px !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  table { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .currency-toggle { margin: 0 auto !important; }
}

@media (max-width: 400px) {
  html { font-size: 15px; }
  .svc-card, .point-card, .ind-card { padding: 20px !important; }
  .site-logo { height: 32px; }
  .footer-logo { height: 40px; }
}
/* ============ WHATSAPP FLOATING BUTTON ============ */
.slc-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slc-whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 28px rgba(37,211,102,0.55); }
.slc-whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: slcWaPulse 2.2s ease-out infinite; z-index: -1;
}
@keyframes slcWaPulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .slc-whatsapp-float::before { animation: none; } }
@media (max-width: 620px) {
  .slc-whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .slc-whatsapp-float svg { width: 26px; height: 26px; }
}