body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background: #f8f9fb;
  color: #333;
}

header {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 2rem;
}

header h1 {
  margin-bottom: 0.3rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin-top: 1rem;
}

nav button {
  background: #374151;
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.95rem;
}

nav button:hover {
  background: #2563eb;
}

nav button.active {
  background: #2563eb;
  font-weight: bold;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}

h2 {
  text-align: center;
  color: #111827;
}

/* clickable org link style */
#org-title a {
  text-decoration: none;
  color: #111827;
  transition: color 0.3s ease;
}

#org-title a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.repo {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.repo:hover {
  transform: translateY(-5px);
}

.repo a {
  text-decoration: none;
  color: #2563eb;
  font-weight: bold;
}

.video-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center; 
}

.video-thumbnails img {
  width: 180px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease;  
}

.video-thumbnails img:hover {
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  color: #1f2937;
  margin-top: 2rem;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0077b5;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-linkedin img {
  width: 50px;
  height: 50px;
}

.footer-linkedin:hover {
  transform: scale(1.05);
  color: #005582;
}

footer p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #333;
}
