.box-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    /* Lighter overlay */
    z-index: 1;
}

.box-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.presentation-container {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 1000px;
    text-align: center;
}

.text-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.text-video h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    /* Keep white for video contrast */
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.text-video p {
    font-size: 1.5rem;
    color: #333;
    background: rgba(255, 255, 255, 0.85);
    /* Light background for readability */
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#services-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    animation: bounce 2s infinite;
}

#services-arrow svg {
    width: 50px;
    height: 50px;
    fill: #fff;
    transform: rotate(90deg);
    /* White arrow on video */
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

#services-arrow:hover svg {
    transform: scale(1.2) rotate(90deg);
    fill: var(--main-color);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .text-video h1 {
        font-size: 2.5rem;
    }

    .text-video p {
        font-size: 1.1rem;
        width: 90%;
    }
}