/* Animated Text Effects */
.section-header h2.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color), var(--accent-color));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    animation: gradientShift 4s ease-in-out infinite;
}

.section-header h2.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.5s ease;
}

.via-home-visit {
    display: block;
    font-size: 0.65rem;
    background: linear-gradient(135deg, #00e676, #4ECDC4, #FF6B6B, #00e676);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: gradientShift 3s ease-in-out infinite, glowText 2.5s infinite;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 2px;
    background-color: rgba(0, 230, 118, 0.08);
}

/* Keyframe Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 230, 118, 0.3);
    }
    50% {
        text-shadow: 0 0 10px rgba(0, 230, 118, 0.6), 0 0 15px rgba(0, 230, 118, 0.4);
    }
}

.container-whychooseUs {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    padding: 20px 10px;
}

.why-choose-us {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    padding: 25px 20px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.25);
}

.section-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.check-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.check-icon svg {
    width: 12px;
    height: 12px;
    fill: #4A90E2;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 768px) {
    .container-whychooseUs {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

.section-header hr {
    width: 818px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #f5222d);
    border: none;
    border-radius: 2px;
    margin: 0 auto 1rem;
    opacity: 0.8;
}

/* Responsive HR for different screen sizes */
@media (max-width: 1200px) {
    .section-header hr {
        width: 90%;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .section-header hr {
        width: 157%;
        max-width: 330px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .section-header hr {
        width: 157%;
        max-width: 330px;
        height: 3px;
        margin: 0 auto 0.8rem;
    }
}

@media (max-width: 360px) {
    .section-header hr {
        width: 157%;
        max-width: 330px;
        height: 3px;
        margin: 0 auto 0.6rem;
    }
}

.trustworthy-care {
    margin-top: -70px;
}

/* Marquee Animation - Mobile Only */
@media (max-width: 768px) {
    /* Wrapper to contain the marquee */
    .lab-grid-wrapper {
        width: 100%;
        overflow: hidden;
        position: relative;
        padding: 20px 0;
        touch-action: pan-y; /* Allow vertical scrolling but capture horizontal touches */
    }

    .lab-grid {
        display: flex;
        gap: 20px;
        width: max-content;
        animation: marquee 30s linear infinite;
    }

    /* Fade edges */
    .lab-grid-wrapper::before,
    .lab-grid-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        width: 30px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .lab-grid-wrapper::before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
    }

    .lab-grid-wrapper::after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
    }

    .lab-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 150px;
        padding: 20px 15px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
    }

    .lab-logo {
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
    }

    .lab-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .lab-card h3 {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        text-align: center;
        margin: 0;
        line-height: 1.3;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    /* Pause animation on touch/hover */
    .lab-grid.paused {
        animation-play-state: paused;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .lab-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .lab-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        text-align: center;
        transition: transform 0.3s ease;
    }

    /* Hide duplicate cards on desktop */
    .lab-card.mobile-duplicate {
        display: none;
    }

    .lab-card:hover {
        transform: translateY(-5px);
    }

    .lab-logo {
        width: 100px;
        height: 100px;
        margin: 0 auto 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lab-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .lab-card h3 {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0;
    }
}





/*Changes */






/* Mobile Quick Actions */
@media screen and (max-width: 768px) {
    .quick-actions {
        padding: 20px 10px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

    .quick-actions-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 5px;
    }

    .quick-action-card {
        padding: 15px;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid rgba(78, 205, 196, 0.1);
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        animation: cardFloat 3s infinite;
        animation-delay: calc(var(--card-index, 0) * 0.2s);
    }

    .quick-action-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, 
            transparent, 
            rgba(78, 205, 196, 0.2), 
            rgba(255, 107, 107, 0.2), 
            transparent
        );
        transform: translateX(-100%);
        transition: transform 0.6s;
    }

    .quick-action-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, 
            var(--primary-color), 
            var(--secondary-color)
        );
        opacity: 0;
        transition: opacity 0.3s;
    }

    .quick-action-card:active {
        transform: scale(0.95);
    }

    .quick-action-card:hover::before {
        transform: translateX(100%);
    }

    .quick-action-card:hover::after {
        opacity: 1;
    }

    .quick-action-card i {
        font-size: 2rem;
        margin-bottom: 10px;
        color: var(--primary-color);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .quick-action-card:hover i {
        transform: scale(1.2) rotate(5deg);
        color: var(--secondary-color);
        text-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
    }

    .quick-action-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
        line-height: 1.2;
        color: var(--text-dark);
        position: relative;
        z-index: 1;
        font-weight: 600;
        transition: color 0.3s;
    }

    .quick-action-card:hover h3 {
        color: var(--primary-color);
    }

    .quick-action-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin: 0;
        color: var(--text-light);
        position: relative;
        z-index: 1;
        transition: opacity 0.3s;
    }

    .quick-action-card:hover p {
        opacity: 1;
    }

    @keyframes cardFloat {
        0%, 100% {
            transform: translateY(0) scale(1);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        }
        50% {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 30px rgba(78, 205, 196, 0.2);
        }
    }
}

@media screen and (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 3px;
    }

    .quick-action-card {
        padding: 12px;
        min-height: 120px;
    }

    .quick-action-card i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .quick-action-card h3 {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .quick-action-card p {
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 480px){
.health-slider-section {            
    margin-bottom: -29px;
}
}


.human-healthians {
    width: 100%;
    background: url(https://helma.healthians.com/stationery/mailer-assets/68341f0e7daeb.webp) no-repeat;
    padding: 25px 0px 0px 0px;
}
.human-healthians .title_h3 {
    float: left;
    width: 28%;
    margin-right: 0px;
    background-position: right center;
    min-height: 118px;
}

.human-healthians .container {
    width: 940px;
}
.human-healthians .container {
    padding-right: 29px;
    padding-left: 15px;
    padding-bottom: 1px;
    padding-top: -92px;
    margin-top: -5pc;
    /* margin-right: auto; */
    /* margin-left: auto; */
}
.human-healthians .humanfigure img {
    width: 723px;
    height: auto;
    margin-right: 7px;
    margin-left: 25px;
    margin-top: -28px;
}   
/* Hide human-healthians section on mobile devices */
@media screen and (max-width: 768px) {
    .human-healthians {
        display: none;
    }
}



