:root {
  --navy: #04306b;
  --blue: #2f7fe0;
  --blue-dark: #0a3a7a;
  --yellow: #f7b928;
  --text: #0b2a55;
  --muted: #4a5a72;
  --white: #ffffff;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: 2rem; text-align: center; color: var(--navy); }
h3 { font-size: 1.15rem; color: var(--navy); }

/* Hero */
.hero {
  background: linear-gradient(170deg, #5aa0ef 0%, var(--blue) 55%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 28px 16px 120px;
  clip-path: ellipse(120% 100% at 50% 0%);
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.logo {
  width: 220px;
  margin: 0 auto 48px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 12px;
}
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.tagline {
  color: var(--yellow);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 1.2em auto 0;
  max-width: 680px;
}

/* Generic sections */
.section { max-width: var(--max); margin: 0 auto; padding: 64px 16px 24px; }

.split, .feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
}
.feature { grid-template-columns: 1fr 1.1fr; margin-bottom: 48px; }
.feature.reverse > img { order: 2; }
.feature img { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; }
.feature ul { padding-left: 1.1em; margin: 0; }

/* Our Service band */
.band {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 48px 16px 90px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}
.band h2 { color: var(--white); }
.band p { max-width: 640px; margin: 0 auto; font-weight: 600; }

.service-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
}
.service-grid img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin: 0 auto 12px;
  padding: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(4, 48, 107, .15);
}

/* Tech stack */
.stack { padding: 64px 0 0; }
.stack > h2 { margin-bottom: 0; padding-bottom: 32px; }
.cards {
  background: var(--navy);
  padding: 56px 16px 96px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 16px;
}
.card {
  background: var(--white);
  padding: 24px 22px 28px;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}
.card h3 { margin-top: 8px; }
.card-logo { height: 64px; width: auto; margin: 0 auto 4px; object-fit: contain; }
.card-logo.wide { height: 64px; }
.brands {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  height: 64px;
  margin-bottom: 4px;
}
.brands img { width: 40px; height: 40px; }

/* Contact */
.contact {
  background: linear-gradient(180deg, var(--yellow) 0%, #fde7a8 55%, var(--white) 100%);
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding: 96px 16px 64px;
}
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact h2 { text-align: left; font-weight: 400; font-size: 2.4rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 4px;
}
.cta:hover { background: var(--blue-dark); }

/* Footer */
.footer {
  border-top: 1px solid #d8dde5;
  margin: 0 32px;
  padding: 24px 16px 40px;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}
.footer p { margin: 0 0 2px; }
.policies { margin-top: 12px !important; display: flex; gap: 16px; justify-content: center; }

@media (max-width: 760px) {
  .split, .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature.reverse > img { order: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: minmax(0, 420px); }
  .footer { margin: 0 16px; }
}
