/* Meta-Cannect Website - Custom CSS */
/* Minimal styles for things Tailwind doesn't handle */

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Prevent layout shift from scrollbar */
html {
    overflow-y: scroll;
}

/* Custom selection color */
::selection {
    background-color: #10b981;
    color: white;
}

/* Fade-in animation for intersection observer */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Ensure smooth transitions on hover effects */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Fix for iOS momentum scrolling */
body {
    -webkit-overflow-scrolling: touch;
}

/* Ensure images don't overflow their containers */
img {
    max-width: 100%;
    height: auto;
}

/* Custom focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Hide scrollbar but keep functionality (optional) */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
