/* Style the image section */

#img-contact {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.img-container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Add padding for better spacing */
}

.items__title {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
}

.grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 images in one row */
    gap: 20px;
}

.grid1 .card {
    width: 100%;
    height: 80%;
    border-radius: 10px;
    overflow: hidden;
}

.grid1 .card:hover{
    transform: scale(1.5);
    transition: all 1s ease-in-out;
    box-shadow: 0 0px 10px black;
}

.card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}


/* Style for full-screen display */

#fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

#fullscreen-overlay img {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.buttons1 {
    text-align: center;
}

.buttons1 button {
    border: none;
    background-color: gold;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 600;
    align-items: center;
    height: 3em;
    width: 9rem;
}

.buttons1 button:hover {
    color: orangered;
    transform: scale(1.1);
    transition: all 0.5s;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}


/* Responsive styles */

@media screen and (max-width: 768px) {
    .img-container1 {
        padding: 0 10px;
    }
    .grid1 {
        grid-template-columns: repeat(2, 1fr);
    }
}