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

html {
    scroll-behavior: smooth;
    font-family: 'Cairo', sans-serif;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #eab308;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ca8a04;
}

/* Glowing effects */
.glow-effect:hover {
    box-shadow: 0 0 15px 5px rgba(234, 179, 8, 0.4);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.text-glow {
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.6);
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Active Nav Link */
.nav-link.active {
    color: #eab308;
    position: relative;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eab308;
    box-shadow: 0 0 8px #eab308;
    border-radius: 2px;
}
