/* MPMM 2026 Conference Website - Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Active nav link */
.nav-link.active {
    background-color: #2C5282;
    border-radius: 0.375rem;
}

/* Hero parallax-like effect */
header {
    background-attachment: fixed;
}

/* Timeline responsive adjustments */
@media (max-width: 767px) {
    .timeline-line {
        display: none;
    }
}

/* Table responsive */
@media (max-width: 640px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    table thead {
        display: none;
    }

    table tbody tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #e2e8f0;
        padding: 1rem;
    }

    table tbody td {
        padding: 0.25rem 0;
        text-align: left !important;
    }

    table tbody td:last-child {
        font-size: 1.1rem;
    }
}

/* Smooth hover transitions */
a,
button {
    transition: all 0.2s ease;
}

/* Card hover effects */
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Dropdown menu animation */
.group:hover .group-hover\:visible {
    visibility: visible;
    opacity: 1;
}

/* Print styles */
@media print {

    nav,
    footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
        color: #000;
    }
}

/* Fade-in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Selection color */
::selection {
    background-color: #2C5282;
    color: white;
}