.modern-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .15);
}

.modern-frame.small {
    height: 240px;
}

.modern-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.modern-frame:hover .modern-img {
    transform: scale(1.07);
}

/* floating card */
.floating-card {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
    max-width: 260px;
}

/* text box */
.service-text-box {
    background: linear-gradient(135deg, #2647dc, #4463ef);
    color: white;
    padding: 28px;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(38, 65, 220, 0.35);
}

/* mini features */
.mini-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #eee;
    font-weight: 600;
    transition: .25s;
}

.mini-feature i {
    color: #dc2626;
}

.mini-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
}


.zoomable {
    cursor: zoom-in;
}

/* animation */
#imgLightbox img {
    animation: zoomIn .25s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(.9);
        opacity: .6;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}