.bg-web{
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.vd-banner-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vd-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Desktop Video */
.desktop-video {
    display: block;
}

/* Mobile Video */
.mobile-video {
    display: none;
}

/* Mobile Devices */
@media (max-width: 767px) {

    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }

    .vd-banner-section {
        height: 100vh;
    }

    .mobile-video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* fills screen */
    }
}

.vd-overlay{
    position: absolute;
    inset: 0;
    /* background: rgba(0,0,0,.55); */
    z-index: -1;
}

.vd-banner-content-wrapper{
    min-height: 100vh;
    display: flex;
    align-items: center;
}


.portfolio-thumb{
    height: 350px; /* Same height for every card */
    overflow: hidden;
}

.portfolio-thumb img,
.portfolio-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.portfolio-item:hover .portfolio-thumb img{
    transform: scale(1.08);
}

/*  form code  */
#form-messages{
    margin-top:25px;
}

.success-box,
.error-box{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px 22px;
    border-radius:12px;
    animation:show .4s ease;
}

.success-box{
    background:#ecfdf5;
    border-left:5px solid #22c55e;
}

.error-box{
    background:#fef2f2;
    border-left:5px solid #ef4444;
}

.icon{
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:22px;
    font-weight:bold;
}

.success-box .icon{
    background:#22c55e;
}

.error-box .icon{
    background:#ef4444;
}

.success-box h4,
.error-box h4{
    margin:0;
    font-size:18px;
}

.success-box p,
.error-box p{
    margin:5px 0 0;
    font-size:14px;
    color:#666;
}

@keyframes show{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}