.treatments {
    padding: 50px;
    text-align: center;
    background-color: #fff;
	
}

.treatments h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.treatment {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
	box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.2);
}
.treatment.visible {
    opacity: 1;
    transform: translateY(0);
}

.treatment .img-container {
	position: relative;
}
.treatment img {
    width: 100%;
    height: auto;
    border-radius: 10px;
	box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.2);
}
.treatment .img-container a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: rgba(128, 159, 255, 1);
    padding: 5px 10px;
    border-radius: 7px;
    position: absolute;
    bottom: -10px;
    right: 30px;
    z-index: 5;
    white-space: nowrap;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.treatment .img-container a:hover {
    cursor: pointer;
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
    transform: translateY(-2px);
}
.treatment h3 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
}
.treatment p {
    font-size: 1rem;
    color: #555;
}
.treatment:hover {
    transform: translateY(-5px);
}