body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #f9fafb;
  /* match seo-section blue for body text */
  color: #0c4a6e;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #0ea5e9;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #0284c7;
}

.hero {
  background: linear-gradient(to right, #017db6, #016292);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.hero .logo {
  width: 480px;
  max-width: 100%;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #0ea5e9;
  color: white;
  text-decoration: none;
  margin-top: 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #0284c7;
}

section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card,
.project-category,
.testimonial-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.project-category:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.service-card .icon,
.project-category .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3,
.project-category h3 {
  margin-top: 0;
  color: #0c4a6e;
}

.service-card p,
.project-category p {
  font-size: 0.95rem;
  color: #475569;
}

@media (min-width: 992px) {
  .service-grid,
  .project-grid,
  .testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .service-card,
  .project-category,
  .testimonial-card {
    width: 300px;
    flex: 0 1 auto;
  }
}

  .service-card,
  .project-category {
    width: 300px;
    flex: 0 1 auto;
  }

.cta-section {
  background: linear-gradient(to right, #0ea5e9, #0284c7);
  text-align: center;
  color: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section .btn-primary {
  margin-top: 1rem;
}

.seo-section {
  padding: 3rem 2rem;
  background: #f1f5f9;
  color: #1a1a1a;
  text-align: center;
}

.seo-section h2 {
  color: #0c4a6e;
  margin-bottom: 1rem;
}

.seo-section p {
  max-width: 700px;
  margin: auto;
  font-size: 1rem;
  color: #475569;
}

footer {
  background: #016292;
  color: #e2e8f0;
  text-align: center;
  padding: 2rem;
}

.footer-logo {
  width: 200px;
  max-width: 100%;
  margin-bottom: 0.5rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
}

form button {
  padding: 0.75rem 1.5rem;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0284c7;
}

.sticky-nav {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.sticky-nav a {
  text-decoration: none;
  color: #0c4a6e;
  font-weight: 600;
  transition: color 0.3s;
}

.sticky-nav a:hover {
  color: #0284c7;
}

/* centered responsive images used for App Design and Python Dev */
.center-image {
  text-align: center;
  margin-top: 1rem;
}
.center-image img {
  max-width: 560px;
  width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ===== Visual polish overrides ===== */
:root{
  --brand-blue: #0c4a6e;
  --accent: #0ea5e9;
  --muted: #64748b;
  --bg: #f9fafb;
  --card-bg: #ffffff;
  --radius: 12px;
}

/* Typography and global spacing */
html { font-size: 16px; }
body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--brand-blue);
  line-height: 1.65;
}

header.hero { padding: 4.25rem 1.5rem; }
section { padding: 3rem 1.25rem; }

/* Buttons */
.btn-primary {
  background: var(--accent) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(14,165,233,0.12);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(2,6,23,0.08); }

/* Cards and lists */
.service-card, .project-category, .testimonial-card {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}

/* Forms */
form input, form textarea { border-radius: 8px; background: #fff; }
form { max-width: 680px; margin: 0 auto; }

/* SEO section emphasis */
.seo-intro { text-align: center; }

/* Responsive tweaks */
@media (max-width: 720px) {
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .center-image img { width: 95%; max-width: 420px; }
}

/* small utility */
.muted { color: var(--muted); }

/* End polish */
