:root {
  --primary: #1a237e;
  --accent: #6a1b9a;
  --bg: #fafafa;
  --text-dark: #212121;
  --text-light: #ffffff;
  --border: #e0e0e0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
}

.navbar {
  background: var(--primary);
  color: var(--text-light);
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
}

.cta-nav {
  background: var(--accent);
  color: var(--text-light);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  padding: 8rem 1rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-family: inherit;
  margin: 0.3rem;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background: #283593;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

.services-grid {
  padding: 4rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card em {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.about-strip {
  padding: 2rem 1rem;
  background: var(--primary);
  color: var(--text-light);
  margin: 2rem 0;
}

.credentials-strip {
  padding: 1rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  max-width: 1200px;
  margin: 2rem auto;
}

.cta-strip {
  padding: 2rem 1rem;
  background: var(--primary);
  color: var(--text-light);
  text-align: center;
  margin: 2rem 0;
}

.cta-strip a {
  color: var(--accent);
  text-decoration: underline;
}

footer {
  background: var(--primary);
  color: var(--text-light);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}