:root {
  --off-white: #f9f3ef;
  --loff-white: #d2c1b6;
  --light-navy: #456882;
  --navy: #1b3c53;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rubik", sans-serif;
  background-color: var(--off-white);
  color: var(--light-navy);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
  color: white;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 60, 83, 0.65); /* more contrast */
  z-index: -1;
}

header img {
  width: 250px;
  border-radius: 100%;
  border: 5px solid var(--loff-white);
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

header h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 2.8rem;
}

header p {
  color: var(--loff-white);
  font-size: 1.5rem;
  margin-top: 10px;
}

header h1,
header p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

section {
  padding: 80px 20px;
}

section:nth-of-type(even) {
  background-color: #fdf9f6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-size: 2.4rem;
  font-family: "Libre Baskerville", serif;
  color: var(--navy);
  margin-bottom: 25px;
}

p {
  font-size: 1.1rem;
  color: var(--light-navy);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--light-navy);
}

hr {
  border: dotted var(--light-navy) 6px;
  border-bottom: none;
  width: 4%;
  margin: 25px auto;
}

.btn {
  display: inline-block;
  background-color: var(--navy);
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #123044;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #eee;
  color: #666;
}

.footer-links a {
  margin: 0 15px;
  font-weight: 600;
  color: var(--light-navy);
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--navy);
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}
