.aboutmain {
    overflow: hidden;
    width: 100%;
}

section.about-innerblock {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex: 0 0 auto;
}

.block1 {
    position: relative;
    background-image: none;
    /* Removed to animate separately */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.block1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/optimize.webp);
    background-size: cover;
    background-position: center center;
    z-index: -1;
    /* Reveal Animation: Fade + Top to Bottom Slide/Clip */
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    animation: bgRevealTopDown 1.8s cubic-bezier(0.19, 1, 0.22, 1) 0.5s forwards;
}

@keyframes bgRevealTopDown {
    0% {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

section.about-innerblock h3 {
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
    color: #D5D1cc;
    letter-spacing: 22px;
    margin-bottom: 30px;
    text-align: center;
}

.block1 h1 {
    font-size: 74px;
    font-weight: 300;

}

section.about-innerblock h1 {

    color: white;
    letter-spacing: 15px;
    text-align: center;
}

.block2 {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 100px
}

.block2 p {
    font-size: 18px;
    color: #D5D1cc;
    max-width: 750px;
    line-height: 1.8;
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
    
    margin-top: 5vw;
    margin-left: 5vw;
    margin-bottom: 0;
}

.imgdiv3 {
    width: 500px;
    flex: 0 0 500px;
}

.block1 h1 span {
    display: inline-block;
    opacity: 0;
}

.block1 h3 {
    transform: scale(1.1);
}

.block1 p {
    transform: scale(1.1);
}

.block2 img {
    max-width: 480px;
    height: 100%;
    object-fit: cover;
}

.block3 {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100vw !important;

}

.imageone {
    width: 100%;
    display: block;
}

.block3 h1 {
    font-size: 44px;
    font-weight: 300;
}

.block3 p {
    max-width: 800px;
    font-size: 18px;
    color: #D5D1cc;
    line-height: 1.8;
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
    
    margin-bottom: 0;
}

.content-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
}

img.imgtwo {
    max-width: 480px;
    height: 100%;
    object-fit: cover;
}

.content-block+div,
.block7>div:first-child {
    width: 400px;
    height: 100vh;
    flex-shrink: 0;
}

.block4 p {
    max-width: 650px;

}

.imgdiv2 {
    max-width: 500px;
    flex: 0 0 500px;
}

.imgdiv2 video {
    width: 100%;
    height: auto;
}

.imgdiv4 {
    width: 500px;
    flex: 0 0 500px;
}

.imgdiv4 video {
    width: 100%;
    height: auto;
}

.imgdiv5 {
    width: 500px;
    flex: 0 0 500px;
}

.imgdiv5 video {
    width: 100%;
    height: auto;
}

.block5 p {
    max-width: 530px;
}

.block6 {
    width: 80vw !important;
}

.block6 p {
    max-width: 600px;
}

.block7 {
    width: 80vw !important;
    background: #000;
}

.block7 p {
    max-width: 490px;
}

.block7 h1 {
    font-size: 80px;
}

/* Vertical Slider Section */
.block8 {
    background: #000;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.myVerticalSwiper {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.couner {
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 10;
    color: #fff;
    font-size: 60px;
    font-weight: 400;
    letter-spacing: 5px;
    display: flex;
    align-items: flex-start;
}

.couner span {
    color: white;
    font-size: 20px;
    border-bottom: 1px solid white;
    width: 40px;
    height: 50px;
}

.couner span::before {
    /* content: "/"; */
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.swiper-pagination-bullet {
    background: #666;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* Horizontal Reveal Images Initial State */
/* .imageone,
.image2,
.image3,
.image4,
.image5 {
    clip-path: inset(0% 100% 0% 0%);
} */

.v-slide h1 {
    font-size: 6vw !important;
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.v-slide p {
    font-size: 18px !important;
    color: #D5D1cc;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.v-slide .sub-text {
    font-size: 16px;
    color: white;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
    max-width: 380px;
    text-align: center;
    font-weight: 400;

}

section.about-innerblock.block2 {
    width: max-content;
    padding-right: 5vw;

}

.block2 img.img2 {
    transform: translateY(107px);
    margin-left: 40px;
}

img.img1 {
    height: 420px;
    width: 480px;
    object-fit: cover;
    transform: translateY(110px);
    margin-right: 40px;
    object-fit: cover;
    object-position: right;
}

/* Activate states on slide focus */
.swiper-slide-active.v-slide h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.swiper-slide-active.v-slide p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.swiper-slide-active.v-slide .sub-text {
    opacity: 0.8;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.block8 {
    background: url('../images/optimize.webp') no-repeat center/cover, black;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.block9 {
    padding: 0 !important;
    /* Ensure it covers full horizontal block width */
    width: 100vw;
    height: 100vh;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.play-pause-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-pause-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.block10 {
    align-items: center !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 5vw;
    width: auto;
    min-width: max-content;
    padding: 0 4vw;
}

.block10 .teamheading {
    width: auto;
    flex: 0 0 auto;
    padding-left: 0;
}

.block10 .teamheading h1 {
    text-align: left;
    font-size: 80px;
    text-transform: uppercase;
    font-weight: 300;
}

.about-us-team__cards-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 50px 40px;
    margin-top: 0;
}

.about-us__team .slider__slide {
    margin-left: var(--slide-spacing);
    padding-left: 0;
}

.about-us-team__card {
    align-items: flex-end;
    display: flex;
    gap: 23px;
    width: max-content;
}

.profice-pic {
    width: 270px;
    height: 320px;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
}
.item1.about-us-team__card.slider__slide.team4 {
    margin-left: 110px;
}
.profice-pic.active {
    clip-path: inset(0 0 0 0);
}

.profice-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-us-team__card:hover .profice-pic img {
    filter: grayscale(0%);
}

.profice-pic .team-bio-trigger {
    cursor: pointer;
}

/* Team bio click tooltip */
.team-bio-tooltip {
    position: fixed;
    z-index: 5000;
    width: min(380px, calc(100vw - 24px));
    padding: 0.75rem 0.85rem;
    background: #212529;
    color: #ffffff;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transform: translateY(8px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.team-bio-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.team-bio-tooltip__header {
    margin-bottom: 0.5rem;
}

.team-bio-tooltip__name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

.team-bio-tooltip__role {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.team-bio-tooltip__body {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
}

.about-us-team__cards-list p.text-xxs-2 {
    font-weight: 300;
    
    line-height: 1.66;
    opacity: 0.6;
    font-size: 16px;
    margin-bottom: 8px;
    max-width: 270px;
}

.text-xxl {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -.007em;
    line-height: 1.066;
    text-transform: none;
    width: 270px;
    margin-bottom: 0;
    color: #D5D1CC;
}

.about-us-team__card:nth-child(odd) {
    align-items: flex-start;
}

.about-us-team__card:nth-child(even) {
    transform: translateY(130px);
}

.imgdiv2,
.imgdiv3,
.imgdiv4,
.imgdiv5 {
    display: flex;
    align-items: center;
}


a.asb-arrow {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: absolute;
    background: transparent;
    pointer-events: auto;
    color: #fff;
    right: 40px;
}

a.asb-arrow:after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 55% 45% 45% 55% / 45% 55% 55% 45%;
    animation: rotateDoodle 15s linear infinite;
    pointer-events: none;
}


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

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

@media screen and (max-width:768px) {
    .myVerticalSwiper {
        height: 100%;
    }

    .couner {
        bottom: 50px;

    }

    section.about-innerblock {
        height: 100dvh;
    }

    section.about-innerblock h3 {
        letter-spacing: 12px;
    }

    .block1 h1 {
        font-size: 44px;
        letter-spacing: 10px !important;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    a.asb-arrow {
        position: absolute;
        bottom: 60px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    section.about-innerblock.block2 p {
        width: 100vw;
        padding: 0 16px;
        font-size: 18px;
    }

    img.img1 {
        display: none;
    }

    .block2 img {
        max-width: 100%;
    }

    .imgdiv1 {
        max-width: 100vw;
    }

    .block2 img.img2 {
        display: none;
    }

    .block3 {
        width: 260vw !important;
    }

    .block3 p {
        font-size: 16px;
    }

    .block3 .content-block {
        padding: 0 16px;
        flex: 0 0 100vw;
        margin-right: 20vw;
    }

    .content-block+div,
    .block7>div:first-child {
        width: 100vw;
        flex-shrink: initial;
        flex-basis: 100vw;
    }

    .block3 h1 {
        font-size: 34px;
        letter-spacing: 10px !important;
    }

    .block3.block6 {
        width: 100vw !important;
        justify-content: space-between;
    }

    .block7 .content-block {
        margin-right: 0;
        text-align: center;
        margin: 0 auto;
    }
    .block7 h1 {
        font-size: 54px;
    }
    .block7 .imgdiv5 {
        margin-right: 20vw;
    }

    section.about-innerblock.block3.block8 {
        width: 100vw !important;
        padding: 0 20px;
    }

    .v-slide p {
        letter-spacing: 1px;
        font-size: 16px !important;
    }

    .teamheading {
        width: 100vw !important;
        flex: 0 0 100vw !important;
    }

    .block10 .teamheading h1 {
        text-align: center;
        font-size: 64px;
    }

    .about-us-team__card {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-us-team__cards-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0 60px;
        margin-top: 32px;
    }

    .about-us-team__card:nth-child(even) {
        transform: translateY(36px);
    }

    .profice-pic {
        width: 300px;
        height: 350px;
    }

    .about-us-team__cards-list p.text-xxs-2 {
        max-width: 300px;
    }

    .text-xxl {
        width: 300px;
    }

    .v-slide h1 {
        font-size: 34px !important;
        letter-spacing: 8px !important;
    }

    section.about-innerblock.block10 {
        padding-right: 50px;
    }
}