.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sidebar hamburger animation */
.hamburger {
    cursor: pointer;
}
.hamburger-line {
    width: 24px;
    height: 2px !important;
    background-color: #334155; /* slate-700 */
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    display: block;
}
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(0.6875rem) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-0.6875rem) rotate(-45deg);
}
