.grid-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    margin-top: 20px;
}

/* Feature Boxes */
.feature-box1,
.feature-box2 {
    background-color: #D27550;
    padding: 10px;
    color: white;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.feature-box1 {
    width: 590px;
    height: 380px;
}


.feature-box2 {
    background-color: #ffb4b4;
    width: 280px;
    height: 380px;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.grid-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.grid-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Responsive layout */
@media (max-width: 768px) {
    .grid-image {
        width: 150px;
        height: 150px;
    }

    .feature-box1 {
        width: 290px;
        height: 130px;
        font-size: 0.65em;
    }


    .feature-box2 {
        background-color: #ffb4b4;
        width: 130px;
        height: 130px;
        font-size: 0.9em;
    }
}

@media (max-width: 490px) {
    .grid-image {
        width: 170px;
        height: 180px;
    }

    .feature-box1 {
        width: 330px;
        height: 160px;
        font-size: 0.75em;
    }

    .feature-box2 {
        background-color: #ffb4b4;
        width: 150px;
        height: 160px;
        font-size: 0.9em;
    }
}