/* .about-us-bannar {
  min-height: 200px;
} */
.about-heading {
    font-family: Lato;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
}

.bg--blue-50 {
    background-color: #f3f9ff;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card--mission {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 12px;
}

.card--mission img {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.card--mission .title {
    margin-bottom: 10px;
    font-family: Lato;
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
}

.card--mission .para {
    font-family: Lato;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    margin-bottom: 0px;
}

/* last section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 47px;
    /* row gap 40px, column gap 60px */
    border-collapse: collapse;
}

.stat {
    position: relative;
    text-align: left;
}

/* Vertical dividers */
.stat:nth-child(3n + 1)::after,
.stat:nth-child(3n + 2)::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 13%;
    bottom: 17%;
    width: 1px;
    background-color: #ccc;
}

.stat .title {
    font-family: Lato;
    font-weight: 700;
    font-size: 24px;
    line-height: 43px;
    margin-bottom: 8px;
    color: #353c4d;
}

.stat .para {
    font-family: Lato;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    margin: 0;
    color: #5d6370;
}

/* infinite slider */
.logo-slider {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.logos-track {
    display: flex;
    gap: 30px;
    animation: scroll 15s linear infinite;
    user-select: none;
}

.logos-track a {
    flex-shrink: 0;
}

/* Pause the animation when hovering the whole slider */
.logo-slider:hover .logos-track {
    animation-play-state: paused;
}

.logos-track img {
    width: 270px;
    height: 96px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Pop-up animation on hover */
.logos-track img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* White blur fades */
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white 40%, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white 40%, transparent);
}

/* redefining vehicle */
#redefining_vehicle {
    min-height: 320px;
}

#redefining_vehicle img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    min-height: 320px;
    max-height: 320px;
    min-width: 768px;
}

/* glance at sat */
.glance {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-bottom: 32px;
    user-select: none;
}

.glance-track {
    display: inline-flex;
    gap: 32px;
    animation: scroll-left 40s linear infinite;
    will-change: transform;
}

.glance img {
    height: 292px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    user-select: none;
}

.redifined-innner {
    position: relative;
}

.redefined-text {
    position: absolute;
    background-color: #00000066;
    padding: 21px 15px;
    border-radius: 16px;
    color: #ffffff;
    max-width: 365px;
    left: 3%;
    top: 6%;
}

.redefined-text .title {
    font-family: Lato;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 6px;
}

.redefined-text .para {
    font-family: Lato;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0px;
}

.redefine_mobile_inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* KEYFRAMES that move the track by its full width */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-80%);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}

/* media queries */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card--mission .para {
        font-size: 17px;
    }

    #redefining_vehicle img {
        min-width: 653px;
    }

    .glance img {
        height: auto;
        max-height: 225px;
        width: max-content;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card--mission .para {
        font-size: 14px;
        line-height: 24px;
    }

    #redefining_vehicle img {
        min-width: 653px;
    }

    .glance img {
        height: auto;
        max-height: 186px;
        width: max-content;
    }

    .about-heading {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .card--mission .title {
        margin-bottom: 10px;
        font-size: 24px;
        line-height: 24px;
    }

    .logos-track img {
        width: 223px;
        max-height: 79px;
        height: auto;
    }

    #redefining_vehicle img {
        min-width: 600px;
        height: auto;
        min-height: 0px;
        max-width: 600px;
    }

    #redefining_vehicle {
        min-height: 260px;
    }

    .stat .title {
        font-size: 20px;
        line-height: 24px;
    }

    .stat .para {
        font-size: 18px;
        line-height: 24px;
    }

    .redefined-text .title {
        font-size: 16px;
        line-height: 20px;
    }

    .redefined-text .para {
        font-size: 14px;
        line-height: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card--mission .para {
        font-size: 14px;
        line-height: 24px;
    }

    #redefining_vehicle img {
        min-width: 653px;
    }

    .glance img {
        height: auto;
        max-height: 186px;
        width: max-content;
    }

    .about-heading {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .card--mission .title {
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 24px;
    }

    .logos-track img {
        width: 223px;
        max-height: 79px;
        height: auto;
    }

    #redefining_vehicle img {
        min-width: 444px;
        height: auto;
        min-height: 0px;
        max-width: 600px;
    }

    #redefining_vehicle {
        min-height: 193px;
    }

    .stat .title {
        font-size: 20px;
        line-height: 24px;
    }

    .stat .para {
        font-size: 18px;
        line-height: 24px;
    }

    .stat:nth-child(3n + 1)::after,
    .stat:nth-child(3n + 2)::after {
        content: none;
    }

    .stat:nth-child(1)::after,
    .stat:nth-child(3)::after,
    .stat:nth-child(5)::after {
        content: "";
        position: absolute;
        right: -18px;
        top: 13%;
        bottom: 17%;
        width: 1px;
        background-color: #ccc;
    }

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

    .py-32 {
        padding-block: 24px;
    }

    .card--mission img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .redefined-text .title {
        font-size: 16px;
        line-height: 20px;
    }

    .redefined-text .para {
        font-size: 14px;
        line-height: 20px;
    }

    .redefined-text {
        padding: 12px;
    }
}

.redefine_mobile {
    display: none;
}

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat::after {
        display: none;
    }

    .py-32 {
        padding-block: 20px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card--mission .para {
        font-size: 14px;
        line-height: 24px;
    }

    #redefining_vehicle img {
        min-width: 653px;
    }

    .glance img {
        height: auto;
        max-height: 186px;
        width: max-content;
    }

    .about-heading {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .card--mission .title {
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 24px;
    }

    .logos-track img {
        width: 223px;
        max-height: 79px;
        height: auto;
    }

    #redefining_vehicle img {
        min-width: 444px;
        height: auto;
        min-height: 0px;
        max-width: 600px;
    }

    #redefining_vehicle {
        min-height: 193px;
    }

    .stat .title {
        font-size: 18px;
        line-height: 24px;
    }

    .stat .para {
        font-size: 16px;
        line-height: 24px;
    }

    .stat:nth-child(3n + 1)::after,
    .stat:nth-child(3n + 2)::after {
        content: none;
    }

    .stat:nth-child(1)::after,
    .stat:nth-child(3)::after,
    .stat:nth-child(5)::after {
        content: "";
        position: absolute;
        right: -18px;
        top: 13%;
        bottom: 17%;
        width: 1px;
        background-color: #ccc;
    }

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

    .py-32 {
        padding-block: 24px;
    }

    .card--mission img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .redefined-text .title {
        font-size: 16px;
        line-height: 20px;
    }

    .redefined-text .para {
        font-size: 14px;
        line-height: 20px;
    }

    .redefined-text {
        padding: 12px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .PrevNext-btns-slider {
        display: none !important;
    }

    #redefining_vehicle {
        display: none;
    }

    .redifined-innner img {
        height: auto;
        max-height: 180px;
        width: max-content;
    }

    .redefine_mobile {
        display: block;
    }

    .logos-track {
        gap: 15px;
        animation: scroll 30s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-800%);
        }
    }
}

@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .py-32 {
        padding-block: 16px;
    }

    .glance img {
        max-height: 135px;
    }

    .glance-track {
        gap: 18px;
    }

    .glance {
        margin-bottom: 18px;
    }

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

@media (max-width: 460px) {
    .redefined-text .para {
        display: none;
    }

    .redefined-text .title {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .redifined-innner img {
        max-height: 125px;
    }

    .redefined-text {
        padding: 8px;
    }

    .stat {
        padding-bottom: 8px;
        border-bottom: 1px solid #ccc;
    }

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