body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: #111;
    height: 100%;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100%; /* Use 100% height to adapt to the viewport */
    min-height: 100vh; /* Ensure it covers the full viewport height */
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire hero section */
    position: absolute;
    top: 0;
    left: 0;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black tint with 50% opacity */
    pointer-events: none;
}

header {
    width: 100%;
    position: absolute;
    top: 5%; /* Adjusted positioning for better visibility */
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    z-index: 2; /* Ensure the header is above the video */
    padding: 0 25px;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
}

.header p {
    font-size: 1.5rem;
    margin: 10px 0 0;
}

.button-link {
    display: inline-block; /* Ensures the <a> tag respects the button's layout */
    text-decoration: none; /* Removes underline from the link */
}

.button-section {
    position: absolute;
    bottom: 5%; /* Adjusted to bring the buttons into view on smaller screens */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; /* Ensure the buttons are above the video */
    display: flex;
    gap: 20px;
    padding-bottom: env(
        safe-area-inset-bottom
    ); /* For iPhone X and later, ensures buttons aren't cut off */
}

.button-section button {
    all: unset; /* Removes default button styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.button-section button:hover {
    background-color: #fff;
    color: #111;
}

button i {
    font-size: 1.5rem;
}
