/* Lightweight overrides for refreshed landing visuals */

.services_overview_area {
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
}

.services_overview_area .services_overview_card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services_overview_area .services_overview_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(31, 31, 31, 0.08);
}

.services_overview_area .services_overview_iconwrap {
  background: rgba(93, 178, 255, 0.12);
  padding: 0;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services_overview_area .services_overview_icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(31, 31, 31, 0.08));
}

.services_overview_area .department_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.services_overview_area .department_content h3 {
  margin-bottom: 4px;
  line-height: 1.25;
  min-height: 2.5em; /* keep titles aligned even if 2 lines */
}

/* Doctors carousel: make thumbnails consistent (like template) */
.expert_doctors_area .single_expert .expert_thumb {
  aspect-ratio: 132 / 125; /* 264x250 */
}

.expert_doctors_area .single_expert .expert_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq_area .card {
  border: 1px solid #eef2f6;
  border-radius: 10px;
  overflow: hidden;
}

.faq_area .card-header {
  background: rgba(93, 178, 255, 0.08);
  border-bottom: 0;
}

.faq_area .faq_question {
  color: #1F1F1F;
  font-weight: 500;
  text-decoration: none;
  gap: 12px;
}

.faq_area .faq_question:hover,
.faq_area .faq_question:focus {
  text-decoration: none;
  color: #1F1F1F;
}

.faq_area .faq_toggle {
  color: #009DFF;
  transition: transform 0.2s ease;
}

.faq_area .faq_question.collapsed .faq_toggle {
  transform: rotate(-90deg);
}

.faq_area .faq_question_text {
  flex: 1;
  min-width: 0;
  white-space: normal;
  text-align: left;
}

.faq_area .card-body {
  color: #4D4D4D;
  line-height: 1.8;
}

.services_overview_area .services_overview_link {
  text-decoration: none;
  color: inherit;
}

.services_overview_area .services_overview_link:focus-visible {
  outline: 3px solid rgba(0, 157, 255, 0.45);
  outline-offset: 4px;
}

/* Neuro services carousel: move nav buttons below cards (scoped, doesn't affect other carousels) */
.services_overview_area .neuro_services_active.owl-carousel .owl-nav {
  position: relative;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.services_overview_area .neuro_services_active.owl-carousel .owl-nav div {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  right: auto;
  height: 42px;
  width: 42px;
  line-height: 42px;
  border: 0;
  background: #009DFF;
  color: #fff;
  opacity: 1;
  visibility: visible;
}

.services_overview_area .neuro_services_active.owl-carousel .owl-nav div:hover {
  background: #007fcc;
}

.text-justify {
  text-align: justify;
}

.empty_state {
  padding: 30px 0;
}

/* News cards: keep image + card heights symmetric */
.news_area .news_card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news_area .news_thumb {
  aspect-ratio: 16 / 9;
  background: rgba(93, 178, 255, 0.08);
}

.news_area .news_thumb_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news_area .news_content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news_area .news_title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news_area .news_excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news_area .news_meta {
  margin-bottom: 6px;
}

/* Reduce big gap between welcome section and services overview (desktop) */
@media (min-width: 992px) {
  .welcome_docmed_area {
    padding-bottom: 140px;
  }

  .welcome_docmed_area .welcome_thumb .thumb_2 {
    bottom: -50px;
  }

  .welcome_docmed_area + .our_department_area.services_overview_area {
    padding-top: 80px;
  }
}

/* IKM table (landing) */
.ikm_area {
  background: #ffffff;
  padding: 80px 0;
}

.ikm_area .section_title p {
  margin-top: 10px;
}

.ikm_table_wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(31, 31, 31, 0.06);
  overflow: hidden;
}

.ikm_table {
  margin-bottom: 0;
}

.ikm_table thead th {
  background: rgba(93, 178, 255, 0.1);
  border-bottom: 1px solid rgba(93, 178, 255, 0.22);
  font-weight: 600;
}

.ikm_table td,
.ikm_table th {
  vertical-align: middle;
  padding: 14px 16px;
}

/* Maklumat: signature image */
.maklumat_ttd {
  display: block;
  margin: 4px 0 -10px 0; /* tighten spacing above/below signature */
  max-width: 120px;
  height: auto;
}
