/* ================= DEPARTMENT SECTION ================= */
.department {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2); /* soft gradient background */
  font-family: 'Roboto', sans-serif;
  color: #333;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ================= TITLE CARD ================= */
.department .title-card {
  display: inline-block;
  background: linear-gradient(135deg, #0b2e59, #0b6bff); /* gradient card */
  color: #fff;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-30px);
  animation: slideFadeIn 1s forwards;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: default;
}

/* Title hover */
.department .title-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #ff6b6b, #ff8e6b);
}

/* ================= YEAR & INTAKE ================= */
.department p {
  font-weight: 600;
  color: #0b2e59;
  margin-bottom: 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}



/* ================= INTRODUCTION ================= */
.department .intro {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 1s forwards;
  animation-delay: 0.6s;
}

/* Intro hover */
.department .intro p:hover {
  transition: color 0.3s ease;
}

/* ================= VISION & MISSION ================= */
.department .vision-mission {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 1s forwards;
  animation-delay: 0.9s;
}

.department .vision-mission h3 {
  color: #0b2e59;
  margin-bottom: 10px;
  font-size: 20px;
  transition: color 0.3s ease;
  cursor: pointer;
}



/* Mission list */
.department .vision-mission ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #555;
  line-height: 1.5;
}

/* Mission points animation */
.department .vision-mission ul li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideFadeLeft 0.5s forwards;
  margin-bottom: 8px;
}

.department .vision-mission ul li:nth-child(1) { animation-delay: 1s; }
.department .vision-mission ul li:nth-child(2) { animation-delay: 1.2s; }
.department .vision-mission ul li:nth-child(3) { animation-delay: 1.4s; }
.department .vision-mission ul li:nth-child(4) { animation-delay: 1.6s; }

/* Mission points hover */
.department .vision-mission ul li:hover {
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* ================= ANIMATIONS ================= */
@keyframes slideFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideFadeLeft {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .department .vision-mission {
    text-align: center;
  }
  
  .department .vision-mission ul {
    margin-left: 0;
    padding-left: 0;
  }
}