/* Services Page Specific Styles - Infowise Enterprises */

/* ===== Hero Section ===== */
.services-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(0, 132, 230, 0.9) 0%,
        rgba(156, 39, 176, 0.8) 100%),
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.services-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.services-hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ===== Service Categories ===== */
.service-categories {
    padding: 5rem 0;
    background: #f8f9fa;
}

.categories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #007bff, #9c27b0);
    color: white;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.category-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-link:hover {
    color: #0056b3;
    gap: 0.75rem;
}

/* ===== Service Details ===== */
.service-details {
    padding: 5rem 0;
    background: white;
}

.detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: 1rem;
    background: #f8f9fa;
}

.detail-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.detail-image:hover img {
    transform: scale(1.05);
}

.detail-content {
    padding: 1.5rem;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #212529;
    position: relative;
    padding-bottom: 1rem;
}

.detail-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #9c27b0);
}

.detail-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.detail-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.detail-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #6c757d;
}

.detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

.detail-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(90deg, #007bff, #9c27b0);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
    gap: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .services-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .detail-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .detail-image img {
        height: 300px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-hero-title {
        font-size: 2rem;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
}