:root {
  --primary: #0a192f;
  --accent: #0a6ea8;
  --bg: #f7f9fc;
  --text: #1f2937;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.hero {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 16px;
  /* Use the logo as a background image and make it nicely contain within the hero */
  background: var(--primary) url('logo.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
}
/* Dark overlay to ensure text remains legible over the logo */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.7);
  z-index: 1;
}
/* Ensure the heading, paragraph and button appear above the overlay */
.hero > * {
  position: relative;
  z-index: 2;
}
/* Hide any image within the hero (we removed it in the HTML) */
.hero img {
  display: none;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 8px 0 8px;
}
.hero p {
  margin: 0 0 20px;
  color: #c9d6e3;
  max-width: 780px;
}
.cta {
  display: inline-block;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.cta:hover {
  background: #045782;
}
.section {
  padding: 56px 16px;
}
.section.alt {
  background: #fff;
}
.container {
  max-width: 980px;
  margin: 0 auto;
}
.section h2 {
  margin: 0 0 16px;
}
.section p {
  color: var(--muted);
}
ul {
  padding-left: 20px;
  margin: 0;
}
li {
  margin: 8px 0;
}
.contact-form {
  display: grid;
  gap: 10px;
  max-width: 640px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
}
.footer {
  background: var(--primary);
  color: #a7b3c2;
  padding: 24px 16px;
  text-align: center;
}
.footer p {
  margin: 0;
}

/* Gallery grid layout for showcasing wrapped projects */
.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: 34px;
  }
}
