/* Custom Styles to supplement Tailwind */
:root {
    --college-purple: #4c1d95;
    --college-gold: #fbbf24;
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    scroll-behavior: smooth; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: var(--college-purple);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2e1065;
}

/* Text Selection */
::selection {
    background-color: var(--college-gold);
    color: #111;
}

/* Navigation Links Hover Effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--college-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active Navigation Links */
.nav-link.active {
    color: var(--college-gold);
    border-bottom: 2px solid var(--college-gold);
}

.nav-link.active::after {
    display: none; /* Prevent double line on active link */
}

.mobile-nav-link.active {
    color: var(--college-gold);
    font-weight: 600;
}

/* Smooth Page Load Animation */
main {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}