/* Enhanced Service Pills with Professional Icons */

.core-services-highlight {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
    padding: 24px 0;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 246, 248, 0.8) 100%);
    border: 2px solid rgba(0, 150, 214, 0.2);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #003B73;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 59, 115, 0.08);
}

.service-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 214, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-pill:hover::before {
    left: 100%;
}

.service-pill:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #0096D6;
    background: linear-gradient(135deg, #0096D6 0%, #003B73 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 150, 214, 0.25);
}

.service-pill .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 150, 214, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-pill:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(5deg) scale(1.1);
}

.service-pill .service-icon svg {
    width: 16px;
    height: 16px;
    color: #0096D6;
    transition: all 0.3s ease;
}

.service-pill:hover .service-icon svg {
    color: white;
    transform: scale(1.1);
}

/* Specific Icon Colors and Enhancements */
.service-pill:nth-child(1) .service-icon {
    background: rgba(46, 213, 115, 0.1);
}

.service-pill:nth-child(1):hover .service-icon {
    background: rgba(46, 213, 115, 0.2);
}

.service-pill:nth-child(1) .service-icon svg {
    color: #2ed573;
}

.service-pill:nth-child(2) .service-icon {
    background: rgba(255, 107, 107, 0.1);
}

.service-pill:nth-child(2):hover .service-icon {
    background: rgba(255, 107, 107, 0.2);
}

.service-pill:nth-child(2) .service-icon svg {
    color: #ff6b6b;
}

.service-pill:nth-child(3) .service-icon {
    background: rgba(255, 159, 67, 0.1);
}

.service-pill:nth-child(3):hover .service-icon {
    background: rgba(255, 159, 67, 0.2);
}

.service-pill:nth-child(3) .service-icon svg {
    color: #ff9f43;
}

.service-pill:nth-child(4) .service-icon {
    background: rgba(116, 185, 255, 0.1);
}

.service-pill:nth-child(4):hover .service-icon {
    background: rgba(116, 185, 255, 0.2);
}

.service-pill:nth-child(4) .service-icon svg {
    color: #74b9ff;
}

.service-pill:nth-child(5) .service-icon {
    background: rgba(162, 155, 254, 0.1);
}

.service-pill:nth-child(5):hover .service-icon {
    background: rgba(162, 155, 254, 0.2);
}

.service-pill:nth-child(5) .service-icon svg {
    color: #a29bfe;
}

.service-pill:nth-child(6) .service-icon {
    background: rgba(255, 118, 117, 0.1);
}

.service-pill:nth-child(6):hover .service-icon {
    background: rgba(255, 118, 117, 0.2);
}

.service-pill:nth-child(6) .service-icon svg {
    color: #ff7675;
}

.service-pill:nth-child(7) .service-icon {
    background: rgba(0, 210, 211, 0.1);
}

.service-pill:nth-child(7):hover .service-icon {
    background: rgba(0, 210, 211, 0.2);
}

.service-pill:nth-child(7) .service-icon svg {
    color: #00d2d3;
}

.service-pill:nth-child(8) .service-icon {
    background: rgba(87, 101, 116, 0.1);
}

.service-pill:nth-child(8):hover .service-icon {
    background: rgba(87, 101, 116, 0.2);
}

.service-pill:nth-child(8) .service-icon svg {
    color: #576574;
}

.service-pill:nth-child(9) .service-icon {
    background: rgba(95, 39, 205, 0.1);
}

.service-pill:nth-child(9):hover .service-icon {
    background: rgba(95, 39, 205, 0.2);
}

.service-pill:nth-child(9) .service-icon svg {
    color: #5f27cd;
}

.service-pill:nth-child(10) .service-icon {
    background: rgba(255, 71, 87, 0.1);
}

.service-pill:nth-child(10):hover .service-icon {
    background: rgba(255, 71, 87, 0.2);
}

.service-pill:nth-child(10) .service-icon svg {
    color: #ff4757;
}

/* Responsive Design */
@media (max-width: 768px) {
    .core-services-highlight {
        gap: 8px;
        padding: 16px 0;
    }
    
    .service-pill {
        padding: 10px 16px;
        font-size: 13px;
        gap: 6px;
    }
    
    .service-pill .service-icon {
        width: 20px;
        height: 20px;
    }
    
    .service-pill .service-icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .core-services-highlight {
        gap: 6px;
        padding: 12px 0;
    }
    
    .service-pill {
        padding: 8px 12px;
        font-size: 12px;
        gap: 4px;
    }
    
    .service-pill .service-icon {
        width: 18px;
        height: 18px;
    }
    
    .service-pill .service-icon svg {
        width: 12px;
        height: 12px;
    }
}

/* Animation for service pills entrance */
.service-pill {
    animation: slideInUp 0.6s ease-out backwards;
}

.service-pill:nth-child(1) { animation-delay: 0.1s; }
.service-pill:nth-child(2) { animation-delay: 0.2s; }
.service-pill:nth-child(3) { animation-delay: 0.3s; }
.service-pill:nth-child(4) { animation-delay: 0.4s; }
.service-pill:nth-child(5) { animation-delay: 0.5s; }
.service-pill:nth-child(6) { animation-delay: 0.6s; }
.service-pill:nth-child(7) { animation-delay: 0.7s; }
.service-pill:nth-child(8) { animation-delay: 0.8s; }
.service-pill:nth-child(9) { animation-delay: 0.9s; }
.service-pill:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect for the entire container */
.core-services-highlight:hover .service-pill:not(:hover) {
    opacity: 0.7;
    transform: scale(0.95);
}

/* Focus states for accessibility */
.service-pill:focus {
    outline: 2px solid #0096D6;
    outline-offset: 2px;
}

.service-pill:focus:not(:hover) {
    border-color: #0096D6;
    box-shadow: 0 0 0 3px rgba(0, 150, 214, 0.1);
}