/* Main Heading */
.main-name {
  font-size: 48px;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
}

/* Timeline container */
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 4px solid #00bcd4;
  margin-top: 20px;
}

/* Each item on the timeline */
.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-dot {
  position: absolute;
  left: -10px;
  top: 4px;
  width: 14px;
  height: 14px;
  background-color: #00bcd4;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 3px #00bcd4;
}

.timeline-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.edu-meta-large {
  font-size: 15px;
  color: #444;
  margin-top: 10px;
  padding-left: 20px;
}

.edu-meta-large li {
  margin-bottom: 6px;
}

/* View modules button */
.view-modules-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.2s;
  margin-top: 20px;
  margin-bottom: 20px;
}

.view-modules-btn:hover {
  background-color: #444;
  transform: translateY(-2px);
}

.view-modules-btn:active {
  transform: scale(0.97);
}

/* Module section styling */
.university-modules-container {
  display: flex;
  gap: 30px;
  margin-top: 25px;
  padding-left: 10px;
}

.year-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}

.year-btn {
  padding: 10px 15px;
  border: none;
  background-color: #eee;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

.year-btn:hover {
  background-color: #ddd;
}

.year-btn.active {
  background-color: #00bcd4;
  color: white;
}

.modules-content {
  flex: 1;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.module-card {
  background-color: #fafafa;
  padding: 1.2em;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  line-height: 1.4;
}

.module-card strong {
  font-weight: bold;
  font-size: 16px;
  color: #222;
}

.module-card span {
  display: block;
  margin-top: 6px;
  color: #555;
  font-size: 14px;
}

.hidden {
  display: none !important;
}
