/* Header Scroll Animation */
.pth-header {
    transition: transform 0.4s ease-in-out;
}

.pth-header.header-hidden {
    transform: translateY(-100%);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1a1a1a;
    /* Dark background */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 20px;
}

#back-to-top:hover {
    background-color: #333;
    transform: translateY(0) scale(1.1);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow Icon styling (using pseudo-element if no icon font available, or simple text) */
/* We will likely use an SVG or FontAwesome if available, but here is a simple CSS arrow just in case */
#back-to-top::before {
    content: '';
    display: inline-block;
    border: solid white;
    border-width: 0 2px 2px 0;
    padding: 5px;
    transform: rotate(-135deg);
    margin-top: 4px;
}