/* ===== SERVICES COMPONENT ===== */

/* Services Section */
.services-section {
    background: transparent;
    border-radius: 2rem;
    margin: 2rem 0;
    position: relative;
    padding: var(--spacing-3xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Modern Service Card */
.service-card.modern {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card.modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

/* Modern Service Card Header */
.service-card-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.service-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.service-card.modern:hover .service-title {
    color: var(--accent-color);
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Service Features List */
.service-features-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-feature {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: transparent;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-feature:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}



.feature-content {
    width: 100%;
}

.feature-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

/* Modern Service Footer */
.service-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.5rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 65, 0.3);
    background: var(--accent-hover);
    color: var(--primary-bg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-cta i {
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(3px);
}

/* Service Card Animations */
.service-card.modern {
    opacity: 0;
    transform: translateY(30px);
    animation: serviceCardFadeIn 0.6s ease forwards;
}

.service-card.modern:nth-child(1) { animation-delay: 0.1s; }
.service-card.modern:nth-child(2) { animation-delay: 0.2s; }
.service-card.modern:nth-child(3) { animation-delay: 0.3s; }

@keyframes serviceCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Card Hover Effects */
.service-card.modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card.modern:hover::after {
    opacity: 1;
}

/* Glow Effect */
.service-card.modern {
    position: relative;
}

.service-card.modern::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), transparent, var(--accent-color));
    border-radius: 1.5rem;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-card.modern:hover::before {
    opacity: 0.3;
}

/* Responsive Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .service-card.modern {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-feature {
        padding: 0.75rem;
    }
    
    .feature-content h4 {
        font-size: 0.9rem;
    }
    
    .feature-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 1rem;
        padding: 0;
    }
    
    .service-card.modern {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .service-card-header {
        margin-bottom: 1.5rem;
    }
    
    .service-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .service-description {
        font-size: 0.8rem;
    }
    
    .service-feature {
        padding: 0.75rem;
    }
    
    .feature-content h4 {
        font-size: 0.875rem;
    }
    
    .feature-content p {
        font-size: 0.75rem;
    }
    
    .service-cta {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }
}



/* Loading State */
.services-grid.loading {
    position: relative;
}

.services-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


