﻿.main-banner {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#toggleVideoBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}


.overlay-content {
    width: 100%;
    padding: 0 5%;
    z-index: 1;
}

.banner-content {
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    max-width: 480px;
    padding: 2.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .main-banner {
        height: 90vh;
        min-height: 400px;
        align-items: flex-start;
    }

    .overlay-content {
        padding: 0;
    }

    .banner-content {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        backdrop-filter: blur(15px);
    }

        .banner-content h1 {
            font-size: 2rem;
        }

        .banner-content p {
            margin-bottom: 1.5rem;
        }
}
