* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: rgba(141, 132, 132, 0.281);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-section {
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 78, 134, 0.041);
    background-color: #ffffff;
    max-width: 365px;
    width: 100%;
    height: 99vh;
    margin: 5px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Navigation */
.navigation-bar {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navigation-bar a {
    display: inline-block;
    line-height: 0;
}

.navigation-bar a:focus {
    outline: 2px solid #25ac25;
    outline-offset: 4px;
    border-radius: 4px;
}

.navigation-bar img {
    width: auto;
}

/* Main Content Area */
.main {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 20px;
}

.main-bg {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

/* Text Section */
.text-section {
    position: relative;
    padding: 0px 30px 20px;
    margin-top: -60px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
}

.here-text {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    z-index: 4;
}

/* Screen reader only text (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Button Container */
.button-container {
    position: relative;
    width: 150px;
    height: 70px;
    margin: 0 auto 80px;
    z-index: 5;
}

.top-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 55px;
    background: #25ac25;
    border: 2px solid rgba(9, 255, 9, 0.247);
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-button:hover {
    background: #229922;
}

.top-button:focus {
    outline: 2px solid #25ac25;
    outline-offset: 2px;
}

.top-button:active {
    transform: translateY(3px);
}

.bottom-button {
    position: absolute;
    top: 3px;
    left: 0;
    width: 150px;
    height: 57px;
    background: #25ac25;
    opacity: 0.88;
    border-radius: 50px;
    border: 2px solid rgba(9, 255, 9, 0.247);
    z-index: 2;
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 12px 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
    margin-top: auto;
}

.footer a,
.footer span {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    line-height: 1;
    display: block;
    margin-bottom: 2px;
}

.footer a:hover {
    color: #666;
}

.footer a:focus {
    outline: 2px solid #25ac25;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Accessibility: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile responsiveness improvements */
@media (max-width: 480px) {
    .hero-section {
        margin: 0;
        height: 100vh;
    }

    .navigation-bar,
    .footer {
        padding: 15px 20px;
    }

    .text-section {
        padding: 10px 20px 20px;
    }

    .button-container {
        margin-bottom: 60px;
    }
}

@media (max-width: 380px) {
    .footer {
        padding: 10px 15px 15px;
    }

    .footer a,
    .footer span {
        font-size: 13px;
    }
}

@media (min-width: 481px) {
    .footer {
        padding: 12px 30px 20px;
    }
}
