.benefit__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit__card .service__content {
    flex: 1;
}

/* Dashboard image enhancements */
.dashboard-img {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
    filter: brightness(1.05) contrast(1.05);
}

.dashboard-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1) contrast(1.1);
}

/* Modal styles for image preview */
.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-content {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    transform-origin: center center;
    cursor: grab;
    object-fit: contain;
    transform: translate(0, 0) scale(1);
}

.modal-content:active {
    cursor: grabbing;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #EAB129;
}

.img-caption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    margin-top: 15px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

/* Zoom controls */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10000;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(26, 60, 95, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background-color: #EAB129;
    transform: scale(1.1);
}

.zoom-btn i {
    font-size: 18px;
}
