/* Custom styles and overrides */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom clip path for hero */
.clip-diagonal {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

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

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays for grid items */
.animate-on-scroll.delay-100 {
    transition-delay: 100ms;
}

.animate-on-scroll.delay-200 {
    transition-delay: 200ms;
}

.animate-on-scroll.delay-300 {
    transition-delay: 300ms;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-menu-open .mobile-link {
    animation: fadeInUp 0.4s ease forwards;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

/* Image hover zoom effect */
img {
    transition: transform 0.5s ease;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #34d399;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}
