* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

header {
  background:
    linear-gradient(135deg, rgba(0, 82, 155, 0.95), rgba(0, 120, 100, 0.95)),
    url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 3rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 300;
}

/* 
  Mobile Responsiveness
  Adjusts header padding and font sizes for smaller screens
*/
@media (max-width: 768px) {
  header {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}

nav {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
}

.nav-content a {
  color: #00529b;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-content a:hover {
  background: #00529b;
  color: white;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.hero-image {
  width: 100%;
  height: 300px;
  background:
    linear-gradient(135deg, rgba(0, 82, 155, 0.95), rgba(0, 120, 100, 0.15)),
    url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero-image {
    height: 200px;
    font-size: 1.5rem;
  }
}

.section {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section h2 {
  color: #00529b;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #00529b;
  font-size: 1.8rem;
}

.section .modules {
  margin-bottom: 2rem;
}

.modules h3 {
  color: rgb(0, 120, 100);
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: #e9f7f6;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #00529b;
  box-shadow: 2px 10px 10px rgb(193, 227, 255);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #00529b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card a {
  color: #007864;
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

.lab-schedule {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.lab-item {
  background: linear-gradient(135deg, #00529b, #007864);
  color: white;
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}

.lab-item:hover {
  transform: translateX(8px);
}

.lab-item strong {
  font-size: 1.2rem;
}

.lab-item .date {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
}

.quick-links {
  background: linear-gradient(135deg, #00529b, #007864);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.quick-links h2 {
  color: white;
  border-bottom-color: white;
}

.quick-links .grid a {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: background 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.quick-links .grid a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

footer {
  background: #00529b;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.recordings-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.recording-item {
  background: #f9f9f9;
  padding: 1.25rem;
  border-radius: 8px;
  border-top: 4px solid #00529b;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.recording-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recording-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.recording-date {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.recording-link {
  background: #00529b;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease;
  text-align: center;
  display: block;
}

.recording-link:hover {
  background: #003d73;
}

.recording-password {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #eee;
  margin-top: auto;
}

.password-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.password-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  justify-content: space-between;
}

.pass-input {
  border: none;
  background: transparent;
  font-family: monospace;
  font-size: 1rem;
  color: #333;
  width: 100%;
  min-width: 0;
}

.pass-input:focus {
  outline: none;
}

.toggle-password {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.toggle-password:hover {
  background: #f0f0f0;
  color: #333;
}

.copy-password {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  margin-left: 0.25rem;
}

.copy-password:hover {
  background: #f0f0f0;
  color: #00529b;
}

.copy-password.hidden {
  display: none;
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .nav-content {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    justify-content: center;
  }

  .nav-content a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 200px;
    font-size: 1.5rem;
  }

  .section {
    padding: 1.5rem;
  }
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

small a {
  color: rgb(255, 217, 0);
}
