/* ===== Company Description (rich text) ===== */
.company-description ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.company-description ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.company-description p {
    margin-bottom: 0.75rem;
}

/* ===== Core Values Mobile Horizontal ===== */
.core-values-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 0.125rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.core-values-track::-webkit-scrollbar {
    display: none;
}

.core-value-slide {
    flex: 0 0 82%;
    min-width: 82%;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .core-values-track {
        display: grid;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .core-value-slide {
        flex: initial;
        min-width: 0;
    }
}

/* ===== Value Cards ===== */
.value-card {
    transition: transform .3s ease, box-shadow .3s ease;
    animation: floating 6s ease-in-out infinite;
}

.value-card:nth-child(2) { animation-delay: 1s; }
.value-card:nth-child(3) { animation-delay: 2s; }
.value-card:nth-child(4) { animation-delay: 3s; }

@keyframes floating {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.value-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.value-card {
    position: relative;
    background: white;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #f1f1f1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform .4s ease, box-shadow .4s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

.value-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: white;
    background: linear-gradient(135deg, #f97316, #ef4444);
    animation: iconSpin 6s linear infinite;
    position: relative;
}

.icon-box::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ef4444);
    filter: blur(12px);
    opacity: .4;
    z-index: -1;
}

.value-title {
    font-weight: 700;
    font-size: 16px;
    color: #111827;
    margin-bottom: 10px;
}

.value-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ===== Leader Items ===== */
.leader-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 0.125rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.leader-track::-webkit-scrollbar {
    display: none;
}

.leader-slide {
    flex: 0 0 82%;
    min-width: 82%;
    scroll-snap-align: start;
}

.leader-empty {
    flex: 0 0 100%;
    min-width: 100%;
}

@media (min-width: 640px) {
    .leader-track {
        display: grid;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .leader-slide,
    .leader-empty {
        flex: initial;
        min-width: 0;
    }
}

.leader-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(.22, 1, .36, 1);
}

.leader-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Counter Bounce ===== */
.counter-bounce {
    animation: counterBounce 0.45s ease;
}

@keyframes counterBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}
