/* Custom styles for OWASP BLT GSoC Pages */

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    html {
        color-scheme: dark;
    }
}

/* Mentor description container styles */
.mentor-description-container {
    max-height: 8rem;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mentor-description-container::-webkit-scrollbar {
    display: none;
}

.mentor-description-text {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mentor-description-text::-webkit-scrollbar {
    display: none;
}

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

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Link hover effects */
a {
    transition: all 0.3s ease;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
