﻿#hero {
    background-color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#hero-line-1 {
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.01em;
}

#hero-line-2 {
    font-weight: 800;
    font-size: clamp(2.5rem, 9vw, 7rem);
    letter-spacing: 0;
}

.hero-line-3 {
    font-weight: 450;
    font-size: clamp(1.25rem, 3.5vw, 2.2rem);
    line-height: 1.25;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

#hero-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.btn-hero {
    font-weight: 700;
    font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease-in-out;
}

    .btn-hero:hover {
        transform: scale(1.03);
    }

/* ------------------------------------
   Hero Text Entrance Animations
------------------------------------ */
.hero-animated {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-down {
    transform: translateY(-30px);
}

    .slide-down.visible {
        transform: translateY(0);
        opacity: 1;
    }

.slide-up {
    transform: translateY(30px);
}

    .slide-up.visible {
        transform: translateY(0);
        opacity: 1;
    }
