
.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: stretch; /* Ensures equal height visually */
}

.featured-projects {
    text-align: center;
}
.project {
    width: 300px;
    min-height: 450px; /* Allows taller cards if needed */
    background: white;
    padding: 15px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.project p {
    max-height: 80px;
 
    text-overflow: ellipsis;
}
.project img {
    width: 100%;
    height: 200px; /* consistent display size */
    object-fit: cover; /* keeps image proportions + fills space */
    border-radius: 10px;
  }
.view-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #E67E22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.project:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0px 6px 10px rgba(0,0,0,0.2); /* Adds depth */
}
.projects h2 {
    color: #003366;
    font-size: 2.3vh;
}
.project h3{
    color: #D35400;
}
.view-more {
    transition: background-color 0.3s ease;
}

.view-more:hover {
    background-color: #D35400;
}
/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .project-container {
        flex-direction: column;
        align-items: center;
    }
}
