.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.initial-banner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.initial-banner .banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s infinite;
    pointer-events: none;
}

.banner-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.initial-banner .container {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.display-1 {
    font-size: 4.5rem;
    font-weight: 700;
    pointer-events: none;
}

.hero-description-image {
    font-size: 1.5rem;
    color: #f8f9fa;
    font-weight: 400;
    pointer-events: none;
}

.video-background {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000; /* Default background color */
    pointer-events: none;
}

.video-background.video-fallback {
    background: linear-gradient(45deg, #1a1a1a, #333333);
    pointer-events: none;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hero-content {
    color: #fff;
    pointer-events: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    pointer-events: none;
}

.hero-description {
    font-size: 1.4rem;
    color: #e9ecef;
    font-weight: 300;
    pointer-events: none;
}

.hero-button {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    pointer-events: auto;
}

.hero-button:hover {
    background-color: #fff;
    color: #000;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-2%, 2%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}
