.destinations{
    height: auto;
    width: 100%;
    padding: 3rem 0;
    background: var(--bg);
}

.destinations .heading{
    margin-bottom: 1.5rem ;
}

.grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 2rem;
    padding: 0 2rem 40px;
}

.card {
    position: relative;
    height: 200px;
    width: 20rem;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.card .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 0;
}

.card:hover .bg {
    transform: scale(1.1);
    /* Zoom effect */
}

.overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.overlay h3 {
    margin: 0;
    font-family: var(--normal_fonts);
    font-size: 1.2rem;
}

.overlay a {
    text-decoration: none;
    margin-top: 10px;
    background: var(--btn_bg);
    font-family: var(--normal_fonts);
    /* border: 1px solid #fff; */
    color: #fff;
    padding: 6px 14px;
    cursor: pointer;
    transition: 0.3s;
}

.overlay a:hover {
    background-color: #fff;
    color: #d70000;
}
@media screen and (max-width:952px) {

}

@media screen and (max-width:585px) {

   
}