/* ===== Department Page (Marathi / other depts reusable) ===== */
.dept-banner {
  position: relative;
  min-height: 260px;
  padding: 70px 0 60px;
  display: flex;
  align-items: center;
  background-color: #3b0a0f;
  background-image: url('marthi2.avif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.dept-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,10,15,0.82), rgba(184,38,47,0.72));
  z-index: 1;
}
.dept-banner .container { position: relative; z-index: 2; }
.dept-banner-content { text-align: center; color: #fff; }
.dept-banner-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 4px 18px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.dept-banner-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.75);
}
.dept-breadcrumb a { color: #f3d27a; text-decoration: none; font-weight: 600; }
.dept-breadcrumb span { color: #fff; opacity: 0.8; margin: 0 6px; }

.dept-section {
  position: relative;
  padding: 55px 0;
  background-color: #fdfaf4;
  background-image: url('marthi2.avif');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.dept-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253, 250, 244, 0.80);
  z-index: 0;
}
.dept-section .container { position: relative; z-index: 1; }
.dept-profile-card {
  background: #fff;
  border: 1px solid #f0dfb8;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 34px;
  box-shadow: 0 15px 35px rgba(198,142,44,.10);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.dept-profile-photo {
  width: 200px;
  height: 240px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 10px 25px rgba(59,10,15,.2);
  background: #f4f0e6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dept-profile-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(59,10,15,.3);
}
.dept-profile-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.dept-profile-info { flex: 1; min-width: 240px; }
.dept-profile-info h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #3b0a0f;
  font-size: 24px;
  margin-bottom: 6px;
}
.dept-profile-info .dept-desig {
  color: #b8262f;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
}
.dept-profile-info .dept-college {
  color: #6b6b6b;
  font-size: 16px;
  margin-bottom: 16px;
}
.dept-profile-info p {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a3a;
}
.dept-profile-info p strong { color: #3b0a0f; }

.dept-block { margin-bottom: 34px; }
.dept-block-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #3b0a0f;
  border-left: 4px solid #b8262f;
  padding-left: 12px;
  margin-bottom: 16px;
}
.dept-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dept-list li {
  font-size: 14.5px;
  color: #3a3a3a;
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px dashed #ece3d3;
}
.dept-list li, .dept-list li * {
  color: #3a3a3a !important;
  text-decoration: none !important;
}
.dept-list.dept-list-bold li {
  font-weight: 700 !important;
}
.dept-list li:last-child { border-bottom: none; }
.dept-list li::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #c6832c;
  position: absolute;
  left: 0;
}
.dept-para {
  font-size: 14.5px;
  line-height: 1.9;
  color: #3a3a3a;
  text-align: justify;
}
.dept-highlight-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #d6600f;
  margin-bottom: 10px;
}
.dept-vision-list { list-style: none; padding: 0; margin: 0; counter-reset: dept-v; }
.dept-vision-list li {
  counter-increment: dept-v;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.8;
  color: #3a3a3a;
  padding: 6px 0 6px 26px;
  position: relative;
}
.dept-vision-list li::before {
  content: counter(dept-v) ")";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #b8262f;
}
.dept-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.dept-links a {
  display: inline-block;
  background: #fdf1e6;
  border: 1px solid #f0dfb8;
  color: #7a1d24;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: all .25s ease;
}
.dept-links a:hover { background: #b8262f; color: #fff; }
@media (max-width: 576px) {
  .dept-banner-content h1 { font-size: 24px; }
  .dept-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .dept-profile-photo {
    width: 100%;
    max-width: 280px;
    height: 260px;
  }
  .dept-profile-info { width: 100%; text-align: center; }
  .dept-profile-info h3 { font-size: 22px; }
  .dept-profile-info .dept-desig { font-size: 16px; }
  .dept-profile-info .dept-college { font-size: 15px; }
  .dept-profile-info p { font-size: 15px; text-align: left; }
}