.card-img-top {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.card-img-top:hover {
    transform: scale(1.05);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.fssh-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.fssh-img-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    width: 100%;
    height: 100%;
}

.image-caption {
    margin-top: 10px;  /* Adds spacing between the image and text */
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.image-banner {
    background-image: url('../images/bg-logo-img/HOME_MENU.png'); /* Replace with actual path */
    background-size: cover;         /* Show the entire image */
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding-top: 30%;                 /* Maintain aspect ratio */
    position: relative;
    margin: 30px auto;
    height: 100%;
}

/* Overlay positioned over the image */
.overlay {
    background: rgba(68, 63, 63, 0.233); /* Optional dark layer for contrast */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 10px 20px;
    box-sizing: border-box;
}

.address-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    z-index: 2;
}

/* responsive tweaks */
@media (max-width: 820px) {
    .image-banner {
        padding-top: 55%; /* Taller ratio for smaller screens */
        background-size: contain;
        max-height: 100px;
    }

    .address-text {
        font-size: 1.2rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .image-banner {
        padding-top: 60%; /* Even taller on phones */
        background-size: contain;
        max-height: 100px;
    }

    .address-text {
        font-size: 1rem;
        text-align: left;
    }
}

