/* .fleet-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 153, 84, 0.1);
    background-color: rgba(255, 107, 0, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
    z-index: 0;
} */

/* .fleet-card:hover::before {
    transform: scale(1);
} */
.img-card { 
    border-right: 3px solid #626d43;
    z-index: 100;
}

.fleet-card {
    border: 2px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    transition: .5s;
}

.fleet-card::before,
.fleet-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    transition: transform 0.5s ease-in-out;
    z-index: 0;
}

.fleet-card::before {
    background-color: rgba(255, 107, 0, 0.1); /* Orange glow effect */
    transform: scaleX(0); /* Initially hidden */
    transform-origin: left; /* Animation starts from the left */
}

.fleet-card::after {
    background-color: rgba(79, 79, 79, 0.1); /* Dark gray glow effect */
    transform: scaleY(0); /* Initially hidden */
    transform-origin: top; /* Animation starts from the top */
}

.fleet-card:hover::before {
    transform: scaleX(1); /* Expand on hover */
}

.fleet-card:hover::after {
    transform: scaleY(1); /* Expand on hover */
}

.fleet-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    z-index: 100;
}

.fleet-specs {
    list-style-type: disc;
    padding: 0;
    margin-left: 25px;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 100; /* Ensure text is above the before/after background */
}

.fleet-specs li {
    margin-bottom: 10px;
}

.fleet-specs strong {
    color: #e6af18; /* Custom color for strong text */
}

@media (max-width: 768px) {
    .img-card {
        margin-bottom: 20px;
        border-right: none;
        border-bottom: 3px solid #626d43;
    }
    .fleet-specs {
        margin-top: 20px;
        margin-left: 25%;
    }
}
