body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-text {
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value for the transparency level */
    pointer-events: none; /* Allows interaction with elements behind the overlay */
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 10rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.15rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.hero-button:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #feb900;
    border-radius: 10rem;
    z-index: -2;
}
.hero-button:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #cc9400;
    transition: all 0.3s;
    border-radius: 10rem;
    z-index: -1;
}
.hero-button:hover {
    color: #fff;
}
.hero-button:hover:before {
    width: 100%;
}


.hero-button-sm {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 10rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;

    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.hero-button-sm:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #feb900;
    border-radius: 10rem;
    z-index: -2;
}
.hero-button-sm:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #cc9400;
    transition: all 0.3s;
    border-radius: 10rem;
    z-index: -1;
}
.hero-button-sm:hover {
    color: #fff;
}
.hero-button-sm:hover:before {
    width: 100%;
}