.services {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    color: #eee;
    position: relative;
}

/* Services Header */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #00bcd4;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: #00bcd4;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.services h2 {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00bcd4 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Service Cards */
.service-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    height: 100%;
    min-height: 400px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(0, 188, 212, 0.05) 0%, 
        rgba(0, 188, 212, 0.02) 50%, 
        rgba(0, 188, 212, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 188, 212, 0.2),
        0 0 0 1px rgba(0, 188, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Service Icon */
.service-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 1rem;
}

.icon-bg {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 188, 212, 0.05) 100%);
    border-radius: 50%;
    border: 1px solid rgba(0, 188, 212, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.service-emoji {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Service Content */
.service-content {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 120px);
}

.service-card h3 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.3;
}

.service-card h3 a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.service-card h3 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bcd4, #00e5ff);
    transition: width 0.3s ease;
}

.service-card:hover h3 a::after {
    width: 100%;
}

.service-card h3 a:hover,
.service-card h3 a:focus-visible {
    color: #00bcd4;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.service-description {
    font-weight: 300;
    line-height: 1.6;
    color: #c0c0c0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Feature Tags */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    color: #00e5ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card:hover .feature-tag {
    background: rgba(0, 188, 212, 0.2);
    border-color: rgba(0, 188, 212, 0.5);
    transform: translateY(-2px);
}

/* Service CTA */
.service-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    transition: all 0.3s ease;
}

.cta-text {
    font-weight: 600;
    color: #00bcd4;
    font-size: 0.95rem;
}

.cta-arrow {
    font-size: 1.2rem;
    color: #00bcd4;
    transition: transform 0.3s ease;
}

.service-card:hover .cta-arrow {
    transform: translateX(5px);
}

.service-card:hover .service-cta {
    border-top-color: rgba(0, 188, 212, 0.3);
}

/* Service Overlay for Click Effect */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:active .service-overlay {
    opacity: 1;
}

/* Services Footer */
.services-footer {
    text-align: center;
    margin-top: 4rem;
}

.consultation-cta {
    background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(0, 188, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.consultation-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.consultation-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.consultation-cta p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #00bcd4 0%, #00e5ff 100%);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
    position: relative;
    z-index: 2;
}

.consultation-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.5);
    background: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
}

.button-icon {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services {
        margin: 4rem auto;
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        min-height: 350px;
    }
    
    .service-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .consultation-cta {
        padding: 2rem 1.5rem;
    }
    
    .consultation-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-features {
        gap: 0.3rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}