/* 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 - Horizontal bar layout with questions above answers */
.joint-replacement-surgeon-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.joint-replacement-surgeon-page .faq-item {
  padding: 22px 26px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(13, 76, 136, 0.15) !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px;
  align-items: flex-start !important;
  margin-bottom: 0 !important;
  transition: none;
}

.joint-replacement-surgeon-page .faq-item:hover {
  box-shadow: none;
}

.joint-replacement-surgeon-page .faq-question {
  width: 100% !important;
  min-height: auto !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #0d4c88 !important;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  padding: 0 !important;
  cursor: default !important;
  text-align: left !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  transition: none;
}

.joint-replacement-surgeon-page .faq-question:hover {
  background: transparent;
}

.joint-replacement-surgeon-page .faq-question h3 {
  color: #0d4c88 !important;
  font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
  margin: 0 !important;
  font-weight: 700 !important;
  flex: unset !important;
  line-height: 1.5 !important;
}

.joint-replacement-surgeon-page .faq-question span {
  margin-left: 0 !important;
  padding-right: 0 !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  color: #0d4c88 !important;
  flex: unset !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
}

.joint-replacement-surgeon-page .faq-icon {
  display: none !important;
}

.joint-replacement-surgeon-page .faq-answer {
  display: block !important;
  padding: 0 !important;
  color: #333333 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  background: transparent !important;
  margin: 0 !important;
  max-height: unset !important;
  overflow: visible !important;
  transition: none;
}

.joint-replacement-surgeon-page .faq-answer p {
  color: #333333 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

.joint-replacement-surgeon-page .faq-item[data-expanded="true"] .faq-icon {
  display: none !important;
}

/* 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;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    background: #031e37;
}


/* =========================================
   MAIN SECTION
========================================= */

.knee-cost-section {
    position: relative;
    width: 100%;
    min-height: 896px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 55%,
            rgba(22, 125, 183, 0.38) 0%,
            rgba(9, 69, 111, 0.18) 30%,
            transparent 55%
        ),
        linear-gradient(
            115deg,
            #02213d 0%,
            #06385d 50%,
            #07517e 100%
        );

    color: #ffffff;
}


/* =========================================
   BACKGROUND DECORATIONS
========================================= */

.bg-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bg-glow-1 {
    width: 650px;
    height: 650px;
    right: -250px;
    top: -180px;

    background: radial-gradient(
        circle,
        rgba(70, 170, 218, 0.22),
        rgba(20, 110, 170, 0.08) 50%,
        transparent 70%
    );
}

.bg-glow-2 {
    width: 650px;
    height: 400px;
    left: 35%;
    bottom: -220px;

    background: radial-gradient(
        ellipse,
        rgba(45, 168, 220, 0.28),
        transparent 70%
    );
}


.bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(133, 204, 239, 0.10);
}

.circle-left {
    width: 330px;
    height: 330px;
    left: -220px;
    top: 280px;
}

.circle-bottom {
    width: 500px;
    height: 500px;
    right: -300px;
    bottom: -300px;
}


/* =========================================
   TOP LABEL
========================================= */

.top-label {
    position: absolute;
    left: 9.2%;
    top: 8%;

    display: flex;
    align-items: center;
    gap: 18px;

    z-index: 10;
}

.top-label span {
    color: #d5ed38;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;
}

.top-label i {
    width: 100px;
    height: 1px;

    display: block;

    background: rgba(255,255,255,0.45);
}


/* =========================================
   MAIN HEADING
========================================= */

.main-heading {
    position: absolute;
    left: 9.2%;
    top: 11.5%;

    z-index: 10;
}

.main-heading h1 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(48px, 4.15vw, 78px);
    line-height: 0.96;
    font-weight: 400;
    letter-spacing: -2px;

    color: #f9f9f7;
}

.main-heading h1 span {
    color: #d8ed72;
}


/* =========================================
   CONTENT CARD
========================================= */

.cost-card {
    position: absolute;

    left: 8.8%;
    top: 30.8%;

    width: min(59.5%, 1040px);

    padding: 32px 52px 30px;

    border-radius: 21px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.98),
            rgba(245,249,250,0.96)
        );

    border: 1px solid rgba(255,255,255,0.85);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.16),
        0 0 0 2px rgba(200,239,245,0.12);

    color: #153b61;

    z-index: 20;
}

.cost-card::before {
    content: "";

    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;

    width: 5px;

    border-radius: 20px 0 0 20px;

    background: #d6ef31;
}


/* =========================================
   INTRO TEXT
========================================= */

.intro-text {
    margin: 0 0 18px;

    max-width: 900px;

    font-size: 18px;
    line-height: 1.48;
    font-weight: 500;

    color: #183d61;
}


/* =========================================
   POINTS GRID
========================================= */

.points-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 55px;
}


.points-column {
    display: flex;
    flex-direction: column;
}


/* =========================================
   COST POINT
========================================= */

.cost-point {
    display: grid;

    grid-template-columns: 50px 58px 1fr;

    align-items: center;

    min-height: 85px;

    border-bottom: 1px solid rgba(30,70,100,0.13);
}

.cost-point:last-child {
    border-bottom: 0;
}


/* =========================================
   NUMBER
========================================= */

.number {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 600;
}

.number-green {
    background: #edf8d5;
    color: #4b7428;
}

.number-blue {
    background: #dff3fb;
    color: #22749b;
}


/* =========================================
   ICON
========================================= */

.point-icon {
    width: 47px;
    height: 47px;

    margin-left: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f7f9fa;
}

.point-icon svg {
    width: 32px;
    height: 32px;

    fill: none;

    stroke: #153e69;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   POINT TEXT
========================================= */

.point-text {
    padding-left: 8px;

    font-size: 16px;
    line-height: 1.35;

    color: #193e63;
}


/* =========================================
   BOTTOM DESCRIPTION
========================================= */

.bottom-description {
    margin-top: 8px;
    padding-top: 10px;

    border-top: 1px solid rgba(20,62,95,0.15);

    font-size: 16px;
    line-height: 1.48;

    color: #173e63;
}


/* =========================================
   KNEE VISUAL
========================================= */

.knee-visual {
    position: absolute;

    right: 3.5%;
    top: -8%;

    width: 32%;
    height: 105%;

    z-index: 5;

    transform: rotate(7deg);
}


/* glowing area */

.knee-glow {
    position: absolute;

    width: 240px;
    height: 240px;

    top: 300px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(250,239,130,0.58) 0%,
            rgba(142,219,219,0.30) 25%,
            rgba(44,146,191,0.12) 55%,
            transparent 72%
        );

    filter: blur(10px);
}


/* knee bones */

.knee-bone {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    width: 180px;

    border-radius: 80px;

    background:
        linear-gradient(
            90deg,
            #1675aa,
            #8fd8ed 45%,
            #d5f7f8 55%,
            #2480b5
        );

    box-shadow:
        inset 10px 0 20px rgba(0,0,0,0.20),
        inset -10px 0 20px rgba(255,255,255,0.18),
        0 0 35px rgba(105,214,240,0.28);
}

.knee-top {
    top: 0;

    height: 420px;

    clip-path: polygon(
        35% 0,
        70% 0,
        82% 30%,
        75% 65%,
        90% 82%,
        72% 100%,
        45% 92%,
        30% 70%,
        34% 40%
    );
}

.knee-bottom {
    top: 500px;

    height: 420px;

    clip-path: polygon(
        28% 0,
        70% 0,
        72% 20%,
        82% 45%,
        65% 70%,
        58% 100%,
        30% 100%,
        40% 72%,
        20% 48%,
        30% 20%
    );
}


/* joint */

.knee-joint {
    position: absolute;

    top: 410px;
    left: 50%;

    width: 250px;
    height: 130px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            #fffac1 0%,
            #c9f2e8 20%,
            #66bdd1 48%,
            #176895 70%,
            transparent 72%
        );

    filter: blur(1px);

    box-shadow:
        0 0 45px rgba(221,250,198,0.55),
        0 0 80px rgba(54,181,218,0.20);
}

.joint-light {
    position: absolute;

    width: 110px;
    height: 20px;

    left: 70px;

    border-radius: 50%;

    background: rgba(255,248,180,0.8);

    filter: blur(8px);
}

.joint-light-1 {
    top: 48px;
}

.joint-light-2 {
    top: 73px;
}


/* =========================================
   DOTTED CURVE
========================================= */

.dot-curve {
    position: absolute;

    right: 19%;
    top: 12%;

    width: 230px;
    height: 650px;

    border-right: 2px dotted rgba(218,238,73,0.8);

    border-radius: 50%;

    transform: rotate(18deg);

    opacity: 0.7;

    z-index: 4;
}


/* =========================================
   SIDE LABELS
========================================= */

.side-labels {
    position: absolute;

    right: 7%;
    top: 8%;

    width: 125px;

    z-index: 15;
}

.side-labels::before {
    content: "";

    position: absolute;

    left: 0;
    top: 4px;

    width: 1px;
    height: 138px;

    background: rgba(220,240,250,0.35);
}

.side-item {
    position: relative;

    height: 65px;

    display: flex;
    align-items: flex-start;

    padding-left: 29px;

    font-size: 12px;
    font-weight: 500;

    letter-spacing: 3px;

    color: rgba(225,240,250,0.8);
}

.side-dot {
    position: absolute;

    left: -5px;
    top: 0;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #8fd0ed;

    box-shadow: 0 0 8px rgba(140,220,250,0.45);
}

.side-item.active .side-dot {
    background: #d6ef35;
}


/* =========================================
   BOTTOM LEFT
========================================= */

.bottom-left {
    position: absolute;

    left: 3.2%;
    bottom: 7%;

    display: flex;
    flex-direction: column;

    gap: 6px;

    z-index: 20;
}

.bottom-left span {
    font-size: 11px;

    letter-spacing: 4px;

    color: #a8cce1;
}

.bottom-left i {
    width: 100px;
    height: 1px;

    margin-left: 215px;
    margin-top: -15px;

    background: rgba(190,220,235,0.45);
}


/* =========================================
   BOTTOM RIGHT BRANDING
========================================= */

.bottom-right {
    position: absolute;

    right: 5.2%;
    bottom: 7%;

    display: flex;
    align-items: center;

    gap: 18px;

    z-index: 20;
}

.mini-knee {
    width: 84px;
    height: 84px;

    border: 2px solid #c9ee65;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-knee svg {
    width: 48px;
    height: 48px;

    fill: none;

    stroke: #c9ee65;

    stroke-width: 1.5;
}

.brand-copy {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding-left: 15px;

    border-left: 1px solid rgba(200,225,240,0.55);
}

.brand-copy span {
    font-size: 10px;

    letter-spacing: 3px;

    color: #d2e5f0;
}


/* =========================================
   ANIMATIONS
========================================= */

.knee-glow {
    animation: kneePulse 4s ease-in-out infinite;
}

@keyframes kneePulse {

    0%,
    100% {
        opacity: 0.75;
        transform: translateX(-50%) scale(0.95);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    .knee-cost-section {
        min-height: 800px;
    }

    .cost-card {
        left: 6%;
        width: 64%;
        padding: 28px 35px;
    }

    .main-heading {
        left: 6%;
    }

    .top-label {
        left: 6%;
    }

    .intro-text {
        font-size: 16px;
    }

    .point-text {
        font-size: 14px;
    }

    .knee-visual {
        right: -3%;
        width: 38%;
    }

}


/* =========================================
   MOBILE / TABLET
========================================= */

@media (max-width: 850px) {

    .knee-cost-section {
        min-height: auto;

        padding: 65px 20px 40px;
    }

    .top-label,
    .main-heading,
    .cost-card,
    .bottom-left,
    .bottom-right {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }

    .top-label {
        margin-bottom: 20px;
    }

    .main-heading {
        margin-bottom: 30px;
    }

    .main-heading h1 {
        font-size: 48px;
    }

    .cost-card {
        width: 100%;
        padding: 28px 22px;
    }

    .points-grid {
        grid-template-columns: 1fr;

        column-gap: 0;
    }

    .points-column + .points-column {
        margin-top: 0;
    }

    .knee-visual {
        display: none;
    }

    .side-labels {
        display: none;
    }

    .dot-curve {
        display: none;
    }

    .bottom-left {
        margin-top: 35px;
    }

    .bottom-right {
        margin-top: 30px;
        justify-content: flex-start;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 550px) {

    .knee-cost-section {
        padding: 45px 15px 35px;
    }

    .top-label span {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .top-label i {
        width: 60px;
    }

    .main-heading h1 {
        font-size: 39px;
        line-height: 1;
        letter-spacing: -1px;
    }

    .cost-card {
        border-radius: 15px;
        padding: 23px 17px;
    }

    .intro-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .cost-point {
        grid-template-columns: 43px 48px 1fr;

        min-height: 90px;
    }

    .number {
        width: 42px;
        height: 42px;

        font-size: 12px;
    }

    .point-icon {
        width: 40px;
        height: 40px;

        margin-left: 3px;
    }

    .point-icon svg {
        width: 27px;
        height: 27px;
    }

    .point-text {
        padding-left: 7px;

        font-size: 13px;
    }

    .bottom-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .bottom-left span {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .mini-knee {
        width: 65px;
        height: 65px;
    }

    .mini-knee svg {
        width: 38px;
        height: 38px;
    }

    .brand-copy span {
        font-size: 8px;
        letter-spacing: 2px;
    }
}