* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f9;
}
header {
  background: white;
  border-bottom: 1px solid #ccc;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.navbar .logo {
  height: 30px;
}
nav a {
  margin: 0 10px;
  color: #333;
  text-decoration: none;
}
nav a.active {
  font-weight: bold;
  color: #007bff;
}
.register-btn {
  background: #007bff;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
}
.hero {
  background: #0e6ba8;
  color: white;
  text-align: center;
  padding: 30px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.latest-news h2,
.upcoming-events h2,
.event-highlights h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.sub {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}
.featured {
  display: flex;
  background: white;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  gap: 20px;
}
.featured img {
  width: 250px;
  height: auto;
  border-radius: 8px;
}
.featured .content {
  flex: 1;
}
.tags {
  margin-bottom: 10px;
}
.tag {
  background: #ccc;
  color: #333;
  font-size: 12px;
  padding: 4px 8px;
  margin-right: 6px;
  border-radius: 4px;
  display: inline-block;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  padding: 15px;
  border-radius: 8px;
}
.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.card h4 {
  font-size: 16px;
  margin: 10px 0 6px;
}
.meta {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}
.button {
  display: inline-block;
  background: #004080;
  color: white;
  padding: 6px 10px;
  text-decoration: none;
  margin-top: 10px;
  border-radius: 4px;
}
.link {
  display: inline-block;
  margin-top: 8px;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}
.upcoming-events .event-cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.event {
  background: white;
  padding: 15px;
  flex: 1;
  border-radius: 6px;
  text-align: center;
}
.event .tag.yellow { background: gold; }
.event .tag.orange { background: orange; }
.event .tag.red { background: crimson; color: white; }
.event-highlights .video-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.video-grid video {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
}
