.company-counter-item .counter-number {
    font-size: clamp(1.75rem, 3vw + 1rem, 3.375rem);
    margin-bottom: 18px;
}

/* svg animation */
.visio-mission-svg {
    background: linear-gradient(135deg, #0a1f44 0%, #001845 100%);
    padding: 60px;
    border-radius: 24px;
}

.visio-mission-animation {
    width: 100%;
}

.visio-mission-animation > g > path[stroke="#88B8E4"] {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: stroke-draw 4.2s cubic-bezier(0.65, 0, 0.35, 1) forwards,
        stroke-glow 3s ease-in-out infinite alternate 4.5s;
}

.principles-flex {
    display: flex;
    gap: 60px;
}

.principles-item {
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 30px;
    width: 25%;
}

.principles-item .title-80 {
    font-family: var(--para-font);
    color: var(--slider-blue);
    margin-bottom: 50px;
}

.principles-title {
    font-size: 28px;
    line-height: 34px;
    color: var(--black-color);
    font-family: var(--title-font);
    margin: 20px 0;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    /* width: 70%; */
}

.beyond-section .row {
    justify-content: space-between;
}

.beyond-img {
    padding-right: 30px;
}

.beyond-content {
    padding-left: 30px;
}

.alvio-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.heart-icon {
    position: absolute;
    bottom: 3em;
    left: 15em;
}

.men-icon {
    position: absolute;
    top: 8em;
    left: 10em;
}

.puzzle-icon {
    position: absolute;
    top: 15em;
    right: 3em;
}

.vision-mission-wrapper {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    align-items: center;
    justify-items: center;
    gap: 68px;
    justify-content: center;
}

.vision-mission-svg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-mission-item {
    position: relative;
}

.vision-mission-title {
    font-size: 28px;
    font-weight: normal;
    color: var(--black-color);
    font-family: var(--title-font);
}

.svg-decor-vision {
    position: absolute;
    transform: translate(0px, 13px);
}

.svg-decor-mission {
    position: absolute;
    top: 0;
    transform: translate(-115px, 107px);
    display: none;
}

.vision-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Common ring behavior */
.ring {
    transform-box: fill-box;
    transform-origin: center;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}

/* Direction */
.ring-cw {
    animation-name: rotateScaleOpacityCW;
}

.ring-ccw {
    animation-name: rotateScaleOpacityCCW;
}

/* Speed */
.slow {
    animation-duration: 14s;
}

.medium {
    animation-duration: 10s;
}

.fast {
    animation-duration: 6s;
}

/* Clockwise + scale + opacity */
@keyframes rotateScaleOpacityCW {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg) scale(0.9);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.5;
    }
}

/* Anti-clockwise + scale + opacity */
@keyframes rotateScaleOpacityCCW {
    0% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg) scale(0.9);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.5;
    }
}

/* Slide the decorative mission SVG left-to-right */
.svg-decor-mission svg {
    opacity: 0;
    animation: fadeInSVG1 3s ease-in-out forwards;
    animation-iteration-count: infinite;
    animation-duration: 6s;
}

@keyframes fadeInSVG1 {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.svg-decor-vision svg {
    opacity: 0;
    animation: fadeInSVG2 3s ease-in-out forwards;
    animation-iteration-count: infinite;
    animation-duration: 6s;
    display: none;
}

@keyframes fadeInSVG2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* our company last section  */

.sco_wra_our_val {
    position: relative;
    height: 100vh;
}

.sti_con_our_val {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.our_val_head {
    text-align: center;
}

.our_val_head h3 {
    color: #373435;
    text-align: center;
    font-family: var(--title-font);
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.56px;
    margin: 18px 0;
}

.our_val_main .nav-links {
    font-size: 0.9rem;
    color: #777;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.our_val_main .nav-links span {
    transition: color 0.3s ease;
}

.our_val_main .nav-links span.active {
    color: #3178c6;
}

.our_val_main .content-area {
    display: flex;
    gap: 80px;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

.our_val_main .left-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.our_val_main .big-letter {
    transition: opacity 0.4s ease, transform 0.4s ease;
    color: #bde0ff;
    font-family: var(--para-font);
    font-size: 600px;
    font-style: normal;
    font-weight: 500;
    line-height: 610px;
    letter-spacing: -12px;
}

.our_val_main .right-side {
    transition: opacity 0.4s ease;
}

.our_val_main .fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.our_val_main {
    padding: 24px 0;
}

/* last section anition  */

.bab-container {
    max-width: 1475px;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px;
}

.bab-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.bab-col-side {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bab-col-side-left,
.bab-col-side-right {
    margin-top: 130px;
}

.bab-col-center {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bab-col-side-bottom {
    width: 100%;
    margin-top: 130px;
}

/* Circles Styling */
.circle-small {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    background-color: #eaf3fe;
    margin-bottom: 40px;
}

.circle-large {
    width: 360px;
    height: 360px;
    background-color: #eaf3fe;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bab-svg {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* DOT ANIMATION CSS */
.animated-line {
    stroke: #307abd;
    stroke-width: 4;
    fill: none;
    stroke-dasharray: 12, 12;
    animation: moveDots 1.5s linear infinite;
}

@keyframes moveDots {
    from {
        stroke-dashoffset: 24;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* --- SCROLL ANIMATION CSS --- */

/* Initially hide the lines so they don't look weird without the circles */
.bab-svg {
    opacity: 0;
    transition: opacity 1s ease-in-out 0.8s;
    /* Lines delayed fade-in */
}

/* Base state for all 3 boxes (Hidden, scaled down, and moved towards center) */
.bab-col-side-left,
.bab-col-side-right,
.bab-col-side-bottom {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth bouncy effect */
}

/* specific directions pointing towards the center logo */
.bab-col-side-left {
    transform: translate(200px, -80px) scale(0.2);
}

.bab-col-side-right {
    transform: translate(-200px, -80px) scale(0.2);
}

.bab-col-side-bottom {
    transform: translateY(-150px) scale(0.2);
}

/* --- ACTIVE STATE (When scrolled into view) --- */
.bab-container.show-animation .bab-col-side-left,
.bab-container.show-animation .bab-col-side-right,
.bab-container.show-animation .bab-col-side-bottom {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.bab-container.show-animation .bab-svg {
    opacity: 1;
}

/* ------------add new styles ----------------*/

.bab-grid-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px 60px;
    align-items: end;
}

.bab-center-image {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.bab-center-image img {
    max-width: 675px;
    width: 100%;
    height: auto;
}

.bab-text-block {
    max-width: 320px;
}

.bab-text-block h3 {
    margin-bottom: 15px;
}

.bab-item-adapt {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    justify-self: end;
    text-align: left;
}

.bab-item-believe {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    align-self: end;
}

.bab-item-behave {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    align-self: start;
    padding-top: 30px;
    transform: translateX(91px);
}

.bab-item-adapt .title-24, .bab-item-believe .title-24, .bab-item-behave .title-24
{
  position: relative;
}

.bab-item-adapt .title-24 svg {
    position: absolute;
    top: 10px;
    left: 5em;
    max-width: 380px;
}

.bab-item-believe .title-24 svg {
position: absolute;
    top: 10px;
    left: -15em;
}

.bab-item-behave .title-24 svg {
    position: absolute;
    top: 10px;
    left: -13em;
}

.bab-grid-container p
{
    margin-bottom: 0;
}



@media (max-width: 991px) {
    .bab-grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        text-align: center;
        gap: 40px;
    }

    .bab-center-image {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        padding: 0;
    }

    .bab-item-adapt,
    .bab-item-believe,
    .bab-item-behave {
        grid-column: 1 / 2;
        grid-row: auto;
        justify-self: center;
        text-align: center;
        padding: 0;
        max-width: 100%;
    }
}


