:root {
  --brand: #4f46e5;
  --brand-dark: #4338ca;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 76px;
}

/* ===== Navbar ===== */
#mainNav {
  background-color: var(--bs-body-bg);
  transition: box-shadow .2s ease;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 90vh;
  padding-top: 76px;
  background: linear-gradient(180deg, var(--bs-body-bg) 0%, var(--bs-tertiary-bg) 100%);
}

.hero-visual {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 6rem;
}

/* ===== Cards ===== */
.service-card, .work-card, .team-card, .testimonial-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
  background-color: var(--bs-body-bg);
}

.service-card:hover, .work-card:hover, .team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background-color: rgba(79, 70, 229, .12);
  color: var(--brand);
}

.work-thumb {
  height: 180px;
  border-radius: .75rem .75rem 0 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.stat-box {
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  background-color: var(--bs-tertiary-bg);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}

.social-links a {
  color: var(--bs-body-color);
  transition: color .15s ease;
}

.social-links a:hover {
  color: var(--brand);
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }
}
