body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 20px;
    background-color: #c8d0d0 ;
    line-height: 1.8;
    color:#333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    display:none;
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block-end: 24px;
}

.logo img {
    max-width:180px;
    height: auto;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* Update your existing CSS */
.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none; /* Allows tapping through to the image */
}

/* Desktop hover effect */
@media (hover: hover) {
    .image-item:hover .caption {
        transform: translateY(0);
    }
}

/* Mobile tap effect */
.image-item.active .caption {
    transform: translateY(0);
}