:root{
  --brand:#8e2aa8;
  --brand-dark:#6f1f86;
  --brand-soft:#f8e8fc;
  --brand-soft-2:#fff6fc;
  --ink:#1a1a1a;
  --muted:#667085;
  --line:rgba(0,0,0,.08);
  --shadow:0 18px 50px rgba(0,0,0,.08);
  --card-shadow:0 18px 50px rgba(0,0,0,.08);
}

/* =========================
   HERO IMAGE SLIDER
========================== */
.hero-banner-slider{
  position: relative;
  overflow: hidden;
  padding: 0 0 34px;
  background: linear-gradient(180deg, #f9e6fc 0%, #fff8fd 100%);
}

.heroBannerSwiper{
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.12);
  background: #f9e6fc;
}

.hero-banner-item{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  background: #f8f8f8;
}

.hero-banner-item img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,20,20,.44) 0%, rgba(20,20,20,.18) 35%, rgba(20,20,20,.08) 100%);
  z-index: 1;
}

.hero-banner-content{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 42px 38px;
}

.hero-banner-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.85);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.08);
  transition: all .25s ease;
}

.hero-btn-outline:hover{
  background: #fff;
  color: #111;
  border-color: #fff;
}

.hero-controls{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.hero-prev,
.hero-next{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: .2s ease;
}

.hero-prev:hover,
.hero-next:hover{
  transform: scale(1.05);
}

.hero-pagination{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 5;
  text-align: center;
}

.heroBannerSwiper .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.75);
  opacity: 1;
}

.heroBannerSwiper .swiper-pagination-bullet-active{
  width: 26px;
  border-radius: 999px;
  background: #ffffff;
}

.heroBannerSwiper .swiper-slide-active .hero-banner-actions{
  animation: fadeUp .6s ease both;
}

@keyframes fadeUp{
  from{ opacity:0; transform: translateY(20px); }
  to{ opacity:1; transform: translateY(0); }
}

/* =========================
   CARE IMPACT SECTION
========================== */
.care-impact-section{
  position: relative;
  padding: 82px 0;
  background: linear-gradient(180deg, #fff8fc 0%, #ffffff 100%);
  overflow: hidden;
}

.care-impact-section::before,
.care-impact-section::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(142, 42, 168, 0.06);
  z-index: 0;
}

.care-impact-section::before{
  width: 220px;
  height: 220px;
  top: -70px;
  left: -70px;
}

.care-impact-section::after{
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -100px;
}

.care-impact-wrap{
  position: relative;
  z-index: 1;
}

.care-impact-head{
  max-width: 860px;
  margin: 0 auto 45px;
}

.care-impact-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(142, 42, 168, 0.10);
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.care-impact-head h2{
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.care-impact-head p{
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.care-impact-card{
  height: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 28px;
  text-align: center;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 45px rgba(0,0,0,.07);
  transition: all .28s ease;
  position: relative;
  overflow: hidden;
}

.care-impact-card::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #8e2aa8 0%, #d86ab8 100%);
}

.care-impact-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.11);
}

.care-impact-icon{
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(142,42,168,.12), rgba(216,106,184,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--brand);
}

.care-impact-number{
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}

.care-impact-card h4{
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.care-impact-card p{
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
}

.care-impact-cta{
  margin-top: 34px;
  text-align: center;
}

/* =========================
   HOME DOCTORS SECTION
========================== */
.home-doc-card{
  background:#fff;
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
  transition:.28s ease;
  height:100%;
}

.home-doc-card:hover{
  transform:translateY(-7px);
  box-shadow:0 24px 60px rgba(0,0,0,.11);
}

.home-doc-top{
  position:relative;
  padding:26px 24px 12px;
  text-align:center;
  background:linear-gradient(180deg, #fff9fd 0%, #ffffff 100%);
}

.home-doc-top::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg, var(--brand) 0%, #d86ab8 100%);
}

.home-doc-photo{
  width:170px;
  height:170px;
  object-fit:cover;
  border-radius:999px;
  border:6px solid #fff;
  box-shadow:0 16px 35px rgba(0,0,0,.12);
  background:#fff;
}

.home-doc-body{
  padding:18px 24px 24px;
  text-align:center;
}

.home-doc-name{
  font-size:24px;
  line-height:1.2;
  font-weight:800;
  margin:0 0 8px;
  color:#1a1a1a;
}

.home-doc-spec{
  color:var(--brand);
  font-weight:700;
  margin-bottom:12px;
  min-height:24px;
}

.home-doc-meta{
  list-style:none;
  margin:0 0 18px;
  padding:0;
  color:#667085;
  font-size:14px;
  display:grid;
  gap:8px;
}

.home-doc-meta li{
  background:#faf7fc;
  border:1px solid rgba(142,42,168,.08);
  border-radius:12px;
  padding:9px 12px;
}

.home-doc-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}

.home-doc-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  padding:11px 16px;
  border-radius:14px;
  font-weight:700;
  transition:.25s ease;
}

.home-doc-link.primary{
  background:linear-gradient(135deg, var(--brand), #c34bc1);
  color:#fff;
  box-shadow:0 14px 26px rgba(142,42,168,.18);
}

.home-doc-link.primary:hover{
  color:#fff;
  transform:translateY(-2px);
}

.home-doc-link.light{
  background:#f8f4fb;
  color:#1a1a1a;
  border:1px solid rgba(142,42,168,.12);
}

.home-doc-link.light:hover{
  color:#1a1a1a;
  background:#f2eafb;
}

/* =========================
   HOME DEPARTMENTS
========================== */
.home-dept-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  transition:.28s ease;
  box-shadow: var(--shadow);
  height:100%;
}

.home-dept-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 60px rgba(0,0,0,.10);
}

.home-dept-thumb{
  height:210px;
  width:100%;
  object-fit:cover;
  display:block;
}

.home-dept-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(121, 0, 167, .10);
  font-weight:700;
}

.home-dept-pill i{
  color:#7a00a7;
}

.home-dept-cap{
  color:#667085;
  font-size:.95rem;
  min-height:48px;
}

.home-dept-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.home-dept-link{
  font-weight:700;
  text-decoration:none;
}

/* =========================
   DOCTORS LISTING PAGE
========================== */
.doctors-hero{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  padding:17px 36px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.25), transparent 30%),
    linear-gradient(135deg, #e889c9 0%, #8e2aa8 45%, #b241c9 100%);
  color:#fff;
  margin:24px 0 30px;
  text-align:center;
}

.doctors-hero:before,
.doctors-hero:after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.10);
}

.doctors-hero:before{
  width:240px;
  height:240px;
  right:-60px;
  top:-60px;
}

.doctors-hero:after{
  width:180px;
  height:180px;
  left:-40px;
  bottom:-50px;
}

.doctors-hero > *{
  position:relative;
  z-index:1;
}

.doc-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  font-weight:700;
  margin-bottom:14px;
}

.doctors-title{
  font-size: clamp(30px, 5vw, 52px);
  line-height:1.05;
  font-weight:800;
  margin:0 0 12px;
  letter-spacing:-.03em;
}

.doctors-sub{
  max-width:760px;
  font-size:16px;
  line-height:1.8;
  opacity:.96;
  margin:0 auto;
}

.filter-wrap{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--card-shadow);
  margin-bottom:28px;
}

.filter-label{
  font-size:14px;
  color:var(--muted);
  font-weight:700;
  margin-bottom:10px;
}

.filter-pills{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.filter-pill{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:999px;
  border:1px solid rgba(142,42,168,.18);
  background:#fff;
  color:var(--ink);
  font-weight:700;
  transition:.25s ease;
}

.filter-pill:hover{
  transform:translateY(-2px);
  border-color:rgba(142,42,168,.35);
  box-shadow:0 10px 25px rgba(142,42,168,.10);
}

.filter-pill.active{
  background:linear-gradient(135deg, var(--brand), #c34bc1);
  color:#fff;
  border-color:transparent;
  box-shadow:0 14px 30px rgba(142,42,168,.22);
}

.result-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.result-title{
  font-size:28px;
  font-weight:800;
  color:var(--ink);
  margin:0;
}

.result-sub{
  color:var(--muted);
  margin:0;
}

.doc-card{
  position:relative;
  height:100%;
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition:.28s ease;
}

.doc-card:hover{
  transform:translateY(-7px);
  box-shadow:0 24px 60px rgba(2,6,23,.12);
}

.doc-photo-wrap{
  position:relative;
  height:320px;
  overflow:hidden;
  background:linear-gradient(180deg, #fdf7ff 0%, #f4e9fb 100%);
}

.doc-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;
}

.doc-card:hover .doc-photo{
  transform:scale(1.04);
}

.doc-speciality{
  position:relative;
  left:0;
  bottom:50px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:var(--ink);
  font-size:13px;
  font-weight:800;
  backdrop-filter: blur(8px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.doc-body{
  padding:22px;
}

.doc-name{
  font-size:24px;
  line-height:1.2;
  font-weight:800;
  color:var(--ink);
  margin:0 0 8px;
}

.doc-meta{
  color:var(--muted);
  font-size:15px;
  margin-bottom:14px;
}

.doc-points{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}

.doc-point{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#495468;
  font-size:14px;
  line-height:1.6;
}

.doc-point i{
  color:var(--brand);
  margin-top:4px;
  min-width:16px;
}

.doc-actions{
  text-align:center;
  gap:10px;
  flex-wrap:wrap;
}

.doc-btn-primary,
.doc-btn-light{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  transition:.25s ease;
}

.doc-btn-primary{
  background:linear-gradient(135deg, var(--brand), #c34bc1);
  color:#fff;
  box-shadow:0 14px 26px rgba(142,42,168,.18);
}

.doc-btn-primary:hover{
  color:#fff;
  transform:translateY(-2px);
}

.doc-btn-light{
  background:#f8f4fb;
  color:var(--ink);
  border:1px solid rgba(142,42,168,.12);
}

.doc-btn-light:hover{
  color:var(--ink);
  background:#f2eafb;
}

.empty-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:40px 24px;
  text-align:center;
  box-shadow: var(--card-shadow);
}

.empty-box h4{
  margin-bottom:8px;
  color:var(--ink);
  font-weight:800;
}

.empty-box p{
  margin:0;
  color:var(--muted);
}

/* =========================
   COMMON SECTION POLISH
========================== */
.section-divider hr{
  border-color: rgba(0,0,0,.08);
  opacity: 1;
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 991px){
  .hero-banner-item,
  .hero-banner-content{
    min-height: 400px;
  }

  .hero-banner-content{
    padding: 0 30px 30px;
    justify-content: center;
    text-align: center;
  }

  .hero-banner-actions{
    justify-content: center;
  }

  .hero-controls{
    right: 14px;
  }

  .care-impact-head h2{
    font-size: 38px;
  }

  .home-doc-photo{
    width:150px;
    height:150px;
  }

  .doc-photo-wrap{
    height:280px;
  }
}

@media (max-width: 575px){
  .hero-banner-slider{
    padding: 88px 0 22px;
  }

  .heroBannerSwiper{
    border-radius: 18px;
  }

  .hero-banner-item{
    min-height: 260px;
    aspect-ratio: auto;
  }

  .hero-banner-content{
    position: absolute;
    inset: 0;
    padding: 0 16px 45px;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
  }

  .hero-banner-actions{
    width: 100%;
    gap: 10px;
    justify-content: center;
  }

  .hero-btn-outline,
  .fill-btn{
    min-width: auto;
  }

  .hero-btn-outline{
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-controls{
    top: auto;
    bottom: 14px;
    right: 14px;
    transform: none;
    flex-direction: row;
  }

  .hero-prev,
  .hero-next{
    width: 40px;
    height: 40px;
  }

  .hero-pagination{
    bottom: 14px;
  }

  .care-impact-section{
    padding: 60px 0;
  }

  .care-impact-head{
    margin-bottom: 30px;
  }

  .care-impact-head h2{
    font-size: 30px;
  }

  .care-impact-head p{
    font-size: 15px;
  }

  .care-impact-card{
    border-radius: 20px;
    padding: 26px 20px;
  }

  .care-impact-number{
    font-size: 34px;
  }

  .care-impact-card h4{
    font-size: 21px;
  }

  .home-doc-top{
    padding:22px 18px 10px;
  }

  .home-doc-body{
    padding:16px 18px 20px;
  }

  .home-doc-name{
    font-size:21px;
  }

  .home-doc-photo{
    width:135px;
    height:135px;
  }

  .home-dept-thumb{
    height:185px;
  }

  .doctors-hero{
    padding:34px 20px;
    border-radius:22px;
  }

  .filter-wrap{
    padding:14px;
    border-radius:18px;
  }

  .filter-pills{
    gap:10px;
  }

  .filter-pill{
    padding:10px 14px;
    font-size:14px;
  }

  .doc-photo-wrap{
    height:260px;
  }

  .doc-body{
    padding:18px;
  }

  .doc-name{
    font-size:21px;
  }
}