/* Fresh Services Section */
.fresh-services-section {
    padding: 80px 0 60px;
    background: var(--logistiq-gray-bg);
    position: relative;
    overflow: hidden;
}

.fresh-services-section::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="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

/* Section Header - Using Theme's sec-title Structure */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-header .sec-title {
    position: relative;
    display: block;
    margin-top: -8px;
    padding-bottom: 49px;
    z-index: 1;
}

.section-header .sec-title__tagline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.section-header .sec-title__tagline .line {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: var(--logistiq-base);
    margin-right: 10px;
}

.section-header .sec-title__tagline .text h4 {
    color: var(--logistiq-gray);
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

.section-header .sec-title__title {
    font-size: 38px;
    line-height: 55px;
    font-weight: 600;
    text-transform: none;
    color: var(--logistiq-black);
    margin: 0;
}

.section-header .sec-title__title span {
    position: relative;
    display: inline-block;
    color: var(--logistiq-base);
}

/* MixItUp Controls */
.mixitup-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.control {
    position: relative;
    display: inline-block;
    color: var(--logistiq-white);
    font-size: 16px;
    line-height: 45px;
    font-weight: 500;
    background: var(--logistiq-base);
    padding: 1px 35px 0px;
    overflow: hidden;
    font-family: var(--logistiq-font);
    text-transform: capitalize;
    transition: all 0.3s linear;
    z-index: 1;
    cursor: pointer;
    border: none;
    margin: 0 5px;
}

.control:hover {
    background: var(--logistiq-black);
    color: var(--logistiq-white);
}

.control.mixitup-control-active {
    background: var(--logistiq-black);
    color: var(--logistiq-white);
}

/* MixItUp Container */
.mixitup-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

/* Mix Items */
.mix {
    display: block;
}

/* Service Card */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card.hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    pointer-events: none;
}

/* Card Header */
.card-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '📦';
    font-size: 2.5rem;
}

/* Service Icon Styles */
.stock2shelf-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stock2shelf-icon::before { content: '📦'; }

.direct2mr-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.direct2mr-icon::before { content: '🏥'; }

.vendor-managed-icon { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.vendor-managed-icon::before { content: '🏭'; }

.enterprise-icon { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.enterprise-icon::before { content: '🏢'; }

.warehouse-icon { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.warehouse-icon::before { content: '🏬'; }

.analytics-icon { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.analytics-icon::before { content: '📊'; }

.delivery-icon { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.delivery-icon::before { content: '🚚'; }

.relocation-icon { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.relocation-icon::before { content: '🏠'; }

.courier-icon { background: linear-gradient(135deg, #fad0c4 0%, #ffd1ff 100%); }
.courier-icon::before { content: '📄'; }

.international-icon { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.international-icon::before { content: '🌍'; }

.cold-chain-icon { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.cold-chain-icon::before { content: '❄️'; }

.reverse-icon { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }
.reverse-icon::before { content: '🔄'; }

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

/* Card Content */
/* .card-content {
    padding: 0 30px 30px;
} */

.card-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #475569;
    line-height: 1.5;
    font-size: 14px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: slideInUp 0.6s ease-out;
}

.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; }

/* Responsive Design */
@media (max-width: 768px) {
    .fresh-services-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 250px;
        text-align: center;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-header {
        padding: 25px 20px 15px;
    }
    
    .card-content {
        padding: 0 20px 0px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon::before {
        font-size: 2rem;
    }
    
    .tab-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 200px;
    }
}
