.vision-section {
    padding: 10rem 0rem;
}

.vision-connect-video {
    min-height: 400px;
    max-height: 60vh;
}

/* Basic Card Styling */
.team-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    height: 28.125rem;
    /* 450px */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.team-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Overlay text */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem 2rem;
    background: #D9D9D9;
    color: #4C4C4C;
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-family: "work-sans", sans-serif;
    border-radius: 1rem;
}

/* Hover zoom + overlay */
.team-card:hover img {
    transform: scale(1.05);
}

.team-card:hover .card-overlay {
    opacity: 0.8;
}

/* Card body (bottom info) */
.vision-card-body {
    padding: 0.6rem;
    position: absolute;
    bottom: 0;
    background-color: #F5F5F599;
    text-align: left;
    font-family: "work-sans", sans-serif;
    margin: 1rem;
    border-radius: 24px;
    width: 90%;
}

.vision-card-body h5 {
    font-weight: 600;
    font-size: var(--fs-md);
    line-height: 38px;
    background: #F5F5F5;
    padding: 1px 10px;
    border-radius: 16px;
    margin: 0;
    width: fit-content;
}

.vision-card-body p {
    font-weight: 500;
    font-size: var(--fs-sm);
    line-height: 28px;
    color: #131313;
    padding: 2px 5px;
    margin: 0;
}

/* Scroll animation base */
.scroll-animate {
    transition: transform 0.3s ease-out;
    transform: translateY(0);
}

/* Evens start lower (50px down) */
.scroll-animate:nth-child(even) {
    transform: translateY(50px);
}

/* Extra parallax helpers */
.card-animate {
    transition: transform 0.8s ease-out;
}

.card-animate.up {
    transform: translateY(-20px);
}

.card-animate.down {
    transform: translateY(70px);
}

/* timeline css  */
/* ------------------ Timeline Section ------------------ */
.growth-timeline {
    padding: 8rem 0;
    position: relative;
}

/* Section headings */
.misson-wrapper .section-headings {
    text-align: center;
}

.section-headings h2 {
    font-family: "montserrat", sans-serif;
    font-weight: 700;
}

/* .section-headings p {
    font-family: "montserrat", sans-serif;
    color: #6c6c6c;
} */

/* ------------------ Timeline Steps ------------------ */
.timeline-step {
    display: flex;
    align-items: stretch;
    opacity: 0.33;
    filter: grayscale(70%);
    transition: opacity 0.4s, filter 0.4s;
    min-height: 25rem;
}

.timeline-step.active {
    opacity: 1;
    filter: none;
}

/* Left side: Year & Info */
.timeline-main {
    display: flex;
    align-items: flex-start;
    min-height: 230px;
    padding: 2.5rem 0;
}

.timeline-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 1.3rem;
}

.timeline-year-side {
    min-width: 115px;
}

.timeline-year {
    font-family: "montserrat", sans-serif;
    font-size: var(--fs-3xl);
    line-height: 50px;
    font-weight: 600;
    color: #c7c7c7;
    opacity: 0.65;
    padding-left: 1rem;
    transition: color 0.3s, opacity 0.3s;
}

.timeline-step.active .timeline-year {
    color: #111;
    opacity: 1;
}

.timeline-info {
    flex: 1;
    min-width: 180px;
    padding: 0 1.5rem;
}

.timeline-info h3 {
    font-family: "montserrat", sans-serif;
    font-size: var(--fs-2xl);
    line-height: 35px;
    font-weight: 600;
    color: #131313;
}

.timeline-info p {
    font-size: var(--fs-md);
    line-height: 28px;
    font-weight: 500;
    color: #4C4C4C;
}

/* ------------------ Vertical Bar & Dot ------------------ */
.timeline-vertical-bar {
    position: absolute;
    left: 16%;
    width: 2px;
    background: #d4d4d4;
    border-radius: 2px;
    z-index: 0;
}

.timeline-bar-outer {
    position: relative;
    z-index: 1;
    top: 15px;
}

.timeline-dot {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: 0;
    transition: opacity 0.25s;
}

.timeline-step .timeline-dot {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Sliding active dot */
.timeline-active-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #111;
    /* default, will override by step color */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    transition: top 0.5s ease, background 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.timeline-step.active .timeline-dot {
    opacity: 1;
}


/* ------------------ Timeline Images / Carousel ------------------ */
.timeline-images {
    display: flex;
    align-items: center;
    padding-left: 5px;
    overflow: hidden;
    /* ensures images stay inside container */
}

.timeline-images img {
    cursor: pointer;
    margin: 4px;
    height: 330px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 2px 10px #0001;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* Active / Expanded image */
.timeline-img-main.active {
    width: 65%;
    height: 330px;
    opacity: 1;
    box-shadow: 0 5px 24px #0001;
    filter: none;
}

/* Side / Shrunk images */
.timeline-img-side {
    width: 15%;
    opacity: 0.64;
    filter: grayscale(40%);
}

/* timeline css  */

.worldwide-section {
    padding: 2rem 2rem;
    text-align: center;
}

.map-container {
    position: relative;
    display: inline-block;
}

.map-container img.map {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Tint overlay (optional, keep transparent for now) */
.map-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #13131300;
    pointer-events: none;
    border-radius: inherit;
}

.land {
    stroke: #ffffff;
    /* Border color */
    stroke-width: 1;
    /* Border thickness */
}

/* --- Dots --- */
/* Dot */
.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: currentColor;
    border-radius: 50%;
    z-index: 2;
    overflow: visible;
}

/* Ripple effect */
.dot::after,
.dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid currentColor;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
    animation: ripple 2.5s linear infinite;
}

/* Second ripple (delayed for overlap) */
.dot::before {
    animation-delay: 1.25s;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    80% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Example dot positions/colors */
.dot.usa {
    color: #FC3E33;
    top: 50%;
    left: 12%;
}

.dot.india {
    color: #56C623;
    top: 59%;
    left: 66%;
}

.dot.uae {
    color: #5679FD;
    top: 62%;
    left: 57%;
}

.dot.singapore {
    color: #848484;
    top: 70%;
    left: 72%;
}

/* --- Country info cards --- */
.country-info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem;
    border-radius: 8px;
    width: 380px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

/* Left side countries (India, UAE, Singapore) */
.country-info:not(#usa, #uae) {
    right: -280px;
    text-align: left;
}

/* USA card should be on the right */
.country-info#usa,
#uae {
    left: -280px;
    text-align: left;
}

.dot:hover+.country-info,
.country-info.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1.02);
}

.country-info h3 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    color: #4C4C4C;
    text-align: center;
}

.country-info p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 5800;
    color: #4C4C4C;
    text-align: center;
}

/* Targets all iPads (mini, standard, Pro) in portrait & landscape */
@media only screen and (min-width: 992px) and (max-width: 1367px) {


    /* :root {
        --fs-sm: clamp(14px, 1.5vw, 16px);
        --fs-md: clamp(14px, 2vw, 16px);
        --fs-lg: clamp(18px, 2.5vw, 20px);
        --fs-xl: clamp(20px, 3vw, 24px);
        --fs-2xl: clamp(24px, 3.5vw, 28px);
        --fs-3xl: clamp(32px, 4vw, 36px);
        --fs-4xl: clamp(40px, 5vw, 44px);
    } */

    .vision-connect-video {
        max-height: 32vh;
    }

    .vision-section {
        padding: 7rem 0rem;
    }

    .team-card {
        height: 22rem;
    }

    .vision-card-body {
        margin: 0.5rem;
    }

    .vision-card-body h5 {
        line-height: 30px;
    }

    .timeline-row
 {
    /* gap: 0.5rem; */
}

    .timeline-year {
        line-height: 40px;
            padding-left: 0rem;

    }

    .timeline-info {
        padding: 0 1rem;
    }

    .timeline-info p {
        line-height: 25px;
    }


    .timeline-step {
        min-height: 22rem;
    }

    .growth-timeline {
        padding-bottom: 4rem;
    }

    .timeline-images img {
        cursor: pointer;
        margin: 4px;
        height: 250px;
        border-radius: 24px;
        object-fit: cover;
        box-shadow: 0 2px 10px #0001;
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
    }

    /* Active / Expanded image */
    .timeline-img-main.active {
        width: 60%;
        height: 250px;
        opacity: 1;
        box-shadow: 0 5px 24px #0001;
        filter: none;
    }

    .section-headings p {
        /* font-size: 16px; */
        line-height: 25px;
    }

    .country-info#usa,
    #uae {
        left: 25%;
        top: 20%;
    }

    .country-info:not(#usa, #uae) {
        left: 25%;
        top: 20%;
    }


}
