@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

:root {
    --primary-blue: #0A74DA;
    --accent-orange: #FF7A00;
    --dark-bg: #0D1117;
    --light-bg: #F3F4F6;
    --transition-speed: 0.3s;
    --header-height: 4rem;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

main {
    position: relative;
    z-index: 1;
}

.bg-glass {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.dark .bg-glass {
    background-color: rgba(13, 17, 23, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.bg-glass {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.dark .bg-glass {
    background-color: rgba(13, 17, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Header */
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dark #header.scrolled {
    background-color: rgba(13, 17, 23, 0.8);
}

/* Navigation Link Styling */
.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link:not(.active) {
    color: #4B5563; /* Gray-600 */
}

.dark .nav-link:not(.active) {
    color: #D1D5DB; /* Gray-300 */
}


.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF7A00; /* accent-orange */
    transition: width 0.3s ease-in-out;
}

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

.nav-link.active {
    color: #0A74DA; /* primary-blue */
}

.dark .nav-link.active {
    color: #FF7A00; /* accent-orange */
}



/* Initial Load Animations */

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
