/* Value section */

.our-values-section {
    padding-bottom: 64px;
    background-color: var(--dark-blue);
    color: var(--grey-100);
}

.our-values-section h2 {
    color: var(--white);
}

.values-wrapper {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.values-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.values-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6.5px;
    width: 1.5px;
    height: 100%;
    background-color: var(--grey-500);
}

.value-item {
    display: flex;
    gap: 25px;
}

.value-marker img {
    position: absolute;
    top: 8px;
    left: 0;
    filter: brightness(0) invert(1);
}

.value-content {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.value-top {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.value-top h3 {
    font-family: var(--font);
    font-weight: 400;
    font-size: 24px;
    margin: 0;
    color: var(--white);
}

.value-content p {
    color: var(--grey-50);
}

.pulse-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    box-shadow: 0 0 30px var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    animation: pulse 2.5s ease-in-out infinite;
}

.pulse-btn:hover .btn-text {
    text-decoration: underline;
}

.our-values-section .section-btn {
    display: flex;
    justify-content: center;
}

.our-values-section-about .pulse-btn:hover .btn-text {
    text-decoration: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.values-section-desktop {
    --radius: 280px;
    --active-color: var(--white);
    --inactive-color: var(--grey-500);
}

.values-wrapper-desktop {
    position: relative;
    min-height: 600px;
}

.orbit-area {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 600px;
    overflow: hidden;
    z-index: 2;
}

.team-btn {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(30%, -50%);
    z-index: 3;
}

.orbit-path {
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--radius));
    width: calc(var(--radius) * 2);
    height: calc(var(--radius) * 2);
    border: 2px solid var(--grey-500);
    border-radius: 50%;
    transform: translateY(-50%);
}

.values-points-list {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.values-points-list li {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    cursor: default;
    color: var(--inactive-color);
    transition: all 0.4s ease;
    transform:
        rotate(var(--angle)) translateX(var(--radius)) rotate(calc(var(--angle) * -1));
}

.orbit-dot {
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.orbit-dot img {
    filter: invert(60%) sepia(7%) saturate(306%) hue-rotate(191deg) brightness(92%) contrast(90%);
}

.orbit-text-number {
    position: absolute;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    transition: all 0.4s ease;
}

.orbit-text-number h3 {
    font-size: 24px;
    font-family: var(--font);
    font-weight: 400;
    color: var(--inactive-color);
}

.orbit-text {
    margin-left: 8px;
}

.values-points-list li.active .orbit-dot img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.values-points-list li.active .orbit-text-number h3 {
    font-size: 28px;
    color: var(--active-color);
}

.description-area {
    position: absolute;
    right: 0;
    top: 0;                
    height: 100%;        
    width: 40%;
    max-width: 521px;
    z-index: 3;
    display: flex;
    align-items: center;    
}

.description-area p {
    color: var(--grey-50);
    font-size: 20px;
    font-style: italic;
    text-shadow: 0 8px 4px var(--black-title);
}

.orbit-description {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.orbit-description.active {
    opacity: 1;
}

.image-layer {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.orbit-image {
    position: absolute;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.orbit-image.active {
    opacity: 0.35;
    transform: scale(1);
}