.gallery-header {
    font-size: 2rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}



/* General styles for the gallery */

.imgContainer1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 equal columns */
    gap: 15px;
    /* Space between the images */
    padding: 20px;
    justify-items: center;
    /* Center items horizontally within each grid cell */
}

.imgContainer2 {
    display: flex;
    justify-content: center;
    align-items: center;

}

.imgContainer3 {
    align-items: center;
    display: flex;
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure image box is centered */
.imgBox {
    width: 100%;
    /* Full width of the grid cell */
    max-width: 300px;
    /* Optional: limit max width for larger screens */
    aspect-ratio: 1/1;
    /* Equal height and width (square) */
    overflow: hidden;
    /* Hide any overflow */
    display: flex;
    /* Center the image within the box */
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    /* Optional: rounded corners for the image box */
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for hover effect */
}

.imgBox2 {
    width: 100%;
    /* Full width of the grid cell */
    max-width: 300px;
    /* Optional: limit max width for larger screens */
    aspect-ratio: 1/1;
    /* Equal height and width (square) */
    overflow: hidden;
    /* Hide any overflow */
    display: flex;
    /* Center the image within the box */
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    /* Optional: rounded corners for the image box */
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for hover effect */
}

.imgBox3 {
    width: 100%;
    /* Full width of the grid cell */
    max-width: 300px;
    /* Optional: limit max width for larger screens */
    aspect-ratio: 1/1;
    /* Equal height and width (square) */
    overflow: hidden;
    /* Hide any overflow */
    display: flex;
    /* Center the image within the box */
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    /* Optional: rounded corners for the image box */
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for hover effect */
}

/* Ensure image is centered and covers the box */
.imgch {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the entire box */
    border-radius: 8px;
    /* Rounded corners for the image */
    box-shadow: 0 4px 8px rgba(23, 23, 23, 0.2);
    /* Box shadow for depth */
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for zoom effect */
}

/* Hover effect */
.imgBox:hover {
    transform: scale(1.05);
    /* Slightly enlarge the image box */
}

.imgch:hover {
    transform: scale(1.1);
    /* Slightly zoom in on the image */
}

/* Responsive styles */
@media (max-width: 1200px) {
    .imgContainer1 {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns for medium screens (e.g., tablets) */
    }
}

@media (max-width: 768px) {
    .imgContainer1 {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for large phones */
    }
}

@media (max-width: 480px) {
    .imgContainer1 {
        grid-template-columns: 1fr;
        /* 1 column for small phones */
        padding: 0;
        /* Remove padding on very small screens */
    }

    .imgBox {
        aspect-ratio: auto;
        /* Let the height be determined by the width */
        max-width: 100%;
        /* Ensure image box takes full width on small screens */
    }
}