/* ============================================================
   NorthSouth Tech — Main Stylesheet
   To customize: search for [PLACEHOLDER] comments
   ============================================================ */

/* No Google Fonts needed — using same system font stack as current site */

/* ── CSS Variables ── */
:root {
  --navy:    #0f172a;
  --blue:    #1e293b;
  --accent:  #8b5cf6;
  --gold:    #a78bfa;
  --light:   #f8fafc;
  --white:   #FFFFFF;
  --gray:    #6b7280;
  --border:  #e5e7eb;
  --font-head: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(15,23,42,0.10);
  --shadow-lg: 0 12px 48px rgba(15,23,42,0.18);
  --transition: 0.22s ease;
  --max-w:   1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; }
p  { color: #374151; }

/* ── Layout Helpers ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  cursor: pointer; border: none; transition: var(--transition);
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 16px rgba(232,65,10,0.28);
}
.btn-primary:hover { background: #c73508; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,65,10,0.35); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-dark {
  background: var(--navy); color: var(--white);
}
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }

/* ── Nav ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  color: var(--white);
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: var(--white);
}
.nav-links {
  display: flex; align-items: center; gap: .25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.78); font-size: .92rem; font-weight: 500;
  padding: .45rem .9rem; border-radius: 7px;
  transition: var(--transition);
  font-family: var(--font-body);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.09); }
.nav-cta { margin-left: .75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── Mobile Nav ── */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--navy); padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 998;
  flex-direction: column; gap: .5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85); padding: .75rem 1rem;
  border-radius: var(--radius); font-size: 1rem;
  transition: var(--transition);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.08); color: var(--white); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 7rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 600px; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,0.55); font-size: .875rem; margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ── Section Labels ── */
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(232,65,10,0.1); color: var(--accent);
  border: 1px solid rgba(232,65,10,0.25);
  padding: .3rem .85rem; border-radius: 20px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.section-lead { color: var(--gray); font-size: 1.1rem; max-width: 600px; margin: .75rem 0 2.5rem; }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #b8c9e0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--light); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: .5rem; }
.card p  { font-size: .95rem; color: var(--gray); }

/* ── Service Cards (color accent top border) ── */
.service-card {
  border-top: 3px solid var(--accent);
}
.service-card .card-icon { background: rgba(232,65,10,0.08); }

/* ── Highlight / Callout Box ── */
.callout {
  background: var(--light); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem; margin: 2rem 0;
}
.callout p { margin: 0; font-size: 1rem; }

/* ── Stat Row ── */
.stat-row { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat { }
.stat-num {
  font-family: var(--font-head); font-size: 2.4rem;
  font-weight: 800; color: var(--accent); line-height: 1;
}
.stat-label { color: var(--gray); font-size: .875rem; margin-top: .3rem; }

/* ── Checklist ── */
.checklist { display: flex; flex-direction: column; gap: .6rem; }
.checklist li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .97rem;
}
.checklist li::before {
  content: '✓';
  min-width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: .15rem;
}

/* ── Testimonial ── */
.testimonial {
  background: var(--navy); color: var(--white);
  border-radius: 14px; padding: 2rem 2.5rem;
}
.testimonial blockquote {
  font-size: 1.1rem; line-height: 1.7; font-style: italic;
  color: rgba(255,255,255,0.88); margin-bottom: 1.25rem;
}
.testimonial-author { font-weight: 700; color: var(--gold); }
.testimonial-role   { color: rgba(255,255,255,0.55); font-size: .875rem; }

/* ── Pricing Card ── */
.pricing-card {
  border-radius: 14px; padding: 2.5rem 2rem;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--navy) 0%, #1e3f6e 100%);
  color: var(--white);
}
.pricing-badge {
  position: absolute; top: -1px; right: 1.5rem;
  background: var(--accent); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  padding: .25rem .75rem; border-radius: 0 0 8px 8px; text-transform: uppercase;
}
.pricing-price {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin: 1rem 0 .25rem;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.pricing-card.featured .pricing-price span { color: rgba(255,255,255,0.6); }
.pricing-features { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-features li {
  display: flex; align-items: center; gap: .6rem; font-size: .93rem;
}
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.pricing-card.featured .pricing-features li::before { color: var(--gold); }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: .75rem;
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--navy); transition: var(--transition);
}
.faq-q:hover { background: var(--light); }
.faq-icon { font-size: 1.25rem; transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.5rem 1.25rem; color: var(--gray); font-size: .95rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 4.5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,0.72); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-head); color: var(--white);
  font-size: .95rem; margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  color: rgba(255,255,255,0.6); font-size: .9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: .7rem; }
.footer-contact-item { display: flex; gap: .6rem; font-size: .9rem; }
.footer-contact-item .icon { color: var(--accent); min-width: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Contact Form ── */
.contact-form { background: var(--white); border-radius: 14px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .97rem; color: var(--navy);
  background: var(--light); transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  background: var(--white); box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-success {
  display: none; background: #d1fae5; border: 1px solid #a7f3d0;
  color: #065f46; padding: 1rem 1.25rem; border-radius: var(--radius);
  margin-top: 1rem; font-weight: 500;
}

/* ── Info Box ── */
.info-box {
  background: var(--light); border-radius: 14px;
  padding: 2rem 2.5rem;
}
.info-box h3 { margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; min-width: 40px;
}
.info-item strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .15rem; }
.info-item span   { color: var(--gray); font-size: .9rem; }

/* ── Process Steps ── */
.process-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem; background: var(--light); border-radius: var(--radius);
}
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--accent); min-width: 40px; line-height: 1;
}
.step h4 { margin-bottom: .3rem; }
.step p  { font-size: .93rem; color: var(--gray); margin: 0; }

/* ── Tag Pills ── */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag {
  background: var(--light); border: 1px solid var(--border);
  color: var(--blue); font-size: .8rem; font-weight: 600;
  padding: .25rem .75rem; border-radius: 20px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .stat-row { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-group { flex-direction: column; align-items: center; }
}
