:root {
  --navy:#06264a;
  --blue:#0b3d75;
  --gold:#c69a35;
  --light:#f7f7f5;
  --text:#142033;
  --white:#ffffff;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--light);
  color:var(--text);
  line-height:1.6;
}

header{
  background:var(--navy);
  color:var(--white);
  padding:20px 6%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.logo{
  font-size:1.6rem;
  font-weight:700;
  letter-spacing:1px;
}

.tagline{
  font-size:.85rem;
  color:#e7d8aa;
  letter-spacing:1.5px;
}

nav a{
  color:var(--white);
  margin-left:18px;
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
  transition:.25s;
}

nav a:hover{
  color:var(--gold);
}

.hero{
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    min-height:500px;
    display:flex;
    align-items:center;
    padding:60px 6%;
}

.hero-content{
  max-width:500px;
  animation:fadeUp 1s ease forwards;
}

.eyebrow{
  color:var(--blue);
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
  font-size:1.1rem;
}

h1{
  color:var(--navy);
  font-size:clamp(2.8rem,7vw,5.8rem);
  line-height:.95;
  margin:12px 0;
  text-transform:uppercase;
}

.gold-line{
  width:90px;
  height:5px;
  background:var(--gold);
  margin:25px 0;
}

.hero h2{
  font-size:1.45rem;
  color:#111;
  margin-bottom:18px;
}

.hero p{
  font-size:1.05rem;
  max-width:520px;
}

.buttons{
  margin-top:28px;
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:14px 22px;
  border-radius:6px;
  text-decoration:none;
  font-weight:700;
  transition:.25s;
}

.btn-primary{
  background:var(--navy);
  color:var(--white);
}

.btn-primary:hover{
  background:#08376b;
}

.btn-secondary{
  background:rgba(255,255,255,.65);
  border:2px solid var(--navy);
  color:var(--navy);
}

.btn-secondary:hover{
  background:var(--navy);
  color:white;
}

.stats{
  width:88%;
  margin:-45px auto 30px;
  background:var(--navy);
  color:var(--white);
  border-radius:10px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  text-align:center;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.stat{
  padding:26px 12px;
  border-right:1px solid rgba(255,255,255,.25);
}

.stat:last-child{
  border-right:none;
}

.stat strong{
  display:block;
  font-size:1.8rem;
  color:white;
}

.section{
  max-width:1300px;
  margin:auto;
  padding:40px 6%;
}

.section-title{
  text-align:center;
  color:var(--navy);
  font-size:2rem;
  margin-bottom:10px;
}

.section-intro{
  max-width:780px;
  margin:0 auto 35px;
  text-align:center;
  font-size:1.05rem;
}

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.card{
  background:white;
  border-radius:12px;
  padding:28px 22px;
  text-align:center;
  border-top:5px solid var(--gold);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:.25s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 26px rgba(0,0,0,.14);
}

.card .icon{
  font-size:2.3rem;
  margin-bottom:12px;
}

.card h3{
  color:var(--navy);
  margin:8px 0 10px;
  text-transform:uppercase;
  font-size:1.1rem;
}

.card p{
  font-size:.96rem;
  margin-bottom:18px;
}

.card a{
  color:var(--blue);
  text-decoration:none;
  font-weight:700;
}

.card img{
  width:180px;
  max-width:100%;
  height:auto;
  border-radius:6px;
  margin-bottom:15px;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
}

.featured{
  background:#fffdf7;
  border:1px solid #ead8a8;
  border-radius:12px;
  padding:30px;
  margin-top:35px;
}

.featured-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  text-align:center;
}

.featured-grid a{
  color:var(--navy);
  text-decoration:none;
  font-weight:700;
}

footer{
  background:var(--navy);
  color:white;
  text-align:center;
  padding:35px 6%;
  margin-top:45px;
}

footer a{
  color:#f3d98a;
  text-decoration:none;
}

footer a:hover{
  color:white;
}

.hero-early-life {
  background:
    linear-gradient(
      to right,
      rgba(255,255,255,.95),
      rgba(255,255,255,.55)
    ),
    url("images/hero-early-life.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@keyframes fadeUp{

  from{
    opacity:0;
    transform:translateY(25px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}

@media (max-width:1000px){

  .cards{
    grid-template-columns:repeat(2,1fr);
  }

  .stats,
  .featured-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero{
    background-position:center;
  }

}

@media (max-width:650px){

  nav{
    margin-top:15px;
  }

  nav a{
    display:inline-block;
    margin:6px 10px 6px 0;
  }

  .cards,
  .stats,
  .featured-grid{
    grid-template-columns:1fr;
  }

  .hero{
    min-height:560px;
    padding-top:45px;
  }

}