Add smooth scrolling behavior to enhance user experience

This commit is contained in:
PawiX25 2025-03-07 01:46:08 +01:00
parent 06f2f1c667
commit 2ca64bc815

View file

@ -1626,6 +1626,7 @@ body.modal-open {
transition: all 0.3s ease;
box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
transform: translateY(0);
scroll-behavior: smooth;
}
.cta-button:hover {
@ -1657,6 +1658,7 @@ body.modal-open {
box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(15px);
scroll-margin-top: 100px;
}
.dark-theme .programs-container {
@ -1881,4 +1883,8 @@ body.modal-open {
.footer-logo {
display: inline-block;
margin-bottom: 1rem;
}
html {
scroll-behavior: smooth;
}