/* Company Introduction Section Styles */
.company-intro-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.company-intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--vitabex-primary), var(--vitabex-secondary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.company-intro-badge i {
    font-size: 1.1rem;
}

.company-intro-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--vitabex-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.company-intro-title .highlight {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.company-intro-description {
    font-size: 1.2rem;
    color: var(--vitabex-text-muted);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.company-intro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-box {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.4s ease;
}

.stat-box:hover .stat-icon {
    transform: rotateY(360deg) scale(1.1);
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-content {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--vitabex-text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--vitabex-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile-First Responsive Design */
@media (max-width: 575px) {
    .company-intro-section {
        padding: 3rem 0;
    }

    .company-intro-content {
        padding: 0 1rem;
    }

    .company-intro-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .company-intro-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .company-intro-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .company-intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-box {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Disable hover effects on mobile */
    .stat-box:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .stat-box:hover .stat-icon {
        transform: none;
        background: linear-gradient(135deg, #3b82f6, #10b981);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .company-intro-section {
        padding: 4rem 0;
    }

    .company-intro-title {
        font-size: 2.5rem;
    }

    .company-intro-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .company-intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-box {
        padding: 1.75rem 1.25rem;
    }

    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

@media (min-width: 992px) {
    .company-intro-section {
        padding: 80px 0;
    }

    .company-intro-title {
        font-size: 3rem;
    }

    .company-intro-description {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }

    .company-intro-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .stat-box {
        padding: 2rem 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .stat-box {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .stat-box:active {
        transform: scale(0.98);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

    .stat-box:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .stat-box:hover .stat-icon {
        transform: none;
        background: linear-gradient(135deg, #3b82f6, #10b981);
    }
}

/* Animation for stats appearing */
.stat-box {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-box:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-box:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-box:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-box:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}