.feature-card{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:20px;
    overflow:hidden;
    transition:all .35s ease;
    height:100%;
    box-shadow:
        0 4px 10px rgba(0,0,0,.03),
        0 20px 40px rgba(0,0,0,.05);
}

.page-col{
    max-width:250px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.feature-card:hover{
    transform:translateY(-8px);
    box-shadow:
        0 10px 25px rgba(0,0,0,.08),
        0 30px 60px rgba(0,0,0,.12);
}

.feature-image-wrapper{
    /* overflow:hidden; */
    background:#f8fafc;
}

.feature-image{
    width:100%;
    aspect-ratio:2.7/1;
    object-fit:cover;
    transition:transform .5s ease;
}

.feature-card:hover .feature-image{
    transform:scale(1.04);
}

.feature-content{
    padding:1.5rem;
}

.feature-badge{
    display:inline-block;
    background:#eef4ff;
    color:#2563eb;
    font-size:.8rem;
    font-weight:600;
    padding:.35rem .75rem;
    border-radius:999px;
    margin-bottom:1rem;
}

.traffic-canvas {
    width: 100% !important;
    height: 300px !important; 
}

.feature-title{
    font-size:1.35rem;
    font-weight:700;
    margin-bottom:.75rem;
    color:#111827;
}

.feature-description{
    color:#6b7280;
    line-height:1.7;
    margin-bottom:0;
}

/* Modal backdrop */
#imageModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Modal body */
#imageModal .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
}

/* Enlarged image */
#enlargedImage {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
    transition: transform 0.3s ease;
}

/* Optional hover zoom effect */
#enlargedImage:hover {
    transform: scale(1.02);
}

/* Close button */
#imageModal .btn-close {
    z-index: 1056;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    padding: 0.75rem;
    opacity: 1;
}

#imageModal .btn-close:hover {
    transform: scale(1.1);
}

/* Dark backdrop */
.modal-backdrop.show {
    opacity: 0.9;
}

.enlarged-table-card{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1055;
    display: flex;
    flex-direction: column;
}