.hero-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.test {
    object-fit: cover;
    width: 50%;
    height: 100%;
}

.hero-container {
    position: relative;
    overflow: hidden; /* Hide overflowing content */
    height: 600px; /* Set a fixed height for the container */
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 1; /* Overlapping position */
}

.index-card {
    position: relative;
    z-index: 2;
    margin-top: -200px;

}

/* Adjust the margin-top for small devices */
@media (max-width: 992px) {
    .card {
        margin-top: 0; /* Remove the negative margin-top for small devices */
    }
}

.section-divider {
    margin-top: 20px; /* Add top margin */
    border-top: 2px solid black; /* Customize HR border */
    width: 100%; /* Adjust HR width */
}

.section-content {
    padding: 20px; 
    /* Add padding to the section content */
}
#portfolio-container {
    padding: 0px 50px 1px 50px;
    text-align: center;
}

#portfolio-container-title {
    font-weight:bold;
    padding: 10px 0px 10px 0px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

.card-portfolio-body {
    flex-grow: 1;
}

.text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


