.alumni-hero {
  width: 100%;
  padding: 64px 0 32px 0;
}
.alumni-hero-flex {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.alumni-heading-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.alumni-title {
  font-family: 'Montserrat', 'Bree Serif', serif;
  font-size: 2.8rem;
  margin: 0;
  letter-spacing: 2px;
  text-align: center;
  background: linear-gradient(90deg, #ff512f, #1fa2ff, #a6ffcb);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: alumniGradientMove 3s ease-in-out infinite alternate, alumniScale 2.5s infinite alternate cubic-bezier(.4,0,.2,1);
  text-shadow: 2px 4px 16px #0005, 0 1px 2px #fff3;
  filter: drop-shadow(0 2px 8px #00eaff44);
}
body.light-theme .alumni-title{
  background: linear-gradient(90deg, #035086, #0c1fc7, #02682c, #ff512f, #dd2476);
  font-family: 'Montserrat', 'Bree Serif', serif;
  font-size: 2.8rem;
  margin: 0;
  letter-spacing: 2px;
  text-align: center;
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: alumniGradientMove 3s ease-in-out infinite alternate, alumniScale 2.5s infinite alternate cubic-bezier(.4,0,.2,1);
  text-shadow: 2px 4px 16px #0005, 0 1px 2px #fff3;
  filter: drop-shadow(0 2px 8px #00eaff44);
}
@keyframes alumniGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes alumniScale {
  0% { transform: scale(1);}
  100% { transform: scale(1.06);}
}
.alumni-img-col {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.alumni-img-frame {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: #111;
  border: 5px solid #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px 4px #ffd70088;
  transition: background 0.4s;
}
.alumni-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  display: block;
}

.alumni-filter-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 32px;
}
.alumni-btn {
  padding: 10px 28px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #1fa2ff, #12d8fa);
  color: #fff;
  font-family: 'Montserrat', 'Bree Serif', serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px #1fa2ff33;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  outline: none;
}
.alumni-btn.active,
.alumni-btn:hover {
  background: linear-gradient(90deg, #ff512f, #dd2476);
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 4px 18px #ff512f44;
}

.alumni-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  min-height: 220px;
  justify-content:center;
  padding:8px;
}

.alumni-card-horizontal {
  display: flex;
  flex-direction: column;
  background: var(--card-bg, #fff);
  border-radius: 20px;
  box-shadow: 0 4px 24px #0001, 0 1.5px 6px #1fa2ff22;
  padding: 24px;
  margin: 24px 0;
  width: 100%;
  max-width: 340px;
  border: 1px solid #e3e6ee;
  gap: 18px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.alumni-card-horizontal:hover {
  box-shadow: 0 8px 40px #1fa2ff33, 0 2px 12px #ffd70033;
  transform: translateY(-6px) scale(1.02);
}
.alumni-card-top-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}
.alumni-card-photo-col {
  display: flex;
  flex-direction: column;
  margin-right: 24px;
  flex-shrink: 0;
}
.alumni-card-photo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 18px;
  background: #f6f8fa;
  box-shadow: 0 2px 12px #1fa2ff22;
}
.alumni-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alumni-card-name {
  font-size: 1.18em;
  color: #232946;
  font-family: 'Montserrat', 'Bree Serif', serif;
  font-weight: 700;
  margin-bottom: 2px;
}
.alumni-card-meta {
  font-size: 1em;
  color: #555;
  font-weight: 500;
  margin-bottom: 8px;
}
.alumni-card-thesis {
  font-size: 1em;
  color: #3a4a5d;
  margin-bottom: 10px;
  font-style: italic;
}
.alumni-card-coguide {
  font-size: 1em;
  color: #1fa2ff;
  margin-bottom: 10px;
  font-weight: 600;
}
.alumni-card-coord-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.alumni-card-workplace-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 6px #0002;
}
.alumni-card-coord {
  color: #232946;
  font-size: 1em;
  font-weight: 500;
  flex: 1;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}
.alumni-card-links-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 18px;
}
.alumni-card-link {
  color: #1fa2ff;
  font-size: 1.5em;
  background: #eaf6ff;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #1fa2ff22;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.alumni-card-link:hover {
  background: #ffd700;
  color: #232946;
  box-shadow: 0 2px 8px #ffd70044;
}

/* Dark theme support */
body.dark-theme .alumni-card-horizontal {
  background: #232946;
  color: #eaf6ff;
  border: 1px solid #232946;
}
body.dark-theme .alumni-card-name {
  color: #ffd700;
}
body.dark-theme .alumni-card-meta {
  color: #eaf6ff;
}
body.dark-theme .alumni-card-thesis {
  color: #eaf6ff;
}
body.dark-theme .alumni-card-coord {
  color: #ffd700;
}
body.dark-theme .alumni-card-coguide {
  color: #1fa2ff;
}
body.dark-theme .alumni-card-link {
  background: #1a223a;
  color: #1fa2ff;
}
body.dark-theme .alumni-card-link:hover {
  background: #ffd700;
}
.alumni-card-coord-label {
  text-align: center;
  font-weight: 100;
  font-size: 12px;
  transition: color 0.3s ease;
}

body.light-theme .alumni-card-coord-label {
  color: #4e4e4e;
}
body.dark-theme .alumni-card-coord-label {
  color: #868484;
}


