diff --git a/styles.css b/styles.css index 88628db..b92c031 100644 --- a/styles.css +++ b/styles.css @@ -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; } \ No newline at end of file