.portfolio_first_upper_main {
    width: 100%;
    padding: 2% 0;
    display: flex;
}

.portfolio_first_upper_main .first-upper-left,
.portfolio_first_upper_main .first-upper-right {
    width: 50%;
    margin: auto;
}


.portfolio_first_upper_main .first-upper-left .first-upper-left-heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 51px;
    text-align: left;
    margin: auto;
    width: 100%;
}


.portfolio_first_upper_main .first-upper-left .first-upper-left-paragraph {
    font-size: 23px;
    font-weight: 500;
    line-height: 34.5px;
    text-align: left;
    margin: auto;
    width: 100%;
}

.portfolio_first_upper_main .first-upper-left .first-upper-left-heading,
.portfolio_first_upper_main .first-upper-left .first-upper-left-paragraph {
    color: var(--secondary-color);
}

.portfolio_first_upper_main .first-upper-right video {
    width: 100%;
    max-width: 550px;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: cover;
    margin: auto;
}

.portfolio-first-upper-left-button-parent {
    margin: 5% 0;
}

.custom-card-body {
    padding: 20px;
    /* Adjust the value as needed */
}



/* Responsive Design for max-width 768px */
@media (max-width: 768px) {
    .portfolio_first_upper_main {
        flex-direction: column;
    }

    .portfolio_first_upper_main .first-upper-left,
    .portfolio_first_upper_main .first-upper-right {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .portfolio_first_upper_main .first-upper-left .first-upper-left-heading {
        font-size: 28px;
        line-height: 40px;
        text-align: center;

    }

    .portfolio_first_upper_main .first-upper-left .first-upper-left-paragraph {
        font-size: 20px;
        line-height: 30px;
        text-align: center;
    }

    .portfolio_first_upper_main .first-upper-right video {
        max-width: 100%;
        max-height: 350px;
    }
}

/* Responsive Design for max-width 576px */
@media (max-width: 576px) {
    .portfolio_first_upper_main .first-upper-left .first-upper-left-heading {
        font-size: 24px;
        line-height: 34px;
    }

    .portfolio_first_upper_main .first-upper-left .first-upper-left-paragraph {
        font-size: 18px;
        line-height: 28px;
    }

    .portfolio_first_upper_main .first-upper-right video {
        max-width: 100%;
        max-height: 300px;
    }

    .portfolio-first-upper-left-button-parent {
        margin: 3% 0;
    }
}