/* Enable smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Back to top button */
#backToTop {
    display: none; /* Hidden by default - JS will show it */
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 99; 
    border: none;
    outline: none;
    background-color: #333; 
    color: white;
    cursor: pointer;
    
    /* Size and shape */
    width: 55px;
    height: 55px;
    border-radius: 50%; 
    
    /* Flexbox for alignment (activated when visible) */
    align-items: center;
    justify-content: center;
    
    /* Move the arrow up */
    padding-bottom: 8px; 
    
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.2s;
}

/* Hover and active states */
#backToTop:hover, #backToTop:active {
    background-color: #FF0000;
}
