.card-text {
    color: white;
}

p {
    margin: 0px;
    margin-bottom: 20px;
}

.card {
    box-shadow: 10px 10px 5px;
    position: relative;
    height: 480px;
}


.card-body {
    background: #252525;
    display: flex; flex-direction: column; justify-content: space-between;
}   

.btn-primary {
    border: 0px;
    border-radius: 0px;
    background-color: #EB1A23;
}

.btn-primary:hover {
    background-color: #f76d37;  
}

.card-img-top {
    display: block;
    max-width:100%;
    max-height:100%;
    overflow: hidden;
    box-shadow: 0px 0px 50px black inset;
}

.cardimg {
    transition: transform .2s;
}

.card:hover .cardimg {
    transform: scale(1.2);
}

.arrowicon {
    font-size: 30px;
    color: white;
    transition: transform 0.2s; /* Add a transition for smooth animation */
}

.card:hover .arrowicon {
    transform: translateX(8px); /* Move the icon 5 pixels to the right */
}


.card-title {
    color: white;
    font-size: 30px;
    display: inline-block;
    position: relative;
}
  
.card-title::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    background-color: white;
    left: 0;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
  
.card:hover .card-title::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}





/* */

.card-title-prod {
    color: white;
    font-size: 20px;
    display: inline-block;
    position: relative;
}
  
.card-title-prod::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    background-color: white;
    left: 0;
    transform-origin: bottom right;
    transition: transform 0.5s ease-out;
}
  
.card:hover .card-title-prod::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

