/* .background-portfolio-hero{
    height: 40vh;
    width: 100%;
    background: url("../img/hero-bg.jpg") top center;
    background-size: cover;
} */
#hero-portfolio {
    width: 100%;
    height: 50vh;
    background: url("../img/hero-bg.jpg") top center;
    background-size: cover;
    position: relative;
  }
  
  #hero-portfolio:before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }
  
  #hero-portfolio .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 145px;
  }
  
  #hero-portfolio h1 {
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 64px;
    color: #fff;
    font-family: "Poppins", sans-serif;
  }
.portfolio-section{
    width: 75vw;
  }
.row-portfolio-section{
    display: flex;
}
/* ==================================================== */
/* Portfolio card styling */
.portfolio-card {
    width: 100%;
    max-width: 350px;
    border: 1px solid #ccc;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }
  
  .portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Image styling */
  .portfolio-image {
    position: relative;
    height: 400px;
    overflow: hidden;
  }
  
  .portfolio-img {
    width: 100%;
    height: 1400px; /* Actual image height */
    object-fit: cover;
    transition: transform 4s ease-in-out; /* Make the scroll gradual */
    display: block;
  }
  .portfolio-card:hover .portfolio-img {
    transform: translateY(-75%);
  }
  
  .portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(0); /* Keep the info section visible at all times */
  }
  
  .portfolio-info h5 {
    font-size: 18px;
    margin: 0;
  }
  
  .portfolio-link {
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
  }
  
  .portfolio-link:hover {
    color: #012954;
    font-weight: bold;
    text-decoration: underline;
  }
  
  /* Responsive styling */
  @media (max-width: 768px) {
    .portfolio-card {
      max-width: 100%;
    }
  
    .portfolio-info {
      padding: 10px;
    }
  
    .portfolio-img {
      object-position: center;
    }
  }
  