#portfolio {
    background: linear-gradient(to right, #131419, #3C4655);
    padding: 50px 0;
}

.portfolio-title {
    text-align: center;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    margin-top: -30px;
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.portfolio-card {
    width: 250px;
    background: #2c2c44;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s; 
}

.portfolio-card:hover {
    transform: translateY(-10px);
}



.portfolio-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 100%;
    width: 90%;
    height: 120%;
    margin-left: 13px;
    transition: left 1s ease;

}


.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-slides img {
    width: auto;
    max-width: 250px;
    height: auto;
    margin-left: -6px;
  }

.portfolio-card h3 {
    margin: 15px 0;
    color: white;
}

.portfolio-card p {
    color: #aaa;
    margin-bottom: 15px;
}

.portfolio-card button {
    background: #3C4655;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    transition: background-color 0.3s, transform 0.3s;
}

.portfolio-card button:hover {
    background: #20242c ;
    transform: scale(1.1);
    box-shadow: 0 5px 8px rgba(31, 27, 32, 0.64);
}
