.capabilities-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg,
            #3d4f7d 0%,
            #263d7d 50%,
            #1e2f5f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.capabilities-section .animation {
    position: absolute;
    top: -109px;
    left: -32px;
    width: 799px;
    height: 661px;
    background-image: url(/storage/animation-brand-value.svg);
    background-size: 100% 100%;
    background-position: center;
    overflow: hidden;
    background-blend-mode: overlay;
}

.capabilities-section .animation lottie-player {
    width: 100%;
    height: 100%;
    display: block;
}

.capabilities-section .ellipse {
    position: absolute;
    top: -166px;
    left: 607px;
    width: 239px;
    height: 239px;
    border-radius: 119.5px;
    border: 0.36px solid;
    border-color: #b9c3dd80;
    box-shadow: inset 0px 1.46px 12.51px #ffffff1a;
    backdrop-filter: blur(2.19px) brightness(100%);
    -webkit-backdrop-filter: blur(2.19px) brightness(100%);
}

.capabilities-section .rectangle {
    position: absolute;
    top: 156px;
    left: -96px;
    width: 170px;
    height: 178px;
    background-color: #d11f1f;
    transform: rotate(45.23deg);
    filter: blur(100px);
    z-index: 1;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-30px, 30px) rotate(180deg);
    }
}

.capabilities-section h2 {
    font-size: clamp(32px, 4vw, 40px);
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.capabilities-section p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    opacity: 0.9;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.stats-container {
    position: relative;
    display: grid;
    gap: 25px;
}

.stats-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 19px;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 20px;
}

.stat-item .number {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-item .label {
    font-size: 16px;
    opacity: 0.8;
}

.spinner-decoration {
    position: absolute;
    width: 338.09px;
    height: 338.09px;
    bottom: -20%;
    right: -12%;
    z-index: 6;
}

.rotating-circles {
    position: relative;
    width: 100%;
    /* tuỳ chỉnh kích thước */
    height: 100%;
    margin: 0 auto;
}

.circle-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(185, 195, 221, 0.5);
    border-radius: 50%;
    box-shadow: inset 0px 1.23px 10.49px rgba(255, 255, 255, 0.1);
}

.circle-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 212px;
    height: 212px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(185, 195, 221, 0.5);
    border-radius: 50%;
    box-shadow: inset 0px 0.89px 7.58px rgba(255, 255, 255, 0.1);
}

/* Orbit container xoay quanh tâm */
.dot-orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: orbitRotate 2s linear infinite;
    transform-origin: center center;
}

/* Dot đặt lệch tâm để tạo quỹ đạo */
.red-dot {
    position: absolute;
    top: 20%;
    left: 26%;
    width: 15px;
    height: 15px;
    background: #e3171a;
    border-radius: 50%;
    transform: translate(100px, -50%);
    /* khoảng cách từ tâm */
}

.purple-dot {
    position: absolute;
    top: 26%;
    left: 80%;
    width: 15px;
    height: 15px;
    background: rgba(139, 146, 180, 0.6);
    border-radius: 50%;
    transform: translate(-100px, -50%);
    /* khoảng cách từ tâm */
}

/* Animation quay quanh */
@keyframes orbitRotate {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }

    75% {
        transform: rotate(270deg);
        opacity: 0.5;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0;
    }
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .capabilities-section {
        padding: 60px 0px 40px;
        overflow: hidden;
    }

    .capabilities-section .animation {
        width: 100%;
        height: 300px;
        top: -60px;
        left: 0;
        background-size: cover;
        opacity: 0.4;
    }

    .capabilities-section .ellipse {
        display: none;
    }

    .capabilities-section .rectangle {
        width: 100px;
        height: 100px;
        top: 100px;
        left: -40px;
        filter: blur(60px);
    }

    .capabilities-section h2 {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 16px;
    }

    .capabilities-section p {
        max-width: 100%;
        font-size: 15px;
        margin: 0 auto 40px;
        padding: 0 8px;
    }

    .stats-container {
        gap: 16px;
    }

    .stats-divider {
        margin: 24px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-item .number {
        font-size: 24px;
    }

    .stat-item .label {
        font-size: 14px;
    }

    .spinner-decoration {
        display: none;
    }
}