diff --git a/about.html b/about.html index 7bc052a..c12cf4c 100644 --- a/about.html +++ b/about.html @@ -279,6 +279,16 @@ + + + + + + + + + + Home @@ -463,6 +473,86 @@ Subscribe to color: blue; background:none; } + + .scroll-top { + position: fixed; + right: 1.6%; + background: linear-gradient(100deg, #1ca6f0, #3c7aff, #05deff); + color: white; + width: 60px; + height: 60px; + border-radius: 50%; + border: none; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + font-size: 24px; + opacity: 0; + visibility: hidden; + transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 5px 15px rgba(255, 69, 159, 0.4); + overflow: visible; + z-index: 10; + bottom: 75px; + /* Ensure button is on top */ + } + + .scroll-top.show { + opacity: 1; + visibility: visible; + } + + .scroll-top:hover { + transform: scale(1.1); + /* Subtle scaling instead of expanding */ + box-shadow: 0 8px 20px rgba(255, 69, 159, 0.6); + /* Slightly larger shadow */ + } + + .scroll-top:active { + transform: scale(1.05); + /* Minor scale reduction on click */ + } + + .scroll-top-icon { + position: relative; + z-index: 2; + transition: transform 0.3s ease; + } + + .scroll-top:hover .scroll-top-icon { + transform: translateY(-3px); + } + + /* Progress Ring Styling */ + .progress-ring { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + transform: rotate(-90deg); + /* To start from the top */ + } + + .progress-ring__circle { + transition: stroke-dashoffset 0.35s; + transform-origin: 50% 50%; + } + .scroll-top:hover { + animation: pulse 1.5s infinite; + } + + .scroll-top.show { + animation: none; + /* No animation when showing the button */ + } + + .scroll-top.show:hover { + animation: pulse 1.5s infinite; + /* Pulse on hover */ + } @@ -473,6 +563,48 @@ Subscribe to © 2024 AmbuFlow - All Rights Reserved - + + +
© 2024 AmbuFlow - All Rights Reserved