/* Business Solutions Page - Portfolio Style */

/* Clean, minimal design focused on showcasing work */

/* Typography refinements */
.business-solutions h1,
.business-solutions h2,
.business-solutions h3 {
    letter-spacing: -0.02em;
}

/* Subtle animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Service cards - clean and minimal */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.dark .service-card {
    border-color: rgba(255, 255, 255, 0.06);
}

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

.dark .service-card:hover {
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.4);
}

/* Icon containers - optimized for image-based icons */
.icon-container {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .icon-container {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.icon-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover .icon-container::before {
    opacity: 1;
}

.service-card:hover .icon-container {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15);
}

.dark .service-card:hover .icon-container {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Image styling within icon containers */
.icon-container img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card:hover .icon-container img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.dark .icon-container img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dark .service-card:hover .icon-container img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Enhanced service card styling */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Capability tags */
.capability-tag {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.capability-tag:hover {
    transform: translateY(-1px);
}

/* Section spacing for larger screens */
@media (min-width: 1024px) {
    .business-solutions section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    .business-solutions #header {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Grid layouts - better spacing */
.service-grid {
    gap: 2rem;
}

@media (min-width: 768px) {
    .service-grid {
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .service-grid {
        gap: 3rem;
    }
}

/* Refined text hierarchy */
.business-solutions .section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .business-solutions .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .business-solutions .section-title {
        font-size: 3.5rem;
    }
}

.business-solutions .section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #6b7280;
}

.dark .business-solutions .section-description {
    color: #9ca3af;
}

/* Service item styling */
.service-item {
    position: relative;
    padding-left: 1.25rem;
    border-left: 2px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.dark .service-item {
    border-left-color: #374151;
}

.service-item:hover {
    border-left-color: #0d9488;
}

.dark .service-item:hover {
    border-left-color: #14b8a6;
}

/* Technology badges */
.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    transition: all 0.2s ease;
}

.dark .tech-badge {
    background: rgba(20, 184, 166, 0.15);
    color: #5eead4;
}

.tech-badge:hover {
    background: rgba(13, 148, 136, 0.15);
    transform: translateY(-1px);
}

.dark .tech-badge:hover {
    background: rgba(20, 184, 166, 0.2);
}

/* CTA section refinement */
.cta-section {
    background: linear-gradient(135deg, #0d9488 0%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Button refinements */
.btn-primary {
    background: white;
    color: #0d9488;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #0d9488;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .business-solutions .section-title {
        font-size: 2rem;
    }
    
    .business-solutions .section-description {
        font-size: 1rem;
    }
    
    .service-grid {
        gap: 1.5rem;
    }
}

/* Smooth scroll behavior */
html.scroll-smooth {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.service-card:focus-within {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .business-solutions {
        background: white;
    }
    
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Loading state */
.service-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Enhanced readability */
.business-solutions p {
    max-width: 65ch;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0d9488 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .gradient-text {
    background: linear-gradient(135deg, #5eead4 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

