/* Services Overview Section Styles */
.services-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.services-overview .container {
    position: relative;
    z-index: 2;
}

.services-overview .section-header {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-overview-title {
    font-size: 48px !important;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    position: relative;
    text-align: center !important;
    width: 100%;
    display: block;
}

.services-overview-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 35px;
    min-height: 280px;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #1abc9c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

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

.card-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0056b3, #0d6efd);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
    flex-grow: 0;
    padding: 15px 0px;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-overview {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 25px;
        margin-bottom: 20px;
        min-height: 260px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
    
    .card-icon i {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .services-overview {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 25px 20px;
        min-height: 240px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    
    .card-icon i {
        font-size: 18px;
    }
}

/* Animation for cards on scroll */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Hover effects for better interactivity */
.service-card:hover .card-title {
    color: #0d6efd;
}

.service-card:hover .card-description {
    color: #495057;
}

/* Additional decorative elements */
.services-overview::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.services-overview::before {
    content: '';
    position: absolute;
    bottom: 50%;
    left: -100px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
} 