* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#sanitery-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../images/saniterybg.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* economic section */
#economic-sec {
    background: url("../images/economicBg.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.tile-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.tile {
    width: 22%;
    overflow: hidden;
    animation: scaleAnimation 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.2s);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.tile img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.tile:hover img {
    transform: scale(1.05);
}

@keyframes scaleAnimation {

    0%,
    100% {
        transform: scale(0.7);
    }

    50% {
        transform: scale(1.1);
    }
}

.product-main-image {
    width: 80%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.badge {
    z-index: 2;
    color: #ffff;
}

.sanitery-card-image{
    transition: all 0.3s ease;
}

.sanitery-card-image {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.sanitery-card-image::after {
    content: "";
    position: absolute;
    bottom: -100%;  /* Start from bottom */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Black overlay */
    transition: bottom 0.4s ease-in-out;
}

.sanitery-card-image:hover::after {
    bottom: 0; /* Move to top */
}

.sanitery-card-image:hover {
    opacity: 0.8;
}
