.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    color: white;
    overflow: hidden;
}
.hero-text {
    position: absolute;
    left: 70px; /* Adjusted slightly to the right */
    z-index: 2;
}
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2; /* Added to control line spacing */
    white-space: pre-line; /* Ensures breaking text into new line */
}
.hero-text a {
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: text-shadow 0.2s;
}
.hero-text a:hover {
    text-decoration: underline;
}
.hero-text a::after {
    content: '\2192';
    margin-left: 10px;
    transition: transform 0.2s;
}
.hero-text a:hover::after {
    transform: translateX(5px);
    text-decoration: none; /* Prevent underline effect on the arrow */
}
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}
.hero-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
.hero-images img.active {
    opacity: 1;
}
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
    z-index: 0;
}