/* General Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

header {
  background: #004080;
  color: white;
  padding: 1rem 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  color: #ffffff;
  visibility: visible;
  display: block;
}

nav {
  background: #003366;
  color: white;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  padding: 1rem;
}

section {
  margin-bottom: 2rem;
}

h1, h2, h3 {
  color: #004080;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li::before {
  content: "✔️ ";
  color: green;
}

button {
  background-color: #004080;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #003366;
}

form {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input, textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* Responsive Design */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  button {
    width: 100%;
  }
}

/* Footer with High Contrast Text and Links */
footer {
  background: #004080;           /* Dark blue background */
  color: #ffffff;                /* Bright white text for max contrast */
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer a {
  color: #00ffff;                /* Bright cyan links — good contrast */
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  color: #ffffff;                /* White on hover */
  text-decoration: underline;
}
.youtube-thumbnail {
  background-color: #000;
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.youtube-play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent white;
}
#backToTop {
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

#backToTop:hover {
  background-color: #555;
  }
