/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* Adjust height to account for the navbar */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    color: black;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: white;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    opacity: 0.8;
    background: transparent;
    overflow: hidden;
    display: inline-block;
    animation: fadeIn 3s infinite;
}

.hero-text p {
    font-size: 1.3rem;
    color: white;
    padding: 0.5rem 0 2rem 0;
}

.hero-button {
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid rgb(252, 252, 252);
    border-radius: 6px;
    background-color: white;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: green;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.hero-button:hover {
    background-color: green;
    color: white;
    border-color: white;
}

.hide {
    display: none;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.59;
    }
}

/* Make adjustments for small screens */
@media screen and (max-width: 555px) {
    .hero {
        height: calc(100vh - 80px);
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Ensure space for next sections */
body {
    margin-top: 80px; /* Account for the navbar's height */
}

/* Promo section */
.promo-section {
    margin-top: 60px; /* Add margin-top to the promo section to ensure it doesn't overlap with the hero */
    padding: 60px 0;
}
