/* ==========================================
   DIAGNOSTICS PAGE STYLES
   ========================================== */

/* Hero Section override - removed to match other pages */

/* Hero tag outside style */
.hero-tag-outside {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(236, 67, 103, 0.1);
    color: #ec4367;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
}

/* Feature Tag */
.feature-tag-premium {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(134, 0, 0, 0.08);
    color: #860000;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 15px;
    border: 1px solid rgba(134, 0, 0, 0.15);
}

/* Diagnostic Intro Card */
.intro-gradient-card {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.intro-gradient-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #ec4367, #860000);
}

/* Services Pill List */
.diagnostic-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.diagnostic-pill-item {
    background: #ffffff;
    border: 1px solid rgba(134, 0, 0, 0.1);
    color: #333333;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.diagnostic-pill-item i {
    color: #ec4367;
    transition: transform 0.3s ease;
}

.diagnostic-pill-item:hover {
    background: linear-gradient(135deg, #ec4367, #860000);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(236, 67, 103, 0.25);
}

.diagnostic-pill-item:hover i {
    color: #ffffff;
    transform: rotate(15deg) scale(1.1);
}

/* Detailed Test Cards */
.test-card-modern {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.test-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(236, 67, 103, 0.03) 0%, rgba(134, 0, 0, 0.02) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.test-card-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 67, 103, 0.2);
    box-shadow: 0 20px 40px rgba(236, 67, 103, 0.08);
}

.test-card-modern:hover::before {
    opacity: 1;
}

.test-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(236, 67, 103, 0.1);
    color: #ec4367;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.test-card-modern:hover .test-icon-box {
    background: linear-gradient(135deg, #ec4367, #860000);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 15px rgba(236, 67, 103, 0.2);
}

/* Why Choose Us Cards */
.why-card-premium {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-top: 4px solid #f0f0f0;
}

.why-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-top-color: #ec4367;
}

.why-icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(134, 0, 0, 0.06);
    color: #860000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.why-card-premium:hover .why-icon-circle {
    background: #ec4367;
    color: #ffffff;
}

/* Accordion FAQs styling */
.diagnostics-accordion .accordion-item {
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.diagnostics-accordion .accordion-button {
    font-weight: 700;
    padding: 20px 24px;
    color: #333333;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.diagnostics-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(236, 67, 103, 0.05);
    color: #860000;
    box-shadow: none;
}

.diagnostics-accordion .accordion-button::after {
    background-size: 1.1rem;
    transition: transform 0.3s ease;
}

.diagnostics-accordion .accordion-body {
    padding: 24px;
    color: #555555;
    line-height: 1.6;
    background: #ffffff;
    font-size: 0.98rem;
}

/* Highlight / Banner cards */
.preventive-banner-card {
    background: linear-gradient(135deg, rgba(236, 67, 103, 0.05) 0%, rgba(134, 0, 0, 0.02) 100%);
    border: 1px dashed rgba(236, 67, 103, 0.3);
    border-radius: 20px;
    padding: 25px;
}

/* Mobile Screen UX Optimizations: Swipeable horizontal grids */
@media (max-width: 768px) {
    .mobile-swipe-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 15px !important;
        padding-top: 5px !important;
        gap: 16px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important;  /* IE/Edge */
    }
    
    .mobile-swipe-row::-webkit-scrollbar {
        display: none !important;
    }
    
    .mobile-swipe-row > div {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        scroll-snap-align: start !important;
    }
    
    /* Small visual swipe hint text styling */
    .mobile-swipe-hint {
        display: block !important;
        text-align: center;
        font-size: 0.8rem;
        color: #ec4367;
        margin-bottom: 15px;
        font-weight: 600;
        animation: pulseSwipe 2s infinite;
    }
}

@media (min-width: 769px) {
    .mobile-swipe-hint {
        display: none !important;
    }
}

@keyframes pulseSwipe {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

/* Custom Scroll Nav Buttons */
.scroll-btn-wrapper {
    position: relative;
    padding: 0 15px;
}

.swipe-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ec4367;
    background: #ffffff;
    color: #ec4367;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swipe-nav-btn:hover {
    background: #ec4367;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(236, 67, 103, 0.3);
}

.swipe-nav-btn.prev-btn {
    left: -15px;
}

.swipe-nav-btn.next-btn {
    right: -15px;
}

@media (max-width: 768px) {
    .swipe-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .swipe-nav-btn.prev-btn {
        left: 2px;
    }
    .swipe-nav-btn.next-btn {
        right: 2px;
    }
    .scroll-btn-wrapper {
        padding: 0 10px;
    }
}
