.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); 
    min-height: 400px;
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 40px; 
    transform: translateY(-50%); 
    z-index: 2; 
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    color: #fff; 
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #FFCB05; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-text p {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-text a {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-text a:hover {
    background-color: #0056b3;
}