/* =============================================
   PSYCHIATRY DEPARTMENT PAGE — Premium Styles
   ============================================= */

/* ---------- Hero Banner ---------- */
.dept_hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.dept_hero_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dept_hero_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dept_hero_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(49, 46, 129, 0.85) 0%,
      rgba(67, 56, 202, 0.75) 40%,
      rgba(30, 27, 75, 0.6) 100%);
  z-index: 1;
}

.dept_hero .container {
  position: relative;
  z-index: 2;
}

.dept_hero_content {
  max-width: 680px;
  padding: 80px 0;
}

.dept_hero_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 20px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.dept_hero_badge i {
  font-size: 14px;
  color: #a5b4fc;
}

.dept_hero_content h1 {
  color: #ffffff;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.dept_hero_content h1 span {
  display: block;
  font-weight: 400;
  font-size: 28px;
  opacity: 0.9;
  margin-top: 6px;
}

.dept_hero_content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 560px;
}

.dept_hero_actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dept_hero_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.dept_hero_btn.primary {
  background: #ffffff;
  color: #312e81;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dept_hero_btn.primary:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dept_hero_btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.dept_hero_btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ---------- Stats Bar ---------- */
.dept_stats_section {
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.dept_stats_bar {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  padding: 45px 50px;
}

.dept_stats_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.dept_stat_item {
  text-align: center;
  position: relative;
}

.dept_stat_item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.dept_stat_icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.1), rgba(49, 46, 129, 0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.dept_stat_icon i {
  font-size: 22px;
  color: #312e81;
}

.dept_stat_number {
  font-size: 36px;
  font-weight: 800;
  color: #1a2a3a;
  line-height: 1;
  margin-bottom: 6px;
}

.dept_stat_number span {
  color: #1a2a3a;
}

.dept_stat_label {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- About Section ---------- */
.dept_about {
  padding: 100px 0;
  background: #ffffff;
}

.dept_about_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.dept_about_img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.dept_about_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.dept_about_img:hover img {
  transform: scale(1.03);
}

.dept_about_img_badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: linear-gradient(135deg, #312e81, #4338ca);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(49, 46, 129, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dept_about_img_badge i {
  font-size: 16px;
}

.tag_text {
  color: #312e81;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}

.dept_about_text h2 {
  font-size: 38px;
  font-weight: 800;
  color: #1a2a3a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.dept_about_text h2 span {
  color: #312e81;
}

.dept_about_text p {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 16px;
}

.dept_about_features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.dept_about_feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.06), rgba(49, 46, 129, 0.02));
  border-radius: 12px;
  transition: all 0.3s ease;
}

.dept_about_feature:hover {
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.12), rgba(49, 46, 129, 0.05));
  transform: translateX(4px);
}

.dept_about_feature i {
  color: #312e81;
  font-size: 16px;
}

.dept_about_feature span {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* ---------- Lead Doctor ---------- */
.dept_doctor {
  padding: 100px 0;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #e0e7ff 100%);
}

.dept_doctor_card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  max-width: 520px;
  margin: 0 auto 0 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
}

.dept_doctor_photo {
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.15), rgba(49, 46, 129, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.dept_doctor_photo i {
  font-size: 50px;
  color: #312e81;
  opacity: 0.6;
}

.dept_doctor_info {
  padding: 20px 20px;
}

.dept_doctor_specialty {
  display: inline-block;
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.1), rgba(49, 46, 129, 0.05));
  color: #312e81;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.dept_doctor_info h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1a2a3a;
  margin-bottom: 2px;
}

.dept_doctor_qual {
  color: #888;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}

.dept_doctor_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.dept_doctor_meta_item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dept_doctor_meta_item i {
  color: #312e81;
  font-size: 14px;
}

.dept_doctor_meta_item span {
  font-size: 13px;
  color: #555;
  font-weight: 600;
}

.dept_doctor_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  background: linear-gradient(135deg, #312e81, #4338ca);
  color: #ffffff !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 10px rgba(49, 46, 129, 0.2);
  text-decoration: none !important;
}

.dept_doctor_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(49, 46, 129, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .dept_about_grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dept_stats_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept_stat_item:nth-child(2)::after {
    display: none;
  }

  .dept_doctor_card {
    grid-template-columns: 1fr;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .dept_hero_content h1 {
    font-size: 30px;
  }

  .dept_stats_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept_stat_item::after {
    display: none;
  }
}
