/* Sumo Solutions — shared stylesheet */

:root {
  --brand: #0d6efd;
  --brand-dark: #083c8a;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8f9fa;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--ink);
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* NAVBAR */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  background-color: #fff !important;
}
.navbar-brand { letter-spacing: 0.5px; }
.navbar .nav-link.active { color: var(--brand) !important; font-weight: 600; }

/* HERO */
.hero-section {
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.95), rgba(8, 60, 138, 0.97)),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06), transparent 40%);
  background-color: var(--brand);
  color: #fff;
  padding: 140px 0 100px;
  text-align: center;
  margin-top: 56px;
}
.hero-section h1 {
  font-weight: 700;
  font-size: 2.4rem;
  max-width: 820px;
  margin: 0 auto 1rem;
  line-height: 1.25;
}
.hero-section p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}
@media (min-width: 768px) {
  .hero-section h1 { font-size: 3.1rem; }
  .hero-section { padding: 160px 0 120px; }
  .hero-section p { font-size: 1.2rem; }
}

/* SECTION TITLE */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
  font-size: 1.4rem;
}
.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand);
  bottom: 0;
  left: calc(50% - 30px);
}

/* SERVICE CARDS */
.service-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 22px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.service-card a { text-decoration: none; }
.service-card a:hover { text-decoration: underline; }
.service-icon { font-size: 2.3rem; color: var(--brand); margin-bottom: 18px; }

/* ABOUT */
.about-section { background-color: var(--soft); }
.about-section .lead { font-size: 1.15rem; color: var(--ink); }

/* CONTACT */
.contact-section {
  background-image: linear-gradient(135deg, var(--brand), #0a58ca);
  color: #fff;
}
.contact-section h2, .contact-section p { color: #fff; }
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 10px;
  padding: 22px 18px;
  height: 100%;
}
.contact-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}
.contact-link:hover { color: #fff; text-decoration: underline; }

/* FOOTER */
.footer {
  background-color: #1f2937;
  color: #9ca3af;
  padding: 36px 0 28px;
  font-size: 0.95rem;
}
.footer .footer-brand { font-size: 1.15rem; color: #fff; font-weight: 600; }
.footer a { color: #d1d5db; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .small { color: #6b7280; }

/* CONTENT / LEGAL PAGES */
.content-container, .legal-container {
  padding-top: 110px;
  padding-bottom: 60px;
  max-width: 860px;
}
.content-container h1, .legal-container h1 { margin-bottom: 1rem; }
.content-container h2, .legal-container h2 {
  margin-top: 2.2rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}
.content-container .lead { color: var(--ink); }

.policy-block {
  background: var(--soft);
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 22px 0;
}

/* 404 */
.error-section {
  text-align: center;
  padding: 140px 16px 80px;
}
.error-section .err-code {
  font-size: 5rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.error-section p { font-size: 1.1rem; max-width: 540px; margin: 0 auto 1.5rem; }
