.img-fullwidth {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    border-radius: 6px;
}

/* .compny {
    height: 500px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
} */

.compny {
    width: 100%;
    height: 40vh;
    /* object-fit: cover; */
    border-radius: 6px;
}

.img-gallery {
    width: 100%;
    height: 22vh;
    object-fit: cover;
    border-radius: 6px;
}

.timeline-roadmap {
    padding: 30px 0 60px;
    background: #fff;
}

.roadmap-title {
    text-align: center;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #2f3438;
    font-size: 36px;
    margin-bottom: 18px;
}

.roadmap-svg {
    width: 100%;
    height: auto;
    display: block;
}

.roadmap-labels {
    position: relative;
    margin-top: 8px;
    height: 70px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-labels .label {
    position: absolute;
    transform: translateX(-50%);
    width: 160px;
    text-align: center;
    color: #2f3438;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.15;
}

.parallax-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 20px;
    border-radius: 15px;
}

@media (max-width: 900px) {
    .roadmap-title {
        font-size: 28px;
    }

    .roadmap-labels .label {
        width: 120px;
        font-size: 14px;
    }

    .roadmap-svg {
        max-height: 320px;
    }
}

@media (max-width: 520px) {

    .roadmap-labels .label {
        font-size: 13px;
        width: 110px;
    }
}

.horizontal-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    overflow-x: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
}

.horizontal-stack::-webkit-scrollbar {
    display: none;
}

.h-stack-card {
    flex: 0 0 712px;
    transform: translateX(0) scale(1);
    opacity: 1;
    scroll-snap-align: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    visibility: visible !important;
    animation: none !important;
}

.h-stack-card:hover {
    transform: scale(1.05) translateY(-15px);
    box-shadow: 0 35px 80px rgba(255, 107, 0, 0.5);
    z-index: 10;
}

.h-card-image {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.h-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.h-stack-card:hover .h-card-image img {
    transform: scale(1.08);
}

.wow {
    visibility: hidden;
}

.slide-left {
    animation: slideLeftAnim 0.9s ease forwards;
}

@keyframes slideLeftAnim {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    text-align: center;
}

.fullscreen-content {
    margin-top: 60px;
    max-width: 95%;
    max-height: 85%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .h-stack-card {
        flex: 0 0 280px;
        height: 340px;
    }
}

@media (max-width: 768px) {
    .horizontal-stack {
        gap: 1rem;
        padding: 1rem 0;
    }

    .h-stack-card {
        flex: 0 0 260px;
        height: 300px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .h-stack-card {
        flex: 0 0 293px;
        height: 280px;
    }

    .h-card-image {
        padding: 0px;
    }
}