/**
 * Inkora Business Services Block - Frontend Styles
 * Version: 1.0.0
 */

:root {
    --inkora-primary: #2398bc;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.inkora-business-services {
    position: relative;
    width: 100%;
    padding: 60px 0;
}

.inkora-services-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.inkora-services-header {
    text-align: center;
    margin-bottom: 40px;
}

.inkora-services-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.inkora-services-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.8;
}

/* ============================================
   GRID
   ============================================ */
.inkora-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* ============================================
   SERVICE CARD
   ============================================ */
.inkora-service-card {
    transition: all 0.3s ease;
}

.inkora-service-card-inner {
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.inkora-service-card-inner:hover {
    transform: translateY(-6px);
}

/* ============================================
   DESIGN 1 - Modern Cards
   ============================================ */
.inkora-services-design1 .inkora-service-card-inner {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.inkora-services-design1 .inkora-service-card-inner:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.inkora-services-design1 .inkora-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 28px;
    transition: all 0.3s ease;
}

.inkora-services-design1 .inkora-service-card-inner:hover .inkora-service-icon {
    transform: scale(1.05);
}

.inkora-services-design1 .inkora-service-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.inkora-services-design1 .inkora-service-desc {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
    opacity: 0.8;
}

/* ============================================
   DESIGN 2 - Minimal Clean
   ============================================ */
.inkora-services-design2 .inkora-service-card-inner {
    background: transparent;
    padding: 25px 20px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.inkora-services-design2 .inkora-service-card-inner:hover {
    border-bottom-color: var(--inkora-primary);
}

.inkora-services-design2 .inkora-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
    transition: all 0.3s ease;
}

.inkora-services-design2 .inkora-service-title {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 10px;
}

.inkora-services-design2 .inkora-service-desc {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    opacity: 0.7;
}

/* ============================================
   DESIGN 3 - Gradient Accent
   ============================================ */
.inkora-services-design3 .inkora-service-card-inner {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    position: relative;
}

.inkora-services-design3 .inkora-service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--inkora-primary), var(--inkora-primary-light, #5cb8d4));
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.inkora-services-design3 .inkora-service-card-inner:hover::before {
    transform: scaleX(1);
}

.inkora-services-design3 .inkora-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
    background: rgba(35, 152, 188, 0.08);
    transition: all 0.3s ease;
}

.inkora-services-design3 .inkora-service-card-inner:hover .inkora-service-icon {
    background: var(--inkora-primary);
    color: #fff !important;
}

.inkora-services-design3 .inkora-service-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.inkora-services-design3 .inkora-service-desc {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
    opacity: 0.75;
}

/* ============================================
   BADGE
   ============================================ */
.inkora-service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.inkora-service-badge-available {
    background: #28a745;
}

.inkora-service-badge-coming {
    background: #ffc107;
    color: #333;
}

/* ============================================
   BUTTON
   ============================================ */
.inkora-service-btn {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.inkora-service-btn:hover {
    transform: translateX(4px);
    opacity: 0.9;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes serviceFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes serviceScaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes serviceSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes serviceSlideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.inkora-animate-fadeUp .inkora-service-card {
    opacity: 0;
    animation: serviceFadeUp 0.7s ease forwards;
}

.inkora-animate-fadeIn .inkora-service-card {
    opacity: 0;
    animation: serviceFadeIn 0.6s ease forwards;
}

.inkora-animate-scaleUp .inkora-service-card {
    opacity: 0;
    animation: serviceScaleUp 0.7s ease forwards;
}

.inkora-animate-slideLeft .inkora-service-card {
    opacity: 0;
    animation: serviceSlideLeft 0.7s ease forwards;
}

.inkora-animate-slideRight .inkora-service-card {
    opacity: 0;
    animation: serviceSlideRight 0.7s ease forwards;
}

/* Stagger animation delays */
.inkora-animate-fadeUp .inkora-service-card:nth-child(1) { animation-delay: 0s; }
.inkora-animate-fadeUp .inkora-service-card:nth-child(2) { animation-delay: 0.1s; }
.inkora-animate-fadeUp .inkora-service-card:nth-child(3) { animation-delay: 0.2s; }
.inkora-animate-fadeUp .inkora-service-card:nth-child(4) { animation-delay: 0.3s; }
.inkora-animate-fadeUp .inkora-service-card:nth-child(5) { animation-delay: 0.4s; }
.inkora-animate-fadeUp .inkora-service-card:nth-child(6) { animation-delay: 0.5s; }
.inkora-animate-fadeUp .inkora-service-card:nth-child(7) { animation-delay: 0.6s; }
.inkora-animate-fadeUp .inkora-service-card:nth-child(8) { animation-delay: 0.7s; }

.inkora-animate-fadeIn .inkora-service-card:nth-child(1) { animation-delay: 0s; }
.inkora-animate-fadeIn .inkora-service-card:nth-child(2) { animation-delay: 0.1s; }
.inkora-animate-fadeIn .inkora-service-card:nth-child(3) { animation-delay: 0.2s; }
.inkora-animate-fadeIn .inkora-service-card:nth-child(4) { animation-delay: 0.3s; }
.inkora-animate-fadeIn .inkora-service-card:nth-child(5) { animation-delay: 0.4s; }
.inkora-animate-fadeIn .inkora-service-card:nth-child(6) { animation-delay: 0.5s; }
.inkora-animate-fadeIn .inkora-service-card:nth-child(7) { animation-delay: 0.6s; }
.inkora-animate-fadeIn .inkora-service-card:nth-child(8) { animation-delay: 0.7s; }

.inkora-animate-scaleUp .inkora-service-card:nth-child(1) { animation-delay: 0s; }
.inkora-animate-scaleUp .inkora-service-card:nth-child(2) { animation-delay: 0.1s; }
.inkora-animate-scaleUp .inkora-service-card:nth-child(3) { animation-delay: 0.2s; }
.inkora-animate-scaleUp .inkora-service-card:nth-child(4) { animation-delay: 0.3s; }
.inkora-animate-scaleUp .inkora-service-card:nth-child(5) { animation-delay: 0.4s; }
.inkora-animate-scaleUp .inkora-service-card:nth-child(6) { animation-delay: 0.5s; }
.inkora-animate-scaleUp .inkora-service-card:nth-child(7) { animation-delay: 0.6s; }
.inkora-animate-scaleUp .inkora-service-card:nth-child(8) { animation-delay: 0.7s; }

.inkora-animate-slideLeft .inkora-service-card:nth-child(1) { animation-delay: 0s; }
.inkora-animate-slideLeft .inkora-service-card:nth-child(2) { animation-delay: 0.1s; }
.inkora-animate-slideLeft .inkora-service-card:nth-child(3) { animation-delay: 0.2s; }
.inkora-animate-slideLeft .inkora-service-card:nth-child(4) { animation-delay: 0.3s; }
.inkora-animate-slideLeft .inkora-service-card:nth-child(5) { animation-delay: 0.4s; }
.inkora-animate-slideLeft .inkora-service-card:nth-child(6) { animation-delay: 0.5s; }
.inkora-animate-slideLeft .inkora-service-card:nth-child(7) { animation-delay: 0.6s; }
.inkora-animate-slideLeft .inkora-service-card:nth-child(8) { animation-delay: 0.7s; }

.inkora-animate-slideRight .inkora-service-card:nth-child(1) { animation-delay: 0s; }
.inkora-animate-slideRight .inkora-service-card:nth-child(2) { animation-delay: 0.1s; }
.inkora-animate-slideRight .inkora-service-card:nth-child(3) { animation-delay: 0.2s; }
.inkora-animate-slideRight .inkora-service-card:nth-child(4) { animation-delay: 0.3s; }
.inkora-animate-slideRight .inkora-service-card:nth-child(5) { animation-delay: 0.4s; }
.inkora-animate-slideRight .inkora-service-card:nth-child(6) { animation-delay: 0.5s; }
.inkora-animate-slideRight .inkora-service-card:nth-child(7) { animation-delay: 0.6s; }
.inkora-animate-slideRight .inkora-service-card:nth-child(8) { animation-delay: 0.7s; }

/* ============================================
   CUBE BACKGROUND ANIMATIONS
   ============================================ */

.inkora-cubes-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.inkora-cube {
    position: absolute;
    border-radius: 4px;
    pointer-events: none;
    will-change: transform;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .inkora-services-design1 .inkora-service-card-inner,
    .inkora-services-design3 .inkora-service-card-inner {
        padding: 24px;
    }
    
    .inkora-service-card {
        flex: 0 0 calc(50% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .inkora-business-services {
        padding: 40px 0;
    }
    
    .inkora-services-title {
        font-size: 28px;
    }
    
    .inkora-services-subtitle {
        font-size: 16px;
    }
    
    .inkora-services-grid {
        gap: 20px;
    }
    
    .inkora-service-card {
        flex: 0 0 100% !important;
    }
    
    .inkora-service-card-inner {
        padding: 20px !important;
    }
    
    .inkora-service-title {
        font-size: 18px !important;
    }
    
    .inkora-service-desc {
        font-size: 14px !important;
    }
    
    .inkora-service-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: 12px;
    }
}

@media (max-width: 576px) {
    .inkora-business-services {
        padding: 30px 0;
    }
    
    .inkora-services-title {
        font-size: 24px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .inkora-service-card {
        opacity: 1 !important;
        animation: none !important;
    }
    
    .inkora-service-card-inner:hover {
        transform: none !important;
    }
    
    .inkora-service-btn:hover {
        transform: none !important;
    }
    
    .inkora-cube {
        animation: none !important;
        opacity: 0.05 !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .inkora-business-services {
        padding: 20px 0 !important;
    }
    
    .inkora-service-card-inner {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .inkora-service-btn {
        display: none;
    }
}