body {
    background-color: #f0f8ff; 
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #333;
    margin: 20px;
}

h1 {
    color: darkred;
    text-align: center;
}

h2 {
    color: #003366;
}

p {
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

span.boldtext {
    font-weight: bold;
}

span.italictext {
    font-style: italic;
}

ul.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
  display: flex;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: Orange;
}

a.active {
  background-color: Green;
}

/* Add a lightgray right border to all list items, except the last */
ul li {
  float: left;
  border-right: 1px solid #bbbbbb;
}

ul li:last-child {
  border-right: none;
}

/* Shared styles for table headers and cells */
th, td {
  border: 3px solid #96D4D4;     /* Border shorthand */
  padding: 10px;
  vertical-align: middle;
  Border-bottom: 2px solid #333; /* Line under title*/
}

/* Table styling */
table {
  width: 80%;                    /* Use of percentage */
  background-color: #f4f4f4;     /* Different from body background */
  border: 3px solid #96D4D4;     /* Border shorthand */
  border-collapse: collapse;     /* Collapsed double borders */
  margin-left: auto;
  margin-right: auto;
}

/* Header-specific styling */
th {
  background-color: #52ffff;     /* Different header background */
  text-align: center;            /* Horizontal alignment */
}

/* Data cell styling */
td {
  text-align: left;              
}

tr:nth-child(odd) {
  background-color: #c3f9ff;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

/* Paragraphs */
p {
  margin-top: 1em;
  margin-bottom: 1.5em;
  line-height: 1.6;
}


/* Headings (uniform spacing) */
h1, h2, h3 {
  line-height: 1.25;
  margin-top: 2rem;         /* space above headings */
  margin-bottom: 0.75rem;   /* tighten space below headings */
}

/* Center the fieldset and all its content */
.video-fieldset {
  max-width: 820px;
  margin: 2rem auto;
  padding: 1.25rem 1rem 1.5rem;
  border: 2px solid #c9c9c9;
  border-radius: 12px;
}

.video-fieldset > legend {
  padding: 0 .5rem;
  font-weight: 600;
  color: #003366;
}

/* Ensure the section centers its contents */
.video-section {
  display: grid;
  place-items: center; /* centers poster/video horizontally */
}

/* Wrapper controls width and centering */
.video-wrap {
  max-width: 640px;             /* default = Normal button */
  width: 100%;
  margin-inline: auto;          /* center horizontally */
  text-align: center;           /* center captions/buttons (legacy-safe) */
}

/* Video element (poster inherits centering via the element) */
#video1 {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

/* Audio centered and constrained */
.video-audio {
  display: block;
  margin: .75rem auto 0;
  max-width: 100%;
}

/* Controls */
.video-controls {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.video-controls button {
  padding: .5rem .8rem;
  border: 1px solid #bbb;
  border-radius: .5rem;
  background: #fff;
  cursor: pointer;
}
.video-controls button:hover { background: #f3f3f3; }

.app-logo {
  text-align: center;
  margin: 20px 0 20px;
}

.app-logo img {
  max-width: 180px;
  height: auto;
}

.logo-tagline {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #fbc02d;
  letter-spacing: 0.08em;
}

.app-logo img {
  width: 540px; /* 3x bigger */
  max-width: 90%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.app-logo {
  text-align: center;
  margin: 20px 0 20px;
}

.app-logo img {
  width: 540px;        /* ~3x size */
  max-width: 90%;      /* keeps it responsive on smaller screens */
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logo-tagline {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Brighter accessible link color ONLY inside the landing-page purple boxes */
.landing-meta-box a {
  color: #FFD966;     /* Bright gold – high visibility */
  font-weight: 600;
  text-decoration: none;
}

.landing-meta-box a:hover {
  color: #FFEE99;     /* Slightly brighter for hover */
  text-decoration: underline;
}
