/* Custom animations and styling for TVK application */

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

/* Hide scrollbar for cleaner look if necessary, but keep functionality */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #C8102E; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a00b23; 
}

/* Timeline specific mobile adjustments to handle the vertical bar */
@media (max-width: 639px) {
    #progress-line {
        width: 4px !important;
        /* height handled dynamically in JS */
    }
}
@media (min-width: 640px) {
    #progress-line {
        height: 4px !important;
        /* width handled dynamically in JS */
    }
}

/* Helper transitions */
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.timeline-active-icon {
    border-color: #FFC72C !important;
    background-color: #FFC72C !important;
    color: #1a1a1a !important;
    box-shadow: 0 0 15px rgba(255,199,44, 0.4);
}

.timeline-completed-icon {
    border-color: #C8102E !important;
    background-color: #C8102E !important;
    color: white !important;
}

.timeline-active-text {
    color: #1a1a1a !important;
}

.timeline-completed-text {
    color: #C8102E !important;
}
/* HERO VIDEO BACKGROUND FIX */

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#sec-home {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
