/* Mobile-first responsive design */
/*.hover-shadow {*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.hover-shadow:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;*/
/*}*/

/*!* Card image aspect ratio *!*/
/*.card-img-top {*/
/*    object-fit: cover;*/
/*}*/

/*!* Responsive text truncation *!*/
/*.text-truncate-2 {*/
/*    display: -webkit-box;*/
/*    -webkit-line-clamp: 2;*/
/*    -webkit-box-orient: vertical;*/
/*    overflow: hidden;*/
/*}*/

/*!* Mobile optimizations *!*/
/*@media (max-width: 768px) {*/
/*    .container {*/
/*        padding-left: 10px;*/
/*        padding-right: 10px;*/
/*    }*/

/*    .card {*/
/*        margin-bottom: 1rem;*/
/*    }*/

/*    .pagination {*/
/*        flex-wrap: wrap;*/
/*        justify-content: center;*/
/*    }*/

/*    .pagination .page-item {*/
/*        margin: 2px;*/
/*    }*/
/*}*/

/*!* Feature badges *!*/
/*.badge {*/
/*    font-size: 0.7rem;*/
/*    padding: 0.25rem 0.5rem;*/
/*}*/

/*!* Loading states *!*/
/*.card-skeleton {*/
/*    animation: pulse 2s infinite;*/
/*}*/

/*@keyframes pulse {*/
/*    0% { opacity: 1; }*/
/*    50% { opacity: 0.5; }*/
/*    100% { opacity: 1; }*/
/*}*/

/* ================================= */
/* Enterprise Modern Card */
.enterprise-card.modern {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enterprise-card.modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.card-header-gradient {
    height: 140px;
    position: relative;
}

.bg-gradient-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.logo-container {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: white;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.enterprise-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quick-stats {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.feature-badge {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Glass Morphism Card */
.enterprise-card.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.glass-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.9;
    z-index: 1;
}

.glass-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    backdrop-filter: blur(10px);
}

.glass-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
}

.glass-stat {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.glass-btn-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: none;
    border-radius: 12px;
    font-weight: 600;
}

/* Minimal Professional Card */
.enterprise-card.minimal {
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.card-img-wrapper {
    border-radius: 12px 12px 0 0;
}

.logo-overlay {
    margin-top: -30px;
}

.minimal-logo {
    width: 60px;
    height: 60px;
    background: white;
    padding: 8px;
}

.stat-item {
    padding: 0.5rem;
    border-radius: 8px;
    background: #f8f9fa;
}

/* Utility Classes */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-lift {
    transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .enterprise-card.modern .quick-stats .h6 {
        font-size: 0.9rem;
    }

    .logo-container {
        width: 60px;
        height: 60px;
        padding: 8px;
    }

    .glass-stat .h5 {
        font-size: 1rem;
    }

    .minimal-logo {
        width: 50px;
        height: 50px;
    }
}

/* ****************************************************************** */
/* cards/css/vcard_list.css - ADD THESE STYLES */

/* Enhanced Card Header */
.card-header-enhanced {
    height: 160px; /* Increased height for better logo visibility */
}

.bg-header-image {
    min-height: 160px;
    object-position: center 30%; /* Better image cropping */
}

.bg-gradient-overlay-enhanced {
    background: linear-gradient(135deg,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.4) 100%);
}

.bg-gradient-primary-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

/* Enhanced Logo Section */
.logo-section {
    padding-top: 2rem !important; /* More space for logo */
}

.logo-container-enhanced {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.enterprise-logo-enhanced {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.logo-placeholder-enhanced {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

/* Enterprise Analytics */
.enterprise-analytics {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.enterprise-stat {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Rating */
.rating-display-enhanced {
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
}

.stars-enhanced {
    font-size: 0.9rem;
}

/* Enhanced Feature Badges */
.feature-badge-enhanced {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.15);
    padding: 0.35rem 0.7rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.feature-badge-enhanced:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

/* Enhanced Quick Contact */
.quick-contact-enhanced {
    padding: 0.75rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item {
    transition: all 0.2s ease;
}

.contact-item:hover {
    transform: translateX(2px);
}

.contact-item a:hover {
    color: #667eea !important;
}

/* Enhanced Buttons */
.enterprise-btn {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.enterprise-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-outline-primary.enterprise-btn {
    border-color: #667eea;
    color: #667eea;
}

.btn-outline-primary.enterprise-btn:hover {
    background: #667eea;
    color: white;
}

/* Hover Effects */
.hover-text-primary:hover {
    color: #667eea !important;
}

/* No Reviews State */
.no-reviews {
    padding: 0.5rem;
    background: rgba(108, 117, 125, 0.05);
    border-radius: 12px;
    border: 1px dashed rgba(108, 117, 125, 0.2);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .card-header-enhanced {
        height: 140px;
    }

    .logo-container-enhanced {
        width: 70px;
        height: 70px;
        padding: 10px;
    }

    .logo-section {
        padding-top: 1.5rem !important;
    }

    .enterprise-stat {
        font-size: 0.9rem;
    }

    .stat-label {
        font-size: 0.65rem;
        color:white;
    }

    .enterprise-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }
}

/* Tablet Optimizations */
@media (max-width: 992px) and (min-width: 769px) {
    .card-header-enhanced {
        height: 150px;
    }

    .logo-container-enhanced {
        width: 80px;
        height: 80px;
    }
}