/* ---------- Global ---------- */
:root {
  --blue: #0a1f44;
  --white: #ffffff;
  --yellow: #ffd43b;
  --card-text: #0a1f44;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--yellow);
  line-height: 1.2;
}

a {
  color: inherit;
}

section {
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Navbar ---------- */
#navbar {
  padding: 1rem 1.5rem;
}

#navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

#navbar a {
  text-decoration: none;
  font-weight: 600;
}

#navbar a:hover,
#navbar a:focus-visible {
  color: var(--yellow);
}

/* ---------- Hero ---------- */
#hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 2rem;
}

/* ---------- Services ---------- */
#services {
  text-align: center;
    justify-content: center;

}

#services ul, li {
  justify-content: center;
  text-align: center;
}

#services ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  max-width: 480px;
}

#services li {
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

/* ---------- Hero buttons ---------- */
#hero ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#hero li a {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

#hero li a:hover {
  background: var(--white);
}

#hero li a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* ---------- Footer ---------- */
footer {
  background: #000;
  color: #8c8c8c;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

footer p {
  margin: 0.5rem 0;
}

footer ul {
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

footer a:hover,
footer a:focus-visible {
  color: var(--white);
}

/* ---------- Centered sections ---------- */
#hero,
#contact {
  text-align: center;
}

#hero ul {
  justify-content: center;
}



/* ---------- Hero fills the first screen ---------- */
#hero {
  min-height: 100vh;
  min-height: 100svh;
}

#services {
  min-height: 80vh;
  min-height: 80svh;
}

#about {
  min-height: 60vh;
  min-height: 60svh;
}

/* ---------- About: image left, text right ---------- */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.3);
}

@media (max-width: 700px) {
  #about {
    grid-template-columns: 1fr;
  }
}