.bvp-portfolio-wrapper {
    text-align: center;
    padding: 40px 20px;
}

.bvp-hero {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* نسبت 9/16 */
    overflow: hidden;
}

.bvp-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(85%) brightness(0.9);
    transition: filter 0.5s ease;
}

.bvp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

@media (max-width: 768px) {
    .bvp-hero {
        padding-bottom: 120%;
        /* 16/9 */
    }
}

.bvp-hero-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 300;
    background: none;
    padding: 0;
    border-radius: 0;
    max-width: 80%;
    line-height: 1.4;
    text-shadow: none;
    font-family: inherit;
    border-bottom: 1px solid white;
    display: inline-block;
}

.bvp-about-me {
    margin: 20px 0;
    font-size: 1.1rem;
}

.bvp-filters {
    margin-bottom: 20px;
}

.bvp-filters button {
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    background: #eee;
    border: none;
    border-radius: 4px;
}

.bvp-filters button.active {
    background: #333;
    color: #fff;
}

.bvp-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


.bvp-project-card {
    width: 300px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
}

.bvp-project-card video {
    width: 100%;
    border-radius: 8px;
}

.bvp-links a {
    margin: 0 5px;
    font-size: 20px;
    text-decoration: none;
}

.bvp-project-card h3 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: #222;
}

.bvp-tasks {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.bvp-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.bvp-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bvp-meta-item a {
    font-size: 18px;
    text-decoration: none;
}

.bvp-meta-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #444;
}

.bvp-meta-column {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bvp-meta-column img {
    vertical-align: middle;
    display: inline-block;
}


.bvp-contact-form-wrapper {
    margin-top: 50px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
}

.bvp-contact-form-wrapper form input,
.bvp-contact-form-wrapper form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.bvp-contact-form-wrapper form button {
    background-color: #111;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
}

.bvp-form-success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    margin-top: 20px;
    border-radius: 6px;
}

.bvp-form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-top: 20px;
    border-radius: 6px;
}

.bvp-about-me p {
    direction: ltr;
    text-align: justify;
}


.bvp-filters {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    direction: ltr;
}

.bvp-filters button {
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    outline: none;
}

.bvp-filters button:hover {
    background: #e0e0e0;
}

.bvp-filters button.active {
    background: #333;
    color: #fff;
    border-color: #333;
}