/* ==========================================================================
   SERVICE DETAIL PAGE REDESIGN CSS (ser-temp.html)
   Layout: 2-Column (Main Content 8 Cols + Right Sidebar 4 Cols)
   Theme: Raghava Hospital (Clean White, Medical Blue #0074b9, Accent Green #21a840)
   ========================================================================== */

:root {
  --sdr-primary: #0074b9;
  --sdr-navy: #10204b;
  --sdr-accent: #21a840;
  --sdr-text: #4a5568;
  --sdr-bg-light: #f8fbff;
  --sdr-border: #e2e8f0;
  --sdr-radius: 18px;
  --sdr-shadow: 0 14px 34px rgba(16, 32, 75, 0.08);
}

.service-detail-area {
  padding: 80px 0 100px;
  background: #ffffff;
}

/* Grid Layout */
.service-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 48px;
  align-items: start;
}

/* ---------- Main Content Column (Left 8 Cols) ---------- */
.service-main-content {
  color: var(--sdr-text);
  font-size: 16px;
  line-height: 1.8;
}

.service-main-heading {
  color: var(--sdr-primary);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.service-main-intro {
  font-size: 16.5px;
  color: #4a5568;
  line-height: 1.85;
  margin-bottom: 28px;
}

/* Featured Image Container */
.service-featured-media {
  position: relative;
  border-radius: var(--sdr-radius);
  overflow: hidden;
  box-shadow: var(--sdr-shadow);
  margin-bottom: 36px;
  aspect-ratio: 16 / 9.5;
  background: #eaf2f8;
}

.service-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-featured-media:hover img {
  transform: scale(1.03);
}

/* Content Subsections */
.service-subheading {
  color: var(--sdr-primary);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  margin: 32px 0 12px;
}

.service-main-content p {
  color: #4a5568;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Eyebrow Label */
.service-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sdr-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--sdr-accent);
  border-radius: 2px;
}

/* Highlight Strip */
.service-highlight-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 8px 0 32px;
}

.service-highlight-strip li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--sdr-bg-light);
  border: 1px solid var(--sdr-border);
  border-radius: 14px;
  padding: 16px 14px;
  transition: all 0.25s ease;
}

.service-highlight-strip li:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 116, 185, 0.25);
  box-shadow: 0 10px 22px rgba(16, 32, 75, 0.08);
}

.service-highlight-strip .highlight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--sdr-primary);
  color: #ffffff;
  font-size: 16px;
  flex-shrink: 0;
}

.service-highlight-strip span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sdr-navy);
  line-height: 1.35;
}

/* Feature Block (icon + heading + text) */
.service-feature-block {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--sdr-border);
}

.service-feature-block:first-of-type {
  padding-top: 4px;
}

.feature-block-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--sdr-primary);
  background: var(--sdr-bg-light);
  border: 1px solid var(--sdr-border);
}

.service-feature-block:nth-of-type(even) .feature-block-icon {
  color: var(--sdr-accent);
}

.feature-block-body .service-subheading {
  margin: 0 0 10px;
}

.feature-block-body p {
  margin-bottom: 0;
}

/* Conditions Tag List */
.service-conditions-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--sdr-border);
}

.service-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sdr-bg-light);
  border: 1px solid var(--sdr-border);
  color: var(--sdr-navy);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.service-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sdr-accent);
}

.service-tag:hover {
  background: var(--sdr-primary);
  border-color: var(--sdr-primary);
  color: #ffffff;
}

.service-tag:hover::before {
  background: #ffffff;
}

/* FAQ Accordion */
.service-faq-block {
  padding: 32px 0 4px;
}

.service-faq-block .service-subheading {
  margin-top: 0;
}

.service-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.service-faq-item {
  border: 1px solid var(--sdr-border);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-faq-item:has(.service-faq-question[aria-expanded="true"]) {
  border-color: rgba(0, 116, 185, 0.25);
  box-shadow: 0 10px 22px rgba(16, 32, 75, 0.08);
}

.service-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--sdr-bg-light);
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--sdr-navy);
}

.service-faq-question .faq-toggle-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sdr-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.service-faq-question[aria-expanded="true"] .faq-toggle-icon {
  background: var(--sdr-accent);
  transform: rotate(45deg);
}

.service-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.service-faq-answer-inner {
  padding: 16px 22px 20px;
}

.service-faq-answer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4a5568;
}

/* Closing Content CTA */
.service-content-cta {
  margin-top: 32px;
  padding: 32px 30px;
  border-radius: var(--sdr-radius);
  background: linear-gradient(135deg, var(--sdr-navy) 0%, #16305f 100%);
  box-shadow: 0 20px 40px rgba(16, 32, 75, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.service-content-cta h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.service-content-cta p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}

.service-content-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sdr-accent);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(33, 168, 64, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.service-content-cta-btn:hover {
  background: #199435;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(33, 168, 64, 0.4);
}

/* Responsive: Content redesign */
@media (max-width: 767px) {
  .service-highlight-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-feature-block {
    gap: 16px;
  }

  .feature-block-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .service-content-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .service-content-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-highlight-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Sidebar Column (Right 4 Cols) ---------- */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 110px;
}

/* Widget 1: Departments Navigation */
.widget-departments {
  background: #ffffff;
  border: 1px solid var(--sdr-border);
  border-radius: var(--sdr-radius);
  padding: 28px 24px;
  box-shadow: var(--sdr-shadow);
}

.widget-dept-title {
  color: var(--sdr-primary);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  position: relative;
}

.widget-dept-title::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: var(--sdr-accent);
  border-radius: 2px;
  margin-top: 8px;
}

.dept-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* max-height: 520px; */
  /* overflow-y: auto; */
  padding-right: 4px;
}

/* Custom Scrollbar for list */
.dept-nav-list::-webkit-scrollbar {
  width: 5px;
}

.dept-nav-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.dept-nav-item {
  margin: 0;
}

.dept-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--sdr-bg-light);
  border: 1px solid #edf2f7;
  border-radius: 12px;
  color: #334155;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.dept-nav-link .arrow {
  color: var(--sdr-primary);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.dept-nav-link:hover {
  background: #eef6fd;
  border-color: rgba(0, 116, 185, 0.25);
  color: var(--sdr-primary);
  transform: translateX(4px);
}

.dept-nav-link:hover .arrow {
  transform: translateX(3px);
  color: var(--sdr-accent);
}

/* Active State for selected department */
.dept-nav-link.active {
  background: var(--sdr-primary);
  border-color: var(--sdr-primary);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0, 116, 185, 0.2);
}

.dept-nav-link.active .arrow {
  color: var(--sdr-accent);
}

/* Widget 2: CTA Banner */
.widget-cta-card {
  position: relative;
  border-radius: var(--sdr-radius);
  overflow: hidden;
  padding: 40px 28px;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      rgba(16, 32, 75, 0.82) 0%,
      rgba(16, 32, 75, 0.94) 100%
    ),
    url("../new-img/21.jpeg") center/cover no-repeat;
  box-shadow: 0 20px 40px rgba(16, 32, 75, 0.18);
}

.widget-cta-card h4 {
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 14px;
}

.widget-cta-card p {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.widget-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 22px;
  background: var(--sdr-accent);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(33, 168, 64, 0.3);
  transition: all 0.3s ease;
}

.widget-cta-btn:hover {
  background: #199435;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(33, 168, 64, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .service-detail-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width: 576px) {
  .service-detail-area {
    padding: 50px 0 70px;
  }

  .widget-departments {
    padding: 22px 18px;
  }

  .widget-cta-card {
    padding: 32px 20px;
  }
}
