/* Custom styles to complement Tailwind CSS */

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a23;
}

::-webkit-scrollbar-thumb {
    background: #00334e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00eaff;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body, html {
    margin: 0;
    padding: 0;
}

/* Animation for fade in up effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Bits animation for background elements */
@keyframes bits {
    0% {
        opacity: 0.2;
        transform: translateY(-20px) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(20px) scale(1.2);
    }
    100% {
        opacity: 0.2;
        transform: translateY(-20px) scale(1);
    }
}

.bits {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    color: #00eaff;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    opacity: 0.3;
    animation: bits 3s infinite;
}

/* Additional responsive tweaks */
@media (max-width: 768px) {
    .scroll-mt-28 {
        scroll-margin-top: 5rem;
    }
    
    /* Reduce image height on mobile devices */
    section .h-64 {
        height: 12rem !important;
    }
}

/* Form focus states enhancement */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.1);
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

