.fancy-link {
  color: #2c3e50;
  font-size: 20px;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.fancy-link:hover {
  color: #e74c3c;
}

.fancy-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #e74c3c;
  transition: width 0.3s ease;
}

.fancy-link:hover::after {
  width: 100%;
}
    html, body {
      height: 100%;
      margin: 0;
    }
    body {
      display: flex;
      flex-direction: column;
      background-color: #f8f9fa;
    }
    .wrapper {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .top-header {
      background-color: #b8548bff; /* Dark Royal Blue */
      color: white;
      text-align: center;
      padding: 0px 0;
      font-size: 1.3rem;
      font-weight: bold;
      letter-spacing: 1px;
      border: 1px solid black; /* Black border */
    }
    .custom-navbar {
      background-color: #e6e6e6 !important; /* Light Gray */
      border: 1px solid black; /* Black border */
      border-top: none; /* avoid double border */
    }
    .sidebar-left {
      background-color: #b8548bff; /* Blue */
      padding: 15px;
      color: white;
      min-height: 100%; /* Full height */
      border: 1px solid black;
    }
    .sidebar-left a {
      color: white;
      text-decoration: none;
      display: block;
      padding: 6px 0;
    }
    .sidebar-left a:hover {
      text-decoration: underline;
    }
    .sidebar-right {
      background-color: #f8f9fa;
      padding: 15px;
      border-left: 1px solid #ddd;
    }
    .content {
      background-color: white;
      padding: 20px;
      border: 1px solid #ddd;
    }
    .justify-text {
  text-align: justify;
}
  
.blinking-border {
  display: inline-block;
  color: #dc3545; /* Bootstrap red */
  font-weight: bold;
  text-decoration: none;
  padding-left: 10px;
  border-radius: 8px;
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

    .mybody {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 10vh;
      background: transparent;
    }
    svg {
      overflow: visible;
    }
    text {
      font-family: Arial, sans-serif;
      font-size: 25px;
      font-weight: bold;
      fill: #1a0d66; /* dark blue */
    }

.image-container {
  position: relative;
  width: 150px;
  height: 100px;
  overflow: hidden;
  cursor: pointer;
}

.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Overlay text */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  /* Start hidden */
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

/* Hover effects */
.image-container:hover .overlay {
  transform: translateY(0);
}

.image-container:hover .thumb {
  transform: scale(1.1);
}

        body {
  background: #0b1220;
  font-family: Arial, sans-serif;
}

.staff-card {
  width: 320px;
  background: linear-gradient(to bottom, #1a1f2b, #0b1220);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  overflow: hidden;
}

.staff-image {
  background: url('campus-bg.jpg') center/cover no-repeat;
  padding: 30px 0;
}

.staff-image img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #fff;
}

.staff-info h2 {
  margin: 15px 0 5px;
  font-size: 22px;
}

.staff-info h4 {
  margin: 0 0 15px;
  color: #ff2f92;
  font-weight: normal;
}

.staff-info p {
  margin: 6px 0;
  font-size: 14px;
}

.staff-info strong {
  color: #fff;
}
