/* AMC Website Notes updates — brand: #0d4a3f / #21cdc0 */

:root {
  --amc-primary: #0d4a3f;
  --amc-primary-mid: #178066;
  --amc-accent: #21cdc0;
  --amc-accent-soft: #e8f8f5;
  --amc-surface: #f4f8f7;
  --amc-surface-muted: #e6eceb;
  --amc-ink: #0d4a3f;
  --amc-ink-soft: #42524e;
  --amc-muted: #5a6b66;
  --amc-muted-light: #7a8a86;
  --amc-border: rgba(13, 74, 63, 0.12);
  --amc-shadow: 0 12px 32px rgba(13, 74, 63, 0.08);
  --amc-radius: 16px;
}

/* ---------- Global brand hierarchy (premium medical centre) ---------- */
body {
  color: var(--amc-ink-soft);
  background-color: #fefefe;
}
/* .section_label,
.slide_badge {
  color: var(--amc-primary) !important;
} */
.heading_container h2,
.heading_container h3 {
  color: var(--amc-primary);
}
.about_section .about_btn,
.department_section .dept_card_btn,
.department_section .btn-box a,
.doctor_section .btn-box a,
.blog_list_btn,
.nav_book_btn,
.spec_cta_btn,
.btn_primary {
  background-color: var(--amc-primary) !important;
  border-color: var(--amc-primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(13, 74, 63, 0.22);
}
.about_section .about_btn:hover,
.department_section .dept_card_btn:hover,
.department_section .btn-box a:hover,
.doctor_section .btn-box a:hover,
.blog_list_btn:hover,
.nav_book_btn:hover,
.spec_cta_btn:hover,
.btn_primary:hover {
  background-color: var(--amc-primary-mid) !important;
  border-color: var(--amc-primary-mid) !important;
  color: #fff !important;
}
.slider_section .detail-box .btn-box .btn1 {
  background-color: #fff !important;
  color: var(--amc-primary) !important;
  border-color: #fff !important;
}
.slider_section .detail-box .btn-box .btn1:hover {
  background-color: var(--amc-accent) !important;
  color: #fff !important;
  border-color: var(--amc-accent) !important;
}
.slider_section .detail-box .btn-box .btn2 {
  background-color: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
}
.slider_section .detail-box .btn-box .btn2:hover {
  background-color: #fff !important;
  color: var(--amc-primary) !important;
}
.header_topbar_contacts a i {
  color: var(--amc-accent);
}
.header_section .navbar-nav .nav-link.active,
.header_section .navbar-nav .nav-item.active .nav-link {
  color: var(--amc-accent) !important;
}

/* Replace cool slate neutrals with brand-tinted greys */
.header_topbar_location,
.header_topbar_contacts a,
.client_section_intro,
.heading_container p,
.dept_card_content p,
.about_detail_box p,
.blog_list_card_excerpt,
.testimonial_peek_quote,
.home_counter_label {
  color: var(--amc-muted);
}
.header_topbar_contacts a strong,
.dept_card_content h5,
.blog_list_card_title,
.testimonial_peek_name,
.home_counter_num {
  color: var(--amc-primary);
}

/* Soft surfaces */
.department_section,
.doctor_section,
.blog_list_section {
  background: linear-gradient(180deg, var(--amc-surface) 0%, #ffffff 55%, #ffffff 100%);
}
.home_counters_section {
  /* background: var(--amc-surface); */
}
.home_counters_bar {
  background: #fff;
  border: 1px solid var(--amc-border);
  box-shadow: var(--amc-shadow);
}
.home_counter_icon {
  background:#2dd0c4b3;
  color: var(--amc-primary);
}
.dept_card_label {
  color: var(--amc-accent) !important;
}
.dept_card_btn {
  border-radius: 999px !important;
}
.treatment_card,
.dept_card,
.blog_list_card,
.testimonial_peek_card {
  border-color: var(--amc-border);
  box-shadow: var(--amc-shadow);
}

/* Hygiene / safety — keep premium dark banner, lighten type */
.hygiene_section .heading_container .section_label {
  color: var(--amc-accent) !important;
}
.hygiene_section .heading_container h2,
.hygiene_section .heading_container p {
  color: #ffffff !important;
}
.hygiene_section .heading_container p {
  opacity: 0.9;
}
.hygiene_card_icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--amc-accent);
  font-size: 26px;
  background: var(--amc-accent-soft);
}

/* Language toggle */
.header_lang_toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 12px;
  border: 1px solid rgba(13, 74, 63, 0.25);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}
.header_lang_toggle button {
  border: 0;
  background: transparent;
  color: #0d4a3f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  cursor: pointer;
  line-height: 1;
  min-width: 40px;
  transition: background 0.2s ease, color 0.2s ease;
}
.header_lang_toggle button.is-active {
  background: linear-gradient(135deg, #0d4a3f, #178066);
  color: #fff;
}
.header_lang_toggle button:disabled {
  opacity: 0.7;
  cursor: wait;
}
body.amc-lang-switching {
  pointer-events: none;
  cursor: wait;
}
body.amc-lang-switching::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(13, 74, 63, 0.08);
  z-index: 2000;
  pointer-events: none;
}

/* Home labels — nav + breadcrumb (Home / الرئيسية) */
.amc_home_text {
  text-transform: none;
  letter-spacing: 0;
}
html.amc-lang-ar .amc_nav_home_link .amc_home_text,
html[lang="ar"] .amc_nav_home_link .amc_home_text {
  font-weight: 600;
}
.header_topbar_inner {
  flex-wrap: wrap;
  gap: 8px 16px;
}
.header_topbar_end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Slogan under logo */
.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.navbar-brand .brand_slogan {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d4a3f;
  opacity: 0.85;
}

/* Clinic page banner */
.page_banner_bg {
  background-image: url("../images/banner/group2.png") !important;
  background-position: center 30%;
}

/* Cookie banner */
.amc_cookie_banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1080;
  max-width: 920px;
  margin: 0 auto;
}
.amc_cookie_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: #0d1210;
  color: #f5f7f6;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(33, 205, 192, 0.25);
}
.amc_cookie_text {
  flex: 1 1 280px;
}
.amc_cookie_text strong {
  display: block;
  margin-bottom: 4px;
  color: #21cdc0;
}
.amc_cookie_text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.amc_cookie_text a {
  color: #21cdc0;
  text-decoration: underline;
}
.amc_cookie_actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.amc_cookie_btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.amc_cookie_accept {
  background: linear-gradient(135deg, #21cdc0, #0d4a3f);
  color: #fff;
}
.amc_cookie_decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Interactive Health Hub */
.health_hub_section {
  background: #f3f6f6;
}
.health_hub_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.health_hub_heading h2 {
  margin: 0 0 8px;
  color: #0d4a3f;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.health_hub_heading p {
  margin: 0;
  color: #7b8b87;
  font-size: 15px;
  line-height: 1.45;
}
.health_hub_date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  background: #e6eceb;
  color: #274842;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.health_hub_date i {
  color: #178066;
  font-size: 14px;
}

.health_hub_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.hh_card {
  position: relative;
  height: 100%;
  min-height: 360px;
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hh_card_light {
  background: #ffffff;
  border: 1px solid rgba(13, 74, 63, 0.05);
  box-shadow: 0 8px 30px rgba(13, 74, 63, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hh_card_light:hover {
  box-shadow: 0 14px 36px rgba(13, 74, 63, 0.09);
  transform: translateY(-2px);
}
.hh_card_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hh_icon_box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f8f4;
  color: var(--amc-accent);
  font-size: 18px;
}
/* .hh_icon_heart {
  color: #0d4a3f;
} */
.hh_badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.hh_badge_mint {
  background: #d8f6ef;
  color: #0d4a3f;
}
.hh_badge_gray {
  background: #eef1f1;
  color: #4d5f5a;
}
.hh_card_title {
  margin: 0 0 18px;
  color: #0d4a3f;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hh_metric_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.hh_metric_row:last-of-type {
  margin-bottom: 28px;
}
.hh_metric_row_full {
  grid-template-columns: 1fr;
}
.hh_metric_box {
  display: block;
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: #f2f5f5;
  cursor: text;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.hh_metric_box:focus-within {
  background: #eaf7f3;
  box-shadow: inset 0 0 0 1.5px rgba(33, 205, 192, 0.45);
}
.hh_metric_label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9a96;
}
.hh_metric_box input,
.hh_metric_box select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  color: #0d4a3f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  height: auto;
  appearance: none;
  -webkit-appearance: none;
}
.hh_metric_box input::-webkit-outer-spin-button,
.hh_metric_box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.hh_metric_box input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.hh_metric_box select {
  cursor: pointer;
  padding-right: 16px;
  background-image:
    linear-gradient(45deg, transparent 50%, #21cdc0 50%),
    linear-gradient(135deg, #21cdc0 50%, transparent 50%);
  background-position: calc(100% - 8px) 55%, calc(100% - 3px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.hh_select_accent {
  color: #21cdc0 !important;
}
.hh_card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
}
.hh_result_label {
  display: block;
  margin-bottom: 4px;
  color: #8a9a96;
  font-size: 13px;
  font-weight: 500;
}
.hh_result_value {
  display: block;
  color: #21cdc0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hh_result_value strong,
.hh_result_value em {
  font-style: normal;
  font-weight: 800;
  color: #21cdc0;
}
.hh_action_btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.hh_action_btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05);
}
.hh_action_btn:active {
  transform: scale(0.97);
}
.hh_action_mint {
  background: #21cdc0;
  box-shadow: 0 10px 22px rgba(33, 205, 192, 0.38);
}
.hh_action_dark {
  background: #0d4a3f;
  box-shadow: 0 10px 22px rgba(13, 74, 63, 0.3);
}

/* Rewards card */
.hh_card_rewards {
  background: linear-gradient(165deg, #0f5347 0%, #0d4a3f 48%, #0a3d34 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(13, 74, 63, 0.28);
}
.hh_rewards_watermark {
  position: absolute;
  right: -18px;
  top: 48px;
  font-size: 168px;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
  transform: rotate(-8deg);
}
.hh_rewards_top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #7fe0d4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.hh_rewards_top i {
  font-size: 15px;
  color: #21cdc0;
}
.hh_rewards_hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.hh_rewards_amount,
.hh_rewards_name {
  color: #5fe0d2;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hh_rewards_amount {
  font-size: 34px;
}
.hh_rewards_name {
  font-size: 30px;
}
.hh_rewards_note {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  position: relative;
  z-index: 1;
}
.hh_rewards_list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  position: relative;
  z-index: 1;
}
.hh_rewards_list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}
.hh_rewards_list li:last-child {
  margin-bottom: 0;
}
.hh_rewards_item_left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.hh_rewards_item_left i {
  color: #21cdc0;
  width: 18px;
  text-align: center;
  font-size: 15px;
}
.hh_rewards_claimed {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(33, 205, 192, 0.18);
  color: #7fe0d4;
  font-size: 11px;
  font-weight: 700;
}
.hh_rewards_pts {
  color: #7fe0d4;
  font-size: 13px;
  font-weight: 700;
}
.hh_rewards_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  background: #ffffff;
  color: #0d4a3f;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.hh_rewards_cta:hover {
  color: #0d4a3f;
  text-decoration: none;
  background: #f4fffc;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

@media (max-width: 991px) {
  .health_hub_grid {
    grid-template-columns: 1fr;
  }
  .hh_card {
    min-height: 0;
  }
  .hh_card_title {
    font-size: 24px;
  }
  .hh_rewards_amount {
    font-size: 30px;
  }
  .hh_rewards_name {
    font-size: 26px;
  }
}
@media (max-width: 575px) {
  .hh_metric_row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hh_metric_box {
    padding: 12px;
  }
  .hh_metric_box input,
  .hh_metric_box select {
    font-size: 20px;
  }
  .hh_result_value {
    font-size: 20px;
  }
  .hh_action_btn {
    width: 46px;
    height: 46px;
  }
  .hh_card {
    padding: 20px;
    border-radius: 20px;
  }
}

/* Home specialities medical-first grid */
.home_spec_grid .dept_card {
  height: 100%;
}
.home_spec_mini {
  text-align: left;
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(13, 74, 63, 0.1);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home_spec_mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(13, 74, 63, 0.1);
  border-color: rgba(33, 205, 192, 0.35);
}
.home_spec_mini_icon {
  width: 48px;
  height: 48px;
  margin: 0 0 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #21cdc0, #0d4a3f);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(13, 74, 63, 0.18);
}
.home_spec_mini h5 {
  color: #0d4a3f;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}
.home_spec_mini p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5a6b66;
}
.home_spec_mini_link {
  margin-top: 12px;
  color: #178066;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.home_spec_mini_link:hover {
  color: #0d4a3f;
  text-decoration: none;
}
.home_spec_services {
  margin-top: 36px;
}
.home_spec_services_head {
  margin-bottom: 22px;
}
.home_spec_services_head h3 {
  color: #0d4a3f;
  /* font-size: 26px; */
  font-weight: 800;
  margin: 8px 0 8px;
}
.home_spec_cta {
  margin-top: 28px;
  text-align: center;
}

/* Insurance logo carousel */
.insurance_logo_slider {
  position: relative;
  padding: 4px 52px;
  max-width: 100%;
}
.insurance_logo_carousel {
  width: 100%;
  overflow: hidden;
}
.insurance_logo_carousel .owl-stage-outer {
  overflow: hidden;
}
.insurance_logo_carousel .owl-item {
  display: flex;
  justify-content: center;
}
.insurance_logo_slide {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(13, 74, 63, 0.1);
  width: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  box-sizing: border-box;
}
/* Override Owl's default .owl-item img { width: 100% } */
.insurance_logo_carousel.owl-carousel .owl-item .insurance_logo_slide img {
  display: block;
  width: auto !important;
  max-width: 100%;
  max-height: 72px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.insurance_slider_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #0d4a3f;
  color: #fff;
  z-index: 2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(13, 74, 63, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}
.insurance_slider_nav:hover {
  background: #178066;
}
.insurance_slider_nav:focus {
  outline: 2px solid #21cdc0;
  outline-offset: 2px;
}
.insurance_slider_prev { left: 0; }
.insurance_slider_next { right: 0; }

@media (max-width: 991px) {
  .insurance_logo_slider {
    padding: 4px 46px;
  }
  .insurance_logo_slide {
    min-height: 100px;
    padding: 14px 10px;
  }
  .insurance_logo_carousel.owl-carousel .owl-item .insurance_logo_slide img {
    max-height: 60px;
  }
}

@media (max-width: 575px) {
  .insurance_logo_slider {
    padding: 0 0 52px;
  }
  .insurance_logo_slide {
    min-height: 88px;
    border-radius: 12px;
    padding: 12px 8px;
  }
  .insurance_logo_carousel.owl-carousel .owl-item .insurance_logo_slide img {
    max-height: 48px;
  }
  .insurance_slider_nav {
    top: auto;
    bottom: 0;
    transform: none;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .insurance_slider_prev {
    left: calc(50% - 44px);
  }
  .insurance_slider_next {
    right: auto;
    left: calc(50% + 8px);
  }
}

/* =========================================================
   Specialities page — premium medical layout (v2)
   ========================================================= */
.specialities_page .spec_page_intro {
  background: transparent !important;
  padding-bottom: 0 !important;
}

.spc_page {
  padding: 48px 0 88px;
  background:
    radial-gradient(ellipse at top left, rgba(33, 205, 192, 0.12), transparent 42%),
    linear-gradient(180deg, #f3f8f6 0%, #ffffff 38%, #f6faf8 100%);
}

.spc_intro {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
  background: transparent !important;
}
.spc_intro h2 {
  color: #0d4a3f;
  font-size: clamp(28px, 3vw, 36px);
  margin: 8px 0 12px;
  font-weight: 700;
}
.spc_intro p {
  margin: 0;
  color: #5d6e69;
  line-height: 1.7;
  font-size: 16px;
}

.spc_tabs {
  position: sticky;
  top: 88px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 40px;
  padding: 10px;
  max-width: 820px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 74, 63, 0.1);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(13, 74, 63, 0.08);
}
.spc_tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0d4a3f;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.spc_tabs a:hover {
  background: #eef8f5;
  color: #0d4a3f;
  text-decoration: none;
}
.spc_tabs a.is-active {
  background: linear-gradient(135deg, #0d4a3f, #178066);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 74, 63, 0.25);
}

.spc_dept {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 36px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(13, 74, 63, 0.08);
  box-shadow: 0 18px 40px rgba(13, 74, 63, 0.07);
  scroll-margin-top: 150px;
}
.spc_dept--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.95fr);
}
.spc_dept--reverse .spc_dept_media {
  order: 2;
}
.spc_dept--reverse .spc_dept_body {
  order: 1;
}

.spc_dept_media {
  position: relative;
  min-height: 420px;
  background: #0d4a3f;
}
.spc_dept_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: absolute;
  inset: 0;
}
.spc_dept_badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 74, 63, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(33, 205, 192, 0.45);
}

.spc_dept_body {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
}
.spc_dept_body h3 {
  margin: 0 0 10px;
  color: #0d4a3f;
  font-size: 28px;
  font-weight: 700;
}
.spc_dept_lead {
  margin: 0 0 22px;
  color: #5a6b66;
  font-size: 15px;
  line-height: 1.7;
}

.spc_service_list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spc_service_list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.spc_service_list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  background: #f6faf9;
  border: 1px solid rgba(13, 74, 63, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.spc_service_list li:hover {
  background: #fff;
  border-color: rgba(33, 205, 192, 0.45);
  transform: translateY(-2px);
}
.spc_service_index {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #21cdc0, #0d4a3f);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.spc_service_list h4 {
  margin: 0 0 4px;
  color: #0d4a3f;
  font-size: 15px;
  font-weight: 700;
}
.spc_service_list p {
  margin: 0;
  color: #61726d;
  font-size: 13px;
  line-height: 1.55;
}

.spc_link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d4a3f !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}
.spc_link i {
  color: #21cdc0;
  transition: transform 0.2s ease;
}
.spc_link:hover i {
  transform: translateX(4px);
}

.spc_support_row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.spc_support_card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 220px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(13, 74, 63, 0.08);
  box-shadow: 0 14px 32px rgba(13, 74, 63, 0.06);
  scroll-margin-top: 150px;
}
.spc_support_img {
  position: relative;
  min-height: 220px;
  background: #0d4a3f;
}
.spc_support_img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spc_support_content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.spc_support_tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(33, 205, 192, 0.16);
  color: #0d4a3f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.spc_support_content h3 {
  margin: 0 0 8px;
  color: #0d4a3f;
  font-size: 22px;
}
.spc_support_content p {
  margin: 0 0 16px;
  color: #5a6b66;
  font-size: 14px;
  line-height: 1.65;
}

.spc_process {
  background: linear-gradient(145deg, #0b3f36 0%, #0d4a3f 45%, #157060 100%);
  border-radius: 24px;
  padding: 42px 36px;
  color: #fff;
  scroll-margin-top: 150px;
  box-shadow: 0 20px 44px rgba(13, 74, 63, 0.22);
}
.spc_process_intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
}
.spc_process_intro .section_label {
  color: #21cdc0;
}
.spc_process_intro h3 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 28px;
}
.spc_process_intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}
.spc_process_steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: none;
}
.spc_process_steps li {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 18px 20px;
  text-align: center;
}
.spc_process_steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -10px;
  width: 20px;
  height: 2px;
  background: rgba(33, 205, 192, 0.45);
  z-index: 1;
}
.spc_step_num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #21cdc0;
  color: #07352e;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.spc_process_steps h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
}
.spc_process_steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.55;
}
.spc_process_actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.spc_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #21cdc0;
  color: #07352e !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid #21cdc0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.spc_btn:hover {
  background: #fff;
  color: #0d4a3f !important;
  transform: translateY(-2px);
}
.spc_btn--outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}
.spc_btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

@media (max-width: 991px) {
  .spc_dept,
  .spc_dept--reverse {
    grid-template-columns: 1fr;
  }
  .spc_dept--reverse .spc_dept_media,
  .spc_dept--reverse .spc_dept_body {
    order: initial;
  }
  .spc_dept_media {
    min-height: 260px;
  }
  .spc_service_list--grid {
    grid-template-columns: 1fr;
  }
  .spc_support_row {
    grid-template-columns: 1fr;
  }
  .spc_process_steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spc_process_steps li:not(:last-child)::after {
    display: none;
  }
  .spc_tabs {
    top: 72px;
    border-radius: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .spc_tabs a {
    flex: 0 0 auto;
  }
}
@media (max-width: 575px) {
  .spc_page {
    padding: 32px 0 56px;
  }
  .spc_dept_body,
  .spc_process {
    padding: 24px 18px;
  }
  .spc_support_card {
    grid-template-columns: 1fr;
  }
  .spc_support_img {
    min-height: 180px;
  }
  .spc_process_steps {
    grid-template-columns: 1fr;
  }
}

/* Keep legacy specialities selectors from breaking this page */
.specialities_page .spc_page .spec_dept_hero,
.specialities_page .spc_page .spec_list_item {
  all: unset;
}

/* Related doctors — same speciality experts (match site doctor cards) */
.related_doctors_section {
  background: linear-gradient(180deg, #f3f8f6 0%, #eef4f2 100%);
  border-top: 1px solid rgba(13, 74, 63, 0.08);
}
.related_doctors_head {
  margin-bottom: 28px;
}
.related_doctors_head h2 {
  color: #0d4a3f;
}
.related_doctors_grid {
  align-items: stretch;
}
.related_doctor_col {
  margin-bottom: 70px;
}
.related_doctors_section .related_doctor_card {
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.related_doctors_section .related_doctor_card:hover {
  transform: none;
  box-shadow: none;
}
.related_doctors_section .related_doctor_link {
  display: block;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}
.related_doctors_section .related_doctor_visual {
  position: relative;
  padding: 0;
  margin-bottom: 0;
}
.related_doctors_section .related_doctor_visual img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: solid 1px #ebebeb;
}
.related_doctors_section .related_doctor_card:hover .related_doctor_visual img {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 74, 63, 0.18);
}
.related_doctors_section .related_doctor_badge {
  position: absolute;
  left: 50%;
  bottom: -42px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 300px;
  padding: 14px 14px 16px;
  background: #ffffff;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 35, 52, 0.12);
  border: 1px solid rgba(13, 74, 63, 0.06);
  z-index: 2;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.related_doctors_section .related_doctor_card:hover .related_doctor_badge {
  box-shadow: 0 14px 32px rgba(13, 74, 63, 0.16);
}
.related_doctors_section .related_doctor_role {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: #666666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.related_doctors_section .related_doctor_name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #0d4a3f;
}
.related_doctors_section .related_doctor_qual {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #178066;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related_doctors_section .related_doctor_qual .fa {
  color: #21cdc0;
  margin-right: 5px;
}
@media (max-width: 991px) {
  .related_doctors_section .related_doctor_visual img {
    height: 320px;
  }
}
@media (max-width: 575px) {
  .related_doctor_col {
    margin-bottom: 80px;
  }
  .related_doctors_section .related_doctor_card {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .related_doctors_section .related_doctor_visual img {
    height: 300px;
  }
  .related_doctors_section .related_doctor_badge {
    bottom: -48px;
    width: 92%;
  }
}

/* Legal pages */
.legal_page_content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(13, 74, 63, 0.08);
}
.legal_page_content h2 {
  color: #0d4a3f;
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal_page_content p,
.legal_page_content li {
  color: #4a5a56;
  line-height: 1.7;
}

/* Chatbot */
.amc_chatbot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1090;
}
.amc_chatbot_fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.4);
  cursor: pointer;
  position: relative;
}
.amc_chatbot_fab_pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: amcPulse 2s infinite;
}
@keyframes amcPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}
.amc_chatbot_panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(360px, calc(100vw - 28px));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(13, 74, 63, 0.12);
  display: flex;
  flex-direction: column;
  max-height: min(560px, calc(100vh - 110px));
}
.amc_chatbot_header {
  background: linear-gradient(135deg, #0d4a3f, #178066);
  color: #fff;
  padding: 14px 14px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.amc_chatbot_header_info {
  display: flex;
  gap: 10px;
  align-items: center;
}
.amc_chatbot_avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amc_chatbot_header strong {
  display: block;
  font-size: 14px;
}
.amc_chatbot_status {
  font-size: 11px;
  opacity: 0.85;
}
.amc_chatbot_close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.amc_chatbot_messages {
  padding: 14px;
  overflow-y: auto;
  flex: 1;
  background: #f6faf9;
  min-height: 220px;
}
.amc_chat_bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.45;
  clear: both;
}
.amc_chat_bubble.bot {
  background: #fff;
  color: #20332f;
  border: 1px solid rgba(13, 74, 63, 0.1);
  border-bottom-left-radius: 4px;
}
.amc_chat_bubble.user {
  background: #0d4a3f;
  color: #fff;
  float: right;
  border-bottom-right-radius: 4px;
}
.amc_chatbot_quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
  background: #f6faf9;
}
.amc_chatbot_quick button {
  border: 1px solid rgba(13, 74, 63, 0.2);
  background: #fff;
  color: #0d4a3f;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.amc_chatbot_form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(13, 74, 63, 0.1);
  background: #fff;
}
.amc_chatbot_form input {
  flex: 1;
  border: 1px solid rgba(13, 74, 63, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
}
.amc_chatbot_form button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #0d4a3f;
  color: #fff;
  cursor: pointer;
}
.amc_chatbot_wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  padding: 11px;
}
.amc_chatbot_wa:hover {
  background: #1ebe57;
  color: #fff !important;
}

/* Hide Google Translate chrome + stop layout jump on language switch */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-spinner-pos,
.goog-te-gadget,
.skiptranslate,
body > .skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  border: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}
html {
  margin-top: 0 !important;
}
body {
  top: 0 !important;
  position: static !important;
  min-height: 100% !important;
}
body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
  position: static !important;
}
font font,
font {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 575px) {
  .amc_cookie_inner {
    padding: 16px;
  }
  .amc_chatbot {
    right: 14px;
    bottom: 14px;
  }
}

/* =========================================================
   Specialities directory � side menu + top headings
   ========================================================= */
.spc_directory {
  background: linear-gradient(180deg, #f4f8f7 0%, #ffffff 55%, #f7faf9 100%);
}
.spc_directory_top {
  margin-bottom: 36px;
}
.spc_directory_top h2 {
  color: #0d4a3f;
}
.spc_directory_layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(13, 74, 63, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(13, 74, 63, 0.07);
}
.spc_directory_nav {
  background: linear-gradient(180deg, #0d4a3f 0%, #146655 100%);
  padding: 20px 14px;
  min-height: 100%;
}
.spc_directory_nav_title {
  margin: 0 10px 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.spc_nav_item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  padding: 12px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.spc_nav_item i {
  width: 18px;
  text-align: center;
  color: #21cdc0;
}
.spc_nav_item:hover {
  background: rgba(33, 205, 192, 0.16);
  color: #fff;
}
.spc_nav_item.is-active {
  background: #21cdc0;
  color: #07352e;
  transform: translateX(2px);
}
.spc_nav_item.is-active i {
  color: #07352e;
}
.spc_directory_panels {
  padding: 28px 28px 30px;
  min-height: 520px;
}
.spc_panel[hidden] {
  display: none !important;
}
.spc_panel_heading {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(13, 74, 63, 0.1);
}
.spc_panel_tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(33, 205, 192, 0.16);
  color: #0d4a3f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spc_panel_heading h3 {
  margin: 0 0 8px;
  color: #0d4a3f;
  font-size: 28px;
  font-weight: 700;
}
.spc_panel_heading p {
  margin: 0;
  color: #5a6b66;
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}
.spc_panel_media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  height: 240px;
  background: #e8efed;
}
.spc_panel_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spc_panel_body p {
  margin: 0 0 14px;
  color: #5a6b66;
  font-size: 14px;
  line-height: 1.7;
}
.spc_panel_points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.spc_panel_points li {
  background: #f6faf9;
  border: 1px solid rgba(13, 74, 63, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: #0d4a3f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.spc_panel_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d4a3f !important;
  font-weight: 700;
  text-decoration: none !important;
}
.spc_panel_link i {
  color: #21cdc0;
}
.spc_panel_link:hover i {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

@media (max-width: 991px) {
  .spc_directory_layout {
    grid-template-columns: 1fr;
  }
  .spc_directory_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px;
  }
  .spc_directory_nav_title {
    width: 100%;
    margin: 0 4px 8px;
  }
  .spc_nav_item {
    width: auto;
    flex: 1 1 auto;
  }
  .spc_nav_item.is-active {
    transform: none;
  }
  .spc_directory_panels {
    padding: 20px 16px 24px;
    min-height: 0;
  }
  .spc_panel_points {
    grid-template-columns: 1fr;
  }
  .spc_panel_media {
    height: 200px;
  }
}


/* =========================================================
   Specialities � top tabs + 4 departments
   ========================================================= */
.spc_directory {
  background: linear-gradient(180deg, #f4f8f7 0%, #ffffff 55%, #f7faf9 100%);
}
.spc_directory_top {
  margin-bottom: 28px;
}
.spc_directory_top h2 {
  color: #0d4a3f;
}

.spc_top_nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 28px;
  max-width: 920px;
}
.spc_top_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 16px 12px;
  border: 1px solid rgba(13, 74, 63, 0.12);
  border-radius: 16px;
  background: #fff;
  color: #0d4a3f;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(13, 74, 63, 0.05);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.spc_top_item i {
  font-size: 22px;
  color: #21cdc0;
}
.spc_top_item:hover {
  border-color: rgba(33, 205, 192, 0.5);
  transform: translateY(-2px);
}
.spc_top_item.is-active {
  background: linear-gradient(135deg, #0d4a3f, #178066);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 74, 63, 0.22);
}
.spc_top_item.is-active i {
  color: #21cdc0;
}

.spc_top_panels {
  background: #fff;
  border: 1px solid rgba(13, 74, 63, 0.08);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(13, 74, 63, 0.06);
}
.spc_panel[hidden] {
  display: none !important;
}
.spc_panel_heading {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(13, 74, 63, 0.1);
}
.spc_panel_tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(33, 205, 192, 0.16);
  color: #0d4a3f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spc_panel_heading h3 {
  margin: 0 0 8px;
  color: #0d4a3f;
  font-size: 28px;
  font-weight: 700;
}
.spc_panel_heading p {
  margin: 0;
  color: #5a6b66;
  font-size: 15px;
  line-height: 1.65;
  max-width: 760px;
}
.spc_panel_media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  height: 260px;
  background: #e8efed;
}
.spc_panel_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spc_sub_card {
  height: 100%;
  background: #f6faf9;
  border: 1px solid rgba(13, 74, 63, 0.08);
  border-radius: 14px;
  padding: 16px;
}
.spc_sub_no {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #21cdc0, #0d4a3f);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.spc_sub_card h4 {
  margin: 0 0 6px;
  color: #0d4a3f;
  font-size: 16px;
}
.spc_sub_card p {
  margin: 0;
  color: #5a6b66;
  font-size: 13px;
  line-height: 1.6;
}
.spc_panel_points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.spc_panel_points li {
  background: #f6faf9;
  border: 1px solid rgba(13, 74, 63, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: #0d4a3f;
  font-size: 13px;
  font-weight: 600;
}
.spc_panel_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #0d4a3f !important;
  font-weight: 700;
  text-decoration: none !important;
}
.spc_panel_link i {
  color: #21cdc0;
}

@media (max-width: 767px) {
  .spc_top_nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spc_top_panels {
    padding: 18px 14px;
  }
  .spc_panel_media {
    height: 200px;
  }
  .spc_panel_points {
    grid-template-columns: 1fr;
  }
  .spc_panel_heading h3 {
    font-size: 24px;
  }
}

/* Specialities top department jump links */
.spc_dept_jump_wrap {
  position: sticky;
  top: 0px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 74, 63, 0.08);
  box-shadow: 0 8px 20px rgba(13, 74, 63, 0.05);
  backdrop-filter: blur(8px);
}
.spc_dept_jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
}
.spc_dept_jump_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #f0faf9;
  color: #0d4a3f !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.spc_dept_jump_link:hover {
  background: rgba(33, 205, 192, 0.2);
  color: #0d4a3f !important;
}
.spc_dept_jump_link.is-active {
  background: #21cdc0;
  color: #ffffff !important;
  border-color: #21cdc0;
}
#medicine,
#dentistry,
#laboratory,
#vaccination {
  scroll-margin-top: 140px;
}
@media (max-width: 767px) {
  /* .spc_dept_jump_wrap {
    top: 64px;
  } */
  .spc_dept_jump {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding-left: 4px;
    padding-right: 4px;
  }
  .spc_dept_jump_link {
    flex: 0 0 auto;
  }
}

/* Related doctors � same speciality experts (refreshed) */
.related_doctors_section {
  background: linear-gradient(180deg, #f3f8f6 0%, #ffffff 100%) !important;
  border-top: 1px solid rgba(13, 74, 63, 0.08);
}
.related_doctors_head { margin-bottom: 36px; }
.related_doctors_head h2 { color: #0d4a3f; }
.related_doctor_card {
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(13, 74, 63, 0.1);
  box-shadow: 0 12px 28px rgba(13, 74, 63, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.related_doctor_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(13, 74, 63, 0.12);
}
.related_doctor_link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}
.related_doctor_photo {
  position: relative;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  background: #e8efed;
}
.related_doctor_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}
.related_doctor_card:hover .related_doctor_photo img { transform: scale(1.04); }
.related_doctor_body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related_doctor_specialty {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #21cdc0;
}
.related_doctor_body h4 {
  color: #0d4a3f;
  font-size: 16px;
  margin: 0 0 6px;
  line-height: 1.3;
}
.related_doctor_role {
  margin: 0 0 8px;
  font-size: 13px;
  color: #178066;
  font-weight: 600;
  line-height: 1.4;
}
.related_doctor_qual {
  margin: 0 0 14px;
  font-size: 12px;
  color: #6a7a76;
  line-height: 1.45;
}
.related_doctor_qual .fa {
  color: #21cdc0;
  margin-right: 4px;
}
.related_doctor_cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0d4a3f;
}
.related_doctor_cta .fa { color: #21cdc0; transition: transform 0.2s ease; }
.related_doctor_card:hover .related_doctor_cta .fa { transform: translateX(3px); }
