/* scroll-top.css */
#scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    width: 50px;
    height: 50px;
    /* Increase opacity slightly for visibility on white background */
    background-color: rgba(255, 255, 255, 0.3);
    /* Use a subtle dark border for contrast */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    /* Center the icon */
    display: none;
    align-items: center;
    justify-content: center;
    /* Frosted glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Add a soft shadow */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  #scrollTopBtn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
  }

  /* Use a darker icon for contrast */
  #scrollTopBtn i {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.8);
  }
  @media (max-width: 600px) {
    #scrollTopBtn {
      width: 40px;
      height: 40px;
      bottom: 20px;
      right: 20px;
    }
  
    #scrollTopBtn i {
      font-size: 16px;
    }
  }
  
  