/* Service cards layout fixes */

/* Services section wrapper */
.services-wrapper {
    padding: 40px 0;
}

.services-heading {
    margin-bottom: 40px;
}

.services-heading h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.services-heading h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Improve service cards grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Enhance service card appearance */
.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
    color: #ffffff;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.service-desc {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-action {
    margin-top: auto;
    text-align: center;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(60, 180, 150, 0.2);
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(60, 180, 150, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
} 