.explore-card {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 60px 0 rgba(3, 95, 175, .12);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    position: relative;
    text-align: center;
}

.explore-card h3 {
    margin: 0;
    font-family: "Righteous", sans-serif;
    font-size: 1.5rem !important;

    line-height: 1.2rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    color: #3b76bb !important;
}

.explore-card p{

    font-weight: 400 !important;
    font-size: 1.2rem !important;
    line-height: 1.5rem !important;
    color: black !important;
    text-align: center !important;
}

.card-image img {
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.card-content {
    padding: 15px;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.card-details {
    position: absolute;
    top: 0; /* Keep the background image at the top */
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff url('/site/assets/images/blue-dots-1.gif') top right no-repeat;
    color: #333;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.card-details p {
    margin-bottom: 15px;
    position: relative;
    top: 50%; /* Moves the text halfway down */
    transform: translateY(-50%); /* Centers the text vertically */
}

.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.explore-card:hover .card-image img,
.explore-card:hover .card-content {
    opacity: 0;
    transform: scale(0.8);
}

.explore-card:hover .card-details {
    opacity: 1;
    transform: scale(1); /* Show the details smoothly */
}




@media screen and (max-width: 425px) {
    #headline-text {
        font-size: 1.5rem !important; 
    }

    .we-doHeading, .card-content .cardTitle , .about-us, .our-solution{
        font-size: 1.3rem  !important; 
    }

    .technologies{
        font-size: 1.3rem  !important;
        margin-bottom: 0px !important;
    }

    .card .card-h2 {
        font-size: 1.1rem  !important;
    }
    
    .content p {
        font-size: 0.9rem  !important; 
    }

    .card-details p{
        font-size: 1.1rem  !important;
    }

    .small-screen-padding {
        padding: 1rem 0 !important;
      }


    .lead{
        font-size: 0.9rem !important;
    }




}