:root {
  --clr-bg: #f9fbff;
  --clr-panel: #ffffff;
  --clr-primary: #0d4f8b;
  --clr-accent: #f0a500;
  --clr-muted: #6c7a89;
  --clr-border: #dbe3ef;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--clr-bg);
  color: #11263c;
  line-height: 1.6;
}

a {
  color: var(--clr-primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--clr-panel);
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--clr-muted);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  font-weight: 600;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.site-nav a.is-active {
  border-color: var(--clr-accent);
  color: var(--clr-primary);
}

.nav-toggle {
  display: none;
}

.page-content {
  flex: 1 0 auto;
  padding: 2.5rem 0 3rem;
}

.hero {
  background: linear-gradient(
      135deg,
      rgba(13, 79, 139, 0.95),
      rgba(31, 132, 206, 0.85)
    ),
    url("https://images.unsplash.com/photo-1501117716987-c8e1ecb210cc?auto=format&fit=crop&w=1400&q=80")
      center/cover no-repeat;
  color: #fff;
  padding: 4.5rem clamp(1rem, 4vw, 3rem);
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px rgba(13, 79, 139, 0.2);
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero p {
  font-size: 1.1rem;
  max-width: 640px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--clr-accent);
  color: #1a1a1a;
  box-shadow: 0 10px 20px rgba(240, 165, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 767px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  background: var(--clr-panel);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--clr-border);
  box-shadow: 0 15px 30px rgba(13, 79, 139, 0.08);
  position: relative;
}

.card .card-body {
  padding: 0 1.5rem 1.5rem;
}

.p-0 {
  padding: 0 !important;
}

.card img {
  width: 100%;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  object-fit: cover;
  height: 200px;
}

.card img .card h3 {
  margin-top: 0;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 79, 139, 0.1);
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.15);
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.list-muted {
  color: var(--clr-muted);
  padding-left: 1.25rem;
}

.section-title {
  margin-top: 0;
  font-size: 2rem;
}

.site-footer {
  background: #0b2946;
  color: #eff6ff;
  margin-top: auto;
}

.site-footer .container {
  padding: 2.5rem 0;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: #f8f9fb;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 840px) {
  .site-nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--clr-panel);
    padding: 1rem 2rem;
    flex-direction: column;
    border-bottom: 1px solid var(--clr-border);
    display: none;
  }

  .site-nav ul.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    background: var(--clr-accent);
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
  }
}

a.button-link {
  border: 2px solid var(--clr-primary);
  padding: 5px 10px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease-in;
}

a.button-link:hover {
  color: #fff;
  background: var(--clr-primary);
}

.home-hero__btns .btn {
  margin-left: 0 !important;
  margin-top: 0.75rem;
}
