/* Custom CSS for GTED Landing Page */
/* Most styles are handled by Tailwind CSS classes in index.html */

/* Ensure smooth scrolling for internal links */
html {
    scroll-behavior: smooth;
}

/* Base font rendering optimizations */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fdf2f2; 
}
 
::-webkit-scrollbar-thumb {
    background: #E53E3E; 
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C53030; 
}

/* Firefox scrollbar support */
* {
    scrollbar-width: auto;
    scrollbar-color: #E53E3E #fdf2f2;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Swup Transition Defaults */
html.is-animating .transition-fade {
    opacity: 0;
    transform: translateY(10px);
}
.transition-fade {
    transition: opacity 250ms ease-in-out, transform 250ms ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

/* Premium Navigation Active State */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link.active {
    color: #E53E3E !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #E53E3E;
    border-radius: 50%;
    animation: fadeInDot 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInDot {
    from {
        opacity: 0;
        transform: translate(-50%, 4px) scale(0);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}
