.hero-section {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

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

.hero-image img,
.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: -7px;
}

.hero-content-wrapper {
    z-index: 2;
    padding: 2rem;
    margin: 0 auto;
    position: absolute;
    background-color: rgba(250, 60, 51, 0.8);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #0056b3;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-button {
        padding: 0.75rem 1.5rem;
    }
}