﻿
.bg-purple {
    background-color: #6f42c1 !important;
}

.text-purple {
    color: #6f42c1 !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.timeline-wrapper {
    position: relative;
    padding-left: 2.5rem;
}

    .timeline-wrapper::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 10px;
        bottom: 10px;
        width: 3px;
        background: linear-gradient(180deg, #0d6efd, #20c997);
    }

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px currentColor;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 1rem;
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

.timeline-year {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.company-visual {
    min-height: 400px;
}

.main-card {
    transition: all 0.3s ease;
}

    .main-card:hover {
        transform: scale(1.02);
    }

.stat-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

    .stat-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

.stat-card-1 {
    top: -10px;
    left: -20px;
    animation-delay: 0s;
}

.stat-card-2 {
    bottom: 20px;
    right: -20px;
    animation-delay: 1s;
}

.stat-card-3 {
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.vmv-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

    .vmv-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

.vmv-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

    .vmv-icon::after {
        content: '';
        position: absolute;
        inset: -5px;
        border-radius: 20px;
        background: inherit;
        opacity: 0.3;
        z-index: -1;
        filter: blur(10px);
    }

.vmv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .vmv-list li {
        padding: 0.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .vmv-list li i {
            font-size: 0.85rem;
        }

.advantage-box {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

    .advantage-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

.advantage-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

    .advantage-icon::after {
        content: '';
        position: absolute;
        inset: -5px;
        border-radius: 16px;
        background: inherit;
        opacity: 0.3;
        z-index: -1;
        filter: blur(10px);
    }

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

    .cert-item:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.cert-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cert-content h6 {
    font-size: 0.95rem;
    margin: 0;
}

.quality-process-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.process-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.process-body {
    padding: 2rem;
    position: relative;
}

    .process-body::before {
        content: '';
        position: absolute;
        left: 37px;
        top: 50px;
        bottom: 50px;
        width: 3px;
        background: linear-gradient(180deg, #0d6efd, #17a2b8);
        opacity: 0.3;
    }

.process-step {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

    .process-step:last-child {
        margin-bottom: 0;
    }

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 1;
}

.step-content h6 {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
}

.cta-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .timeline-wrapper {
        padding-left: 2rem;
    }

        .timeline-wrapper::before {
            left: 12px;
        }

    .timeline-marker {
        left: -35px;
        width: 14px;
        height: 14px;
    }

    .stat-card {
        padding: 1rem 1.25rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .vmv-icon,
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .cta-icon-wrapper {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .company-visual {
        min-height: auto;
    }

    .main-card {
        padding: 2rem !important;
    }

        .main-card .display-1 {
            font-size: 2.5rem !important;
        }

    .stat-card-1 {
        position: static;
        margin-bottom: 1rem;
        animation: none;
    }

    .stat-card-2 {
        position: static;
        margin-bottom: 1rem;
        animation: none;
    }

    .stat-card-3 {
        position: static;
        transform: none;
        animation: none;
    }

    .timeline-content {
        margin-left: 0.5rem;
        padding: 1rem;
    }

    .vmv-card,
    .advantage-box {
        padding: 1.5rem;
    }

    .cert-item {
        padding: 0.75rem;
    }

    .cert-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .process-header {
        padding: 1.25rem;
    }

    .process-body {
        padding: 1.5rem;
    }

        .process-body::before {
            left: 32px;
        }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .display-6 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .timeline-year {
        font-size: 0.8rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .vmv-icon,
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .step-content h6 {
        font-size: 0.9rem;
    }

    .step-content small {
        font-size: 0.8rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vmv-card,
.advantage-box {
    animation: fadeInUp 0.6s ease-out;
}

    .vmv-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .vmv-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .vmv-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .advantage-box:nth-child(1) {
        animation-delay: 0.1s;
    }

    .advantage-box:nth-child(2) {
        animation-delay: 0.2s;
    }

    .advantage-box:nth-child(3) {
        animation-delay: 0.3s;
    }

    .advantage-box:nth-child(4) {
        animation-delay: 0.4s;
    }

    .advantage-box:nth-child(5) {
        animation-delay: 0.5s;
    }

    .advantage-box:nth-child(6) {
        animation-delay: 0.6s;
    }

html {
    scroll-behavior: smooth;
}

.btn {
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .btn:active {
        transform: translateY(0);
    }

.vmv-card:focus,
.advantage-box:focus {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}

@media print {
    .vmv-card, .advantage-box, .quality-process-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }

    .btn,
    .stat-card {
        display: none;
    }
}
