/* Services Section Styles */
.services {
    padding: 100px 0;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

/* Optional subtle background pattern */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(46, 204, 113, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Service Card Styles */
.service-card {
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2ecc71, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Service Icon Styles */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: #2ecc71;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(46, 204, 113, 0.2);
    transform: scale(1.05);
}

/* Service Text Styles */
.service-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.services-cta {
    margin-top: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services {
        padding: 70px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
}