/* Base layout */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  background: #f9f9f9;
  color: #222;
}

/* Header */
header {
  background: #004b87B3;
  color: #fff;
  padding: 24px 16px;
  text-align: center;
}
header .sub {
  opacity: 0.9;
  margin-top: 6px;
  font-size: 0.95rem;
}
.header-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left logo | title | right logo */
  align-items: center;
  gap: 12px;
}

.brand { line-height: 0; display: inline-block; }

.logo {
  height: 140px;              /* Increase/decrease as you like (e.g., 72–96px) */
  width: auto;
  display: block;
}

/* Keep logos hugging the edges while the title stays centered */
.logo-left  { justify-self: start; }
.logo-right { justify-self: end; }

.title-block {
  text-align: center;
}
.title-block h1 { margin: 0px; }
.title-block .sub { opacity: 1; margin-top: 6px; font-size: 0.95rem; }

/* Responsive: shrink logos & stack neatly on small screens */
@media (max-width: 700px) {
  .logo { height: 64px; }
}
@media (max-width: 520px) {
  .header-bar {
    grid-template-columns: 1fr 1fr;   /* logos on a row */
    grid-template-areas:
      "left right"
      "title title";
  }
  .logo-left  { grid-area: left;  justify-self: start; }
  .logo-right { grid-area: right; justify-self: end; }
  .title-block { grid-area: title; margin-top: 8px; }
  .logo { height: 52px; }
}


/* Nav */
nav {
  background: #eeeeee;
  padding: 10px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #004b87;
  font-weight: bold;
  padding: 6px 8px;
  border-radius: 6px;
}
nav a:hover { background: #dfe9f4; }
nav a.active {
  background: #004b87;
  color: #fff;
}

/* Page content */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
section + section { margin-top: 24px; }

/* Utilities */
.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.grid {
  display: grid;
  gap: 16px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Footer */
footer {
  background: #004b87;
  color: #fff;
  text-align: center;
  padding: 14px 10px;
}

/* Images */
img.responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.figure {
  text-align: center;
  margin: 12px 0;
  font-size: 0.9rem;
  color: #555;
}@charset "utf-8";

.video-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 per row */
  gap: 16px;
  align-items: start;
}

@media (max-width: 700px){
  .video-grid{
    grid-template-columns: 1fr; /* stack on phones */
  }
}

/* keep videos tidy */
.video-grid video{
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
  aspect-ratio: 16 / 9;     /* optional: consistent frame */
  object-fit: cover;        /* or 'contain' if you prefer letterboxing */
}


.research-block {
  margin-top: 32px;
  text-align: center; /* centers inline elements like headings */
}

.research-block h3,
.research-block p {
  text-align: left;       /* align text left */
  margin-left: 2em;       /* indent from the left */
  margin-right: 2em;      /* indent from the right */
}

.research-block img {
  display: block;
  margin: 16px auto;      /* centers the image with space above/below */
  max-width: 80%;         /* prevent it from being too wide */
}

/* Center section headings like "Welcome" and "Video Highlights" */
.card h2 {
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* Center captions under the videos/images */
figcaption {
  text-align: center;
  margin-top: 0.4em;

}

/* (Optional) make each figure's content centered as a block */
.video-grid figure,
.figure {
  text-align: center;
}

/* CSS Document */


