/* Scoped Stylesheet - Service Details (Service Detail Page) */

/* Page Banner Hero Section */
.detail-hero-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  padding: 4rem 0;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.detail-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.hero-breadcrumbs {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-breadcrumbs a {
  color: var(--accent-teal);
  font-weight: 600;
  transition: var(--transition-fast);
}

.hero-breadcrumbs a:hover {
  color: var(--bg-white);
}

.hero-breadcrumbs i {
  font-size: 0.75rem;
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* Service Detail Split Page Layout */
.service-detail-section {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.detail-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Left Column: Details, description, and keywords block */
.detail-content-column {
  display: flex;
  flex-direction: column;
}

/* Top Visual Box */
.detail-visual-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  margin-bottom: 2.5rem;
  align-items: center;
}

.visual-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
}

.visual-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-actions-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.actions-tag {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.actions-title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

/* Match screenshot ALL-CAPS for Acute Stroke */
.actions-title:contains("STROKE") {
  text-transform: uppercase;
}

.actions-price {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-teal-hover);
  margin-bottom: 1.25rem;
}

.actions-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-book-action {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bg-white);
  background-color: var(--accent-teal);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(72, 192, 192, 0.2);
  transition: var(--transition-smooth);
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.btn-book-action:hover {
  background-color: var(--accent-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(72, 192, 192, 0.3);
}

.btn-message-action {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-teal);
  border: 1.5px solid var(--accent-teal);
  border-radius: 4px;
  text-decoration: none;
  background-color: transparent;
  transition: var(--transition-smooth);
  box-sizing: border-box;
  cursor: pointer;
}

.btn-message-action:hover {
  background-color: var(--accent-teal);
  color: var(--bg-white);
}

/* Description Text Card block */
.detail-desc-block {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  margin-bottom: 2.5rem;
}

.block-section-title {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 1.5rem;
  border-left: 3.5px solid var(--accent-teal);
  padding-left: 10px;
  line-height: 1.2;
}

.desc-content-html {
  font-family: var(--font-secondary);
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.65;
}

.desc-content-html p {
  margin-bottom: 1.25rem;
}

.desc-content-html h4 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary-blue);
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.desc-content-html ul,
.desc-content-html ol {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desc-content-html li {
  line-height: 1.6;
}

.desc-content-html li strong {
  color: var(--primary-purple);
}

/* Keywords cloud tag block */
.detail-keywords-block {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  margin-bottom: 1rem;
}

.keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-pill {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.keyword-pill:hover {
  background-color: var(--primary-purple-light);
  border-color: rgba(94, 18, 94, 0.1);
  color: var(--primary-purple);
}

/* Right Column: Sticky Sidebar Layout details */
.detail-sidebar-column {
  position: sticky;
  top: calc(var(--header-total-height) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-block {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}

.sidebar-block-title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--accent-teal);
  padding-left: 10px;
  line-height: 1.2;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-btn {
  background-color: var(--bg-light);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
  text-transform: capitalize;
}

.tag-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background-color: var(--bg-white);
}

.tag-btn.active {
  background-color: var(--accent-teal);
  border-color: var(--accent-teal);
  color: var(--bg-white);
}

/* Contact List details styling inside details sidebar */
.sidebar-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sidebar-contact-item .item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-purple-light);
  color: var(--primary-purple);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sidebar-contact-item .item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sidebar-contact-item .item-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.sidebar-contact-item .item-link {
  font-family: var(--font-primary);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--secondary-blue);
  text-decoration: none;
  transition: var(--transition-fast);
  word-break: break-all;
}

.sidebar-contact-item .item-link:hover {
  color: var(--primary-purple);
}

.sidebar-contact-item .item-link.bold {
  font-size: 1.15rem;
  font-weight: 700;
}

.sidebar-contact-item .phone-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.35;
}

.timings-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-teal-hover);
  margin-bottom: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-teal);
  box-shadow: 0 0 0 rgba(72, 192, 192, 0.4);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(72, 192, 192, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(72, 192, 192, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(72, 192, 192, 0); }
}

.timings-days {
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.timings-hours {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 700;
}

.address-text {
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* Other Services Section (Anti-Duplication Grid) */
.other-services-section {
  background-color: var(--secondary-blue-light); /* Soft backdrop */
  border-bottom: 1px solid var(--border-color);
}

.other-services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.other-header-title {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-purple);
}

.view-all-services-link {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

.view-all-services-link:hover {
  color: var(--primary-purple);
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.other-service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.other-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(72, 192, 192, 0.15);
}

.other-card-img {
  height: 185px;
  overflow: hidden;
}

.other-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.other-service-card:hover .other-card-img img {
  transform: scale(1.03);
}

.other-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.other-card-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.other-card-title a {
  color: var(--accent-teal-hover);
  text-decoration: none;
  transition: var(--transition-fast);
}

.other-card-title a:hover {
  color: var(--primary-purple);
}

.other-card-desc {
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.btn-other-book {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-teal);
  border: 1.5px solid var(--accent-teal);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  background-color: transparent;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.btn-other-book:hover {
  background-color: var(--accent-teal);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(72, 192, 192, 0.2);
}

/* Floating WhatsApp Sticky Widget */
.whatsapp-sticky-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: #25d366;
  color: var(--bg-white);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.whatsapp-sticky-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
  color: var(--bg-white);
}

.whatsapp-sticky-widget i {
  font-size: 1.25rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .detail-page-grid {
    gap: 2rem;
  }
  
  .detail-visual-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .other-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .detail-page-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .detail-sidebar-column {
    position: static;
  }
  
  .sidebar-block {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .detail-content-column {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .other-services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .detail-visual-row {
    padding: 1rem;
  }
  
  .actions-title {
    font-size: 1.5rem;
  }
  
  .whatsapp-sticky-widget span {
    display: none;
  }
  
  .whatsapp-sticky-widget {
    padding: 0.75rem;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    justify-content: center;
  }
}
