@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


.my-container-card .card {
    max-width: 300px;
    height: auto; /* Fix height issue */
    min-height: 315px;
   
    margin: 30px 10px;
    padding: 20px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease-in-out;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.my-container-card .card:hover {
    height: 500px;
}

.my-container-card .card .imgContainer {
    position: relative;
    width: 250px;
    height: 200px;
   
   
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.my-container-card .card .imgContainer img {
    max-width: 100%;
    border-radius: 4px;
    background-color: #3a633e;
}

.my-container-card .card .content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    color: black;
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.9);
    pointer-events: none; /* यहाँ से हटाना जरूरी है */
}

.my-container-card .card:hover .content {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.3s;
}

/* ✅ यहाँ बदलाव किए गए हैं */
.read-more-btn {
    display: flex;
    align-items: center;
    background-color: white;
    color: #3a633e;
    padding: 0.5em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    z-index: 1000; /* लिंक को हमेशा ऊपर रखने के लिए */
    position: relative;
    pointer-events: auto; /* यह Allow करता है कि लिंक क्लिक हो */
}

.read-more-btn:hover {
    background-color: #3a633e;
    color: white;
}

.read-more-btn span {
    margin-left: auto;
}

@media (max-width: 330px) {
    .my-container-card .card .imgContainer {
        left: -2px;
    }
}
.card-market {
    overflow: visible; /* Ensure child elements are visible */
    position: relative;
}

.card-market .content {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 220px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0; /* Initially hide */
    transform: translateY(20px);
}

.card-market:hover .content {
    opacity: 1; /* Show on hover */
    transform: translateY(0);
}
