.parallax {
    background-image: url('../img/amhs/mission-vision-bg.png');  /* Replace with your image */
    background-attachment: fixed;  /* Parallax effect */
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item1 {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item1 .service-icon1 {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item1 h4, .service-item1 p{
    color: #fff;
}

/*** Gallery ***/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;  /* Make images fill their container */
    height: 100%;  /* Maintain aspect ratio */
    object-fit: cover;  /* Ensure images cover the div without distortion */
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);  /* Zoom effect on hover */
}