/* Joint Replacement Surgeon Page Specific Styling */

.joint-replacement-surgeon-page {
  --hero-bg: linear-gradient(135deg, #0d4c88 0%, #1c5a96 50%, #16395d 100%);
}

.joint-replacement-surgeon-page .inner-hero {
  background: var(--hero-bg);
  color: white;
  min-height: 100vh;
  position: relative;
}

.joint-replacement-surgeon-page .inner-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
}

.joint-replacement-surgeon-page .inner-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joint-replacement-surgeon-page .inner-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .joint-replacement-surgeon-page .inner-hero__media {
    width: 100%;
    opacity: 0.2;
  }

  .joint-replacement-surgeon-page .inner-hero__content {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Table styling enhancements */
.joint-replacement-surgeon-page .comparison-table table {
  border-collapse: collapse;
}

.joint-replacement-surgeon-page .comparison-table th,
.joint-replacement-surgeon-page .comparison-table td {
  text-align: left;
  vertical-align: top;
}

/* Timeline cards styling */
.joint-replacement-surgeon-page .timeline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.joint-replacement-surgeon-page .timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Panel hover effects */
.joint-replacement-surgeon-page .panel {
  transition: all 0.4s ease;
}

.joint-replacement-surgeon-page .panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(13, 76, 136, 0.15);
}

/* Service card styling */
.joint-replacement-surgeon-page .service-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(13, 76, 136, 0.08);
  transition: all 0.4s ease;
  border-left: 4px solid #b7d814;
}

.joint-replacement-surgeon-page .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(13, 76, 136, 0.15);
}

.joint-replacement-surgeon-page .service-card h3 {
  color: #0d4c88;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.joint-replacement-surgeon-page .service-card p {
  color: #4a6480;
  font-size: 1rem;
  line-height: 1.6;
}

/* Premium note styling */
.joint-replacement-surgeon-page .premium-note {
  border-radius: 16px;
}

.joint-replacement-surgeon-page .premium-note h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.joint-replacement-surgeon-page .premium-note p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Check list styling */
.joint-replacement-surgeon-page .check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.joint-replacement-surgeon-page .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a6480;
}

.joint-replacement-surgeon-page .check-list li:before {
  content: "✓";
  color: #b7d814;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* FAQ styling */
.joint-replacement-surgeon-page .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.joint-replacement-surgeon-page .faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 6px solid #b7d814;
  box-shadow: 0 10px 30px rgba(13, 76, 136, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.joint-replacement-surgeon-page .faq-item:hover {
  box-shadow: 0 15px 40px rgba(13, 76, 136, 0.12);
}

.joint-replacement-surgeon-page .faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  text-align: left;
}

.joint-replacement-surgeon-page .faq-question:hover {
  background: rgba(183, 216, 20, 0.05);
}

.joint-replacement-surgeon-page .faq-question h3 {
  color: #0d4c88;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
  flex: 1;
}

.joint-replacement-surgeon-page .faq-icon {
  color: #b7d814;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.joint-replacement-surgeon-page .faq-item[data-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.joint-replacement-surgeon-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.joint-replacement-surgeon-page .faq-item[data-expanded="true"] .faq-answer {
  max-height: 800px;
}

.joint-replacement-surgeon-page .faq-answer p {
  color: #4a6480;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  padding: 0 28px 24px 28px;
}

/* Section spacing */
.joint-replacement-surgeon-page .section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .joint-replacement-surgeon-page .section {
    padding: 60px 0;
  }

  .joint-replacement-surgeon-page .service-card {
    padding: 24px;
  }

  .joint-replacement-surgeon-page .timeline-card {
    padding: 24px;
  }
}

/* Disc explainer visual styling */
.joint-replacement-surgeon-page .disc-explainer-visual {
  border-radius: 20px;
  overflow: hidden;
}

.joint-replacement-surgeon-page .disc-explainer-visual__frame {
  width: 100%;
  margin: 0;
  padding: 0;
}

.joint-replacement-surgeon-page .disc-explainer-visual__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.joint-replacement-surgeon-page .disc-explainer-visual__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.joint-replacement-surgeon-page .reveal-up {
  animation: fadeInUp 0.8s ease-out both;
}

/* Gradient text for emphasis */
.joint-replacement-surgeon-page .gradient-text {
  background: linear-gradient(135deg, #0d4c88, #b7d814);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
