@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0f6cff;
  --dark: #0e1320;
  --light: #f5f7fb;
  --text: #1e293b;
  --muted: #64748b;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  margin-left: 1rem;
}

nav a:hover {
  color: var(--primary);
}

main {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
  min-height: 60vh;
}

footer,
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 1.5rem;
  text-align: center;
}

footer p,
.site-footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero {
  text-align: center;
  margin: 2rem 0 4rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.cta:hover {
  opacity: 0.9;
}

.services h3,
.cta-bottom h3,
.contact h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.service-card h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.cta-bottom {
  text-align: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  max-width: 500px;
  width: 100%;
}

.contact-card p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-card i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.contact-card a {
  text-decoration: none;
  color: var(--text);
}

.contact-card a:hover {
  color: var(--primary);
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 0.75rem;
  }

  nav a {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  header {
    padding: 1rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  nav {
    display: flex;
    gap: 1rem;
  }

  main {
    margin: 2rem auto;
    padding: 0 1.25rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .service-card,
  .contact-card {
    padding: 1.25rem;
  }

  footer,
  .site-footer {
    padding: 1.5rem 1rem;
  }
}

body.dark {
  --light: #0e1320;
  --text: #e5e7eb;
  --muted: #94a3b8;
}

body.dark header,
body.dark footer,
body.dark .site-footer,
body.dark .service-card,
body.dark .contact-card {
  background: #111827;
  border-color: #1f2937;
}

body.dark nav a {
  color: var(--text);
}


.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: 1rem;
  line-height: 1;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: 1rem;
  color: var(--text);
}

.theme-toggle:hover {
  color: var(--primary);
}

.services {
  margin-bottom: 4rem;
}

.service-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.service-card h4 {
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .service-card {
    text-align: center;
  }
}
