.sec4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    min-height: 100vh;
}

.sec-4-1 {
    text-align: center;
    margin-bottom: 40px;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1100px;
}

.project-box {
    flex: 1;
    min-width: 320px;
    max-width: 480px;
    border: 2px solid black;
    border-radius: 35px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    transition: all 0.3s ease;
}

/* Hover effect for the whole box */
.project-box:hover {
    border-color: darkorange;
    transform: translateY(-5px);
}

.project-img-container {
    width: 100%;
    margin-bottom: 20px;
}

.project-img {
    width: 100%;
    height: 350px;
    border-radius: 25px;
    /* Shadow effect as requested */
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px;
    border: 1px solid #eee;
}


.project-box h2 {
    color:darkorange;
    margin: 20px 0;
    font-size: 28px;
    font-weight: 600;
}

/* Mobile responsive tweaks */
@media (max-width: 767px) {
    .sec4 {
        padding: 40px 10px;
    }
    .project-box {
        max-width: 95%;
        padding: 20px;
    }
}