/* =========================
   THEME TOKENS
========================= */
:root{
  --brand:#22c55e;         /* main green */
  --brand-2:#16a34a;       /* deep green */
  --ink:#0f172a;
  --muted: rgba(15,23,42,.65);

  --soft:#f3f7f4;
  --card:#ffffff;

  --radius:18px;
  --radius-lg:22px;
  --radius-pill:999px;

  --border: rgba(15,23,42,.07);
  --border-soft: rgba(22,163,74,.18);

  --shadow-sm: 0 12px 30px rgba(15,23,42,.06);
  --shadow-md: 0 14px 40px rgba(15,23,42,.08);
  --shadow-lg: 0 22px 55px rgba(15,23,42,.12);

  --brand-10: rgba(34,197,94,.10);
  --brand-12: rgba(34,197,94,.12);
  --brand-14: rgba(34,197,94,.14);
  --brand-18: rgba(34,197,94,.18);

  --focus-ring: 0 0 0 .12rem rgba(34,197,94,.28);
  --focus-border: rgba(34,197,94,.55);

  --trans: .2s ease;
}

*{
  font-family: "Hind Siliguri", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html{ scroll-behavior:smooth; }
body{ color: var(--ink); }

a{ text-decoration:none; }
.text-brand{ color: var(--brand) !important; }
.bg-soft{ background: var(--soft); }

/* =========================
   GLOBAL FOCUS (Brand)
========================= */
:where(.form-control, .form-select, textarea, input):focus,
:where(.form-control, .form-select, textarea, input):focus-visible{
  outline: none !important;
  box-shadow: var(--focus-ring) !important;
  border-color: var(--focus-border) !important;
}

.form-control, .form-select{
  border-radius: 14px;
  border-color: var(--border);
}
.form-control:focus, .form-select:focus{
  border-color: var(--focus-border);
}

/* =========================
   TOPBAR + ICON BUTTONS
========================= */
.topbar{
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
}

.icon-btn{
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.15);
  transition: transform var(--trans), background var(--trans);
}
.icon-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.22);
}

.icon-btn.soft{
  background: var(--brand-12);
  color: var(--brand-2);
}
.icon-btn.soft:hover{ background: rgba(34,197,94,.18); }

/* =========================
   BRAND LOGO
========================= */
.brand-logo{
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--brand-14);
  color: var(--brand-2);
}

/* =========================
   BUTTONS
========================= */
.btn-brand{
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-2);
  --bs-btn-hover-border-color: var(--brand-2);
  --bs-btn-color:#fff;
  --bs-btn-hover-color:#fff;
  border-radius: 14px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-brand:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(34,197,94,.22);
}

.btn-outline-brand{
  --bs-btn-color: var(--brand-2);
  --bs-btn-border-color: rgba(22,163,74,.40);
  --bs-btn-hover-bg: var(--brand-10);
  --bs-btn-hover-border-color: rgba(22,163,74,.75);
  --bs-btn-hover-color: var(--brand-2);
  border-radius: 14px;
}

/* =========================
   SECTION / HEADINGS
========================= */
.section{ padding: 70px 0; }
.section-head{ margin-bottom: 28px; }

.section-title{
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: 8px;
  color: var(--ink);
}
.section-subtitle{ margin:0; color: var(--muted); }

/* =========================
   HERO
========================= */
.hero{
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg{
  position:absolute; inset:0;
  background-image:url("https://images.unsplash.com/photo-1580281657527-47f249e8f7f5?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.72) 48%, rgba(255,255,255,.18) 100%);
}
@media (max-width: 991.98px){
  .hero-overlay{
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 55%, rgba(255,255,255,.25) 100%);
  }
}

.hero-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(22,163,74,.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
}

/* check list */
.list-checked{
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.list-checked li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(15,23,42,.75);
}
.list-checked li::before{
  content:"\F26A"; /* bi-check2-circle */
  font-family: bootstrap-icons;
  color: var(--brand-2);
  margin-top: 1px;
}

/* hero stats */
.hero-stats{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 575.98px){
  .hero-stats{ grid-template-columns: 1fr; }
}
.stat{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(22,163,74,.14);
  border-radius: var(--radius);
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  box-shadow: var(--shadow-sm);
}
.stat-icon{
  width: 46px; height: 46px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: var(--brand-14);
  color: var(--brand-2);
  font-size: 22px;
}
.stat-num{
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.1;
}
.stat-label{ font-size: 13px; color: var(--muted); }

.hero-note{
  background: var(--brand-12);
  border: 1px dashed rgba(22,163,74,.35);
  border-radius: 16px;
  padding: 12px 14px;
  display:flex;
  gap: 10px;
  align-items:center;
  color: rgba(15,23,42,.72);
}

/* =========================
   ABOUT / FEATURES
========================= */
.mini-badges{ display:flex; flex-wrap:wrap; gap:10px; }
.mini-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-12);
  color: var(--brand-2);
  font-weight: 600;
  font-size: 13px;
}

.about-box{
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow-md);
}

.feature{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  background: rgba(255,255,255,.75);
}
.feature-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(34,197,94,.13);
  color: var(--brand-2);
  font-size: 20px;
}

/* =========================
   SERVICES
========================= */
.service-card{
  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon{
  width: 56px; height: 56px;
  border-radius: 18px;
  display:grid; place-items:center;
  background: var(--brand-14);
  color: var(--brand-2);
  font-size: 26px;
}

/* =========================
   SPECIALITIES
========================= */
.specialities{
  padding: 70px 0;
  background: linear-gradient(120deg, var(--brand-2), var(--brand));
}

.spec-item{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 14px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  color:#fff;
  transition: transform var(--trans), background var(--trans);
  min-height: 56px;
}
.spec-item i{ font-size: 20px; }
.spec-item span{ font-weight: 700; font-size: 14px; }
.spec-item:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.18);
}

/* =========================
   DOCTORS
========================= */
.doctor-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.doctor-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.doctor-top{
  height: 54px;
  background: linear-gradient(90deg, rgba(34,197,94,.18), rgba(34,197,94,.06));
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding: 0 14px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(34,197,94,.18);
  border: 1px solid rgba(22,163,74,.25);
  color: var(--brand-2);
  font-weight: 700;
  font-size: 12px;
}

.avatar{
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-18);
  box-shadow: 0 10px 25px rgba(15,23,42,.10);
}

/* =========================
   TEAM
========================= */
.team-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow-md);
}
.team-avatar{
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-18);
}

/* =========================
   STORIES
========================= */
.stories{
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(34,197,94,.45), transparent 60%),
    radial-gradient(1200px 500px at 80% 10%, rgba(22,163,74,.55), transparent 55%),
    #0b1220;
}

.story-card{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.story-img{
  width:100%;
  height: 180px;
  object-fit: cover;
}

/* =========================
   CONTACT
========================= */
.contact-box{
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--brand-10);
  border: 1px solid var(--border-soft);
}

.contact-item{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,23,42,.06);
  margin-top: 10px;
}

.contact-ic{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: var(--brand-14);
  color: var(--brand-2);
  font-size: 20px;
}

/* =========================
   FOOTER
========================= */
.footer{
  padding: 60px 0 30px;
  background: #eefaf1;
}

.footer-links li{ margin: 8px 0; }
.footer-links a{
  color: rgba(15,23,42,.70);
  transition: color var(--trans);
}
.footer-links a:hover{
  color: var(--brand-2);
  text-decoration: underline;
}

/* =========================
   DOCTOR PROFILE (EXTRAS)
========================= */
.page-hero{
  padding: 26px 0;
  background: linear-gradient(90deg, rgba(34,197,94,.16), rgba(34,197,94,.06));
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.breadcrumb-like{
  font-size: 13px;
  color: rgba(15,23,42,.55);
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  margin-bottom: 6px;
}
.breadcrumb-like a{ color: rgba(15,23,42,.75); }
.breadcrumb-like a:hover{ text-decoration: underline; }

.page-title{
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--ink);
}
.page-subtitle{ color: rgba(15,23,42,.60); }

.profile-card{
  background:#fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow:hidden;
}

.profile-top{
  height: 54px;
  background: linear-gradient(90deg, rgba(34,197,94,.18), rgba(34,197,94,.06));
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding: 0 14px;
  gap: 8px;
}

.chip-soft{
  background: rgba(255,255,255,.8);
  color: rgba(15,23,42,.72);
  border: 1px solid rgba(15,23,42,.10);
}

.profile-avatar{
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--brand-18);
  box-shadow: 0 10px 25px rgba(15,23,42,.10);
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-12);
  color: var(--brand-2);
  font-weight: 700;
  font-size: 12px;
  border: 1px solid var(--border-soft);
}

.rating-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.stars i{ color:#f59e0b; }

.divider{
  height: 1px;
  background: rgba(15,23,42,.08);
  width: 100%;
}

.info-list{ display:grid; gap: 12px; text-align:left; }

.info-item{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(22,163,74,.12);
}

.info-item i{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: var(--brand-14);
  color: var(--brand-2);
  font-size: 20px;
}

.schedule-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(15,23,42,.10);
}
.schedule-row:last-child{ border-bottom: 0; }

.detail-box{
  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.9);
}

.detail-title{
  font-weight: 800;
  margin-bottom: 8px;
  color: rgba(15,23,42,.85);
}

.detail-list{
  margin:0;
  padding-left: 18px;
  color: rgba(15,23,42,.70);
}
.detail-list li{ margin: 6px 0; }

.review-card{
  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
}

.doctor-mini{
  border-radius: var(--radius);
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow-sm);
}

.mini-avatar{
  width: 64px; height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--brand-18);
}

.link-brand{
  color: var(--brand-2);
}
.link-brand:hover{ text-decoration: underline; }

/* ===== Blog Single Page ===== */
.blog-cover{ position: relative; }
.blog-cover img{ display:block; height:auto; }
.blog-cover-badges{
  position:absolute;
  left: 16px;
  bottom: 16px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-meta .meta-pill{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(22,163,74,.18);
  color: rgba(15,23,42,.75);
  font-weight: 600;
  font-size: 13px;
}

.blog-toc{
  border-radius: 18px;
  padding: 14px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(22,163,74,.16);
}
.blog-toc a{
  color: rgba(15,23,42,.78);
  text-decoration: none;
}
.blog-toc a:hover{ text-decoration: underline; color: var(--brand-2); }

.blog-callout{
  border-radius: 18px;
  padding: 14px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(22,163,74,.18);
}
.callout-ic{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(34,197,94,.14);
  color: var(--brand-2);
  font-size: 20px;
}

.mini-card{
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(15,23,42,.07);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.mini-card ul{ margin:0; padding-left: 18px; }

.tag{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(22,163,74,.18);
  color: var(--brand-2);
  font-weight: 700;
  font-size: 12px;
}

.share-btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(22,163,74,.18);
  color: var(--brand-2);
  transition: .2s ease;
}
.share-btn:hover{
  transform: translateY(-1px);
  background: rgba(34,197,94,.16);
}

.author-avatar{
  width: 70px;
  height: 70px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(34,197,94,.18);
}

.comment{
  display:flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.comment:last-child{ border-bottom: 0; }

.comment-avatar{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(34,197,94,.18);
}
.comment-body{ flex:1; }

.blog-related img{ height: 200px; object-fit: cover; }
.blog-related h5{ color: rgba(15,23,42,.88); }

.blog-sidebar{
  position: sticky;
  top: 90px;
}
.cat-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(22,163,74,.14);
  color: rgba(15,23,42,.80);
  font-weight: 600;
}
.cat-link:hover{
  background: rgba(34,197,94,.12);
  color: rgba(15,23,42,.85);
}
.cat-link .count{
  min-width: 34px;
  text-align:center;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15,23,42,.06);
  font-size: 12px;
  color: rgba(15,23,42,.65);
}

.recent-post{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.85);
}
.recent-post:last-child{ border-bottom: 0; }
.recent-post img{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(34,197,94,.18);
}

/* ===== Brand Pagination ===== */
.pagination{
  gap: 8px; /* nicer spacing */
}

.pagination .page-item .page-link{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.75);
  padding: 10px 14px;
  font-weight: 700;
  transition: .2s ease;
  background: #fff;
}

.pagination .page-item .page-link:hover{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.35);
  color: var(--brand-2);
  transform: translateY(-1px);
}

/* Active */
.pagination .page-item.active .page-link{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(34,197,94,.22);
}

/* Focus (brand) */
.pagination .page-link:focus{
  outline: none;
  border-color: rgba(34,197,94,.70);
  box-shadow: 0 0 0 .25rem rgba(34,197,94,.25);
}

/* Disabled */
.pagination .page-item.disabled .page-link{
  opacity: .55;
  cursor: not-allowed;
  background: rgba(15,23,42,.03);
}

/* Optional: Prev/Next a bit wider */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link{
  padding-left: 16px;
  padding-right: 16px;
}

