:root{--yellow:#f4b626;--text:#111;--muted:#444;--max:1200px}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Georgia,serif;color:var(--text);background:#fff}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
.container{max-width:var(--max);margin:auto}
header{padding:1rem 2rem;border-bottom:1px solid #e5e5e5;display:flex;flex-direction:column;align-items:center;background:#fff}
.logo{max-height:72px;margin-bottom:.5rem}
nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.25rem;flex-wrap:wrap;justify-content:center}
nav a{font-weight:500}
.hero{background:var(--yellow);padding:3rem 1.5rem}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;max-width:var(--max);margin:auto}
@media (max-width:800px){.hero-grid{grid-template-columns:1fr}}
.hero h1{font-size:clamp(2rem,5vw,3rem);margin:0 0 .75rem;font-weight:400}
.hero p{max-width:36ch;color:var(--muted);line-height:1.55}
.hero img{border-radius:6px}
.section{padding:2.5rem 1.5rem}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:var(--max);margin:auto}
@media (max-width:900px){.cards{grid-template-columns:1fr}}
.card{border:1px solid #e5e5e5;border-radius:8px;padding:1rem;background:#fff}
.card h3{margin:.25rem 0 .5rem}
.lead{max-width:70ch;color:var(--muted);line-height:1.6}
.actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
.btn{display:inline-block;padding:.7rem 1rem;border:1px solid #111;border-radius:999px;font-weight:600}
.btn-primary{background:#111;color:#fff}
.btn-ghost{background:transparent;color:#111}
footer{margin-top:3rem;padding:1rem 2rem;text-align:center;border-top:1px solid #e5e5e5;color:var(--muted);font-size:.95rem}
.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.grey{background:var(--muted);padding:3rem 1.5rem}
.yellow{background:var(--yellow);padding:3rem 1.5rem}


/* Base nav styles */
nav ul {list-style: none;margin: 0;padding: 0;display: flex;}
nav li {
  position: relative; /* important for dropdown positioning */
  margin-right: 1rem;
}
nav a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  color: #003366; /* adjust to your brand */
}

/* Dropdown menu hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;  /* directly below the parent */
  left: 0;
  background: #f8f8f8;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 200px;
  border: 1px solid #ddd;
  z-index: 1000;
}

/* Dropdown menu items */
.dropdown-menu li a {
  padding: 0.5rem 1rem;
  color: #003366;
  white-space: nowrap; /* stops text wrapping */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Optional: highlight on hover */
.dropdown-menu li a:hover {
  background: #eee;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 1.5rem;
  margin: 2rem auto;      /* auto left/right centers it */
  max-width: 1100px;      /* prevents cards from stretching edge-to-edge */
  justify-content: center;/* makes grid columns center inside container */
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card h3 {
  margin: 0.75rem;
  font-size: 1.25rem;
  color: #003366; /* adjust brand color */
}

.card p {
  margin: 0 0.75rem 1rem;
  font-size: 0.95rem;
  color: #555;
}



@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}
@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr; /* 1 per row on phones */
  }
}
.split {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;     /* center the whole block and control line length */
  margin: 2rem auto;
  padding: 0 1rem;
}
.split.reverse { flex-direction: row-reverse; }

.split-media {
  flex: 0 0 clamp(260px, 35vw, 420px); /* responsive image column width */
}
.split-media img {
  display: block;
  width: 100%;
  height: auto;           /* keep aspect ratio */
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.split-content { flex: 1; }
.split-content h2 { margin: 0 0 0.5rem; }
.split-content p { margin: 0 0 1rem; line-height: 1.7; }

/* Mobile: stack vertically */
@media (max-width: 900px) {
  .split { flex-direction: column; }
  .split.reverse { flex-direction: column; } /* still stacks image above text */
  .split-media { width: 100%; }
}

.video {
  position: relative;
  width: 100%;
  max-width: 900px;     /* adjust page width */
  margin: 1.5rem auto;  /* center on page */
  aspect-ratio: 16 / 9; /* keep correct shape responsively */
}
.video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 8px;   /* optional */
  box-shadow: 0 2px 12px rgba(0,0,0,.12); /* optional */
}
