/* --- Base Layout Blueprint --- */
.split-hero-section {
    position: relative;
    width: 100%;
    min-height: 900px;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #030712; /* Immersive Deep Charcoal Velvet */
    overflow: hidden;
    padding: 80px 24px;
    perspective: 1400px;
}

.split-hero-content-wrapper {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* --- Live Animated Canvas Layer --- */
.split-hero-matrix {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.split-parallax-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(135deg, rgba(3, 7, 18, 0.97) 30%, rgba(17, 24, 39, 0.8) 100%), 
                      url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    animation: slowKenBurns 28s infinite alternate ease-in-out;
}

/* Mouse-Tracking Live Spotlight */
.split-cursor-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* --- Left Typography Panel --- */
.split-luxury-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 40px;
    margin-bottom: 28px;
}

.split-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #38bdf8;
    border-radius: 50%;
    position: relative;
}
.split-pulse-dot::after {
    content: '';
    position: absolute;
    top: -5px; left: -5px; width: 16px; height: 16px;
    border: 2px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    animation: liveMarkerPulse 2s infinite linear;
}

.split-badge-text {
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.split-main-title {
    font-size: 4.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.split-gradient-glow {
    background: linear-gradient(135deg, #38bdf8 0%, #0076a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-body-lead {
    font-size: 1.18rem;
    color: #9ca3af;
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 48px;
}

/* Interactive Action Matrix Buttons */
.split-action-nexus {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.split-btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 20px 38px;
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.split-btn-content {
    position: relative;
    z-index: 3;
    font-size: 1rem;
    font-weight: 700;
    color: #030712;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.split-arrow-bounce {
    transition: transform 0.3s ease;
}

.split-btn-shine {
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.15), transparent);
    transform: skewX(-25deg);
    animation: ongoingButtonSheen 4s infinite linear;
}

.split-btn-magnetic:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px -5px rgba(14, 165, 233, 0.25);
}
.split-btn-magnetic:hover .split-arrow-bounce {
    transform: translateY(4px);
}

.split-trust-ticker {
    display: flex;
    flex-direction: column;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 24px;
}

.split-ticker-bold { font-size: 1.05rem; font-weight: 700; color: #ffffff; }
.split-ticker-muted { font-size: 0.9rem; color: #6b7280; font-weight: 500; }

/* --- Right Panel: 3D Parallax Perspective Deck --- */
.split-right-panel {
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
}

.split-3d-card-rig {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 540px;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.split-glass-chassis {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 44px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.6);
    transform-style: preserve-3d;
}

.split-glass-sheen {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 40%);
    border-radius: 44px;
}

.split-card-artwork {
    position: absolute;
    top: 24px; left: 24px; bottom: 24px; right: 24px;
    background-image: linear-gradient(to bottom, rgba(3, 7, 18, 0.1), rgba(3, 7, 18, 0.85)), 
                      url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Floating Badges with Multi-Layer 3D Depth Transforms */
.split-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 18px 24px;
    border-radius: 22px;
    color: #ffffff;
    width: 290px;
    box-shadow: 0 25px 50px -10px rgba(0,0,0,0.5);
    transform: translateZ(60px);
    transition: transform 0.2s ease-out;
}

.badge-top { top: 60px; right: -60px; }
.badge-bottom { bottom: 60px; left: -60px; }

.split-icon-badge {
    width: 44px; height: 44px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.color-cyan { background: rgba(56, 189, 248, 0.12); color: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, 0.2); }
.color-blue { background: rgba(14, 165, 233, 0.15); color: #0ea5e9; box-shadow: 0 0 20px rgba(14, 165, 233, 0.2); }

.split-badge-meta h6 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.split-badge-meta p { font-size: 0.8rem; color: #9ca3af; margin: 0; }

/* --- CSS Structural Animation Keyframes --- */
@keyframes slowKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}
@keyframes liveMarkerPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.9); opacity: 0; }
}
@keyframes ongoingButtonSheen {
    0% { left: -100%; }
    25%, 100% { left: 150%; }
}
@keyframes floatStreamParticles {
    0% { transform: translateY(105vh) scale(0); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* --- Core Scroll Reveal Structural Triggers --- */
.split-left-panel.split-reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-right-panel.split-reveal-left {
    opacity: 0;
    transform: translateX(80px) scale(0.96);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Activated State via Intersection Observers */
.split-left-panel.reveal-active, .split-right-panel.reveal-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* --- Responsive Layout Breaks --- */
@media (max-width: 1024px) {
    .split-hero-section { height: auto; min-height: initial; padding: 140px 24px 80px 24px; }
    .split-hero-content-wrapper { grid-template-columns: 1fr; gap: 70px; }
    .split-main-title { font-size: 3.2rem; }
    .split-right-panel { margin-top: 20px; }
    .badge-top { right: -15px; }
    .badge-bottom { left: -15px; }
}

@media (max-width: 576px) {
    .split-main-title { font-size: 2.6rem; }
    .split-3d-card-rig { height: 440px; }
    .split-float-badge { position: relative; top: initial; bottom: initial; left: initial; right: initial; width: 100%; margin-top: 16px; box-shadow: none; transform: none !important; }
    .split-glass-chassis { display: flex; flex-direction: column; height: auto; background: transparent; border: none; backdrop-filter: none; }
    .split-card-artwork, .split-glass-sheen { display: none; }
}

/* --- High-End Auto-Changing Zoom Slideshow Engine --- */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slide-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    /* Combined fade and scaling timelines across a 15-second total cycle loop */
    animation: imageFadeCycle 15s infinite ease-in-out, dynamicZoomCycle 15s infinite ease-in-out;
}

/* 3 Slides Calculation: Total duration 15s. Each slide gets 5s context window */
.slide-layer:nth-child(1) {
    animation-delay: 0s, 0s;
}
.slide-layer:nth-child(2) {
    animation-delay: 5s, 5s;
}
.slide-layer:nth-child(3) {
    animation-delay: 10s, 10s;
}

/* --- Cross-Fade & Ken Burns Timeline Keyframes --- */
@keyframes imageFadeCycle {
    0%, 6.66% { opacity: 0; }         /* Hidden at start */
    13.33%, 33.33% { opacity: 1; }     /* Fades in smoothly & stays visible */
    40%, 100% { opacity: 0; }         /* Fades out safely for next asset layer */
}

@keyframes dynamicZoomCycle {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.08); /* Continuous upscale pacing */
    }
    100% {
        transform: scale(1);
    }
}


/* Section 1 Starts */


.horizon-services-section {
    position: relative;
    width: 100%;
    padding: 120px 24px;
    background-color: #f8fafc; /* Crisp, clean modern medical tint */
    font-family: "Times New Roman", Times, serif;
}

.horizon-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* --- Re-anchored Top Header Layout --- */
.horizon-main-header {
    margin-bottom: 56px;
}

.horizon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 1.5px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.horizon-badge-dot {
    width: 6px;
    height: 6px;
    background: #0ea5e9;
    border-radius: 50%;
}

.horizon-section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
}

/* --- Clean Modern Equal-Height 3-Column Grid --- */
.horizon-mesh-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
    gap: 32px;
    align-items: stretch; /* Forces all cards to have exactly matching structural height */
}

.horizon-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 10px 30px -10px rgba(15, 23, 42, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.horizon-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    width: 100%;
}

.horizon-step-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
}

/* Column 1: Specific Highlights */
.horizon-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.horizon-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.horizon-card-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: #0284c7;
    line-height: 1.4;
    margin-bottom: 16px;
}

.horizon-card-body {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Columns 2 & 3: Inner Element Formatting */
.horizon-block-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.horizon-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.horizon-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.horizon-list li i {
    color: #10b981; /* High-end medical green success accent */
    margin-top: 4px;
    font-size: 0.95rem;
}

.horizon-list li span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
}

.horizon-helper-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: -12px 0 20px 0;
}

/* Clean Tag Cloud Architecture */
.horizon-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.horizon-tag {
    background: #f1f5f9;
    color: #334155;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

/* --- Dynamic Micro-Hover Animations --- */
.horizon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.horizon-card-hover-line {
    position: absolute;
    bottom: 0; left: 24px; right: 24px;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #0f172a) !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    opacity: 0;
    transform: scaleX(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.horizon-card:hover .horizon-card-hover-line {
    opacity: 1;
    transform: scaleX(1);
}

.horizon-tag:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Elegant Scroll Reveal Setup --- */
.horizon-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.horizon-reveal.horizon-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Fully Responsive Framework Queries --- */
@media (max-width: 1024px) {
    .horizon-mesh-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .horizon-card {
        padding: 32px;
    }
}
/* Section 1 Ends */


/* Section 2 Starts */
/* --- Restorative Prosthodontic Color System --- */
.variant-bg-alt {
    background-color: #ffffff !important; /* Alternating sequence background frame */
    border-bottom: 1px solid #e2e8f0;
}

.horizon-title-mute {
    font-size: 1.8rem;
    font-weight: 500;
    color: #64748b;
    display: inline-block;
    margin-left: 8px;
}

.restoration-color {
    background: #0284c7 !important;
}

.restoration-tint {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
}

.restoration-check {
    color: #0284c7 !important; /* Medical ocean blue success indicator checks */
}

.restoration-gradient {
    background: linear-gradient(90deg, #0284c7, #0f172a) !important;
}

/* Responsive Font Compression Tuning */
@media (max-width: 768px) {
    .horizon-title-mute {
        font-size: 1.3rem;
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
}

/* Section 2 Ends */


/* Section 3 Starts */

/* --- Pediatric Color System Extension --- */
.variant-bg-pediatric {
    background-color: #f8fafc !important; /* Returns back to clean alternating slate */
    border-bottom: 1px solid #e2e8f0;
}

.pediatric-color {
    background: #0d9488 !important; /* Warm, gentle clinical teal */
}

.pediatric-tint {
    background: rgba(13, 148, 136, 0.08) !important;
    color: #0d9488 !important;
}

.pediatric-check {
    color: #0d9488 !important;
}

.pediatric-gradient {
    background: linear-gradient(90deg, #0284c7, #0f172a) !important;
}
/* Section 3 Ends */


/* Section 4 Starts */
/* --- Laser Precision Color System Extension --- */
.variant-bg-laser {
    background-color: #ffffff !important; /* Alternating crisp white sequence */
    border-bottom: 1px solid #e2e8f0;
}

.laser-color {
    background: #6366f1 !important; /* Modern tech indigo pulse */
}

.laser-tint {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #6366f1 !important;
}

.laser-check {
    color: #6366f1 !important;
}

.laser-gradient {
    background: linear-gradient(90deg, #0284c7, #0f172a) !important;
}
/* Section 4 Ends */


/* Section 5 Starts */
/* --- Endodontic Preservation Color System Extension --- */
.variant-bg-endodontics {
    background-color: #f8fafc !important; /* Alternating modern slate frame background */
    border-bottom: 1px solid #e2e8f0;
}

.endo-color {
    background: #3b007f !important; /* Deep defensive crimson-rose pulse tint */
}

.endo-tint {
    background: rgba(225, 29, 72, 0.08) !important;
    color: #3b007f !important;
}

.endo-check {
    color: #3b007f !important;
}

.endo-gradient {
    background: linear-gradient(90deg, #0284c7, #0f172a) !important;
}
/* Section 5 Ends */


/* section 6 Starts */

/* --- Periodontic Stability Color System Extension --- */
.variant-bg-periodontics {
    background-color: #ffffff !important; /* Finishes the alternating rhythm back to white */
    border-bottom: 1px solid #e2e8f0;
}

.perio-color {
    background: #059669 !important; /* Vital, healing clinical emerald pulse */
}

.perio-tint {
    background: rgba(5, 150, 105, 0.08) !important;
    color: #059669 !important;
}

.perio-check {
    color: #059669 !important;
}

.perio-gradient {
    background: linear-gradient(90deg, #0284c7, #0f172a) !important;
}
/* Section 6 Ends */


/* Section 7 Starts */
/* --- Geriatric Senior Care Color System Extension --- */
.variant-bg-geriatric {
    background-color: #f8fafc !important; /* Returns back to clean alternating slate */
    border-bottom: 1px solid #e2e8f0;
}

.senior-color {
    background: #d97706 !important; /* Warm, gentle comforting amber gold pulse */
}

.senior-tint {
    background: rgba(217, 119, 6, 0.08) !important;
    color: #d97706 !important;
}

.senior-check {
    color: #d97706 !important;
}

.senior-gradient {
    background: linear-gradient(90deg, #d97706, #b45309) !important;
}
/* Section 7 Ends */


/* Section 8 Starts */
/* --- Implant Stability Color System Extension --- */
.variant-bg-implants {
    background-color: #ffffff !important; /* Cycles beautifully back to a crisp white frame background */
    border-bottom: 1px solid #e2e8f0;
}

.implant-color {
    background: #1e40af !important; /* Elegant premium sapphire clinical blue pulse */
}

.implant-tint {
    background: rgba(30, 64, 175, 0.08) !important;
    color: #1e40af !important;
}

.implant-check {
    color: #1e40af !important;
}

.implant-gradient {
    background: linear-gradient(90deg, #1e40af, #3b82f6) !important;
}

/* Section 8 Ends */


/* Section 9 Starts */
/* --- Preventive Care System Extension --- */
.variant-bg-preventive {
    background-color: #f8fafc !important; /* Alternating modern slate frame background */
    border-bottom: 1px solid #e2e8f0;
}

.preventive-color {
    background: #06b6d4 !important; /* Fresh, clinical cyan-teal protection pulse */
}

.preventive-tint {
    background: rgba(6, 182, 212, 0.08) !important;
    color: #06b6d4 !important;
}

.preventive-check {
    color: #06b6d4 !important;
}

.preventive-gradient {
    background: linear-gradient(90deg, #06b6d4, #0891b2) !important;
}

/* Section 9 Ends */

/* Section 10 Starts */

.snake-roadmap-section {
    width: 100%;
    padding: 130px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%); /* Clean, high-end light premium medical hue */
    font-family: "Times New Roman", Times, serif;
    position: relative;
    overflow: hidden;
}

.snake-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Section Header Layout --- */
.snake-main-header {
    text-align: center;
    margin-bottom: 100px;
}

.snake-meta-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #4f46e5; /* Royal indigo focus */
    background: rgba(79, 70, 229, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 16px;
}

.snake-section-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.5px;
    margin: 0 0 12px 0;
}

.snake-section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0;
}

/* --- Central Road Line Engine --- */
.snake-timeline-track {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Centered modern timeline vector line */
.snake-vector-line {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
    z-index: 1;
}

/* --- Alternating Grid Rows --- */
.snake-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.snake-row:last-child {
    margin-bottom: 0;
}

/* Shift structural cards to right or left layout chains based on row direction */
.row-left .snake-card { grid-column: 1; text-align: right; margin-left: auto; }
.row-right .snake-card { grid-column: 2; text-align: left; margin-right: auto; }

/* --- Central Node Node Placements --- */
.snake-node-indicator {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.snake-pulse-circle {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.snake-step-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* --- Premium Light Mode Content Cards --- */
.snake-card {
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.snake-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.snake-card-body {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* --- Interactive Active State Micro-Transitions --- */
.snake-row.is-active-step .snake-pulse-circle {
    color: #ffffff;
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.12), 0 10px 20px -5px rgba(79, 70, 229, 0.3);
}

.snake-row.is-active-step .snake-step-tag {
    color: #4f46e5;
    border-color: rgba(79, 70, 229, 0.2);
}

.snake-row.is-active-step .snake-card {
    border-color: rgba(79, 70, 229, 0.15);
    box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.15);
    transform: translateY(-4px);
}

/* --- Mobile UI Collapsing Intersect System --- */
/* =========================================================
   SNAKE ROADMAP MOBILE RESPONSIVE STYLES
   ========================================================= */

/* --- Tablets & Small Laptops (Max 992px) --- */
@media (max-width: 992px) {
    .snake-roadmap-section {
        padding: 90px 20px;
    }

    .snake-row {
        gap: 40px;
        margin-bottom: 50px;
    }

    .snake-card {
        padding: 28px;
    }

    .snake-section-title {
        font-size: 2.25rem;
    }
}

/* --- Mobile Devices (Max 768px) --- */
@media (max-width: 768px) {
    .snake-roadmap-section {
        padding: 70px 16px;
    }

    .snake-main-header {
        margin-bottom: 60px;
    }

    .snake-section-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .snake-section-subtitle {
        font-size: 0.95rem;
    }

    /* Shift central vector line to the left edge */
    .snake-vector-line {
        left: 24px;
        transform: none;
    }

    /* Convert row layout to single column */
    .snake-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 64px; /* Space for the left timeline track */
        gap: 0;
        margin-bottom: 40px;
    }

    /* Reset grid alignment overrides */
    .row-left .snake-card,
    .row-right .snake-card {
        grid-column: auto;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }

    /* Position node indicator over the left vector line */
    .snake-node-indicator {
        left: 24px;
        top: 24px;
        transform: translate(-50%, 0);
        flex-direction: row; /* Horizontal alignment for mobile tag */
        gap: 12px;
    }

    .snake-pulse-circle {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .snake-step-tag {
        font-size: 0.6rem;
        padding: 3px 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    /* Mobile Card Styling */
    .snake-card {
        padding: 24px;
        border-radius: 18px;
    }

    .snake-card-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .snake-card-body {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* --- Small Mobile Phones (Max 480px) --- */
@media (max-width: 480px) {
    .snake-roadmap-section {
        padding: 50px 12px;
    }

    /* Move line slightly tighter to the edge for small screens */
    .snake-vector-line {
        left: 18px;
    }

    .snake-row {
        padding-left: 50px;
        margin-bottom: 32px;
    }

    .snake-node-indicator {
        left: 18px;
        top: 20px;
    }

    .snake-pulse-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .snake-step-tag {
        display: none; /* Hide step tag on extremely narrow screens to avoid clutter */
    }

    .snake-card {
        padding: 18px 20px;
        border-radius: 16px;
    }

    .snake-card-title {
        font-size: 1.1rem;
    }

    .snake-card-body {
        font-size: 0.85rem;
    }
}
/* Section 10 Ends */


/* Section 11 Starts */

.hub-why-section {
    width: 100%;
    padding: 130px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    font-family: "Times New Roman", Times, serif;
    overflow: hidden;
}

.hub-canvas {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Section Heading Matrix --- */
.hub-header {
    text-align: center;
    margin-bottom: 90px;
}

.hub-meta-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 16px;
}

.hub-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.5px;
    margin: 0 0 12px 0;
}

.hub-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0;
}

/* --- The Radial Architecture Track --- */
.hub-system-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Core Anchor Box */
.hub-core-center {
    position: relative;
    width: 160px;
    height: 160px;
    z-index: 10;
}

.hub-core-shield {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.hub-core-shield i {
    font-size: 2rem;
    color: #2563eb;
}

.hub-core-shield span {
    font-size: 0.68rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 1px;
}

/* Ambient pulsating circle halo rings */
.hub-pulse-ring {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px dashed rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    animation: hubSpin 40s linear infinite;
}

/* --- Peripheral Satellite Pillars --- */
.hub-satellite-pills {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
}

.hub-pill {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 14px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    z-index: 5;
}

.hub-pill-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #f8fafc;
}

/* Custom Highlight Tints */
.color-indigo { color: #4f46e5; }
.color-sky { color: #0ea5e9; }
.color-emerald { color: #10b981; }
.color-amber { color: #f59e0b; }
.color-rose { color: #f43f5e; }
.color-purple { color: #a855f7; }
.color-cyan { color: #06b6d4; }
.color-blue { color: #2563eb; }

.hub-pill-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.hub-pill-text p {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
}

/* --- Micro-Hover Engine Transformations --- */
.hub-pill:hover {
    border-color: #2563eb;
    box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.15);
    transform: scale(1.03);
    z-index: 12;
}

@keyframes hubSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Responsive Standard Falling Grids --- */
@media (max-width: 992px) {
    .hub-system-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .hub-core-center { display: none; }
    .hub-satellite-pills {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        height: auto;
    }
    .hub-pill {
        position: relative !important;
        top: auto !important; left: auto !important; transform: none !important;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .hub-satellite-pills { grid-template-columns: 1fr; }
    .hub-main-title { font-size: 2.1rem; }
}






/* --- SVG Live Lines Overlay --- */
.hub-connecting-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hub-line-base {
    stroke: rgba(37, 99, 235, 0.12);
    stroke-width: 1.5;
    stroke-dasharray: 4, 4;
    animation: dashOffset 20s linear infinite;
}

.hub-line-pulse {
    stroke: #2563eb;
    stroke-width: 2;
    stroke-dasharray: 8 100;
    stroke-linecap: round;
    animation: pulseBeam 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dashOffset {
    to { stroke-dashoffset: -100; }
}

@keyframes pulseBeam {
    0% { stroke-dashoffset: 108; opacity: 0; }
    30% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

/* --- Core Pulse & Float Animations --- */
.hub-core-center {
    animation: coreFloat 6s ease-in-out infinite alternate;
}

.hub-pulse-ring {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px dashed rgba(37, 99, 235, 0.25);
    border-radius: 50%;
    animation: hubSpin 40s linear infinite, haloRipple 3s ease-out infinite;
}

.hub-pulse-ring.delay-ring {
    animation-delay: -1.5s;
}

@keyframes haloRipple {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 0; }
}

@keyframes coreFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* --- Floating Weightless Animation for Satellite Pills --- */
.hub-pill {
    animation: pillFloat 5s ease-in-out infinite alternate;
}

/* Stagger floating rhythm for alternate pills */
.hub-pill:nth-child(even) {
    animation-duration: 6s;
    animation-delay: -2s;
}

@keyframes pillFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

/* Maintain scaling on hover alongside floating keyframes */
.hub-pill:hover {
    border-color: #2563eb !important;
    box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.2) !important;
    transform: scale(1.05) translateY(-4px) !important;
    z-index: 12 !important;
}
/* Section 11 Ends */


/* Section 12 Starts */

.salem-treatments-section {
    width: 100%;
    padding: 120px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
    font-family: "Times New Roman", Times, serif;
}

.salem-grid-canvas {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 60px;
}

/* --- Left Column: Locked Dynamic Spotlight Panel --- */
.salem-spotlight-hero {
    position: relative;
}

.salem-spotlight-sticky {
    position: sticky;
    top: 60px;
    display: flex;
    flex-direction: column;
}

.salem-meta-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 2px;
    align-self: flex-start;
    margin-bottom: 16px;
}

.salem-main-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin: 0 0 24px 0;
}

.salem-divider-line {
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 100px;
    margin-bottom: 30px;
}

/* Dynamic Interactive Target Area */
.salem-dynamic-display {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.05);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.salem-display-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0 0 10px 0;
}

.salem-display-intro {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.salem-display-footer {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salem-guarantee-badge {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.salem-guarantee-badge i {
    color: #10b981;
}

/* --- Right Column: Asymmetric Sleek Slabs --- */
.salem-cards-mosaic {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.treatment-slab {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slab-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Graphic Highlight Accents */
.color-blue { color: #2563eb; background: rgba(37, 99, 235, 0.04); }
.color-indigo { color: #4f46e5; background: rgba(79, 70, 229, 0.04); }
.color-rose { color: #f43f5e; background: rgba(244, 63, 94, 0.04); }
.color-amber { color: #d97706; background: rgba(217, 119, 6, 0.04); }
.color-cyan { color: #0891b2; background: rgba(8, 145, 178, 0.04); }
.color-purple { color: #9333ea; background: rgba(147, 51, 234, 0.04); }
.color-emerald { color: #059669; background: rgba(5, 150, 105, 0.04); }
.color-sky { color: #0284c7; background: rgba(2, 132, 199, 0.04); }

.slab-meta {
    flex: 1;
    margin: 0 24px;
}

.slab-meta h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    transition: color 0.2s ease;
}

.slab-location {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slab-arrow {
    font-size: 0.9rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

/* --- Interactive Active State Micro-Transitions --- */
.treatment-slab:hover {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.08);
    transform: translateX(6px);
}

.treatment-slab:hover .slab-meta h3 {
    color: #2563eb;
}

.treatment-slab:hover .slab-arrow {
    color: #2563eb;
    transform: scale(1.1);
}

/* --- Responsive Layout Breakpoint Translators --- */
@media (max-width: 992px) {
    .salem-grid-canvas {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .salem-spotlight-sticky {
        position: relative;
        top: 0;
    }
    .salem-dynamic-display {
        display: none; /* Hide interactive panel on mobile, details clear via headings */
    }
    .salem-main-title {
        font-size: 2.15rem;
    }
    .treatment-slab:hover {
        transform: none; /* Strip sliding animation on tap screens */
    }
}

/* Section 12 Ends */






/* =========================================================
   GLOBAL SERVICE STYLING
   ========================================================= */
.service-section {
    padding: 90px 20px;
    background-color: #f8fafc;
    font-family: "Times New Roman", Times, serif;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 35px;
}

.section-header.text-center {
    text-align: center;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.badge-teal { background: #ccfbf1; color: #0d9488; }
.badge-dark { background: rgba(255, 255, 255, 0.1); color: #38bdf8; }
.badge-pink { background: #fce7f3; color: #db2777; }
.badge-blue { background: #e0f2fe; color: #0284c7; }

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.title-mute { font-size: 1.2rem; color: #64748b; font-weight: 600; }
.title-mute-light { font-size: 1.2rem; color: #94a3b8; font-weight: 600; }
.section-desc-center { color: #64748b; font-size: 1.05rem; margin-top: 8px; }

/* =========================================================
   DESIGN 1: ORTHODONTICS (SPLIT BANNER CARD)
   ========================================================= */
.ortho-split-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.ortho-img-box {
    position: relative;
    min-height: 380px;
}

.ortho-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-floating-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.ortho-content-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0284c7;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-main-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.card-description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.sub-label {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.benefits-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.benefit-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-item i { color: #0284c7; }

/* =========================================================
   DESIGN 2: PROSTHODONTICS (ZIG-ZAG GRID)
   ========================================================= */
.service-prosto { background-color: #ffffff; }

.prosto-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.prosto-info-card {
    display: flex;
    flex-direction: column;
}

.card-subtitle {
    font-size: 1.3rem;
    color: #0d9488;
    font-weight: 700;
    margin: 12px 0 16px 0;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tag-item {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

.prosto-img-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 15px 35px rgba(13, 148, 136, 0.12);
}

.prosto-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-overlay-info {
    position: absolute;
    bottom: 0; inset-x: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: #ffffff;
    padding: 30px 24px 20px;
}

.img-overlay-info h4 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.img-overlay-info p { margin: 4px 0 0 0; font-size: 0.88rem; color: #cbd5e1; }

/* =========================================================
   DESIGN 3: ENDODONTICS (DARK SHOWCASE CARD)
   ========================================================= */
.service-endo-dark { background-color: #0f172a; color: #ffffff; }

.endo-dark-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 45px;
}

.text-white { color: #ffffff !important; }
.text-gray { color: #94a3b8 !important; }
.card-tagline-blue { color: #38bdf8; font-size: 1.1rem; margin-bottom: 16px; }

.endo-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 24px;
}

.endo-check-list {
    list-style: none;
    padding: 0; margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.endo-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 600;
}

.endo-check-list i { color: #38bdf8; }

.endo-right-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.endo-right-image img { width: 100%; height: 100%; object-fit: cover; }

.image-corner-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: #38bdf8;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 50px;
}

/* =========================================================
   DESIGN 4: PEDIATRIC DENTISTRY (3-COL CARDS GRID)
   ========================================================= */
.service-pediatric { background-color: #fdf2f8; }

.pediatric-cards-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.pediatric-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #fbcfe8;
    box-shadow: 0 10px 25px rgba(219, 39, 119, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pediatric-icon {
    width: 48px; height: 48px;
    background: #fce7f3;
    color: #db2777;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.pediatric-card h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; margin: 0 0 10px 0; }
.pediatric-card p { font-size: 0.92rem; color: #64748b; line-height: 1.6; margin: 0; }

.pediatric-card.card-img-only {
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 250px;
}

.pediatric-card.card-img-only img { width: 100%; height: 100%; object-fit: cover; }

.card-img-caption {
    position: absolute;
    bottom: 12px; left: 12px; right: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #db2777;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
}

.pediatric-list {
    list-style: square;
    padding-left: 20px;
    margin: 0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.8;
    font-weight: 600;
}

/* =========================================================
   DESIGN 5: IMPLANTOLOGY (WIDE FEATURE BANNER)
   ========================================================= */
.implant-banner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.implant-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.implant-highlight-tag {
    background: #0284c7;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: uppercase;
}

.implant-grid-3parts {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.implant-col-info h3 { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin: 0 0 10px 0; }
.implant-col-info p { color: #475569; font-size: 0.92rem; line-height: 1.65; margin: 0; }

.implant-col-image { height: 220px; border-radius: 16px; overflow: hidden; }
.implant-col-image img { width: 100%; height: 100%; object-fit: cover; }

.implant-col-highlights { display: flex; flex-direction: column; gap: 12px; }

.implant-stat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.implant-stat-box i { color: #0284c7; font-size: 1.1rem; }

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .ortho-split-card, .prosto-grid, .endo-split-layout, .implant-grid-3parts {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .pediatric-cards-3col {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   DESIGN 6: ORAL SURGERY (SPECIALTY AMBER / GOLD ACCENT)
   ========================================================= */
.service-oralsurg {
    background-color: #fffbf5; /* Soft warm clinical background */
}

.badge-amber {
    background: #fef3c7;
    color: #d97706;
}

.oralsurg-card {
    background: #ffffff;
    border: 1px solid #fef3c7;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.06);
    position: relative;
    overflow: hidden;
}

.oralsurg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #d97706, #f59e0b);
}

.oralsurg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #fef3c7;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.oralsurg-safety-tag {
    background: #fef3c7;
    color: #b45309;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.oralsurg-grid-3col {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr;
    gap: 30px;
    align-items: center;
}

.oralsurg-col {
    display: flex;
    flex-direction: column;
}

.oralsurg-step {
    font-size: 0.78rem;
    font-weight: 800;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.oralsurg-col-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.oralsurg-tagline {
    font-size: 0.95rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 12px;
}

.oralsurg-body {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.oralsurg-img-col {
    position: relative;
    height: 270px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.oralsurg-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oralsurg-img-label {
    position: absolute;
    bottom: 12px; left: 12px; right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
}

.oralsurg-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 20px 0;
}

.oralsurg-tag {
    background: #fffbeeb0;
    border: 1px solid #fde68a;
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
}

.oralsurg-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oralsurg-b-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.oralsurg-b-item i {
    color: #d97706;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .oralsurg-grid-3col {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .oralsurg-header {
        flex-direction: column;
        gap: 12px;
    }
}


/* =========================================================
   REDESIGNED LIGHT THEME ENDODONTICS SECTION
   ========================================================= */
.endo-v2-section {
    padding: 100px 24px;
    background-color: #f8fafc; /* Clean crisp background */
    font-family: "Times New Roman", Times, serif;
}

.endo-v2-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Header System */
.endo-v2-header {
    margin-bottom: 45px;
}

.endo-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0284c7;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid #e2e8f0;
    margin-bottom: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.endo-v2-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.endo-v2-title-mute {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 600;
}

/* Main Split Grid */
.endo-v2-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Hero Feature Card (Left Column) */
.endo-v2-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.endo-v2-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.endo-v2-step {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.endo-v2-headline {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.endo-v2-subheading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0284c7;
    margin: 0 0 16px 0;
}

.endo-v2-body {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 28px 0;
}

/* Image Wrapper Inside Hero Card */
.endo-v2-img-container {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
}

.endo-v2-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.endo-v2-hero-card:hover .endo-v2-img-container img {
    transform: scale(1.06);
}

.endo-v2-img-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Details Stack (Right Column) */
.endo-v2-details-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.endo-v2-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.endo-v2-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.endo-v2-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.endo-v2-icon-box {
    width: 44px;
    height: 44px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.endo-v2-icon-box.success-tint {
    background: #f0fdf4;
    color: #16a34a;
}

.endo-v2-step-sm {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 8px;
}

.endo-v2-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.endo-v2-helper {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 16px 0;
}

/* Tags */
.endo-v2-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.endo-v2-tag {
    background: #f1f5f9;
    color: #334155;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.endo-v2-tag:hover {
    background: #0f172a;
    color: #ffffff;
}

/* Benefit Checklist */
.endo-v2-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.endo-v2-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
}

.endo-v2-list i {
    color: #16a34a;
    font-size: 0.95rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .endo-v2-grid {
        grid-template-columns: 1fr;
    }
}