

/* Card container with equal height */
.protech-feature-card {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border-radius: 8px; /* Slightly rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures consistent height for all cards */
}

/* Image wrapper with overlay */
.protech-img-overlay {
    position: relative;
    height: 250px; /* Fixed height for image area */
    overflow: hidden;
}

.protech-feature-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Overlay label with icon */
.protech-img-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 0, 0, 0.7); /* Red label with transparency */
    padding: 10px;
    border-radius: 50%;
}

.protech-icon {
    width: 24px;
    height: 24px;
}

/* Content area */
.protech-feature-content {
    padding: 15px;
    text-align: center;
}

.protech-feature-title {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    font-weight: bold;
    color: #000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .protech-img-overlay {
        height: 200px; /* Reduced height for images on smaller screens */
    }
    .protech-feature-title {
        font-size: 1rem;
    }
}

/* Flexbox for equal height across cards */
.d-flex {
    display: flex !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}
