/* Set up the hero section */
.ud-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    /* Fallback color */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    /* Darken the image for better text contrast */
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

/* Styling for the text box */
.text-box {
    background: rgba(255, 255, 255, 0.95);
    /* Slightly increase opacity for better readability */
    padding: 2rem;
    max-width: 600px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow for more depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-box:hover {
    transform: translateY(-5px);
    /* Hover effect for a subtle lift */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.text-box h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.text-box p {
    font-size: 1rem;
    color: #555;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: #2B7A6E;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #25695b;
    /* Slightly darker shade on hover */
}