/* Global Styles */
:root {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #0F172A;
    border-radius: 10px;
    border: 3px solid #020617;
}

::-webkit-scrollbar-thumb:hover {
    background: #00D1FF;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* Glassmorphism */
.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navigation Scroll Effect */
header.scrolled {
    height: 70px;
    background: rgba(2, 6, 23, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Image Hover Effects */
.group:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Form Focus */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reveal {
        transition-duration: 0.8s;
    }
}
