/* =============================================
   IVF DEPARTMENT PAGE — Premium Styles
   Color Theme: Rose/Pink (#db2777)
   ============================================= */

/* ---------- 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(190,24,93,0.85) 0%, rgba(219,39,119,0.75) 40%, rgba(157,23,77,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: #fff; font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 22px;
}
.dept_hero_badge i { font-size: 14px; color: #fbcfe8; }

.dept_hero_content h1 {
  color: #fff; 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: #fff; color: #be185d; border: 2px solid #fff; box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.dept_hero_btn.primary:hover { background: transparent; color: #fff; }
.dept_hero_btn.secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.dept_hero_btn.secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- Stats Bar ---------- */
.dept_stats_section { margin-top: -60px; position: relative; z-index: 5; }
.dept_stats_bar { background: #fff; 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(219,39,119,0.1), rgba(219,39,119,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: #db2777; }
.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: #fff; }
.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, #be185d, #db2777); color: #fff;
  padding: 12px 24px; border-radius: 12px; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 20px rgba(219,39,119,0.35); display: flex; align-items: center; gap: 8px;
}
.dept_about_img_badge i { font-size: 16px; }

.tag_text { color: #db2777; 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: #db2777; }
.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(219,39,119,0.06), rgba(219,39,119,0.02));
  border-radius: 12px; transition: all 0.3s ease;
}
.dept_about_feature:hover { background: linear-gradient(135deg, rgba(219,39,119,0.12), rgba(219,39,119,0.05)); transform: translateX(4px); }
.dept_about_feature i { color: #db2777; font-size: 16px; }
.dept_about_feature span { font-size: 14px; font-weight: 600; color: #333; }

/* ---------- Doctor Section ---------- */
.dept_doctor { padding: 100px 0; background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe833 100%); }

.dept_doctor_card {
  background: #fff; 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;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dept_doctor_card:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(219,39,119,0.12); }

.dept_doctor_photo {
  height: 100%; min-height: 220px;
  background: linear-gradient(135deg, rgba(219,39,119,0.15), rgba(219,39,119,0.05));
  display: flex; align-items: center; justify-content: center; padding: 15px;
}
.dept_doctor_photo i { font-size: 50px; color: #db2777; opacity: 0.6; }

.dept_doctor_info { padding: 20px; }

.dept_doctor_specialty {
  display: inline-block;
  background: linear-gradient(135deg, rgba(219,39,119,0.1), rgba(219,39,119,0.05));
  color: #db2777; 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: #db2777; 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, #be185d, #db2777); color: #fff !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(219,39,119,0.2); text-decoration: none !important;
}
.dept_doctor_btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(219,39,119,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; max-width: 100%; }
}

@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; }
}
