/*------------------------------------*\
  #WORKS SECTION
\*------------------------------------*/

.works {
    padding: 80px 30px;
    background-color: var(--light-gray);
    margin-bottom: 70px;
    position: relative;
    text-align: center;
    /* Center the section content */
}

.works-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.work-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work-card:hover,
.work-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    border-color: var(--highlight-color);
}

.work-icon {
    width: 230px;
    height: 160px;
    margin-bottom: 25px;
}

.work-name {
    display: flex;
    font-size: 1.6em;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

.work-description {
    color: var(--text-color-secondary);
    line-height: 1.6;
}