/* projects-showcase.css */
.projects-showcase {
    grid-column: 1 / 5; /* Span all four columns */
    grid-row: 4 / 5;    /* Move to the next row */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed from 2 to 4 columns */
    grid-gap: 15px;
    margin-bottom: 20px;
}

.project-card {
    background-color: rgba(244, 242, 239, 0.7);
    padding: 15px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; /* Add this to position the button relative to the card */
    display: flex;
    flex-direction: column; /* Allow proper positioning of elements */
    min-height: 180px; /* Ensure cards have minimum height for button positioning */
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.project-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #4a3f35;
}

.project-desc {
    font-size: 19px;
    color: #3b342d;
    line-height: 1.4;
    margin-bottom: 40px; /* Add space for the button */
}

.view-all-btn {
    display: block;
    text-align: center;
    background-color: #6a5a4a;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.view-all-btn:hover {
    background-color: #5a4c3e;
}

.project-explore {
    position: absolute; /* Position absolutely within the card */
    bottom: 15px; /* Distance from the bottom */
    right: 15px; /* Distance from the right */
    background-color: #6a5a4a;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: "Kreon", serif;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.project-explore:hover {
    background-color: #5a4c3e;
    transform: translateY(-2px);
}

.project-details {
    padding: 12px;
}