.home_services{
    /* background: orangered; */
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    background: #eee;
}
.home_services_title{
    font-size: var(--sizeTitle);
    text-align: center;
    font-weight: 600;
    padding: 0 1rem;
}
.home_services_cardWrapper{
    /* background: darkgoldenrod; */
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 1rem;
}
/* .home_services_card{ */
    /* background: rgba(133, 123, 123, 0.5); */
    /* height: 6rem; */
    /* border-radius: .3rem;
    padding: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; */

  

/* } */
.home_services_card {
    width: 100%;
    height: 240px;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

/* Dim overlay using ::after */
.home_services_card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    z-index: 2;
}
.home_services_card:hover{
    transition: .4s;
    /* background: #f3e8f5; */
    box-shadow: 0px 1px 6px 1.5px rgb(223, 223, 223);
    transition: .4s;
    transform: scale(1.03);
}
.home_services_card img.home_services_card_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the card area */
    z-index: 0; /* Image is placed below the overlay */
}
.home_services_card_img img{
    width: 35px;
    /* border-radius: 999px; */
    /* box-shadow: 0 1.2px 4px .3px rgb(190, 190, 190); */
}
.home_services_card_img{
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: .5rem;
}
/* .home_services_country_name{
    position: absolute;
    z-index: 2;
} */
.home_services_card_content {
    position: absolute;
    z-index: 6;
    bottom: 1rem;
    left: .5rem;
    padding: .6rem;
    font-weight: 500;
    font-size: 18px;
}