/* sub back pain  mai ankylosingspondylities */

/* back pain catogry back pain page ki css*/
/* =========================================================
    ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
    1. CINEMATIC HERO SECTION
========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
    2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    /* Border ki thickness */
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                                                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
                                            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 28px;
        font-size: 14px;
        flex: unset;
    }

}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                                                4. LAYOUT CARDS & COMPONENTS
                                            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* =========================================================
                                                ULTRA-ATTRACTIVE SYMPTOMS CARDS REDESIGN
                                            ========================================================= */
.sp-symptom-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 24px 28px 24px;
    height: 100%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.sp-symptom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-teal), var(--sp-mint));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sp-symptom-card:hover {
    transform: translateY(-8px);
    border-color: var(--sp-mint);
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.12);
}

.sp-symptom-card:hover::before {
    opacity: 1;
}

.sp-sym-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.sp-symptom-card:hover .sp-sym-num {
    color: rgba(15, 118, 110, 0.2);
}

.sp-sym-ico {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    color: var(--sp-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.1);
    transition: all 0.3s ease;
}

.sp-symptom-card:hover .sp-sym-ico {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
}

.sp-symptom-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sp-navy);
    margin-bottom: 12px;
}

.sp-symptom-card p {
    font-size: 13.5px;
    color: var(--sp-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Grid Feature Cards */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-card-ico {
    width: 55px;
    height: 55px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* =========================================================
                                                5. DOCTORS & METRICS
                                            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                                                6. VIDEO PLAYER & THUMBNAILS
                                            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                                                7. FAQ ACCORDION
                                            ========================================================= */
.spine-portal .accordion-item {
    border: 1px solid var(--sp-border) !important;
    border-radius: 16px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.spine-portal .accordion-button {
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-navy) !important;
    padding: 13px 25px 0px 13px;
    background: #fff;
    box-shadow: none !important;
}

.spine-portal .accordion-button:not(.collapsed) {
    background: #f0fdfa !important;
    color: var(--sp-teal) !important;
}

.spine-portal .accordion-body {
    font-size: 14px;
    line-height: 1.85;
    color: var(--sp-muted) !important;
    padding: 22px 24px;
}

/* =========================================================
                                                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
                                            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 60px 0 90px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        /* padding-top: 10px; */
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        color: #fff !important;
        font-size: clamp(24px, 4.2vw, 50px);
        line-height: 1;
        /* text-align: justify; */
        font-weight: 700;
        margin-bottom: 22px;
    }

    .sp-hero-desc {
        color: rgba(255, 255, 255, 0.85);
        font-size: 12px;
        line-height: 1.9;
        max-width: 610px;
        margin-bottom: 35px;
    }

    .sp-hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 1px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--sp-mint);
        padding: 0px 7px;
        border-radius: 30px;
        font-size: 8px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 25px;
        backdrop-filter: blur(10px);
    }

    .sp-hero-desc {
        color: rgba(255, 255, 255, 0.85);
        font-size: 12px;
        line-height: 1.9;
        max-width: 610px;
        margin-bottom: 11px;
    }

    .heromini {
        display: none;
    }

    .spine-portal {
        margin-top: -50px;
    }
}

/* =========================================================
            ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
    1. CINEMATIC HERO SECTION
========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
    2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
    3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
    4. LAYOUT CARDS & COMPONENTS
========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
    5. DOCTORS & METRICS
========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
    6. VIDEO PLAYER & THUMBNAILS
========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
    7. CUSTOM INFO CARDS & ALERT PANEL
========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-card-ico {
    width: 50px;
    height: 50px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
    MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}


/*sub back pain coccydynia */


/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}

/* disk spine */

/* =========================================================
                    ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
                ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                    1. CINEMATIC HERO SECTION
                ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                    2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
                ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                    3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
                ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                    4. LAYOUT CARDS & COMPONENTS
                ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                    5. DOCTORS & METRICS
                ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                    6. VIDEO PLAYER & THUMBNAILS
                ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                    7. CUSTOM INFO CARDS & ALERT PANEL
                ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                    MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
                ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}

/*subback pain fibromyalgia */


/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}

/*subback pain lmbarbackmusclespasm  */


/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}

/* subback pain lumbar*/

/* =========================================================
                    ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
                ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                    1. CINEMATIC HERO SECTION
                ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                    2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
                ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                    3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
                ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                    4. LAYOUT CARDS & COMPONENTS
                ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                    5. DOCTORS & METRICS
                ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                    6. VIDEO PLAYER & THUMBNAILS
                ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                    7. CUSTOM INFO CARDS & ALERT PANEL
                ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                    MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
                ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}

/* subback pain  lumbarcanalstenosis*/
/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}


/*sub back pain  lumbarretrolisthesis*/


/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}


/*subbackpain  lumbarspondylosis*/

/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}

/*sub back pain  madicalbackpain*/

/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
}

/* sub back pain piriformissyndrome*/

/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 55px 0 75px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
    .sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}
}


/* sub back pain pregnancybackpain*/

:root {
    --primary-color: #0f5156;
    --secondary-color: #16a34a;
    --accent-color: #f59e0b;
}

body {
    font-family: 'Poppins', sans-serif;
    /*background-color: #f1f5f9;*/
    color: #334155;
    line-height: 1.8;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cinzel', serif !important;
    color: var(--primary-color);
}

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

/* Modern Split Hero Banner with Form */
.spine-hero-section {
    background: linear-gradient(135deg, rgba(15, 81, 86, 0.95), rgba(5, 25, 28, 0.98)), url('https://i.pinimg.com/1200x/16/0a/59/160a59cfed4be107814e2d46bed4e500.jpg') center/cover;
    padding: 40px 0 50px 0;
    color: #fff;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    margin-bottom: 15px;
}

/* Hero Form Styling */
.hero-consultation-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: #334155;
    border-top: 4px solid var(--secondary-color);
    max-width: 440px;
    margin-left: auto;
}

.hero-consultation-card .form-floating>.form-control,
.hero-consultation-card .form-floating>.form-select {
    height: calc(2.7rem + 2px);
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

.hero-consultation-card .form-floating>label {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.hero-consultation-card textarea.form-control {
    height: 60px !important;
}

/* ================= TAB NAVIGATION STYLES ================= */
.spine-tab-nav-wrapper {
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(15, 81, 86, 0.08);
    padding: 8px;
    display: inline-flex;
    gap: 8px;
    margin-bottom: 40px;
    border: 1px solid rgba(15, 81, 86, 0.06);
    flex-wrap: wrap;
    justify-content: center;
}

.spine-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    border-radius: 40px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
}

.spine-tab-btn:hover {
    color: var(--secondary-color);
    background: rgba(22, 163, 74, 0.05);
}

.spine-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 81, 86, 0.25);
}

.spine-tab-content-pane {
    display: none;
    animation: fadeInTab 0.5s ease-in-out;
}

.spine-tab-content-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sleek Modern Cards Layout */
.spine-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 45px;
    box-shadow: 0 20px 40px rgba(15, 81, 86, 0.06);
    border: 1px solid rgba(15, 81, 86, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.spine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(15, 81, 86, 0.1);
}

.spine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

/* Full Fill Clean Image Box */
.spine-img-box {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.spine-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.spine-img-box:hover img {
    transform: scale(1.04);
}

/* Custom Bullet Styles */
.spine-checklist {
    list-style: none;
    padding-left: 0;
}

.spine-checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    text-align: justify;
}

.spine-checklist li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.spine-dash-list {
    list-style: none;
    padding-left: 0;
}

.spine-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    text-align: justify;
}

.spine-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Ask Specialist Section Styling */
.ask-specialist-section {
    background: #ffffff;
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 45px;
    box-shadow: 0 20px 40px rgba(15, 81, 86, 0.06);
    border: 1px solid rgba(15, 81, 86, 0.04);
    position: relative;
    overflow: hidden;
}

.ask-specialist-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.specialist-doc-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stats-gray-box {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    height: 100%;
}

/* Patient Stories Section */
.patient-stories-section {
    background: #ffffff;
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 45px;
    box-shadow: 0 20px 40px rgba(15, 81, 86, 0.06);
    border: 1px solid rgba(15, 81, 86, 0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.patient-stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.patient-thumbs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.patient-thumb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.patient-thumb:hover {
    transform: scale(1.08);
    border-color: var(--secondary-color);
}

.patient-thumb.active-thumb {
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Info Cards Section Styling */
.info-cards-wrapper {
    background: #ffffff;
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 45px;
    box-shadow: 0 20px 40px rgba(15, 81, 86, 0.06);
    border: 1px solid rgba(15, 81, 86, 0.04);
    position: relative;
    overflow: hidden;
}

.info-cards-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.custom-info-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.custom-info-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Premium Alert Box */
.spine-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 28px;
    padding: 55px;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.15);
}

/* Animated CTA Button */
.btn-pulse-action {
    background: linear-gradient(135deg, #16a34a 0%, #0f5156 100%);
    color: #fff !important;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
    transition: all 0.3s ease;
}

.btn-pulse-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.6);
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 991px) {
    .spine-tab-nav-wrapper {
        display: flex;
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 10px;
        justify-content: center;
    }

    .spine-tab-btn {
        flex: 1 1 40%;
        text-align: center;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .hero-consultation-card {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .spine-hero-section {
        padding: 25px 12px;
        clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
        margin-bottom: 15px;
    }

    .spine-hero-section h1 {
        font-size: 1.4rem !important;
        line-height: 1.3;
    }

    .hero-consultation-card {
        padding: 12px 15px;
        border-radius: 12px;
        max-width: 100%;
        margin-top: 10px;
    }

    .hero-consultation-card h6 {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .hero-consultation-card .form-floating>.form-control,
    .hero-consultation-card .form-floating>.form-select {
        height: calc(2.3rem + 2px);
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .hero-consultation-card .form-floating>label {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    .hero-consultation-card textarea.form-control {
        height: 45px !important;
    }

    .hero-consultation-card button[type="submit"] {
        padding: 6px !important;
        font-size: 0.75rem !important;
    }

    .spine-card,
    .patient-stories-section,
    .ask-specialist-section,
    .info-cards-wrapper {
        padding: 24px 18px;
        border-radius: 20px;
        margin-bottom: 25px;
    }

    .spine-card h2,
    .patient-stories-section h2,
    .ask-specialist-section h2,
    .info-cards-wrapper h2 {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
    }

    .spine-img-box {
        height: 240px;
        margin-top: 15px;
    }

    .spine-alert-panel {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .spine-alert-panel h3 {
        font-size: 1.3rem !important;
    }

    .patient-thumb {
        width: 55px;
        height: 55px;
    }

    .specialist-doc-img {
        width: 60px;
        height: 60px;
    }
}

/* sub back pain sacralisationandlumbarisation*/


/* =========================================================
                ULTIMATE CUSTOM MEDICAL REDESIGN (2026) - FINAL FIX
            ========================================================= */
.spine-portal {
    --sp-navy: #061e18;
    --sp-teal: #0f766e;
    --sp-mint: #2dd4bf;
    --sp-accent: #f59e0b;
    --sp-bg: #f8fafc;
    --sp-card: #ffffff;
    --sp-text: #334155;
    --sp-muted: #64748b;
    --sp-border: #e2e8f0;

    font-family: 'Poppins', sans-serif;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    line-height: 1.8;
}

.spine-portal h1,
.spine-portal h2,
.spine-portal h3,
.spine-portal h4,
.spine-portal h5 {
    font-family: 'Cinzel', serif !important;
    color: var(--sp-navy);
}

.spine-wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 15px;
}

/* =========================================================
                1. CINEMATIC HERO SECTION
            ========================================================= */
.sp-hero-cinematic {
    position: relative;
    background: radial-gradient(circle at top right, #0f766e 0%, #061e18 70%);
    padding: 30px 0 50px;
    color: #fff;
    overflow: hidden;
}

.sp-hero-cinematic::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-mint);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.sp-title-main {
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 22px;
}

.sp-title-main span {
    color: var(--sp-mint);
    border-bottom: 3px solid var(--sp-accent);
}

.sp-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 610px;
    margin-bottom: 35px;
}

/* =========================================================
                2. GLASSMORPHIC APPOINTMENT BOX WITH MOVING BORDER LINE
            ========================================================= */
.sp-glass-box-container {
    position: relative;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(90deg, transparent, red, #269D8D, gold, rgb(110, 33, 110), lightgreen, transparent);
    background-size: 300% 300%;
    animation: borderMovingLine 6s linear infinite;
    max-width: 300px;
    margin-left: auto;
}

.sp-glass-box-container .sp-glass-box {
    background: #ffffff !important;
    border-radius: 23px;
    padding: 28px;
    box-shadow: none !important;
    border: none !important;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

@keyframes borderMovingLine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sp-glass-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sp-glass-box p {
    font-size: 12px;
    color: var(--sp-muted);
    margin-bottom: 18px;
}

.sp-field-grp {
    position: relative;
    margin-bottom: 14px;
}

.sp-field-grp i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-teal);
    font-size: 13.5px;
}

.sp-field-grp .form-control {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    padding-right: 15px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--sp-text);
    transition: all 0.3s ease;
}

.sp-field-grp .form-control:focus {
    background: #fff;
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    outline: none;
}

.sp-action-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                3. TAB NAVIGATION (FIXED BACKGROUND OVERLAP)
            ========================================================= */
.sp-switcher-container {
    margin-top: -35px;
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.sp-switcher-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(6, 30, 24, 0.1);
    border: 1px solid #e2e8f0;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sp-switch-btn {
    background: #d8e3ee;
    border: none;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .sp-switcher-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .sp-switch-btn {
        padding: 12px 20px;
        font-size: 13px;
        flex: unset;
    }
}

.sp-switch-btn:hover {
    background: #cbd5e1;
    color: var(--sp-navy);
}

.sp-switch-btn.active {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
    font-weight: 700;
}

.sp-content-pane {
    display: none;
    animation: spFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-content-pane.active {
    display: block;
}

@keyframes spFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
                4. LAYOUT CARDS & COMPONENTS
            ========================================================= */
.sp-card-box {
    background: var(--sp-card);
    border-radius: 24px;
    border: 1px solid var(--sp-border);
    padding: 50px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
}

.sp-heading-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-teal);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sp-heading-small::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sp-teal);
}

.sp-card-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    font-weight: 800;
}

.sp-card-box p {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--sp-muted);
}

/* Bullet list */
.sp-list-style {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-list-style li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #f0fdfa;
    color: var(--sp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Dash list style */
.sp-dash-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.sp-dash-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--sp-text);
    text-align: justify;
}

.sp-dash-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sp-teal);
    font-weight: bold;
}

/* =========================================================
                5. DOCTORS & METRICS
            ========================================================= */
.sp-doc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.sp-doc-profile:hover {
    border-color: var(--sp-teal);
    background: #fff;
}

.sp-doc-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-teal);
}

.sp-metric-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 28px;
}

.sp-metric-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-teal);
    margin-bottom: 6px;
}

/* =========================================================
                6. VIDEO PLAYER & THUMBNAILS
            ========================================================= */
.sp-thumb-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sp-thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sp-thumb-img:hover {
    transform: scale(1.1);
}

.sp-thumb-img.active {
    border-color: var(--sp-teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.sp-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* =========================================================
                7. CUSTOM INFO CARDS & ALERT PANEL
            ========================================================= */
.sp-grid-card {
    background: #f8fafc;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.sp-grid-card:hover {
    border-color: var(--sp-teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.08);
    background: #fff;
}

.sp-alert-panel {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--sp-accent);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
    margin-bottom: 35px;
}

.sp-pulse-action {
    background: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-navy) 100%);
    color: #fff !important;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
}

.sp-pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.4);
}

/* =========================================================
                MOBILE ONLY STICKY NAVBAR OVERRIDE (DESKTOP UNTOUCHED)
            ========================================================= */
@media (max-width: 991px) {
    .sp-hero-cinematic {
        padding: 45px 0 70px;
    }

    .sp-switcher-container {
        position: sticky;
        top: 70px;
        z-index: 1020;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(10px);
        padding-bottom: 10px;
        border-radius: 50px;
        margin-top: -30px;
    }

    .sp-content-pane {
        scroll-margin-top: 130px;
    }

    .sp-card-box {
        padding: 30px 20px;
    }

    .sp-glass-box-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .sp-title-main {
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .sp-hero-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .sp-hero-tag {
        padding: 4px 12px;
        font-size: 9px;
        margin-bottom: 15px;
    }
    
    
    
}


.inquiry-form-correction form{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
} 







